/* ==========================================================================
   Yin Venice Yoga — shared design system
   Typefaces: Cormorant Garamond (display) + Karla (body)
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/karla-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/karla-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f6f1e7;
  --paper-2: #efe6d6;
  --paper-3: #e8ddc9;
  --ink: #1c2440;
  --ink-2: #343b53;
  --muted: #5c6274;
  --gold: #a2853c;
  --gold-ink: #6f5820;
  --gold-bright: #c7a75c;
  --sage: #6f7d6b;
  --blush: #c9a6a1;
  --line: rgba(28, 36, 64, 0.16);
  --line-strong: rgba(28, 36, 64, 0.28);
  --line-light: rgba(246, 241, 231, 0.2);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Karla", "Helvetica Neue", Arial, sans-serif;
  --max: 1360px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --header-h: 88px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 24px 60px -42px rgba(28, 36, 64, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    radial-gradient(62% 42% at 8% 0%, rgba(199, 167, 92, 0.11), transparent 68%),
    radial-gradient(48% 36% at 100% 10%, rgba(111, 125, 107, 0.08), transparent 72%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg,
picture {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.015em;
}

h1 {
  line-height: 0.88;
}

h2 {
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  line-height: 0.96;
}

h3 {
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  line-height: 1.1;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--gold);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 4px;
}

.container {
  width: min(var(--max), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 231, 0.92);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 241, 231, 0.97);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  width: clamp(168px, 15vw, 212px);
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.2rem);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.75vw, 1.7rem);
}

.primary-nav a,
.footer-nav a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.primary-nav a.is-active {
  color: var(--ink);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lang-switch a:hover {
  color: var(--gold-ink);
}

.lang-switch .is-current {
  color: var(--ink);
  font-weight: 600;
}

.lang-switch .lang-sep {
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(2rem, 6vw, 4rem) var(--gutter) 2rem;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  overflow-y: auto;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  list-style: none;
}

.mobile-nav ul a {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 7vw, 3.3rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.mobile-nav ul a:hover,
.mobile-nav ul a.is-active {
  color: var(--gold-ink);
}

.mobile-nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.mobile-nav-footer a {
  color: var(--gold-ink);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  padding-block: clamp(1rem, 3vw, 3rem);
  min-width: 0;
}

.hero h1 {
  font-size: clamp(3.8rem, 7.4vw, 7rem);
  letter-spacing: -0.028em;
  max-width: 11ch;
}

.hero h1 span {
  display: block;
}

.hero h1 .hero-welcome {
  margin-bottom: 0.25em;
  font-size: 0.3em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold-ink);
}

.hero-quote {
  max-width: none;
  margin: clamp(2rem, 4vw, 3.2rem) 0 0;
  padding-left: clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--gold);
}

.hero-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1.95vw, 1.8rem);
  line-height: 1.35;
  text-wrap: balance;
  color: var(--ink-2);
}

.hero-quote cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: clamp(520px, 68vh, 760px);
  margin: 0;
  overflow: hidden;
  background: var(--paper-3);
}

.hero-media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: clamp(12px, 1.6vw, 22px);
  border: 1px solid rgba(246, 241, 231, 0.38);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Introduction
   -------------------------------------------------------------------------- */

.intro {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.intro-media {
  display: grid;
  grid-template-columns: 1fr 0.68fr;
  gap: clamp(0.8rem, 1.5vw, 1.35rem);
  align-items: start;
  min-width: 0;
}

.intro-media figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper-3);
}

.intro-media figure:first-child {
  margin-top: clamp(1rem, 3vw, 3.5rem);
}

.intro-media figure:last-child {
  margin-top: clamp(4rem, 9vw, 8rem);
}

.intro-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 32%;
}

.intro-media figure:last-child img {
  aspect-ratio: 3 / 4;
  object-position: 50% 40%;
}

.intro-copy {
  max-width: 62ch;
  min-width: 0;
}

.intro-lead {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.35vw, 2rem);
  line-height: 1.5;
  color: var(--ink);
}

.intro-lead::first-letter {
  float: left;
  margin: 0.08em 0.14em 0 0;
  font-family: var(--serif);
  font-size: 3.9em;
  font-weight: 300;
  line-height: 0.72;
  color: var(--gold-ink);
}

.intro-copy p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.intro-copy p + p {
  margin-top: 1.65rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Yin yoga
   -------------------------------------------------------------------------- */

.yin {
  position: relative;
  padding-block: clamp(3.75rem, 7vw, 6.5rem);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.yin::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 55% at 86% 5%, rgba(199, 167, 92, 0.13), transparent 72%),
    radial-gradient(40% 50% at 0% 100%, rgba(111, 125, 107, 0.1), transparent 72%);
  pointer-events: none;
}

.yin .container {
  position: relative;
}

.yin-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.8rem, 1.6vw, 1.1rem);
  align-items: center;
  justify-items: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.yin h2 {
  color: var(--paper);
}

.yin-subtitle {
  max-width: 64ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.35vw, 2rem);
  line-height: 1.35;
  text-wrap: balance;
  color: var(--gold-bright);
}

.yin-intro {
  max-width: 64ch;
  margin: 0;
  color: rgba(246, 241, 231, 0.74);
  font-size: 0.98rem;
  line-height: 1.8;
}

.yin-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line-light);
}

.yin-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(0rem, 4vw, 4rem) 0 0;
  min-width: 0;
}

.yin-col--yang {
  padding-left: clamp(1.5rem, 4vw, 4rem);
  border-left: 1px solid var(--line-light);
}

.yin-divider {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: clamp(56px, 5.2vw, 76px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.38));
}

.yin-divider img {
  width: 100%;
  height: 100%;
}

.yin-char {
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: var(--gold-bright);
}

.yin-col h3 {
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--paper);
}

.yin-definition {
  width: 100%;
  max-width: 34rem;
  margin: 0.9rem auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
  hyphens: manual;
  color: var(--paper);
}

.yin-col p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.yin-col .yin-definition {
  text-align: center;
  hyphens: manual;
}

.yin-col .yin-body {
  width: 100%;
  max-width: 34rem;
  margin: 1.4rem auto 0;
  color: rgba(246, 241, 231, 0.72);
  font-size: 0.96rem;
  line-height: 1.88;
}

.yin-art {
  position: relative;
  flex: 1 1 auto;
  min-height: 240px;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: rgba(246, 241, 231, 0.02);
}

.yin-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yin-note-section {
  position: relative;
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
  border-block: 1px solid var(--line);
  background:
    radial-gradient(46% 100% at 10% 0%, rgba(199, 167, 92, 0.1), transparent 72%),
    radial-gradient(40% 90% at 100% 100%, rgba(111, 125, 107, 0.07), transparent 72%),
    var(--paper-2);
  color: var(--ink);
  overflow: hidden;
}

.yin-note {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(0.7rem, 1.4vw, 1rem);
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.yin-note p:first-child {
  max-width: 1200px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.65rem);
  line-height: 1.4;
  text-wrap: balance;
  color: var(--gold-ink);
}

.yin-note p:last-child {
  max-width: 1100px;
  color: var(--ink-2);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.7;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Quote interlude
   -------------------------------------------------------------------------- */

.interlude {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  min-height: 0;
  margin: 0;
  background: var(--ink);
  overflow: hidden;
}

.interlude > picture {
  position: relative;
  align-self: center;
  min-height: 0;
  padding: clamp(1.15rem, 2.4vw, 2rem);
  border-right: 1px solid rgba(199, 167, 92, 0.22);
  overflow: hidden;
  background: #141b32;
}

.interlude img {
  position: static;
  width: 100%;
  height: auto;
  padding: clamp(0.35rem, 0.6vw, 0.55rem);
  border: 1px solid rgba(162, 133, 60, 0.55);
  background: var(--paper);
  object-fit: contain;
  box-shadow: 0 24px 48px -38px rgba(0, 0, 0, 0.85);
  filter: saturate(0.78) contrast(1.02);
}

.interlude blockquote {
  align-self: center;
  justify-self: center;
  width: min(100%, 40rem);
  margin: 0;
  padding: clamp(2.5rem, 4.5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  border-left: 1px solid rgba(199, 167, 92, 0.35);
  text-align: center;
  color: var(--paper);
}

.interlude blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.55rem, 2.65vw, 2.3rem);
  line-height: 1.3;
  text-wrap: balance;
}

.interlude cite {
  display: block;
  margin-top: 1.15rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
}

/* --------------------------------------------------------------------------
   History
   -------------------------------------------------------------------------- */

.history {
  background: var(--paper);
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.history-head {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.history h2 {
  max-width: 9ch;
}

.timeline {
  --timeline-pad: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-left: var(--timeline-pad);
  border-left: 1px solid var(--line-strong);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: calc(-1 * var(--timeline-pad) - 3.5px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-label {
  margin-bottom: 0.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--gold-ink);
}

.timeline-item p {
  max-width: 66ch;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.88;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* --------------------------------------------------------------------------
   Sleeping Swan
   -------------------------------------------------------------------------- */

.swan {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.swan-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.swan-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
}

.swan-header::after {
  content: "";
  width: 72px;
  height: 1px;
  background: var(--gold);
}

.swan-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px) minmax(0, 1fr);
  grid-template-areas: "start photo end";
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.swan-main {
  grid-area: photo;
  width: 100%;
  max-width: 390px;
  margin: 0;
  justify-self: center;
  padding: clamp(0.4rem, 0.75vw, 0.6rem);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 50px -42px rgba(28, 36, 64, 0.55);
}

.swan-main picture {
  display: block;
  overflow: hidden;
  background: var(--paper-3);
  outline: 1px solid rgba(162, 133, 60, 0.4);
  outline-offset: -1px;
}

.swan-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.swan-details-start {
  grid-area: start;
}

.swan-details-end {
  grid-area: end;
}

.pose-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-content: center;
  align-items: start;
  min-width: 0;
}

.pose-details > div {
  padding-top: 0;
  border-top: 0;
}

.pose-details dt {
  margin-bottom: 0.45rem;
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--gold-ink);
}

.pose-details dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.8;
}

.pose-details ul {
  display: grid;
  gap: 0.35rem;
  list-style: none;
}

.pose-details li {
  position: relative;
  padding-left: 1rem;
}

.pose-details li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about-portrait {
  position: relative;
  width: min(100%, 270px);
  margin: 0;
  justify-self: center;
}

.about-portrait::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.5;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 50%;
  filter: saturate(0.85);
}

.about-copy {
  min-width: 0;
  max-width: 58ch;
}

.about-copy h2 {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.8rem);
}

.about-name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
  line-height: 1.15;
  color: var(--ink);
}

.about-role {
  max-width: 40ch;
  margin-top: 0.65rem;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-email {
  display: inline-block;
  margin-top: 1.8rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid currentColor;
  color: var(--gold-ink);
  font-size: 0.98rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-email:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.contact-copy h2 {
  max-width: 8ch;
}

.contact-email {
  display: inline-block;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: 0.1rem;
  border-bottom: 1px solid currentColor;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  color: var(--gold-ink);
  text-decoration: none;
}

.contact-email:hover {
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 1.45rem;
  min-width: 0;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-2);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.6;
  transition: border-color 0.2s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-bottom-color: var(--ink-2);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 4px;
  border-bottom-color: var(--gold-ink);
}

.field.has-error input,
.field.has-error textarea {
  border-bottom-color: #8a2f2f;
}

.field-error {
  min-height: 1.05em;
  color: #8a2f2f;
  font-size: 0.74rem;
  line-height: 1.4;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.turnstile-wrap {
  flex: 0 0 300px;
  width: 300px;
  min-width: 0;
  min-height: 65px;
  max-width: 100%;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  flex-wrap: nowrap;
}

.form-actions .button {
  flex: 0 0 auto;
}

.button {
  appearance: none;
  padding: 0.9rem 2rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.form-status {
  min-height: 1.5em;
  max-width: 52ch;
  font-size: 0.88rem;
  line-height: 1.6;
}

.form-status.is-success {
  color: #3f6044;
}

.form-status.is-error {
  color: #8a2f2f;
}

.form-noscript {
  padding: 1rem 0;
  color: var(--ink-2);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Scroll progress
   -------------------------------------------------------------------------- */

.scroll-progress {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.75rem);
  bottom: clamp(0.9rem, 2vw, 1.75rem);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 14px 34px -18px rgba(28, 36, 64, 0.75);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.scroll-progress:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -18px rgba(28, 36, 64, 0.8);
}

.scroll-progress__dial {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.scroll-progress__track,
.scroll-progress__meter {
  fill: none;
  stroke-width: 2;
}

.scroll-progress__track {
  stroke: rgba(246, 241, 231, 0.2);
}

.scroll-progress__meter {
  stroke: var(--gold-bright);
  stroke-linecap: round;
  stroke-dasharray: 163.363;
  stroke-dashoffset: 163.363;
  transition: stroke-dashoffset 0.12s linear;
}

.scroll-progress__icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: center;
  transition: transform 0.18s linear;
}

.scroll-progress__icon circle {
  fill: var(--gold-bright);
  stroke: none;
}

.scroll-progress.is-complete .scroll-progress__meter {
  stroke: var(--gold);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  background: var(--ink);
  color: var(--paper);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-light);
}

.footer-brand {
  display: inline-flex;
  flex-shrink: 0;
}

.footer-brand img {
  width: min(250px, 58vw);
  height: auto;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.5rem;
}

.footer-nav a {
  color: rgba(246, 241, 231, 0.74);
  font-size: 0.76rem;
}

.footer-nav a:hover {
  color: var(--gold-bright);
}

.footer-email {
  color: var(--gold-bright);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-email:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.5rem;
  color: rgba(246, 241, 231, 0.56);
  font-size: 0.72rem;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer .lang-switch a {
  color: rgba(246, 241, 231, 0.66);
}

.site-footer .lang-switch a:hover {
  color: var(--gold-bright);
}

.site-footer .lang-switch .is-current {
  color: var(--paper);
}

.site-footer .lang-switch .lang-sep {
  background: var(--line-light);
}

/* --------------------------------------------------------------------------
   One orchestrated entrance
   -------------------------------------------------------------------------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes frame-in {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes settle {
  from {
    transform: scale(1.045);
  }
  to {
    transform: scale(1);
  }
}

.hero h1 .hero-welcome,
.hero h1 span:not(.hero-welcome),
.hero-quote {
  animation: rise 0.9s var(--ease) both;
}

.hero h1 .hero-welcome {
  animation-delay: 0.08s;
}

.hero h1 span:nth-child(2) {
  animation-delay: 0.16s;
}

.hero h1 span:nth-child(3) {
  animation-delay: 0.24s;
}

.hero-quote {
  animation-delay: 0.38s;
}

.hero-media {
  animation: frame-in 1.05s var(--ease) both;
}

.hero-media img {
  animation: settle 1.7s var(--ease) both;
}

@media print {
  .scroll-progress {
    display: none;
  }
}

@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;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 1020px) {
  .footer-bottom {
    padding-right: 4.5rem;
  }
}

@media (max-width: 1180px) {
  .primary-nav {
    gap: 1rem;
  }

  .header-actions {
    gap: 1.25rem;
  }

  .primary-nav a {
    font-size: 0.74rem;
  }
}

@media (max-width: 1019px) {
  :root {
    --header-h: 78px;
  }

  .swan-body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "start"
      "end";
    gap: 2.25rem;
  }

  .pose-details {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
  }

  .scroll-progress {
    right: clamp(0.85rem, 3vw, 1.5rem);
    bottom: clamp(0.85rem, 3vw, 1.5rem);
    width: 44px;
    height: 44px;
  }

  .scroll-progress__icon {
    width: 22px;
    height: 22px;
  }

  .primary-nav,
  .header-actions > .lang-switch {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }

  .hero-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .intro-copy {
    order: 1;
  }

  .intro-media {
    order: 2;
    max-width: 640px;
  }

  .yin-header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .yin-subtitle {
    max-width: 34ch;
  }

  .history-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .history-head,
  .contact-copy {
    position: static;
  }

  .about-grid {
    grid-template-columns: 0.34fr 0.66fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 1rem;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 13vw, 5.4rem);
  }

  .hero-quote {
    max-width: 100%;
  }

  .hero-media {
    aspect-ratio: 4 / 5;
  }

  .interlude {
    grid-template-columns: 1fr;
  }

  .interlude > picture {
    min-height: clamp(220px, 52vw, 300px);
  }

  .interlude blockquote {
    width: 100%;
    padding: clamp(2rem, 5vw, 2.75rem) var(--gutter);
    border-top: 1px solid rgba(199, 167, 92, 0.35);
    border-left: 0;
  }

  .intro-media {
    gap: 0.7rem;
  }

  .intro-media figure:first-child {
    margin-top: 0.5rem;
  }

  .intro-media figure:last-child {
    margin-top: 2.5rem;
  }

  .yin-grid {
    grid-template-columns: 1fr;
  }

  .yin-col {
    padding-right: 0;
  }

  .yin-col--yang {
    padding-left: 0;
    border-left: 0;
  }

  .yin-divider {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    aspect-ratio: auto;
    transform: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-block: 2.5rem 0;
    filter: none;
  }

  .yin-divider::before,
  .yin-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line-light);
  }

  .yin-divider img {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
  }

  .yin-note {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .timeline {
    --timeline-pad: 1.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-portrait {
    width: 200px;
    justify-self: start;
    margin-left: 0.75rem;
  }

  .swan-main {
    padding: 0.4rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .swan-main {
    max-width: 340px;
  }

  .pose-details {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .pose-details > div {
    padding-top: 1rem;
  }
}

@media (max-width: 520px) {
  .header-inner {
    gap: 1rem;
  }

  .brand img {
    width: 164px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero h1 .hero-welcome {
    font-size: 0.34em;
  }

  .hero-quote {
    padding-left: 1rem;
  }

  .hero-media {
    aspect-ratio: 1 / 1.08;
  }

  .interlude blockquote p {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }

  .form-actions {
    gap: 0.65rem;
  }

  .turnstile-wrap {
    flex-basis: 150px;
    width: 150px;
    min-height: 140px;
  }

  .form-actions .button {
    width: auto;
    padding: 0.8rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }


  .footer-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-brand img {
    width: 210px;
  }
}

@media (max-width: 360px) {
  .brand img {
    width: 148px;
  }

  .scroll-progress {
    right: 0.8rem;
    bottom: 0.8rem;
    width: 40px;
    height: 40px;
  }

  .scroll-progress__icon {
    width: 20px;
    height: 20px;
  }
}
