/* ================================================================
   SYBERG STUDIO — styles.css
   Cormorant Garamond (display) + Instrument Sans (body)
   Palette: warm cream #f5f2ec · near-black #1a1714 · warm grays
   Mobile-first · WCAG 2.1 AA
   ================================================================ */

/* ----------------------------------------------------------------
   1. Custom Properties
   ---------------------------------------------------------------- */
:root {
  /* Color */
  --bg:          #f5f2ec;
  --bg-alt:      #edeae3;
  --bg-dark:     #1a1714;
  --text:        #1a1714;
  --text-mid:    #3d3733;
  --text-muted:  #6b6560;
  --text-light:  #9c9590;
  --border:      #d8d3cb;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Instrument Sans', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --text-xs:   0.6875rem;  /* 11px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.375rem;   /* 22px */
  --text-2xl:  1.875rem;   /* 30px */
  --text-3xl:  2.5rem;     /* 40px */
  --text-4xl:  3.25rem;    /* 52px */
  --text-5xl:  4.25rem;    /* 68px */

  /* Spacing (0.25rem base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-48: 12rem;

  /* Layout */
  --max-w:        1160px;
  --max-w-narrow: 740px;
  --nav-h:        72px;

  /* Misc */
  --radius-sm: 3px;
  --radius:    8px;
  --ease:      cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur:       0.3s;
}

/* ----------------------------------------------------------------
   2. Reset
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
}

p { color: var(--text-muted); }

/* ----------------------------------------------------------------
   3. Layout
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (min-width: 640px)  { .container { padding-inline: var(--space-8); } }
@media (min-width: 900px)  { .container { padding-inline: var(--space-12); } }

.container--narrow { max-width: var(--max-w-narrow); }

.section          { padding-block: var(--space-24); }
.section--lg      { padding-block: var(--space-32); }
.section--alt     { background-color: var(--bg-alt); }

.section--dark {
  background-color: var(--bg-dark);
  color: #f5f2ec;
}
.section--dark p    { color: rgba(245,242,236,0.65); }
.section--dark h1,
.section--dark h2,
.section--dark h3   { color: #f5f2ec; }

/* ----------------------------------------------------------------
   4. Typography Components
   ---------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.section--dark .eyebrow { color: rgba(245,242,236,0.45); }

.section-heading {
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
@media (min-width: 900px) { .section-heading { font-size: var(--text-4xl); } }

.body-lead {
  font-size: var(--text-lg);
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 52ch;
}

/* ----------------------------------------------------------------
   5. Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1.5px solid var(--text);
  color: var(--text);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover         { background: var(--text); color: var(--bg); }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.btn--filled       { background: var(--text); color: var(--bg); }
.btn--filled:hover { background: var(--text-mid); border-color: var(--text-mid); }

.btn--light        { border-color: #f5f2ec; color: #f5f2ec; }
.btn--light:hover  { background: #f5f2ec; color: var(--text); }

.btn--ghost {
  border-color: rgba(245,242,236,0.45);
  color: rgba(245,242,236,0.85);
  background: rgba(245,242,236,0.07);
}
.btn--ghost:hover {
  background: rgba(245,242,236,0.18);
  border-color: rgba(245,242,236,0.7);
  color: #f5f2ec;
}

.btn--sm { padding: var(--space-2) var(--space-6); }

/* ----------------------------------------------------------------
   6. Header / Navigation
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid,
.site-header--inner {
  background: var(--bg);
  border-bottom-color: var(--border);
}

/* Transparent state (homepage hero) */
.site-header.is-transparent .wordmark { color: #f5f2ec; }
.site-header.is-transparent .nav-link { color: rgba(245,242,236,0.75); }
.site-header.is-transparent .nav-link:hover { color: #f5f2ec; }
.site-header.is-transparent .menu-btn { color: #f5f2ec; }
/* Transparent btn--sm in nav keeps solid styling */
.site-header.is-transparent .nav-link.btn {
  border-color: rgba(245,242,236,0.55);
  color: #f5f2ec;
}
.site-header.is-transparent .nav-link.btn:hover {
  background: rgba(245,242,236,0.15);
}

.site-header__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) { .site-header__inner { padding-inline: var(--space-8); } }
@media (min-width: 900px) { .site-header__inner { padding-inline: var(--space-12); } }

.wordmark {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  transition: color var(--dur) var(--ease);
}

.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
@media (min-width: 900px) { .site-nav { display: flex; } }

.nav-link {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}
.nav-link:hover,
.nav-link.is-active { color: var(--text); }
.nav-link.is-active { border-bottom: 1px solid var(--text); padding-bottom: 1px; }
.nav-link.btn { color: var(--text); } /* override muted for btn variant */

/* Hamburger */
.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: flex-end;
  color: var(--text);
  transition: color var(--dur);
}
@media (min-width: 900px) { .menu-btn { display: none; } }

.menu-btn__line {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), width var(--dur) var(--ease);
  transform-origin: right center;
}
.menu-btn__line:nth-child(1) { width: 22px; }
.menu-btn__line:nth-child(2) { width: 16px; }
.menu-btn__line:nth-child(3) { width: 22px; }

.menu-btn[aria-expanded="true"] .menu-btn__line:nth-child(1) {
  transform: translateY(6.5px) rotate(-45deg);
  width: 22px;
}
.menu-btn[aria-expanded="true"] .menu-btn__line:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  inset-block-start: var(--nav-h);
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  padding: var(--space-10) var(--space-6);
  gap: var(--space-6);
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav .nav-link {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
  line-height: 1.1;
}
.mobile-nav .nav-link:hover { color: var(--text-muted); }

/* ----------------------------------------------------------------
   7. Hero
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  padding-inline: var(--space-6);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-dark);
  /* PLACEHOLDER: uncomment and set your hero image:
  background-image: url('../assets/images/hero.webp');
  background-size: cover;
  background-position: center; */
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,23,20,0.5) 0%,
    rgba(26,23,20,0.3) 45%,
    rgba(26,23,20,0.65) 100%
  );
}


.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #f5f2ec;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__content .eyebrow {
  color: rgba(245,242,236,0.6);
  margin-bottom: var(--space-4);
  animation: fade-up 0.8s var(--ease-out) 0.15s both;
}

.hero__heading {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #f5f2ec;
  margin-bottom: var(--space-6);
  animation: fade-up 0.9s var(--ease-out) 0.3s both;
}

.hero__sub {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: rgba(245,242,236,0.72);
  max-width: 42ch;
  margin-bottom: var(--space-10);
  animation: fade-up 0.9s var(--ease-out) 0.45s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  animation: fade-up 0.9s var(--ease-out) 0.6s both;
}

/* ----------------------------------------------------------------
   8. Page Header (inner pages)
   ---------------------------------------------------------------- */
.page-header {
  padding-top: calc(var(--nav-h) + var(--space-20));
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-24);
}

@media (min-width: 900px) {
  .page-header {
    padding-top: calc(var(--nav-h) + var(--space-24));
    padding-bottom: var(--space-20);
  }
}

.page-header .page-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

.page-header .page-intro {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   9. Intro Band
   ---------------------------------------------------------------- */
.intro-band { padding-block: var(--space-32); }
.intro-band .section-heading { margin-block: var(--space-4) var(--space-6); }

/* ----------------------------------------------------------------
   10. App Showcase Block
   ---------------------------------------------------------------- */
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}
@media (min-width: 900px) { .showcase-list { gap: var(--space-40); } }

.app-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 900px) {
  .app-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
  }
  /* --reverse: visual moves to left column */
  .app-block--reverse .app-block__visual { order: -1; }
}

/* On mobile: visual always stacks above text */
.app-block__visual { order: -1; }
@media (min-width: 900px) {
  .app-block__visual { order: 0; }
  .app-block--reverse .app-block__visual { order: -1; }
}

.app-block__text {
  display: flex;
  flex-direction: column;
}
.app-block__text .eyebrow { margin-bottom: var(--space-3); }

.app-block__name {
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: var(--space-5);
}
@media (min-width: 900px) { .app-block__name { font-size: var(--text-4xl); } }

.app-block__desc {
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.85;
  margin-bottom: var(--space-6);
}

.app-block__highlights {
  margin-bottom: var(--space-8);
}
.app-block__highlights li {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  padding-block: var(--space-3);
  color: var(--text-muted);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border);
}
.app-block__highlights li:first-child { border-top: 1px solid var(--border); }
.app-block__highlights li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-light);
  flex-shrink: 0;
  margin-top: 0.5em;
}

.app-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* Coming-soon muted state */
.app-block--coming-soon .app-block__name,
.app-block--coming-soon .app-block__desc { opacity: 0.65; }

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.coming-soon-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-light);
  flex-shrink: 0;
}

/* Phone mockup */
.app-block__visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 200px;
  aspect-ratio: 9 / 19.5;
  background: #121010;
  border-radius: 36px;
  border: 2.5px solid #332e2a;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.12);
}
@media (min-width: 640px) { .phone-mockup { width: 240px; } }
@media (min-width: 900px) { .phone-mockup { width: 280px; } }

/* Dynamic island / pill notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 7px;
  background: #0e0c0b;
  border-radius: 4px;
  z-index: 2;
}

.phone-mockup__screen {
  position: absolute;
  inset: 0;
}
.phone-mockup__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #2c2622 0%, #1a1714 55%, #221e1a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-8);
  text-align: center;
}
.phone-placeholder__label {
  font-size: 0.625rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.25);
}
.phone-placeholder__app {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(245,242,236,0.45);
  line-height: 1.2;
}

/* ----------------------------------------------------------------
   11. Google Play Badge
   ---------------------------------------------------------------- */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--text);
  transition: opacity var(--dur);
}
.play-badge:hover { opacity: 0.78; }
.play-badge:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.play-badge svg { width: 20px; height: 20px; flex-shrink: 0; }
.play-badge__text { display: flex; flex-direction: column; line-height: 1.2; }
.play-badge__sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0.72;
}
.play-badge__name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------------
   12. CTA Strip
   ---------------------------------------------------------------- */
.cta-strip { text-align: center; }
.cta-strip .section-heading { margin-bottom: var(--space-4); }
.cta-strip p { margin-inline: auto; margin-bottom: var(--space-10); max-width: 44ch; }

/* ----------------------------------------------------------------
   13. Process Steps
   ---------------------------------------------------------------- */
.process-steps {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-6);
  padding-block: var(--space-10);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .process-step {
    grid-template-columns: 80px 1fr;
    gap: var(--space-10);
  }
}

.process-step__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--border);
  line-height: 1;
  padding-top: 6px;
  letter-spacing: -0.02em;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.process-step__desc {
  color: var(--text-muted);
  max-width: 54ch;
  line-height: 1.85;
}

/* ----------------------------------------------------------------
   14. FAQ Accordion
   ---------------------------------------------------------------- */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.faq-question:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }

.faq-question__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--text-light);
}
.faq-question__icon::before,
.faq-question__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.faq-question__icon::before { inset: 9px 0; height: 1.5px; }
.faq-question__icon::after  { inset: 0 9px; width: 1.5px; }

.faq-item.is-open .faq-question__icon::after { transform: rotate(90deg); opacity: 0; }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease-out);
}
.faq-item.is-open .faq-answer { max-height: 600px; }

.faq-answer__inner {
  padding-bottom: var(--space-8);
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.85;
}

/* ----------------------------------------------------------------
   15. About Page
   ---------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: start;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-24);
  }
}

.about-photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-3);
}
.about-photo__hint {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.values-list { border-top: 1px solid var(--border); margin-top: var(--space-10); }

.value-item {
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--border);
}
.value-item__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
  line-height: 1.2;
}
.value-item__desc { color: var(--text-muted); max-width: 50ch; }

/* ----------------------------------------------------------------
   16. Contact Page
   ---------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-24);
  }
}

.contact-info__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  margin-block: var(--space-6);
  transition: opacity var(--dur);
  word-break: break-all;
}
.contact-info__email:hover { opacity: 0.6; }

.contact-info__note {
  color: var(--text-muted);
  max-width: 34ch;
  line-height: 1.8;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: var(--space-6); }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--dur) var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--text-mid); }
input:focus, select:focus, textarea:focus { border-color: var(--text); }
input.is-error, select.is-error, textarea.is-error { border-color: #a03535; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6560' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
  color: var(--text-muted);
}
select option { color: var(--text); background: var(--bg); }

textarea { resize: vertical; min-height: 132px; }

.field-error {
  font-size: var(--text-xs);
  color: #a03535;
  display: none;
}
.field-error.is-visible { display: block; }

/* Honeypot */
.hp-field { display: none !important; visibility: hidden !important; }

.form-actions { display: flex; flex-direction: column; gap: var(--space-4); }

.form-status {
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--error { color: #a03535; }

.form-success {
  display: none;
  padding: var(--space-10) var(--space-8);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.form-success__note { max-width: 38ch; margin-inline: auto; }

/* ----------------------------------------------------------------
   17. Footer
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  padding-block: var(--space-20) var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

.footer-wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f5f2ec;
  margin-bottom: var(--space-3);
  line-height: 1;
}
.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 30ch;
  color: rgba(245,242,236,0.48);
}
.footer-org {
  display: block;
  font-size: var(--text-xs);
  margin-top: var(--space-5);
  color: rgba(245,242,236,0.28);
  letter-spacing: 0.04em;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.38);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: var(--text-sm);
  color: rgba(245,242,236,0.56);
  transition: color var(--dur);
}
.footer-col a:hover { color: #f5f2ec; }

.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(245,242,236,0.1);
  font-size: var(--text-xs);
  color: rgba(245,242,236,0.3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}

/* ----------------------------------------------------------------
   18. Scroll Reveal
   ---------------------------------------------------------------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
[data-reveal].is-visible   { opacity: 1; transform: none; }
[data-reveal="d1"]         { transition-delay: 0.1s; }
[data-reveal="d2"]         { transition-delay: 0.2s; }
[data-reveal="d3"]         { transition-delay: 0.3s; }
[data-reveal="d4"]         { transition-delay: 0.4s; }

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

/* ----------------------------------------------------------------
   20. Focus & accessibility utilities
   ---------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--text);
  color: var(--bg);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 999;
  transition: top 0.1s;
}
.skip-link:focus { top: var(--space-2); }
