/* Liliana Farelo — yoga, meditation, somatics
   Layout: the Liame system slowed down and warmed up. One calm column on Cal paper,
   warm Sand bands with curved edges, oval frames that echo the spiral, fine line drawings
   with a single Terracota element each. Deliberately a single light theme, like the sister brand. */
/* Work Sans, hosted with the site (latin subset covers Portuguese and English) */
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/work-sans-latin-300-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/work-sans-latin-400-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/work-sans-latin-500-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --bg: #F7F3EE;          /* Cal */
  --surface: #FCFAF7;
  --sand: #F2E8DF;        /* warm bands */
  --argila: #EFDCD1;      /* photo frames and tiles */
  --line: #E5DDD2;        /* Linho */
  --line-strong: #CFC5B7;
  --fg: #2A2622;          /* Carvão */
  --fg-2: #4A4540;
  --muted: #5F5850;
  --accent: #D9927A;      /* Terracota clara: drawings and dots only, never text */
  --barro: #9C5640;       /* text-safe accent on Cal and Sand */
  --musgo: #4A5A43;       /* Liame, used only to point to the sister brand */
  --font: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.4rem, 5.2vw, 4.25rem);
  --fs-h2: clamp(1.85rem, 3.2vw, 2.5rem);
  --fs-h3: 1.35rem;
  --fs-lead: clamp(1.15rem, 1.7vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;
  --gutter-l: max(clamp(16px, 5vw, 64px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 5vw, 64px), env(safe-area-inset-right, 0px));
  --section-pad: clamp(64px, 9vw, 128px);
  --oval: 50% 50% 50% 50% / 58% 58% 42% 42%;
  color-scheme: light;
}

* { box-sizing: border-box; }
/* Anything marked hidden stays hidden, even when a component sets its own display (library filters) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--barro); }
:focus-visible { outline: 2px solid var(--barro); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.14; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.skip { position: absolute; left: -9999px; top: 0; background: var(--fg); color: var(--bg); padding: 10px 16px; z-index: 20; }
.skip:focus { left: var(--gutter-l); top: 8px; color: var(--bg); }

/* Signpost to the sister brand */
.signpost { background: var(--surface); border-bottom: 1px solid var(--line); font-size: var(--fs-label); color: var(--muted); }
.signpost-inner { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-block: 8px; text-align: right; }
.signpost svg { flex-shrink: 0; }
.signpost a { color: var(--fg-2); text-underline-offset: 3px; }
.signpost a:hover { color: var(--musgo); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); min-height: 44px; }
.logo span { font-size: 1.35rem; font-weight: 300; letter-spacing: -0.01em; line-height: 1; }
.logo:hover { color: var(--fg); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: var(--fs-small); }
.nav a { text-decoration: none; color: var(--fg-2); padding-block: 8px; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.lang { color: var(--muted); font-size: var(--fs-label); letter-spacing: 0.08em; }
.lang strong { color: var(--fg); font-weight: 500; }
.lang a, .nav .lang a { color: var(--muted); padding: 0; border: 0; text-decoration: none; }
.lang a:hover, .nav .lang a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 18px; background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-small); cursor: pointer; }
.menu-btn:hover { border-color: var(--fg); }
.menu-btn svg { display: block; }

/* Shared type */
.label { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.display { font-size: var(--fs-display); letter-spacing: -0.03em; line-height: 1.06; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; }
.lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.5; color: var(--fg); max-width: 32em; }
.body-text { max-width: 36em; color: var(--fg-2); }
.small { font-size: var(--fs-small); color: var(--fg-2); }
.signature { font-size: var(--fs-lead); font-weight: 300; color: var(--fg); }
.text-link { font-size: var(--fs-small); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--fg); padding-block: 10px 2px; }
.text-link:hover { border-color: var(--barro); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 1px solid var(--fg); border-radius: 999px; font-size: var(--fs-small); font-weight: 500; text-decoration: none; color: var(--fg); background: transparent; cursor: pointer; }
.btn:hover { background: var(--sand); color: var(--fg); }
.links { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* Sections, separated by a soft curved line */
main { display: flex; flex-direction: column; }
.section { position: relative; padding-block: var(--section-pad); }
.section + .section::before {
  content: "";
  position: absolute; top: 0;
  left: max(var(--gutter-l), calc((100% - 1200px) / 2 + 64px));
  right: max(var(--gutter-r), calc((100% - 1200px) / 2 + 64px));
  height: 24px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 15 C 240 3, 520 3, 760 12 S 1080 22, 1200 9' fill='none' stroke='%23E5DDD2' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 40rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }
.split > * { min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }

/* Warm band with curved top and bottom edges */
.band { position: relative; background: var(--sand); padding-block: var(--section-pad); margin-block: 32px; }
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 40px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 26 C 280 6, 620 0, 900 14 S 1300 36, 1440 16 L1440 40 L0 40 Z' fill='%23F2E8DF'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.band::before { top: -39px; }
.band::after { bottom: -39px; transform: scale(-1, -1); }
.band + .section::before, .section:has(+ .band)::after { display: none; }

/* Page intro (inner pages) */
.page-intro { padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 88px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro-grid > * { min-width: 0; }
.intro-art { justify-self: center; width: 100%; max-width: 320px; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.intro-art figcaption { font-size: var(--fs-label); color: var(--muted); text-align: center; letter-spacing: 0.02em; }

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 128px) clamp(64px, 9vw, 120px); }
.hero-figure { justify-self: center; width: 100%; max-width: 340px; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-figure svg { width: 100%; height: auto; }
.hero-figure figcaption { font-size: var(--fs-label); color: var(--muted); letter-spacing: 0.02em; text-align: center; max-width: 22em; }

/* The breathing dot: in for four, out for four */
.breath { transform-box: fill-box; transform-origin: center; animation: breathe 8s ease-in-out infinite; }
.breath-ring { fill: none; stroke: var(--accent); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: breathe-ring 8s ease-in-out infinite; opacity: 0; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.9); } }
@keyframes breathe-ring { 0% { transform: scale(1); opacity: 0; } 15% { opacity: 0.5; } 50% { transform: scale(4); opacity: 0; } 100% { transform: scale(4); opacity: 0; } }

/* Oval frames: photos and placeholders echo the spiral */
.photo { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--oval); filter: saturate(0.85); }
.photo-ph { position: relative; display: grid; place-items: center; width: 100%; max-width: 100%; aspect-ratio: 4 / 5; border-radius: var(--oval); background: var(--argila); color: var(--fg-2); }
.photo-ph svg { width: 30%; height: auto; opacity: 0.6; }
.photo-ph span { position: absolute; left: 16%; right: 16%; bottom: 17%; text-align: center; font-size: var(--fs-label); line-height: 1.45; letter-spacing: 0.02em; }
.photo-ph--small { max-width: 240px; }
.band .photo-ph { background: var(--argila); }

/* Illustration tiles: soft pebbles behind the line drawings */
.tile { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; background: var(--sand); border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
.tile svg { width: 72%; height: auto; overflow: visible; }
/* Card illustrations keep one size everywhere, whatever the card width */
.cards .tile svg, .library .tile svg, .video-cover svg { width: min(72%, 180px); }
.tile--b { border-radius: 54% 46% 44% 56% / 46% 54% 46% 54%; }
.tile--c { border-radius: 48% 52% 58% 42% / 56% 50% 50% 44%; }
.band .tile { background: var(--bg); }
.ill { fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ill-dot { fill: var(--accent); stroke: none; }

.split > .tile, .split > .photo-ph, .split > .photo { max-width: 320px; justify-self: center; }
.intro-art .photo { max-width: 320px; }
.detail-head .photo { max-width: 320px; justify-self: end; }
.photo-side { width: 100%; max-width: 240px; margin-top: 12px; }
.signpost .short { display: none; }

/* Welcome note */
.welcome { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.welcome > * { min-width: 0; }
.welcome .photo-ph, .welcome .photo { max-width: 360px; }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); }
.promise { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: start; }
.promise svg { width: 88px; height: 66px; }
.promise strong { display: block; font-size: 1.15rem; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 4px; }
.promise p { color: var(--fg-2); font-size: var(--fs-small); line-height: 1.6; }

/* Cards: practices, pauses */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.card .tile { margin-bottom: 10px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.card-title { font-size: 1.4rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.card p { color: var(--fg-2); }
a.card:hover .card-title { color: var(--barro); }
a.card:hover .tile { background: var(--argila); }
.more { margin-top: clamp(36px, 4vw, 52px); }

/* Live schedule */
.schedule { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.schedule li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) auto; gap: 6px 28px; align-items: baseline; padding-block: 22px; border-top: 1px solid var(--line); }
.schedule .when { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--barro); font-variant-numeric: tabular-nums; }
.schedule .what { font-size: 1.2rem; font-weight: 300; letter-spacing: -0.01em; line-height: 1.4; }
.schedule .length { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; }

/* Quotes */
.pull { margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 46rem; text-align: center; }
.pull blockquote { margin: 0; font-size: clamp(1.45rem, 2.7vw, 2.1rem); font-weight: 300; line-height: 1.38; letter-spacing: -0.015em; text-wrap: balance; }
.pull figcaption { font-size: var(--fs-small); color: var(--muted); }
.quote-mark { display: block; font-size: 3.5rem; line-height: 0.6; height: 26px; font-weight: 300; color: var(--accent); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); }
.quotes figure { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.quotes blockquote { margin: 0; font-size: 1.08rem; font-weight: 300; line-height: 1.65; }
.quotes figcaption { font-size: var(--fs-small); color: var(--muted); }

/* Jump links */
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a, .chip-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 20px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: var(--fs-small); color: var(--fg); background: transparent; cursor: pointer; }
.jump a:hover, .chip-btn:hover { border-color: var(--fg); color: var(--fg); }
.chip-btn[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--accent); }
[id] { scroll-margin-top: 16px; }

/* Detail blocks (practices) */
.detail { display: flex; flex-direction: column; gap: clamp(36px, 4.5vw, 56px); }
.detail-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.detail-head > * { min-width: 0; }
.detail-head .tile { max-width: 320px; justify-self: end; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.cols > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.list-plain li { padding-block: 10px; border-top: 1px solid var(--line); color: var(--fg-2); font-size: var(--fs-small); line-height: 1.55; }
.meta { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Ideas in a grid */
.ideas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; }
.ideas--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.idea { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); min-width: 0; }
.idea svg { width: 88px; height: 66px; margin-bottom: 4px; }
.idea strong { font-size: 1.2rem; font-weight: 400; letter-spacing: -0.01em; }
.idea p { color: var(--fg-2); }
.idea .text-link { align-self: flex-start; margin-top: 4px; }

/* Training: present, but light */
.training li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding-block: 12px; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.training li:last-child { border-bottom: 1px solid var(--line); }
.training li span:first-child { color: var(--fg); }
.training li span:last-child { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

/* Client logos: Carvão on transparent, as on the Liame site */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(40px, 6vw, 72px); }
.logos li { display: flex; align-items: center; min-height: 56px; }
.logos img { display: block; max-width: 100%; height: auto; opacity: 0.85; }

/* Sister brand */
.sister { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); background: var(--surface); border-radius: 4px; }
.sister svg { width: 72px; height: 75px; }

/* Notes and placeholders */
.note { max-width: 44rem; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-small); color: var(--fg-2); }
.todo { border: 1px dashed var(--line-strong); padding: 14px 18px; color: var(--muted); font-size: var(--fs-small); background: var(--surface); max-width: 44rem; }

/* Closing band */
.closing { text-align: center; }
.closing .stack-lg { align-items: center; }
.closing .display { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.closing .body-text { margin-inline: auto; }

/* Pauses: library */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-count { font-size: var(--fs-small); color: var(--muted); margin-left: 8px; }
.library { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 48px); }
.pause { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pause .tile { margin-bottom: 10px; }
.pause p { color: var(--fg-2); }
.player { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 6px; }
.play { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--fg); background: transparent; cursor: pointer; }
.play:hover { background: var(--sand); }
.play:disabled { border-color: var(--line-strong); color: var(--muted); cursor: default; background: transparent; }
.play svg { width: 16px; height: 16px; }
.seek { width: 100%; accent-color: var(--barro); }
.seek:disabled { opacity: 0.5; }
.time { font-size: var(--fs-label); color: var(--muted); font-variant-numeric: tabular-nums; min-width: 3.5em; text-align: right; }
.soon { font-size: var(--fs-label); color: var(--muted); letter-spacing: 0.02em; }
.tip { border-top: 1px solid var(--line); }
.tip summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-block: 10px; cursor: pointer; font-size: var(--fs-small); font-weight: 500; list-style: none; }
.tip summary::-webkit-details-marker { display: none; }
.tip summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; line-height: 1; color: var(--muted); }
.tip[open] summary::after { content: "−"; }
.tip-body { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; color: var(--fg-2); font-size: var(--fs-small); }

/* Video practices: a brand cover until play, then the YouTube player (privacy mode) */
.video { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; background: var(--sand); border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; margin-bottom: 10px; overflow: hidden; transition: border-radius 0.4s ease; }
.video-cover { display: grid; place-items: center; width: 100%; height: 100%; }
.video-cover svg { height: auto; overflow: visible; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--fg); background: var(--bg); color: var(--fg); cursor: pointer; }
.video-play svg { width: 18px; height: 18px; margin-left: 3px; }
.video-play:hover { background: var(--fg); color: var(--bg); }
.video-play:disabled { opacity: 0; pointer-events: none; }
.video.is-playing { aspect-ratio: 16 / 9; border-radius: 16px; background: var(--fg); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Breathe with the dot */
.breathe { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.breathe > * { min-width: 0; }
.pacer-wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; max-width: 340px; margin-inline: auto; }
.pacer { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; }
.pacer-oval { position: absolute; inset: 4% 15%; border: 1.5px solid var(--fg); border-radius: var(--oval); transform: rotate(14deg); }
.pacer-dot { width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); transform: scale(0.45); transition-property: transform, opacity; transition-timing-function: ease-in-out; }
.pacer.is-in .pacer-dot { transform: scale(1.6); }
.pacer-cue { margin: 0; text-align: center; font-size: var(--fs-lead); font-weight: 300; line-height: 1.4; min-height: 2.8em; max-width: 16em; color: var(--fg-2); }
.pacer-controls { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.pacer-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pacer-time { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; min-height: 1.6em; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); }
.contact-grid > * { min-width: 0; }
.contact-card { display: flex; flex-direction: column; gap: 18px; padding: 26px; background: var(--surface); border: 1px solid var(--line); align-self: start; width: 100%; max-width: 420px; justify-self: end; }
.contact-card dl { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-card dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: 4px 0 0; font-size: 1.15rem; font-weight: 300; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.email-row .email { user-select: all; overflow-wrap: anywhere; }
.copy-status { min-height: 1.2em; margin-top: 4px; color: var(--barro); font-size: var(--fs-label); }
.copy-btn { align-self: flex-start; font-size: var(--fs-small); background: transparent; color: var(--fg); border: 1px solid var(--fg); border-radius: 999px; padding: 10px 20px; cursor: pointer; min-height: 44px; }
.copy-btn:hover { background: var(--sand); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 36px; font-size: var(--fs-small); color: var(--fg-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 32px; }
.footer-grid > * { min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-grid a { text-decoration: none; padding-block: 2px; }
.footer-grid a:hover { text-decoration: underline; }
.footer-cta { font-size: var(--fs-lead); font-weight: 300; color: var(--fg); letter-spacing: -0.01em; }
.footer-cta + .email { font-size: var(--fs-lead); font-weight: 300; color: var(--fg); user-select: all; overflow-wrap: anywhere; }
.footer-sister { display: flex; gap: 10px; align-items: flex-start; }
.footer-sister svg { flex-shrink: 0; margin-top: 5px; }
.footer-sister > div { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: var(--fs-label); letter-spacing: 0.04em; }

/* Responsive */
@media (max-width: 960px) {
  .cards, .library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises { grid-template-columns: minmax(0, 1fr); max-width: 34rem; }
  .ideas--3 { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); max-width: 40rem; }
}
@media (max-width: 860px) {
  .intro-grid, .split, .welcome, .detail-head, .contact-grid, .breathe { grid-template-columns: minmax(0, 1fr); }
  .hero-figure, .intro-art { justify-self: start; max-width: 220px; }
  .split > .tile, .split > .photo-ph, .split > .photo, .detail-head .photo { justify-self: start; max-width: 240px; }
  .photo-side { display: none; }
  .detail-head .tile { justify-self: start; max-width: 240px; }
  .welcome .photo-ph, .welcome .photo { max-width: 260px; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { justify-self: start; }
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 4px; }
  .js .nav.is-open { display: flex; }
  .js .nav a, .js .nav .lang { padding-block: 13px; border-top: 1px solid var(--line); }
  .js .nav .lang a { padding: 0; border: 0; }
  .signpost-inner { justify-content: flex-start; text-align: left; }
}
@media (max-width: 600px) {
  .cards, .library, .cards--2, .ideas { grid-template-columns: minmax(0, 1fr); }
  .schedule li { grid-template-columns: minmax(0, 1fr) auto; }
  .schedule .when { grid-column: 1 / -1; }
  .sister { grid-template-columns: minmax(0, 1fr); }
  .band::before, .band::after { height: 24px; }
  .band::before { top: -23px; }
  .band::after { bottom: -23px; }
  .promise { grid-template-columns: 64px minmax(0, 1fr); }
  .promise svg { width: 64px; height: 48px; }
  .cards .tile, .library .tile, .library .video { aspect-ratio: 16 / 9; max-width: 100%; }
  .library .video-cover svg, .cards .tile svg, .library .tile svg { width: min(50%, 180px); }
  .signpost .long { display: none; }
  .signpost .short { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .breath, .breath-ring { animation: none; }
  .breath-ring { display: none; }
  .breath-hint { display: none; }
  .pacer-dot { transform: scale(1) !important; opacity: 0.45; }
  .pacer.is-in .pacer-dot { opacity: 1; }
  * { scroll-behavior: auto !important; }
}
