/* Aster & Vale Interiors - editorial, light, warm */
:root {
  --paper: #f6f2ec;
  --paper-2: #eee7dc;
  --sand: #e2d5c2;
  --clay: #9a5640;
  --clay-soft: #c48a6f;
  --olive: #565a3d;
  --ink: #2a2520;
  --muted: #655c52;
  --rule: rgba(42, 37, 32, 0.18);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4.5vw, 72px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 1px; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; font-size: 14px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.label--clay { color: var(--clay); }
.italic { font-style: italic; }
.amp { font-style: italic; color: var(--clay); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 25px; line-height: 1; letter-spacing: 0.01em; }
.brand-name small { display: block; font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.34em; text-transform: uppercase; margin-top: 5px; opacity: 0.8; }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(20px, 2.6vw, 44px); align-items: center; }
.nav a { text-decoration: none; font-size: 13px; letter-spacing: 0.08em; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-cta { border: 1px solid currentColor; padding: 9px 18px; border-radius: 40px; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .bars { width: 22px; height: 8px; position: relative; display: inline-block; }
.menu summary .bars::before, .menu summary .bars::after { content: ""; position: absolute; inset-inline: 0; height: 1px; background: currentColor; transition: transform 0.3s var(--ease); }
.menu summary .bars::before { top: 0; }
.menu summary .bars::after { bottom: 0; }
.menu[open] summary .bars::before { transform: translateY(3.5px) rotate(45deg); }
.menu[open] summary .bars::after { transform: translateY(-3.5px) rotate(-45deg); }
.menu-panel {
  position: absolute; inset-inline-end: calc(-1 * var(--gutter)); top: calc(100% + 18px); width: 100vw; max-width: 420px;
  background: var(--paper); color: var(--ink); padding: 28px var(--gutter) 34px; border-top: 1px solid var(--rule);
  box-shadow: 0 30px 50px -30px rgba(42, 37, 32, 0.35);
}
.menu-panel a { display: block; text-decoration: none; font-family: var(--serif); font-size: 34px; line-height: 1.25; padding: 6px 0; }
.menu-panel a[aria-current="page"] { color: var(--clay); font-style: italic; }
.menu-panel p { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.menu-panel p a { font-family: var(--sans); font-size: 14px; display: inline; padding: 0; }

@media (min-width: 900px) {
  .nav { display: block; }
  .menu { display: none; }
}

/* Header over the home hero */
.site-header--over { position: absolute; top: 0; inset-inline: 0; color: #fff; }
.site-header--over .nav .nav-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: #6b5a48; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: settle 2.4s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(24, 19, 14, 0.42) 0%, rgba(24, 19, 14, 0) 62%), linear-gradient(to bottom, rgba(24, 19, 14, 0.5) 0%, rgba(24, 19, 14, 0) 26%, rgba(24, 19, 14, 0) 42%, rgba(24, 19, 14, 0.66) 100%); z-index: 1; }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(36px, 7vh, 80px); display: grid; gap: 28px; }
.hero h1 { font-size: clamp(3.1rem, 8.6vw, 8.4rem); font-weight: 300; line-height: 0.95; letter-spacing: -0.02em; }
.hero h1 em { font-weight: 300; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; border-top: 1px solid rgba(255, 255, 255, 0.4); padding-top: 20px; }
.hero-foot p { margin: 0; max-width: 40ch; font-size: 15px; line-height: 1.6; }
.hero .label { color: rgba(255, 255, 255, 0.86); }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- Buttons / links ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid currentColor; }
.link-arrow svg { width: 22px; height: 10px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 17px 30px; border-radius: 60px; font: 600 13px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background 0.3s, color 0.3s; }
.btn:hover { background: var(--clay); border-color: var(--clay); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 180px) 0; }
.section--tight { padding: clamp(64px, 8vw, 120px) 0; }
.section--sand { background: var(--paper-2); }
.rule-top { border-top: 1px solid var(--rule); }

/* Intro with overlapping images */
.intro { display: grid; gap: 56px; }
.intro-text .lede { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.25rem); line-height: 1.14; font-weight: 400; letter-spacing: -0.01em; margin: 22px 0 32px; }
.intro-text .lede em { color: var(--olive); }
.intro-text p.body { color: var(--muted); max-width: 46ch; }
.stack { position: relative; padding-bottom: 22%; margin: 0; }
.stack .a { width: 74%; aspect-ratio: 4 / 5; object-fit: cover; }
.stack .b { position: absolute; inset-inline-end: 0; bottom: 0; width: 50%; aspect-ratio: 1 / 1; object-fit: cover; border: 10px solid var(--paper); }
.stack figcaption { position: absolute; inset-inline-start: 0; bottom: 0; width: 44%; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
@media (min-width: 900px) {
  .intro { grid-template-columns: 6fr 1fr 5fr; align-items: center; }
  .intro .stack { grid-column: 1; }
  .intro .intro-text { grid-column: 3; }
}

/* Section heading row */
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); }
.head-row h2, .h2 { font-size: clamp(2.5rem, 5.4vw, 5rem); font-weight: 300; letter-spacing: -0.02em; }
.head-row h2 em, .h2 em { color: var(--clay); }

/* Featured projects (home) */
.features { display: grid; gap: clamp(48px, 7vw, 96px); }
.feature { display: block; text-decoration: none; }
.feature figure { margin: 0; overflow: hidden; background: var(--sand); }
.feature img { width: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover img { transform: scale(1.03); }
.feature .meta { display: flex; align-items: baseline; gap: 18px; margin-top: 18px; border-top: 1px solid var(--rule); padding-top: 14px; }
.feature .num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--clay); }
.feature h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.feature .meta .label { margin-inline-start: auto; text-align: end; }
.feature--wide img { aspect-ratio: 16 / 8; }
.feature--tall img { aspect-ratio: 4 / 5; }
.feature--land img { aspect-ratio: 5 / 4; }
@media (min-width: 900px) {
  .features { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .features .feature--wide { grid-column: 1 / -1; }
  .features .feature--tall { grid-column: 1 / span 5; }
  .features .feature--land { grid-column: 7 / -1; align-self: end; margin-bottom: 12%; }
}

/* Ruled index list (services) */
.index-list { border-top: 1px solid var(--rule); }
.index-list li { border-bottom: 1px solid var(--rule); }
.index-list a, .index-list .row { display: grid; grid-template-columns: 44px 1fr; gap: 6px 18px; padding: 26px 0; text-decoration: none; align-items: baseline; }
.index-list .n { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 18px; }
.index-list h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 300; transition: transform 0.45s var(--ease), color 0.3s; }
.index-list p { grid-column: 2; margin: 0; color: var(--muted); font-size: 15px; max-width: 52ch; }
.index-list a:hover h3 { transform: translateX(10px); color: var(--clay); }
@media (min-width: 900px) {
  .index-list a, .index-list .row { grid-template-columns: 80px 1.1fr 1fr; padding: 34px 0; }
  .index-list p { grid-column: 3; }
}

/* Full-bleed band */
.band { position: relative; min-height: 78vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: #4a3b2e; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(28, 21, 15, 0.42); z-index: 1; }
.band .wrap { position: relative; z-index: 2; }
.band blockquote, .band .statement { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2.3rem, 5.6vw, 5.4rem); line-height: 1.04; letter-spacing: -0.015em; max-width: 16ch; }
.band .label { color: rgba(255, 255, 255, 0.86); display: block; margin-bottom: 26px; }

/* Process steps */
.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--rule); }
.steps li { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.steps .n { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 18px; display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.9rem; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .steps li { border-bottom: 0; border-top: 1px solid var(--ink); padding: 26px 0 0; padding-inline-end: 28px; }
}

/* CTA */
.cta { text-align: start; }
.cta .big { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 9vw, 9rem); line-height: 0.92; letter-spacing: -0.03em; margin: 22px 0 44px; }
.cta .big a { text-decoration: none; }
.cta .big em { color: var(--clay); }
.cta-row { display: grid; gap: 28px; border-top: 1px solid var(--rule); padding-top: 28px; }
.cta-row p { margin: 0; color: var(--muted); }
.cta-row a { color: var(--ink); }
@media (min-width: 900px) { .cta-row { grid-template-columns: 2fr 1fr 1fr 1fr; align-items: start; } }

/* ---------- Inner page header ---------- */
.page-head { padding: clamp(48px, 8vw, 120px) 0 clamp(40px, 6vw, 80px); }
.page-head .grid { display: grid; gap: 28px; align-items: end; }
.page-head h1 { font-size: clamp(3.2rem, 9vw, 9rem); font-weight: 300; line-height: 0.92; letter-spacing: -0.03em; margin-top: 18px; }
.page-head h1 em { color: var(--clay); }
.page-head p { color: var(--muted); max-width: 44ch; margin: 0; font-size: 17px; }
@media (min-width: 900px) { .page-head .grid { grid-template-columns: 7fr 4fr; column-gap: 8%; } }

.cover { margin: 0; }
.cover img { width: 100%; height: clamp(320px, 72vh, 820px); object-fit: cover; }
.cover figcaption { padding-top: 12px; }

/* ---------- Projects page ---------- */
.project { padding: clamp(72px, 10vw, 150px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 20px; }
.project:first-of-type { border-top: 0; }
.project-grid { display: grid; gap: 40px; }
.project-media { position: relative; }
.project-media .main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-media .inset { display: none; }
.project-title { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.project-title .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--clay); }
.project h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 300; letter-spacing: -0.02em; }
.project .kind { margin-bottom: 26px; display: block; }
.project .approach { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.38; margin-bottom: 30px; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.facts dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--muted); padding-top: 3px; }
.facts dd { color: var(--ink); }
@media (min-width: 900px) {
  .project-grid { grid-template-columns: 7fr 1fr 4fr; align-items: start; }
  .project-grid .project-media { grid-column: 1; }
  .project-grid .project-copy { grid-column: 3; position: sticky; top: 40px; }
  .project--flip .project-grid { grid-template-columns: 4fr 1fr 7fr; }
  .project--flip .project-media { grid-column: 3; grid-row: 1; }
  .project--flip .project-copy { grid-column: 1; grid-row: 1; }
  .project-media { padding-bottom: 14%; }
  .project-media .inset { display: block; position: absolute; width: 38%; aspect-ratio: 3 / 4; object-fit: cover; bottom: 0; inset-inline-end: -9%; border: 12px solid var(--paper); }
  .project--flip .project-media .inset { inset-inline-end: auto; inset-inline-start: -9%; }
}

.jump { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.jump a { text-decoration: none; font-size: 13.5px; color: var(--muted); }
.jump a span { font-family: var(--serif); font-style: italic; color: var(--clay); margin-inline-end: 6px; }
.jump a:hover { color: var(--ink); }

/* ---------- Services page ---------- */
.service { display: grid; gap: 36px; padding: clamp(64px, 9vw, 130px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 20px; }
.service:first-of-type { border-top: 0; }
.service img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.service .n { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 20px; }
.service h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); font-weight: 300; letter-spacing: -0.02em; margin: 10px 0 22px; }
.service .desc { font-size: 17px; max-width: 48ch; }
.service .incl { margin-top: 28px; border-top: 1px solid var(--rule); }
.service .incl li { padding-block: 12px; padding-inline: 26px 0; border-bottom: 1px solid var(--rule); position: relative; font-size: 15px; }
.service .incl li::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 12px; height: 1px; background: var(--clay); }
@media (min-width: 900px) {
  .service { grid-template-columns: 6fr 1fr 5fr; align-items: center; }
  .service figure { grid-column: 1; }
  .service .copy { grid-column: 3; }
  .service:nth-of-type(even) { grid-template-columns: 5fr 1fr 6fr; }
  .service:nth-of-type(even) figure { grid-column: 3; grid-row: 1; }
  .service:nth-of-type(even) .copy { grid-column: 1; grid-row: 1; }
}
.service figure { margin: 0; }

.note { display: grid; gap: 24px; }
.note h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 300; }
.note p { color: var(--muted); max-width: 56ch; }
@media (min-width: 900px) { .note { grid-template-columns: 5fr 1fr 6fr; } .note > :last-child { grid-column: 3; } }

/* ---------- Studio page ---------- */
.manifesto { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.2vw, 3.9rem); line-height: 1.12; letter-spacing: -0.015em; max-width: 22ch; }
.manifesto em { color: var(--olive); }
.principles { display: grid; gap: 40px; margin-top: clamp(56px, 8vw, 110px); }
.principles li { border-top: 1px solid var(--ink); padding-top: 22px; }
.principles h3 { font-size: 1.9rem; margin: 10px 0 12px; }
.principles p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

.duo { display: grid; gap: 24px; }
.duo img { width: 100%; object-fit: cover; }
.duo .a { aspect-ratio: 4 / 5; }
.duo .b { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .duo { grid-template-columns: 5fr 7fr; gap: 32px; align-items: end; } .duo .b { margin-bottom: 18%; } }

.timeline { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.timeline::before { content: ""; position: absolute; inset-inline-start: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--rule); }
.timeline li { position: relative; padding-block: 0 clamp(40px, 5vw, 64px); padding-inline: 46px 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--clay); }
.timeline .phase { display: block; margin-bottom: 6px; }
.timeline h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 300; margin-bottom: 12px; }
.timeline p { color: var(--muted); max-width: 58ch; margin: 0; }
@media (min-width: 900px) {
  .timeline::before { inset-inline-start: calc(25% + 7px); }
  .timeline li { display: grid; grid-template-columns: 25% 1fr; padding-inline-start: 0; }
  .timeline li::before { inset-inline-start: 25%; }
  .timeline .phase { padding-top: 12px; }
  .timeline li > div { padding-inline-start: 56px; }
}

.place { display: grid; gap: 32px; }
.place img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.place address { font-style: normal; font-family: var(--serif); font-size: 2rem; line-height: 1.2; margin: 14px 0 18px; }
@media (min-width: 900px) { .place { grid-template-columns: 7fr 1fr 4fr; align-items: end; } .place > div { grid-column: 3; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 56px; }
.contact-info dl { border-top: 1px solid var(--rule); }
.contact-info dl > div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.contact-info dt { margin-bottom: 4px; }
.contact-info dd { font-family: var(--serif); font-size: 1.7rem; line-height: 1.25; }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { color: var(--clay); }
.contact-info .aside-img { margin-top: 40px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 4fr 1fr 7fr; } .contact-grid .form-wrap { grid-column: 3; } }

.form { display: grid; gap: 30px; }
.form .intro-line { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; margin: 0; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 400 18px/1.5 var(--sans); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid rgba(42, 37, 32, 0.45); border-radius: 0; padding: 10px 0 12px;
  transition: border-color 0.3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--clay); box-shadow: 0 1px 0 0 var(--clay); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
.two { display: grid; gap: 30px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.form .small { font-size: 13px; color: var(--muted); margin: 0; }
[data-sd-status] { margin: 0; font-size: 15px; color: var(--olive); min-height: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9e1d5; padding: clamp(64px, 8vw, 110px) 0 36px; }
.site-footer a { color: #f6f2ec; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-top { display: grid; gap: 44px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(246, 242, 236, 0.18); }
.foot-word { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: 0.95; letter-spacing: -0.02em; }
.foot-word em { color: var(--clay-soft); }
.site-footer .label { color: #b7ab9b; display: block; margin-bottom: 12px; }
.foot-col p, .foot-col li { font-size: 15px; line-height: 1.9; margin: 0; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; padding-top: 26px; font-size: 13px; color: #b7ab9b; }
.foot-bottom ul { display: flex; gap: 24px; }
.foot-bottom a { color: #e9e1d5; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 6fr 2fr 2fr 2fr; } }

/* ---------- Reveal (JS only adds the hidden state) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.head-note { max-width: 40ch; margin: 0; color: var(--muted); }
.muted { color: var(--muted); }
.manifesto { margin: 22px 0 0; }
.btn { white-space: nowrap; }
@media (max-width: 899px) {
  .hero::before { background: linear-gradient(to bottom, rgba(24, 19, 14, 0.45) 0%, rgba(24, 19, 14, 0.05) 20%, rgba(24, 19, 14, 0.3) 46%, rgba(24, 19, 14, 0.78) 100%); }
  .hero > img { object-position: 38% 50%; }
}
.cover img { object-position: 50% 70%; }
@media (max-width: 899px) { .cover img { height: 58vh; object-position: 30% 75%; } }
.jump a span { font-size: 16px; }

/* ---------- Header tools + language control ---------- */
.site-header .tools { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); margin-inline-start: auto; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 13px; letter-spacing: 0.08em; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.3s var(--ease); margin-inline-start: 2px; }
.lang[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang .globe { width: 18px; height: 18px; flex: none; }
.lang-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 14px); z-index: 40; min-width: 210px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--rule); padding: 8px 0;
  box-shadow: 0 24px 44px -24px rgba(42, 37, 32, 0.4);
}
.lang-panel .sd-langs { display: grid !important; gap: 0 !important; padding: 0 !important; font-size: 15px !important; }
.lang-panel .sd-langs a, .lang-panel .sd-langs strong { display: block; padding: 8px 20px; text-decoration: none; font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.lang-panel .sd-langs a:hover { background: var(--paper-2); color: var(--clay); }
.lang-panel .sd-langs strong { color: var(--clay); font-weight: 600; }
.lang-panel .sd-langs strong::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); margin-inline-end: 10px; vertical-align: middle; }
@media (max-width: 899px) {
  .lang-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang .globe { width: 20px; height: 20px; }
}

/* ---------- RTL ---------- */
[dir="rtl"] .nav a::after { transform-origin: right; }
[dir="rtl"] .link-arrow svg, [dir="rtl"] .btn svg { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(5px); }
[dir="rtl"] .index-list a:hover h3 { transform: translateX(-10px); }
[dir="rtl"] .hero::before { background: linear-gradient(to left, rgba(24, 19, 14, 0.42) 0%, rgba(24, 19, 14, 0) 62%), linear-gradient(to bottom, rgba(24, 19, 14, 0.5) 0%, rgba(24, 19, 14, 0) 26%, rgba(24, 19, 14, 0) 42%, rgba(24, 19, 14, 0.66) 100%); }
@media (max-width: 899px) {
  [dir="rtl"] .hero::before { background: linear-gradient(to bottom, rgba(24, 19, 14, 0.45) 0%, rgba(24, 19, 14, 0.05) 20%, rgba(24, 19, 14, 0.3) 46%, rgba(24, 19, 14, 0.78) 100%); }
  [dir="rtl"] .hero > img { object-position: 62% 50%; }
}

/* ---------- Long words ---------- */
h1, h2, h3, .big, .foot-word, .statement, .manifesto, .lede { overflow-wrap: break-word; hyphens: auto; }

/* ---------- Scripts: Hebrew, Arabic, CJK ---------- */
:root:lang(he) { --serif: "Bellefair", "Frank Ruhl Libre", "David Libre", "Times New Roman", serif; --sans: "Heebo", "Arial Hebrew", Arial, sans-serif; }
:root:lang(ar) { --serif: "Noto Naskh Arabic", "Amiri", "Times New Roman", serif; --sans: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
:root:lang(ja) { --serif: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; --sans: "Manrope", "Hiragino Sans", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif; }
:root:lang(zh) { --serif: "Cormorant Garamond", "Songti SC", STSong, "Noto Serif SC", SimSun, serif; --sans: "Manrope", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:root:lang(ko) { --serif: "Cormorant Garamond", AppleMyungjo, "Noto Serif KR", Batang, serif; --sans: "Manrope", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }

/* No synthetic italics, no tracking that breaks joined letters */
:lang(he) em, :lang(ar) em, :lang(ja) em, :lang(zh) em, :lang(ko) em,
:lang(he) .italic, :lang(ar) .italic, :lang(ja) .italic, :lang(zh) .italic, :lang(ko) .italic { font-style: normal; }
:lang(ar) * { letter-spacing: 0 !important; }
:lang(he) .label, :lang(he) .link-arrow, :lang(he) .btn, :lang(he) .menu summary,
:lang(ja) .label, :lang(zh) .label, :lang(ko) .label { letter-spacing: 0.06em; }

:lang(he) h1, :lang(he) h2, :lang(he) .big, :lang(he) .foot-word, :lang(he) .statement { line-height: 1.08; letter-spacing: -0.01em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .big, :lang(ar) .foot-word, :lang(ar) .statement, :lang(ar) .manifesto, :lang(ar) .lede { line-height: 1.35; }
:lang(ar) .hero h1, :lang(ar) .page-head h1, :lang(ar) .cta .big { font-size: clamp(2.6rem, 6.4vw, 6.2rem); }
:lang(ar) body, :lang(ar) p { line-height: 1.85; }
:lang(ja) h1, :lang(zh) h1, :lang(ko) h1, :lang(ja) h2, :lang(zh) h2, :lang(ko) h2,
:lang(ja) .big, :lang(zh) .big, :lang(ko) .big, :lang(ja) .foot-word, :lang(zh) .foot-word, :lang(ko) .foot-word { line-height: 1.22; letter-spacing: 0; }
:lang(ja) .hero h1, :lang(zh) .hero h1, :lang(ko) .hero h1 { font-size: clamp(2.6rem, 6.4vw, 6.4rem); }
:lang(ja) .page-head h1, :lang(zh) .page-head h1, :lang(ko) .page-head h1, :lang(ja) .cta .big, :lang(zh) .cta .big, :lang(ko) .cta .big { font-size: clamp(2.6rem, 6.4vw, 6.6rem); }
.jump a span { display: inline-block; }
:lang(he) .nav a, :lang(he) .lang summary, :lang(he) .menu summary, :lang(he) .nav .nav-cta,
:lang(ja) .nav a, :lang(zh) .nav a, :lang(ko) .nav a, :lang(ja) .lang summary, :lang(zh) .lang summary, :lang(ko) .lang summary,
:lang(ja) .menu summary, :lang(zh) .menu summary, :lang(ko) .menu summary { letter-spacing: 0.02em; }
.band .statement { hyphens: manual; max-width: 18ch; }

/* Accessibility statement */
.statement-doc { max-width: 68ch; }
.statement-doc h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-block: 2em 0.55em; }
.statement-doc h2:first-child { margin-block-start: 0; }
.statement-doc ul { list-style: disc; padding-inline-start: 1.25em; margin-block: 0 1.2em; }
.statement-doc li + li { margin-block-start: 0.5em; }
.statement-doc .reviewed { margin-block-start: 3em; color: var(--muted); }

/* Logo text in Hebrew, Arabic and CJK: no letter-spacing (it breaks Arabic joining and reads as gaps in Hebrew). */
:is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) .brand, :is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) .brand * { letter-spacing: 0 !important; }
