/* Ramzi Yakoubi — Stone Minimal
   Sand surfaces, warm ink, one muted bronze accent. Editorial, airy, mobile-first. */

:root {
  --sand: #EFEBE4;
  --sand-2: #E6E0D6;      /* alternate section band */
  --paper: #F7F4EF;       /* cards, form fields */
  --ink: #3A3630;
  --ink-soft: #5E574D;    /* secondary text, 6.1:1 on sand */
  --accent: #A08C6A;      /* rules, frames, decoration only */
  --accent-text: #6F5D40; /* accent used as text, 5.3:1 on sand */
  --line: #D6CEC1;

  --display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --body: 'Jost', 'Segoe UI', system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 72rem;
  --narrow: 44rem;
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); font-weight: 500; }
p { margin: 0 0 1.1em; }
em { font-style: italic; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--sand); padding: .6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.eyebrow {
  font: 500 .75rem/1.4 var(--body);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 1.25rem;
}
.lede { font-size: clamp(1.125rem, 1.8vw, 1.3rem); color: var(--ink-soft); line-height: 1.65; }
.rule { width: 3rem; height: 1px; background: var(--accent); border: 0; margin: 2rem 0; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 235, 228, .88);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
/* backdrop-filter would trap the fixed menu inside the header, so drop it while the menu is open */
.nav-open { overflow: hidden; }
.nav-open .site-header { background: var(--sand); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 2.5rem; height: 2.5rem; }
.brand span { font: 400 .8rem/1 var(--body); letter-spacing: .3em; text-transform: uppercase; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; margin-right: -.5rem;
  background: none; border: 0; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.site-nav {
  position: fixed; inset: 4.5rem 0 0 0;
  background: var(--sand);
  padding: 2rem var(--gutter);
  display: flex; flex-direction: column; gap: .25rem;
  opacity: 0; visibility: hidden; transform: translateY(-.5rem);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
.site-nav a {
  font: 400 1.75rem/1.2 var(--display); text-decoration: none;
  padding: .6rem 0; border-bottom: 1px solid var(--line);
}
.site-nav a[aria-current="page"] { color: var(--accent-text); }
.site-nav .btn { margin-top: 1.5rem; font: 500 .8rem/1 var(--body); border-bottom: 1px solid var(--ink); }

@media (min-width: 60em) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; padding: 0; background: none;
    flex-direction: row; align-items: center; gap: 2rem;
    opacity: 1; visibility: visible; transform: none;
  }
  .site-nav a {
    font: 400 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
    padding: .4rem 0; border: 0;
  }
  .site-nav .btn { margin: 0 0 0 .5rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .9rem 1.6rem;
  font: 500 .8rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--sand); border: 1px solid var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--sand); }
.btn svg { width: 1.05rem; height: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 500 .8rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  padding-bottom: .4rem; border-bottom: 1px solid var(--accent);
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 0; text-align: center; }
.hero .name {
  font: 300 .85rem/1 var(--body); letter-spacing: .5em; text-transform: uppercase;
  margin: 0 0 1.75rem; padding-left: .5em; /* balance trailing letter-spacing */
}
.hero h1 { max-width: 13.5em; text-wrap: balance; margin: 0 auto .5em; }
.hero h1 em { color: var(--accent-text); }
.hero .lede { max-width: 38rem; margin: 0 auto 2.25rem; }

.hero-portrait {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid; gap: 2rem; align-items: end;
}
.portrait {
  position: relative; margin: 0 auto; width: min(100%, 26rem);
}
.portrait::before {
  content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--accent); pointer-events: none;
}
.portrait img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.facts li { border-top: 1px solid var(--line); padding-top: 1rem; }
.facts strong { display: block; font: 400 2.25rem/1 var(--display); margin-bottom: .35rem; }
.facts span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

@media (min-width: 48em) {
  .hero-portrait { grid-template-columns: 1fr minmax(0, 26rem) 1fr; gap: 3rem; padding-bottom: 2rem; }
  .facts { text-align: left; }
  .facts--right { text-align: right; }
  .facts--right li { border-top: 1px solid var(--line); }
}
@media (max-width: 47.99em) {
  .facts { grid-template-columns: 1fr 1fr; text-align: left; }
  .facts--left { order: 2; }
  .facts--right { order: 3; }
  .portrait { order: 1; margin-bottom: 1.5rem; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--band { background: var(--sand-2); }
.section--ink { background: var(--ink); color: var(--sand); }
.section--ink .eyebrow { color: #CDBB98; }
.section--ink .lede { color: #D9D2C6; }
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Statement */
.statement { font: 400 clamp(1.75rem, 4vw, 2.85rem)/1.3 var(--display); max-width: 30ch; margin: 0 auto; }
.statement em { color: var(--accent-text); }

/* Qualification framework */
.pillars { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; gap: 0; }
.pillars li {
  counter-increment: p; display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 1rem;
  padding: 1.75rem 0; border-top: 1px solid var(--line);
}
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars li::before {
  content: "0" counter(p); grid-row: span 2;
  font: 400 1.6rem/1 var(--display); color: var(--accent-text);
}
.pillars h3 { margin: 0 0 .35rem; }
.pillars p { margin: 0; color: var(--ink-soft); }
@media (min-width: 60em) {
  .split { display: grid; grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .split .section-head { position: sticky; top: 7rem; }
  .pillars li { grid-template-columns: 5rem 14rem 1fr; padding: 2rem 0; }
  .pillars li::before { grid-row: auto; }
  .pillars h3 { margin: 0; }
}

/* Cards */
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--sand-2); padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.section:not(.section--band) .card { background: var(--sand); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); flex: 1; }
.card .tag { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem; }
@media (min-width: 40em) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--5 { grid-template-columns: repeat(6, 1fr); }
  .cards--5 .card { grid-column: span 2; }
  .cards--5 .card:nth-child(4), .cards--5 .card:nth-child(5) { grid-column: span 3; }
}

/* Image band */
.image-band { position: relative; margin: 0; }
.image-band img {
  width: 100%; height: clamp(18rem, 55vw, 36rem); object-fit: cover;
  filter: saturate(.55) sepia(.12) contrast(.96);
}
.image-band figcaption {
  font-size: .72rem; letter-spacing: .08em; color: var(--ink-soft);
  padding: .75rem var(--gutter) 0; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}

/* Developers */
.dev-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.dev-list li {
  font: 400 clamp(1.3rem, 2.6vw, 1.85rem)/1.2 var(--display);
  padding: 1.5rem .5rem; text-align: center; border-bottom: 1px solid var(--line);
}
.dev-list li:nth-child(odd) { border-right: 1px solid var(--line); }
@media (min-width: 48em) {
  .dev-list { grid-template-columns: repeat(3, 1fr); }
  .dev-list li { border-right: 1px solid var(--line); }
  .dev-list li:nth-child(odd) { border-right: 1px solid var(--line); }
  .dev-list li:nth-child(3n) { border-right: 0; }
}
.note { font-size: .85rem; color: var(--ink-soft); margin-top: 1.5rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
  padding: 1.5rem 0; font: 500 clamp(1.25rem, 2.2vw, 1.5rem)/1.3 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.5rem/1 var(--body); color: var(--accent-text); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 42rem; }
.faq .answer p:last-child { margin: 0; }

/* Verify / placeholder markers (visible in draft so nothing unconfirmed slips through) */
.verify {
  display: inline-block; font: 500 .68rem/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase;
  color: #7A4B12; background: #F6E7C8; border: 1px dashed #C89A4B; padding: .15rem .45rem; vertical-align: middle;
}
.placeholder { border: 1px dashed var(--accent); padding: .1rem .4rem; color: var(--accent-text); font-size: .85em; }

/* ---------- Booking form ---------- */
.book { display: grid; gap: 3rem; }
@media (min-width: 60em) { .book { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.section--ink a:hover { color: #CDBB98; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list a { text-decoration: none; display: inline-flex; gap: .75rem; align-items: center; }
.contact-list svg { width: 1.1rem; height: 1.1rem; flex: none; }

.form { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: var(--paper); border: 1px solid transparent; border-radius: 0;
  padding: .85rem 1rem; min-height: 3rem;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233A3630' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: .75rem; padding-right: 2.5rem;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #CDBB98; outline-offset: 0; }
.field .err { display: none; font-size: .8rem; color: #F2C9A0; margin-top: .4rem; }
.field.invalid .err { display: block; }
.form .btn { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.form .btn:hover { background: transparent; color: var(--sand); }
.form-note { font-size: .8rem; color: #CFC7BA; margin: 0; }

/* ---------- Inner pages ---------- */
.page-head { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); max-width: 16em; text-wrap: balance; }
.page-head .lede { max-width: 40rem; margin: 0; }
.crumbs { font-size: .78rem; letter-spacing: .08em; color: var(--ink-soft); margin: 0 0 2rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--accent); }
.crumbs a { text-decoration: none; }
.byline { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; font-size: .85rem; color: var(--ink-soft); }
.byline img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.byline strong { color: var(--ink); font-weight: 500; }

/* Long-form reading */
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.75rem, 3.4vw, 2.35rem); margin: 2.75em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent-text); }
.prose strong { font-weight: 500; }
.prose a { color: var(--accent-text); }
.callout { background: var(--sand-2); border-left: 2px solid var(--accent); padding: 1.25rem 1.5rem; margin: 2rem 0; }
.callout p:last-child { margin: 0; }
.callout--draft { background: #F6E7C8; border-left-color: #C89A4B; color: #5A3A0E; font-size: .9rem; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 .72rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }

.layout-aside { display: grid; gap: 3rem; }
@media (min-width: 64em) {
  .layout-aside { grid-template-columns: minmax(0, 1fr) 17rem; gap: 5rem; }
  .aside-sticky { position: sticky; top: 7rem; }
}
.toc { border-top: 1px solid var(--line); padding-top: 1.25rem; font-size: .9rem; }
.toc p { font: 500 .72rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem; }
.toc ol { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .6rem; }
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--ink); }
.aside-cta { background: var(--ink); color: var(--sand); padding: 1.75rem; }
.aside-cta h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.aside-cta p { font-size: .9rem; color: #D9D2C6; }
.aside-cta .btn { background: var(--sand); color: var(--ink); border-color: var(--sand); width: 100%; }
.aside-cta .btn:hover { background: transparent; color: var(--sand); }

/* Numbered steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 2.25rem 3.75rem; }
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: -.1rem;
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  border: 1px solid var(--accent); border-radius: 50%; font: 400 1.15rem/1 var(--display); color: var(--accent-text);
}
.steps > li::after { content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: .3rem; width: 1px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps h3 { margin: 0 0 .35rem; }
.steps p { color: var(--ink-soft); margin: 0; }

/* Audience blocks */
.audience { display: grid; gap: 1.5rem; padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 5rem; }
.audience:last-child { border-bottom: 1px solid var(--line); }
.audience .num { font: 400 2.5rem/1 var(--display); color: var(--accent-text); }
@media (min-width: 60em) { .audience { grid-template-columns: 6rem 18rem 1fr; gap: 3rem; } }
.audience h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.audience ul { padding-left: 1.1rem; margin: 0; }
.audience li { margin-bottom: .5rem; color: var(--ink-soft); }
.audience li::marker { color: var(--accent-text); }

/* About */
.profile { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 60em) { .profile { grid-template-columns: 5fr 7fr; gap: 5rem; } .profile .portrait { position: sticky; top: 7rem; } }
.cred-list { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid var(--line); }
.cred-list li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cred-list span { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); padding-top: .2rem; }

/* Developer profiles */
.dev { padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); display: grid; gap: 1rem 3rem; scroll-margin-top: 5rem; }
.dev:last-of-type { border-bottom: 1px solid var(--line); }
@media (min-width: 60em) { .dev { grid-template-columns: 18rem 1fr; } }
.dev h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0; }
.dev dl { display: grid; grid-template-columns: 9rem 1fr; gap: .6rem 1rem; margin: 1.25rem 0 0; font-size: .95rem; }
.dev dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); padding-top: .25rem; }
.dev dd { margin: 0; color: var(--ink-soft); }

/* Guide list */
.guide-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list a { display: grid; gap: .4rem; padding: 2rem 0; text-decoration: none; }
@media (min-width: 48em) { .guide-list a { grid-template-columns: 4rem 1fr auto; align-items: baseline; gap: 2rem; } }
.guide-list .n { font: 400 1.4rem/1 var(--display); color: var(--accent-text); }
.guide-list h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 0 0 .3rem; }
.guide-list p { margin: 0; color: var(--ink-soft); }
.guide-list .go { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); white-space: nowrap; }
.guide-list a:hover h2 { color: var(--accent-text); }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 18em; margin: 0 auto .5em; }
.cta-band .lede { max-width: 34rem; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 4rem 0 2.5rem; border-top: 1px solid var(--line); font-size: .9rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font: 500 .72rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; }
.footer-brand img { width: 3rem; height: 3rem; margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-soft); max-width: 22rem; }
.legal {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .78rem; color: var(--ink-soft);
}
.legal p { margin: 0; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
