@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Vazirmatn:wght@300;400;500;600;700&display=swap");

:root {
  --ivory: #f6f3ec;
  --warm-white: #fcfbf7;
  --navy: #172338;
  --navy-2: #253752;
  --near-black: #171a1d;
  --text: #20242a;
  --text-2: #737a7e;
  --muted: #eceae3;
  --border: #d8d6ce;
  --gold: #b58a42;
  --gold-soft: #f3ebdd;
  --autumn: #7d5942;
  --autumn-soft: #a77656;
  --sage: #71847a;
  --shadow: 0 24px 70px rgba(23, 35, 56, 0.09);
  --page: min(1380px, calc(100% - 80px));
  --radius: 18px;
}

html[data-theme="dark"] {
  --ivory: #101721;
  --warm-white: #172338;
  --navy: #f4f0e8;
  --navy-2: #d6dce3;
  --near-black: #f8f5ee;
  --text: #edf0f2;
  --text-2: #a6afb9;
  --muted: #1d2939;
  --border: #334154;
  --gold: #c9a25d;
  --gold-soft: #2b2a27;
  --autumn: #c09271;
  --autumn-soft: #ba8867;
  --sage: #91a49a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(37, 55, 82, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 55, 82, 0.025) 1px, transparent 1px),
    var(--ivory);
  background-size: 72px 72px;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  transition: color 220ms ease, background-color 220ms ease;
}

html[data-theme="dark"] body {
  background:
    linear-gradient(rgba(216, 214, 206, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 214, 206, 0.035) 1px, transparent 1px),
    var(--ivory);
  background-size: 72px 72px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
::selection { color: var(--warm-white); background: var(--navy); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  right: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 10px;
  color: var(--warm-white);
  background: var(--navy);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid rgba(181, 138, 66, 0.48);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(246, 243, 236, 0.9);
  backdrop-filter: blur(18px);
}

html[data-theme="dark"] .site-header { background: rgba(16, 23, 33, 0.9); }

.header-inner {
  width: var(--page);
  min-height: 98px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 14px;
  direction: ltr;
}

.brand-symbol {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--warm-white);
}

.brand-symbol img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-copy { display: grid; gap: 7px; }
.brand-copy strong { color: var(--navy); font: 600 14px/1 "Inter", sans-serif; letter-spacing: 0.2em; }
.brand-copy small { color: var(--text-2); font: 500 7px/1 "Inter", sans-serif; letter-spacing: 0.18em; }

.main-nav { display: flex; align-items: center; gap: 38px; font-size: 12px; color: var(--text-2); }
.main-nav a { position: relative; padding: 12px 0; transition: color 180ms ease; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 4px; width: 0; height: 1px; background: var(--gold); transition: width 180ms ease; }
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

.header-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.theme-toggle svg { grid-area: 1 / 1; width: 19px; transition: opacity 180ms ease, transform 180ms ease; }
.theme-toggle .moon-icon { opacity: 0; transform: rotate(-15deg) scale(0.75); }
.theme-toggle:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-1px); }
html[data-theme="dark"] .theme-toggle .sun-icon { opacity: 0; transform: rotate(20deg) scale(0.75); }
html[data-theme="dark"] .theme-toggle .moon-icon { opacity: 1; transform: rotate(0) scale(1); }

.header-action {
  justify-self: end;
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--navy);
  border-radius: 14px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-action svg { width: 17px; transform: scaleX(-1); }
.header-action:hover { color: var(--warm-white); background: var(--navy); transform: translateY(-1px); }

main { width: var(--page); margin: auto; }

.hero {
  position: relative;
  min-height: calc(100svh - 98px);
  padding: clamp(56px, 7vw, 104px) 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(480px, 0.95fr) minmax(500px, 1.05fr);
  align-items: center;
  gap: clamp(70px, 8vw, 150px);
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--autumn);
  font: 500 9px/1 "Inter", "Vazirmatn", sans-serif;
  letter-spacing: 0.16em;
}

.eyebrow { display: flex; align-items: center; gap: 13px; direction: ltr; }
.eyebrow span { width: 38px; height: 1px; background: var(--gold); }

h1 {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--navy);
  font-size: clamp(58px, 5.35vw, 92px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.055em;
}

h1 span { display: block; color: var(--navy-2); font-weight: 700; }

.hero-lead {
  max-width: 630px;
  margin: 30px 0 0;
  color: var(--text-2);
  font-size: clamp(15px, 1.12vw, 18px);
  font-weight: 300;
  line-height: 2.05;
}

.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 30px; }

.primary-button {
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 15px;
  color: var(--warm-white);
  background: var(--navy);
  box-shadow: 0 10px 30px rgba(23, 35, 56, 0.17);
  font-size: 13px;
  font-weight: 500;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.primary-button svg { width: 19px; transform: scaleX(-1); }
.primary-button:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(23, 35, 56, 0.22); }

.caffeine-button {
  position: relative;
  min-height: 62px;
  padding: 8px 15px 8px 17px;
  display: inline-grid;
  grid-template-columns: 43px auto 20px;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  border: 2px solid var(--navy);
  border-radius: 16px 16px 5px 16px;
  color: #172338;
  background: #f3c969;
  box-shadow: 0 9px 0 rgba(23, 35, 56, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.caffeine-button::after {
  content: "فقط یک فنجان؛ ظاهراً";
  position: absolute;
  top: -17px;
  left: -29px;
  padding: 20px 21px 4px;
  color: rgba(23, 35, 56, 0.55);
  background: rgba(255, 255, 255, 0.36);
  font-size: 6px;
  font-weight: 700;
  transform: rotate(-8deg);
}
.caffeine-button:hover { transform: translateY(-3px) rotate(-0.5deg); background: #f6d47f; box-shadow: 0 12px 0 rgba(23, 35, 56, 0.14); }
.caffeine-cup { position: relative; display: block; width: 34px; height: 31px; border: 2px solid #172338; border-top: 0; border-radius: 4px 4px 13px 13px; background: #fff8ec; }
.caffeine-cup::before { content: ""; position: absolute; top: -5px; right: -2px; left: -2px; height: 8px; border: 2px solid #172338; border-radius: 50%; background: #a86f45; }
.caffeine-cup::after { content: ""; position: absolute; top: 7px; left: -11px; width: 12px; height: 13px; border: 3px solid #172338; border-right: 0; border-radius: 8px 0 0 8px; }
.caffeine-cup i,.caffeine-cup i::after { position: absolute; content: ""; top: -24px; width: 8px; height: 18px; border-left: 2px solid rgba(23, 35, 56, 0.56); border-radius: 50%; }
.caffeine-cup i { right: 7px; }.caffeine-cup i::after { top: 2px; right: 9px; }
.caffeine-copy { display: flex; min-width: 138px; flex-direction: column; text-align: right; }
.caffeine-copy small { font: 700 6px/1 "Inter", sans-serif; letter-spacing: 0.13em; direction: ltr; }
.caffeine-copy strong { margin-top: 5px; font-size: 12px; font-weight: 700; }
.caffeine-arrow { font: 700 17px/1 sans-serif; }
html[data-theme="dark"] .caffeine-button { color: #172338; border-color: #d9bf8d; box-shadow: 0 9px 0 rgba(0, 0, 0, 0.2); }

.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 12px; transition: color 180ms ease; }
.text-link span { color: var(--gold); font-family: sans-serif; }
.text-link:hover { color: var(--navy); }

.hero-visual { position: relative; width: min(100%, 610px); justify-self: end; }

.visual-frame {
  position: relative;
  min-height: min(67vh, 680px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 120px 18px 18px 18px;
  background:
    linear-gradient(110deg, transparent 49.8%, rgba(181, 138, 66, 0.16) 50%, transparent 50.2%),
    linear-gradient(rgba(37, 55, 82, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 55, 82, 0.04) 1px, transparent 1px),
    var(--warm-white);
  background-size: auto, 52px 52px, 52px 52px, auto;
  box-shadow: var(--shadow);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(181, 138, 66, 0.25);
  border-radius: 104px 11px 11px 11px;
  pointer-events: none;
}

.visual-frame::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -13%;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid rgba(37, 55, 82, 0.12);
  border-radius: 50%;
}

.frame-label {
  position: relative;
  z-index: 3;
  padding: 38px 42px;
  display: flex;
  justify-content: space-between;
  direction: ltr;
  color: var(--text-2);
  font: 500 8px/1 "Inter", sans-serif;
  letter-spacing: 0.16em;
}

.frame-label-bottom { padding-top: 16px; }

.moon-stage {
  position: absolute;
  z-index: 1;
  inset: 15% 14% 24%;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
}

.moon-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 61%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 138, 66, 0.17), rgba(243, 235, 221, 0.48) 44%, transparent 70%);
  filter: blur(12px);
}

.moon-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 4% 0;
  background: url("/assets/mona-moon-leaf.png?v=20260825-2") center / contain no-repeat;
  filter: saturate(0.88) contrast(1.04) drop-shadow(0 16px 22px rgba(125, 89, 66, 0.12));
}

.moon-stage img { display: none; }

html[data-theme="dark"] .moon-stage::before {
  background: radial-gradient(circle, rgba(201, 162, 93, 0.18), rgba(181, 138, 66, 0.08) 48%, transparent 72%);
}

.moon-orbit { position: absolute; z-index: 1; width: 70%; aspect-ratio: 1; border: 1px solid rgba(181, 138, 66, 0.26); border-radius: 50%; }
.moon-orbit::before,
.moon-orbit::after { content: ""; position: absolute; border-radius: 50%; background: var(--gold); }
.moon-orbit::before { width: 5px; height: 5px; top: 9%; right: 15%; }
.moon-orbit::after { width: 3px; height: 3px; bottom: 7%; left: 21%; }

.frame-quote { position: relative; z-index: 3; margin: auto 42px 0; padding: 20px 0; border-top: 1px solid var(--border); color: var(--navy-2); font-size: 12px; }

.visual-note {
  position: absolute;
  right: -54px;
  top: 53%;
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
  transform: rotate(90deg);
  transform-origin: center;
  color: var(--text-2);
  font: 500 7px/1.8 "Inter", sans-serif;
  letter-spacing: 0.14em;
}

.visual-note i { width: 38px; height: 1px; background: var(--gold); }

.hero-foot { margin-top: 44px; display: flex; align-items: center; gap: 14px; direction: ltr; color: var(--text-2); }
.hero-foot span { color: var(--gold); font: 500 9px/1 "Inter", sans-serif; }
.hero-foot i { width: 70px; height: 1px; background: var(--border); }
.hero-foot p { margin: 0; font: 500 8px/1 "Inter", sans-serif; letter-spacing: 0.16em; }

.vision {
  margin: 30px 0 0;
  padding: clamp(80px, 10vw, 150px) clamp(34px, 6vw, 92px);
  display: grid;
  grid-template-columns: 0.35fr 1.25fr 0.7fr;
  align-items: start;
  gap: 48px;
  border-radius: var(--radius);
  color: var(--warm-white);
  background:
    radial-gradient(circle at 13% 20%, rgba(113, 132, 122, 0.16), transparent 26rem),
    linear-gradient(130deg, var(--navy-2), var(--navy) 58%, #121c2d);
  box-shadow: 0 22px 60px rgba(23, 35, 56, 0.14);
}

.section-index { color: rgba(252, 251, 247, 0.42); direction: ltr; font: 500 8px/1 "Inter", sans-serif; letter-spacing: 0.16em; }
.vision .section-kicker { color: #caa45f; }
.vision h2 { max-width: 720px; margin: 20px 0 0; color: var(--warm-white); font-size: clamp(34px, 3.4vw, 54px); font-weight: 500; line-height: 1.55; letter-spacing: -0.04em; }
.vision-text { margin: 30px 0 0; color: rgba(252, 251, 247, 0.66); font-size: 14px; font-weight: 300; line-height: 2.1; }

html[data-theme="dark"] .vision {
  color: #fcfbf7;
  background:
    radial-gradient(circle at 13% 20%, rgba(113, 132, 122, 0.15), transparent 26rem),
    linear-gradient(130deg, #253752, #172338 58%, #0d1624);
}
html[data-theme="dark"] .vision h2 { color: #fcfbf7; }

.principles { padding: clamp(100px, 11vw, 170px) 0; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2 { margin: 16px 0 0; color: var(--navy); font-size: clamp(36px, 4vw, 58px); font-weight: 500; line-height: 1.4; letter-spacing: -0.04em; }
.section-heading > p { max-width: 330px; margin: 0 0 9px; color: var(--text-2); font-size: 13px; line-height: 1.9; }

.principle-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--border); }

.principle-grid article {
  position: relative;
  min-height: 390px;
  padding: 34px clamp(24px, 3.5vw, 48px) 42px;
  border-left: 1px solid var(--border);
  transition: background 200ms ease;
}

.principle-grid article:last-child { border-left: 0; }
.principle-grid article:hover { background: rgba(252, 251, 247, 0.62); }
html[data-theme="dark"] .principle-grid article:hover { background: rgba(252, 251, 247, 0.035); }
.principle-grid article > span { color: var(--autumn-soft); font: 500 9px/1 "Inter", sans-serif; }
.principle-grid h3 { margin: 52px 0 0; color: var(--navy); font-size: 20px; font-weight: 500; }
.principle-grid p { max-width: 320px; margin: 16px 0 0; color: var(--text-2); font-size: 13px; line-height: 2; }

.line-icon { position: relative; width: 105px; height: 94px; margin-top: 46px; color: var(--gold); }
.line-icon::before,
.line-icon::after,
.line-icon i { content: ""; position: absolute; display: block; }
.light-icon::before { inset: 18px 20px; border: 1px solid currentColor; border-radius: 50% 50% 4px 4px; }
.light-icon::after { left: 51px; bottom: 4px; width: 1px; height: 23px; background: currentColor; box-shadow: -20px -5px 0 -0.1px currentColor, 20px -5px 0 -0.1px currentColor; transform: rotate(45deg); }
.light-icon i { left: 39px; top: 36px; width: 28px; height: 1px; background: currentColor; transform: rotate(-38deg); }
.material-icon::before { left: 16px; top: 11px; width: 62px; height: 62px; border: 1px solid currentColor; transform: skewY(-11deg); }
.material-icon::after { left: 27px; top: 24px; width: 62px; height: 62px; border: 1px solid currentColor; transform: skewY(-11deg); }
.material-icon i { left: 45px; top: 10px; width: 1px; height: 76px; background: currentColor; transform: rotate(33deg); }
.frame-icon::before { inset: 10px 14px; border: 1px solid currentColor; border-radius: 40px 40px 2px 2px; }
.frame-icon::after { left: 36px; top: 31px; width: 32px; height: 52px; border: 1px solid currentColor; border-bottom: 0; border-radius: 22px 22px 0 0; }
.frame-icon i { left: 14px; bottom: 10px; width: 76px; height: 1px; background: currentColor; }

.studio-callout {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  margin-bottom: 80px;
  padding: clamp(48px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto;
  align-items: center;
  gap: 60px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--warm-white);
  box-shadow: var(--shadow);
}

.studio-callout::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 48%, rgba(243, 235, 221, 0.7)); pointer-events: none; }
html[data-theme="dark"] .studio-callout::before { background: linear-gradient(100deg, transparent 48%, rgba(181, 138, 66, 0.08)); }
.callout-copy { position: relative; z-index: 2; }
.callout-copy h2 { margin: 17px 0 0; color: var(--navy); font-size: clamp(34px, 3.5vw, 54px); font-weight: 500; line-height: 1.4; letter-spacing: -0.04em; }
.callout-copy > p:last-child { max-width: 660px; margin: 18px 0 0; color: var(--text-2); font-size: 14px; line-height: 2; }

.callout-action {
  position: relative;
  z-index: 3;
  min-width: 220px;
  min-height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 15px;
  color: var(--warm-white);
  background: var(--navy);
  font-size: 13px;
  transition: background 180ms ease, transform 180ms ease;
}

.callout-action svg { width: 26px; transform: scaleX(-1); }
.callout-action:hover { background: var(--navy-2); transform: translateY(-2px); }

.callout-mark { position: absolute; z-index: 1; left: 18%; top: 50%; width: 280px; height: 280px; transform: translateY(-50%); opacity: 0.075; }
.callout-mark img { width: 100%; }

.site-footer {
  width: var(--page);
  min-height: 118px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  font-size: 9px;
}

.footer-brand { justify-self: start; display: flex; align-items: center; gap: 12px; direction: ltr; }
.footer-brand > img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  aspect-ratio: 1;
  object-fit: contain;
}
.footer-brand span { display: grid; gap: 6px; }
.footer-brand strong { color: var(--navy); font: 600 10px/1 "Inter", sans-serif; letter-spacing: 0.18em; }
.footer-brand small { font: 500 6px/1 "Inter", sans-serif; letter-spacing: 0.13em; }
.footer-center { display: grid; justify-items: center; gap: 9px; }
.footer-center > p { margin: 0; direction: ltr; font: 500 7px/1 "Inter", sans-serif; letter-spacing: 0.12em; }
.footer-caffeine { display: inline-grid; min-width: 220px; min-height: 54px; grid-template-columns: 34px 1fr 16px; align-items: center; gap: 10px; border: 1.5px solid var(--navy); border-radius: 14px 14px 4px 14px; padding: 7px 11px; color: var(--navy); background: var(--gold-soft); box-shadow: 0 6px 0 rgba(23,35,56,.08); transition: transform 180ms ease,background 180ms ease; }
.footer-caffeine:hover { transform: translateY(-2px) rotate(-.35deg); background: #f3c969; }
.footer-caffeine > span:nth-child(2) { display: flex; flex-direction: column; }
.footer-caffeine small { color: var(--text-2); font-size: 6px; }
.footer-caffeine strong { margin-top: 3px; font-size: 10px; }
.footer-caffeine > i { font: 700 16px/1 sans-serif; }
.footer-cup { position: relative; width: 27px; height: 24px; border: 2px solid currentColor; border-top: 0; border-radius: 3px 3px 10px 10px; background: var(--warm-white); }
.footer-cup::before { content: ""; position: absolute; top: -4px; right: -2px; left: -2px; height: 6px; border: 2px solid currentColor; border-radius: 50%; background: var(--autumn-soft); }
.footer-cup::after { content: ""; position: absolute; top: 5px; left: -8px; width: 9px; height: 10px; border: 2px solid currentColor; border-right: 0; border-radius: 6px 0 0 6px; }
.site-footer > p { margin: 0; direction: ltr; font: 500 8px/1 "Inter", sans-serif; letter-spacing: 0.12em; }
.footer-place { justify-self: end; direction: rtl !important; font-family: "Vazirmatn", sans-serif !important; letter-spacing: 0 !important; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: reveal 760ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .hero-copy > :nth-child(3) { animation-delay: 140ms; }
  .hero-copy > :nth-child(4) { animation-delay: 210ms; }
  .hero-visual { animation: frame-reveal 900ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .moon-stage::after { animation: leaf-breathe 6s ease-in-out infinite alternate; transform-origin: 51% 55%; }
  .moon-orbit::before { animation: pulse 3.5s ease-in-out infinite; }
  @keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes frame-reveal { from { opacity: 0; transform: translateY(18px) scale(0.988); } to { opacity: 1; transform: translateY(0) scale(1); } }
  @keyframes leaf-breathe { from { transform: rotate(-1deg); } to { transform: rotate(1.4deg); } }
  @keyframes pulse { 0%, 100% { opacity: 0.45; box-shadow: 0 0 0 0 rgba(181, 138, 66, 0); } 50% { opacity: 1; box-shadow: 0 0 0 7px rgba(181, 138, 66, 0.08); } }
}

@media (max-width: 1100px) {
  :root { --page: min(900px, calc(100% - 56px)); }
  .main-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 68px; }
  .hero-copy { max-width: 760px; }
  h1 { font-size: clamp(60px, 9vw, 88px); }
  .hero-visual { width: min(100%, 700px); justify-self: center; }
  .visual-frame { min-height: min(88vw, 760px); }
  .vision { grid-template-columns: 0.24fr 1.2fr; }
  .vision-text { grid-column: 2; max-width: 620px; }
  .principle-grid article { min-height: 370px; padding-inline: 28px; }
  .callout-mark { left: 12%; }
}

@media (max-width: 720px) {
  :root { --page: calc(100% - 32px); }
  body { background-size: 54px 54px; }
  .header-inner { min-height: 82px; }
  .brand-symbol { width: 44px; height: 44px; }
  .brand-symbol { flex-basis: 44px; }
  .brand-symbol img { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { display: none; }
  .header-action { min-height: 42px; padding: 0 14px; font-size: 10px; }
  .header-action svg { display: none; }
  .hero { padding: 52px 0 38px; }
  .hero-grid { gap: 50px; }
  .eyebrow { font-size: 7px; letter-spacing: 0.11em; }
  h1 { margin-top: 23px; font-size: clamp(43px, 13.3vw, 67px); line-height: 1.3; }
  .hero-lead { margin-top: 24px; font-size: 14px; line-height: 2; }
  .hero-actions { margin-top: 32px; flex-wrap: wrap; gap: 16px; }
  .primary-button { min-height: 52px; padding: 0 19px; }
  .text-link { font-size: 10px; }
  .visual-frame { min-height: 126vw; max-height: 650px; border-radius: 74px 16px 16px 16px; }
  .visual-frame::before { inset: 11px; border-radius: 63px 10px 10px 10px; }
  .frame-label { padding: 29px 27px; font-size: 6px; }
  .moon-stage { inset: 15% 8% 25%; }
  .moon-stage::after { inset: 6% 0; }
  .moon-orbit { width: 78%; }
  .frame-quote { margin-inline: 27px; font-size: 10px; }
  .visual-note { display: none; }
  .hero-foot { margin-top: 28px; }
  .vision { padding: 64px 28px; grid-template-columns: 1fr; gap: 30px; }
  .vision h2 { font-size: 34px; }
  .vision-text { grid-column: auto; margin-top: 0; }
  .principles { padding: 90px 0; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p { margin-top: 20px; }
  .principle-grid { margin-top: 42px; grid-template-columns: 1fr; }
  .principle-grid article { min-height: 330px; border-left: 0; border-bottom: 1px solid var(--border); }
  .principle-grid article:last-child { border-bottom: 0; }
  .studio-callout { margin-bottom: 54px; padding: 48px 28px; grid-template-columns: 1fr; gap: 30px; }
  .callout-copy h2 { font-size: 36px; }
  .callout-action { min-width: 0; width: 100%; }
  .callout-mark { left: -12%; top: 20%; width: 230px; height: 230px; }
  .site-footer { min-height: 150px; padding: 28px 0; grid-template-columns: 1fr auto; gap: 24px; }
  .footer-center { grid-column: 1 / -1; grid-row: 2; }
  .footer-caffeine { width: min(100%, 310px); }
}

@media (max-width: 390px) {
  .brand-copy { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .caffeine-button { width: 100%; }
  .text-link { padding-right: 4px; }
  .frame-quote { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
