/* Marie Magdalena — local visual prototype */

:root {
  --cream: #f6f0e4;
  --cream-soft: #fbf8f1;
  --cream-deep: #e9dfce;
  --forest: #173c30;
  --forest-deep: #102c24;
  --moss: #66745b;
  --sage: #9fa991;
  --clay: #b66f4d;
  --gold: #c39a56;
  --ink: #24342d;
  --muted: #657069;
  --white: #fffdf8;
  --line: rgba(23, 60, 48, 0.17);
  --font-serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --page-width: 1240px;
  --header-height: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--forest);
  color: var(--cream-soft);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--cream-soft);
  color: var(--forest);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(calc(100% - 64px), var(--page-width));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(96px, 11vw, 168px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 30px;
  color: var(--forest);
  font-size: clamp(3rem, 6vw, 5.7rem);
}

h3 {
  color: var(--forest);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--clay);
  font-size: 0.71rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #d9bd88;
}

.lead-copy {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.35vw, 2rem);
  line-height: 1.42;
  letter-spacing: -0.015em;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 12px 27px;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, transform 300ms var(--ease);
}

.button:hover {
  transform: translateY(-3px);
}

.button-light {
  background: var(--cream-soft);
  color: var(--forest);
}

.button-light:hover {
  background: var(--white);
}

.text-link,
.card-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-block: 8px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.text-link::after,
.card-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}

.text-link:hover::after,
.card-link:hover::after {
  transform: scaleX(1);
}

.text-link span,
.card-link span {
  transition: transform 350ms var(--ease);
}

.text-link:hover span,
.card-link:hover span {
  transform: translate(3px, -2px);
}

.text-link-light {
  color: var(--cream-soft);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  transition: height 350ms var(--ease), background-color 350ms ease, border-color 350ms ease, color 350ms ease, box-shadow 350ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  height: 76px;
  border-color: var(--line);
  background: rgba(246, 240, 228, 0.96);
  color: var(--forest);
  box-shadow: 0 10px 40px rgba(19, 43, 34, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 64px), 1380px);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand-note {
  opacity: 0.72;
  font-size: 0.54rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 35px);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: -4px;
  color: currentColor;
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.primary-nav .language-switcher a {
  padding: 8px 1px;
  opacity: 0.55;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  transition: opacity 220ms ease;
}

.primary-nav .language-switcher a::after {
  display: none;
}

.primary-nav .language-switcher a:hover,
.primary-nav .language-switcher a.is-active {
  opacity: 1;
}

.language-switcher > span {
  opacity: 0.35;
}

.primary-nav a {
  position: relative;
  padding-block: 10px;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.primary-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  border: 1px solid currentColor;
  border-radius: 100px;
  padding: 9px 17px !important;
  transition: background-color 250ms ease, color 250ms ease;
}

.nav-contact:hover {
  background: var(--cream-soft);
  color: var(--forest);
}

.is-scrolled .nav-contact:hover,
.is-menu-open .nav-contact:hover {
  background: var(--forest);
  color: var(--cream-soft);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 25px;
  height: 1px;
  background: currentColor;
  transition: transform 350ms var(--ease);
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: min(920px, 100svh);
  align-items: end;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--white);
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("assets/images/hero-garden.jpg");
  background-position: center center;
  background-size: cover;
  transform: scale(1.025);
  animation: hero-settle 1600ms var(--ease) both;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 31, 23, 0.76) 0%, rgba(8, 31, 23, 0.49) 42%, rgba(8, 31, 23, 0.04) 77%),
    linear-gradient(0deg, rgba(9, 28, 22, 0.45) 0%, transparent 42%);
  content: "";
}

.hero-content {
  padding-bottom: clamp(105px, 12vh, 150px);
}

.hero-eyebrow {
  color: #e2c690;
  opacity: 0;
  animation: rise-in 850ms 250ms var(--ease) forwards;
}

.hero h1 {
  max-width: 870px;
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(4.2rem, 8.6vw, 8.4rem);
  letter-spacing: -0.055em;
  opacity: 0;
  text-wrap: balance;
  animation: rise-in 1000ms 350ms var(--ease) forwards;
}

.hero-intro {
  max-width: 560px;
  margin-bottom: 36px;
  color: rgba(255, 253, 248, 0.88);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.5;
  opacity: 0;
  animation: rise-in 900ms 500ms var(--ease) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  animation: rise-in 900ms 650ms var(--ease) forwards;
}

.hero-scroll {
  position: absolute;
  right: max(32px, calc((100vw - var(--page-width)) / 2));
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 65px;
  background: rgba(255, 255, 255, 0.65);
}

@keyframes hero-settle {
  from { opacity: 0.65; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.025); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Intro */
.intro {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.intro::after {
  position: absolute;
  top: 14%;
  right: -95px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(23, 60, 48, 0.13);
  border-radius: 50%;
  content: "";
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.18fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(56px, 7vw, 104px);
}

.portrait-wrap {
  position: relative;
  padding: 0 0 42px 42px;
}

.portrait-wrap::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72%;
  height: 62%;
  background: var(--cream-deep);
  content: "";
}

.portrait-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-copy {
  max-width: 580px;
}

.intro-copy > p:not(.eyebrow):not(.lead-copy) {
  color: var(--muted);
}

.intro-copy strong {
  color: var(--forest);
  font-weight: 650;
}

.intro-copy .text-link {
  margin-top: 18px;
}

/* Courses */
.courses {
  border-top: 1px solid var(--line);
  background: var(--cream-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 60px;
  margin-bottom: clamp(55px, 7vw, 90px);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 470px;
  margin: 0 0 10px;
  color: var(--muted);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.course-card {
  position: relative;
  display: flex;
  min-height: 465px;
  flex-direction: column;
  padding: 36px clamp(24px, 3.2vw, 45px) 40px;
  background: var(--cream-soft);
  transition: background-color 400ms ease, transform 450ms var(--ease), box-shadow 450ms ease;
}

.course-card + .course-card {
  border-left: 1px solid var(--line);
}

.course-card:hover {
  z-index: 1;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(35, 53, 44, 0.08);
  transform: translateY(-10px);
}

.course-card-accent::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--clay);
  content: "";
}

.course-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 62px;
  color: var(--moss);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.course-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.course-card h3 {
  max-width: 310px;
  margin-bottom: 24px;
}

.course-card p {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 0.94rem;
}

.card-link {
  align-self: flex-start;
  margin-top: auto;
}

.course-note {
  display: flex;
  max-width: 620px;
  align-items: center;
  gap: 22px;
  margin: 33px 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.course-note p {
  margin: 0;
}

.course-note-line {
  width: 72px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--clay);
}

.courses-overview-link {
  display: flex;
  width: max-content;
  margin: 30px 0 0 auto;
}

/* Herbarium */
.herbarium {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: rgba(255, 253, 248, 0.78);
}

.herbarium::before {
  position: absolute;
  right: -170px;
  bottom: -220px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.herbarium-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  margin-bottom: 70px;
}

.herbarium-heading .eyebrow {
  grid-column: 1 / -1;
}

.herbarium-heading h2 {
  margin: 0;
  color: var(--cream-soft);
}

.herbarium-heading > p:last-child {
  align-self: end;
  max-width: 455px;
  margin: 0 0 10px;
}

.plant-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.plant-card {
  display: block;
  overflow: hidden;
  background: var(--cream-soft);
  color: var(--ink);
  transition: transform 450ms var(--ease);
}

.plant-card:nth-child(even) {
  margin-top: 42px;
}

.plant-card:hover {
  transform: translateY(-9px);
}

.plant-image {
  aspect-ratio: 0.88;
  overflow: hidden;
  background: var(--moss);
}

.plant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96);
  transition: transform 800ms var(--ease), filter 500ms ease;
}

.plant-card:hover img {
  filter: saturate(0.96) contrast(1);
  transform: scale(1.045);
}

.plant-image-yarrow img { object-position: 45% center; }
.plant-image-calendula img { object-position: 89% center; }
.plant-image-balm img { object-position: 8% center; }
.plant-image-chamomile img { object-position: 55% center; }

.plant-copy {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 29px 25px 26px;
}

.plant-latin {
  margin-bottom: 12px;
  color: var(--clay);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-style: italic;
}

.plant-copy h3 {
  margin-bottom: 16px;
  font-size: 1.65rem;
}

.plant-copy > p:last-child {
  display: -webkit-box;
  margin: 0 0 24px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.plant-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--forest);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.herbarium-link {
  margin-top: 58px;
}

/* Knowledge */
.knowledge {
  background: var(--cream);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(70px, 10vw, 140px);
}

.knowledge-copy h2 {
  max-width: 570px;
  font-size: clamp(3.2rem, 5.6vw, 5.4rem);
}

.knowledge-copy .lead-copy {
  margin-bottom: 46px;
}

.principle-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 22px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.principle-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.principle-list > li > span {
  padding-top: 3px;
  color: var(--clay);
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.principle-list h3 {
  margin-bottom: 7px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.principle-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.knowledge-preview-link {
  margin-top: 30px;
}

.knowledge-image {
  position: relative;
  margin: 0;
  padding-bottom: 70px;
}

.knowledge-image::before {
  position: absolute;
  right: -38px;
  bottom: 25px;
  width: 58%;
  height: 47%;
  background: var(--cream-deep);
  content: "";
}

.knowledge-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 570px;
  object-fit: cover;
}

.knowledge-image figcaption {
  position: absolute;
  z-index: 2;
  right: -1px;
  bottom: 0;
  width: 57%;
  padding: 28px 32px;
  background: var(--forest);
  color: var(--cream-soft);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.45;
}

/* Garden */
.garden {
  position: relative;
  display: grid;
  min-height: 860px;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  background: var(--cream-deep);
}

.garden-image {
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 860px;
}

.garden-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 20%, rgba(14, 43, 32, 0.06) 65%, rgba(14, 43, 32, 0.3));
  content: "";
}

.garden-image img {
  width: 100%;
  height: 100%;
  min-height: 860px;
  object-fit: cover;
}

.garden-panel {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: min(600px, calc(100% - 64px));
  margin: 64px;
  padding: clamp(52px, 6vw, 86px);
  background: rgba(251, 248, 241, 0.96);
  box-shadow: 0 30px 80px rgba(16, 44, 36, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.garden-panel h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}

.garden-panel > p:not(.eyebrow) {
  color: var(--muted);
}

.garden-panel .text-link {
  margin-top: 18px;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--clay);
  color: rgba(255, 253, 248, 0.86);
}

.contact::before {
  position: absolute;
  top: -235px;
  left: -190px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: clamp(70px, 12vw, 160px);
}

.contact-copy h2 {
  max-width: 760px;
  margin-bottom: 38px;
  color: var(--cream-soft);
  font-size: clamp(3.8rem, 7vw, 7.2rem);
}

.contact-copy > p:last-child {
  max-width: 590px;
  font-size: 1.05rem;
}

.contact .eyebrow-light {
  color: #f3d9aa;
}

.contact-form {
  align-self: start;
  padding: clamp(33px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(81, 43, 29, 0.11);
}

.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 23px;
}

.form-row label {
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  padding: 9px 3px 12px;
  background: transparent;
  color: var(--white);
  outline: 0;
  transition: border-color 200ms ease;
}

.form-row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cream-soft) 50%), linear-gradient(135deg, var(--cream-soft) 50%, transparent 50%);
  background-position: calc(100% - 13px) 50%, calc(100% - 8px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.form-row select option {
  background: var(--forest);
  color: var(--cream-soft);
}

.form-row textarea {
  min-height: 86px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--white);
}

.form-submit {
  margin-top: 8px;
  cursor: pointer;
}

.form-note {
  margin: 18px 0 0;
  color: rgba(255, 253, 248, 0.69);
  font-size: 0.69rem;
  line-height: 1.55;
}

.form-note.is-success {
  color: var(--white);
}

.contact-preview-card {
  display: flex;
  min-height: 310px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
}

.contact-preview-card > a:not(.button) {
  margin-top: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--cream-soft);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
}

.contact-preview-card .button {
  margin-top: 36px;
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 253, 248, 0.68);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 0.7fr);
  gap: 50px;
  padding-block: 85px 72px;
}

.brand-footer {
  color: var(--cream-soft);
}

.footer-brand > p {
  max-width: 330px;
  margin: 28px 0 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h2 {
  margin-bottom: 12px;
  color: #d9bd88;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  font-size: 0.82rem;
}

.footer-column a {
  transition: color 200ms ease;
}

.footer-column a:hover {
  color: var(--cream-soft);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 0.6fr 1.6fr auto;
  align-items: center;
  gap: 30px;
  padding-block: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.67rem;
}

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-soft);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Scroll reveals */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 850ms var(--ease), transform 850ms var(--ease);
}

.js .reveal-delay {
  transition-delay: 120ms;
}

.js .reveal-delay-long {
  transition-delay: 220ms;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1120px) {
  :root {
    --header-height: 82px;
  }

  .brand-note {
    display: none;
  }

  .primary-nav {
    gap: 18px;
  }

  .primary-nav a {
    font-size: 0.64rem;
  }

  .course-card {
    padding-inline: 28px;
  }

  .plant-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .plant-card:nth-child(even) {
    margin-top: 0;
  }

  .plant-card:nth-child(2),
  .plant-card:nth-child(4) {
    transform: translateY(36px);
  }

  .plant-card:nth-child(2):hover,
  .plant-card:nth-child(4):hover {
    transform: translateY(27px);
  }

  .contact-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 60px;
  }

  .footer-main {
    grid-template-columns: 1.3fr repeat(3, 0.7fr);
  }
}

@media (max-width: 900px) {
  .page-shell,
  .header-inner {
    width: min(calc(100% - 44px), var(--page-width));
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    width: min(430px, 100%);
    height: 100svh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    padding: 100px 54px 60px;
    background: var(--cream-soft);
    box-shadow: -20px 0 80px rgba(16, 44, 36, 0.16);
    color: var(--forest);
    transform: translateX(105%);
    transition: transform 500ms var(--ease);
  }

  .primary-nav::before {
    margin-bottom: 18px;
    color: var(--clay);
    content: "MENÜ";
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.18em;
  }

  html[lang="cs"] .primary-nav::before {
    content: "MENU";
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .primary-nav a {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    font-weight: 400;
    letter-spacing: -0.02em;
  }

  .primary-nav a:not(.nav-contact)::after {
    display: none;
  }

  .primary-nav .language-switcher {
    gap: 10px;
    margin: 20px 0 0;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .primary-nav .language-switcher a {
    font-family: inherit;
    font-size: inherit;
    font-weight: 650;
    letter-spacing: inherit;
  }

  .nav-contact {
    margin-top: 16px;
    padding: 10px 21px !important;
    font-family: var(--font-sans) !important;
    font-size: 0.7rem !important;
    font-weight: 650 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
  }

  .hero h1 {
    font-size: clamp(4rem, 11vw, 6.8rem);
  }

  .intro-grid,
  .knowledge-grid {
    grid-template-columns: 1fr 1fr;
    gap: 55px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .portrait-wrap {
    width: 92%;
    max-width: 720px;
    padding-left: 24px;
  }

  .section-heading,
  .herbarium-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .course-grid {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .course-card {
    min-height: auto;
    padding: 34px 30px 38px;
    border-bottom: 1px solid var(--line);
  }

  .course-card + .course-card {
    border-left: 0;
  }

  .course-topline {
    margin-bottom: 40px;
  }

  .knowledge-grid {
    align-items: start;
  }

  .knowledge-image {
    padding-bottom: 50px;
  }

  .knowledge-image img {
    min-height: 560px;
  }

  .knowledge-image figcaption {
    width: 78%;
  }

  .garden-panel {
    grid-column: 1 / -1;
    justify-self: end;
    width: min(600px, calc(100% - 88px));
    margin: 44px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy > p:last-child {
    max-width: 700px;
  }

  .footer-main {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .footer-column:last-child {
    grid-column: 2;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
  }

  .footer-bottom p:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 74px;
  }

  .page-shell,
  .header-inner {
    width: min(calc(100% - 36px), var(--page-width));
  }

  .section-pad {
    padding-block: 90px;
  }

  h2 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.is-menu-open {
    height: 74px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .primary-nav {
    padding-inline: 36px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-backdrop {
    background-position: 62% center;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(8, 31, 23, 0.8) 0%, rgba(8, 31, 23, 0.48) 72%, rgba(8, 31, 23, 0.2) 100%),
      linear-gradient(0deg, rgba(9, 28, 22, 0.48) 0%, transparent 50%);
  }

  .hero-content {
    padding-bottom: 98px;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 17vw, 5.4rem);
  }

  .hero-intro {
    max-width: 430px;
    font-size: 1.2rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-scroll {
    display: none;
  }

  .intro-grid,
  .knowledge-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .portrait-wrap {
    width: 94%;
    max-width: 620px;
    padding: 0 0 32px 24px;
  }

  .intro-copy {
    max-width: none;
  }

  .course-card {
    padding-inline: 22px;
  }

  .course-note {
    align-items: flex-start;
  }

  .course-note-line {
    width: 34px;
    margin-top: 10px;
  }

  .plant-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .plant-card:nth-child(2),
  .plant-card:nth-child(4),
  .plant-card:nth-child(2):hover,
  .plant-card:nth-child(4):hover {
    transform: none;
  }

  .plant-image {
    aspect-ratio: 1.15;
  }

  .plant-copy {
    min-height: 0;
  }

  .knowledge-copy h2 {
    font-size: clamp(2.9rem, 14vw, 4.4rem);
  }

  .knowledge-image {
    width: calc(100% + 18px);
    margin-left: -18px;
  }

  .knowledge-image img {
    min-height: 430px;
  }

  .knowledge-image figcaption {
    right: 0;
    width: 82%;
    padding: 22px;
    font-size: 1rem;
  }

  .garden,
  .garden-image,
  .garden-image img {
    min-height: 760px;
  }

  .garden-image img {
    object-position: 42% center;
  }

  .garden-panel {
    align-self: end;
    justify-self: center;
    width: calc(100% - 36px);
    margin: 18px 18px 36px;
    padding: 42px 27px;
  }

  .garden-panel h2 {
    font-size: clamp(2.9rem, 14vw, 4.3rem);
  }

  .contact-copy h2 {
    font-size: clamp(3.35rem, 15vw, 5.4rem);
  }

  .contact-form {
    margin-inline: -2px;
    padding: 29px 23px;
  }

  .form-submit {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 45px 25px;
    padding-block: 70px 52px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom p:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .back-to-top {
    margin-top: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
