/* ============================================================
   Novant Design — Warm Atelier Design System
   Extracted from approved blend-homepage.html mockup
   ============================================================ */

/* ============================================================
   SELF-HOSTED FONTS
   @font-face blocks — font-display:swap for performance
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-400.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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-500.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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-600.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-v12-latin-300.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-v12-latin-400.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-v12-latin-500.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;
}


/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  /* Color palette — Warm Atelier */
  --paper:   #ece3d4;   /* page background */
  --paper2:  #e4d9c6;   /* slightly deeper warm parchment */
  --cream:   #f6efe2;   /* light text on dark */
  --ink:     #2c2620;   /* primary text */
  --espresso:#1b1611;   /* darkest — CTA panel */
  --muted:   #6f6352;   /* secondary text / captions */
  --umber:      #9a8666;   /* decorative — hairlines, borders, selection bg */
  --umber-text: #6f5d3f;   /* text use — kicker labels; ≥4.5:1 on --paper */
  --line:       #d8ccb8;   /* dividers, input borders */

  /* Layout */
  --max:     1080px;
  --gap:     30px;      /* inter-card gap */
  --pad-h:   46px;      /* horizontal section padding */
  --pad-v:   80px;      /* vertical section padding */

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.4s;
}


/* ============================================================
   RESET + BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--umber);
  color: var(--cream);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
}

p {
  line-height: 1.85;
  color: var(--muted);
}

/* Focus visible — umber ring, never default blue */
:focus-visible {
  outline: 2px solid var(--umber);
  outline-offset: 3px;
}


/* ============================================================
   CONTAINER
   ============================================================ */

.container {
  max-width: var(--max);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--pad-h);
}

/* Full-bleed wrapper that still constrains inner content */
.container--flush {
  max-width: var(--max);
  width: 100%;
  margin-inline: auto;
}


/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

/* Kicker / eyebrow label — exact mockup spec */
.kicker {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--umber-text);
  display: block;
}

.serif {
  font-family: var(--font-display);
}

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

.text-cream {
  color: var(--cream);
}


/* ============================================================
   BUTTONS
   Single consistent system — one accent (--umber) never used
   as a fill; buttons are ink/cream or ghost/outline only.
   ============================================================ */

/* Primary — solid ink on cream */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 28px;
  background-color: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background-color var(--duration) var(--ease-out),
              color var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out);
}

.btn:hover {
  background-color: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}

/* Ghost — transparent, ink border */
.btn--outline {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--outline:hover {
  background-color: var(--ink);
  color: var(--cream);
}

/* Ghost on dark backgrounds (cream border) */
.btn--ghost {
  background-color: transparent;
  color: var(--cream);
  border: 1px solid rgba(246, 239, 226, 0.6);
}

.btn--ghost:hover {
  background-color: rgba(246, 239, 226, 0.12);
}

/* "Request" link-style — underline, no box */
.btn--request {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--umber);
  transition: color var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out);
}

.btn--request:hover {
  color: var(--umber);
}

/* Request on cream (hero/CTA) */
.btn--request-cream {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  cursor: pointer;
  border-bottom: 1px solid rgba(246, 239, 226, 0.55);
  transition: border-color var(--duration) var(--ease-out);
}

.btn--request-cream:hover {
  border-color: var(--cream);
}


/* ============================================================
   HEADER / NAV
   Transparent over hero; becomes solid on scroll (JS adds
   .header--solid when window.scrollY > hero height).
   Uses existing #menuToggle / #mainNav ids from main.js.
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

/* Transparent state — over hero */
.header--transparent {
  background-color: transparent;
}

/* Solid state — scrolled past hero */
.header--solid,
.header:not(.header--transparent) {
  background-color: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pad-h);
}

/* Brand / wordmark */
.header__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 27px;
  letter-spacing: 0.02em;
  color: var(--cream);
  transition: color var(--duration) var(--ease-out);
  text-decoration: none;
}

.header--solid .header__brand,
.header:not(.header--transparent) .header__brand {
  color: var(--ink);
}

/* Nav links */
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header__links a {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(246, 239, 226, 0.92);
  transition: color var(--duration) var(--ease-out);
}

.header__links a:hover {
  color: var(--cream);
}

.header--solid .header__links a,
.header:not(.header--transparent) .header__links a {
  color: var(--muted);
}

.header--solid .header__links a:hover,
.header:not(.header--transparent) .header__links a:hover {
  color: var(--ink);
}

/* CTA in nav — single "Request a Quote" */
.header__cta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(246, 239, 226, 0.55);
  padding: 11px 22px;
  color: var(--cream);
  background: transparent;
  cursor: pointer;
  transition: background-color var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out),
              color var(--duration) var(--ease-out);
  white-space: nowrap;
}

.header__cta:hover {
  background-color: rgba(246, 239, 226, 0.12);
}

.header--solid .header__cta,
.header:not(.header--transparent) .header__cta {
  border-color: var(--ink);
  color: var(--ink);
}

.header--solid .header__cta:hover,
.header:not(.header--transparent) .header__cta:hover {
  background-color: var(--ink);
  color: var(--cream);
}

/* Hamburger toggle — mobile */
#menuToggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

#menuToggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--cream);
  transition: transform var(--duration) var(--ease-out),
              opacity var(--duration) var(--ease-out),
              background-color var(--duration) var(--ease-out);
}

.header--solid #menuToggle span,
.header:not(.header--transparent) #menuToggle span {
  background-color: var(--ink);
}

/* Hamburger → X when active */
#menuToggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
#menuToggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
#menuToggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav drawer */
#mainNav {
  display: flex;
  align-items: center;
  gap: 32px;
}


/* ============================================================
   HERO — Full-bleed, warm gradient scrim, Cormorant headline
   min-height: 100dvh (never h-screen); capped at 640px on lg
   ============================================================ */

.hero {
  position: relative;
  min-height: 100dvh;
  max-height: 640px;
  background-color: var(--espresso); /* fallback until img loads */
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

/* Warm dark gradient scrim — ensures cream text legibility */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 16, 12, 0.50) 0%,
    rgba(20, 16, 12, 0.12) 32%,
    rgba(20, 16, 12, 0.66) 100%
  );
  pointer-events: none;
}

/* Nav sits inside hero at the top */
.hero__nav {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

/* Hero copy — bottom left */
.hero__copy {
  position: absolute;
  z-index: 3;
  left: var(--pad-h);
  right: var(--pad-h);
  bottom: 54px;
  color: var(--cream);
}

.hero__copy .kicker {
  color: #e8d6b3; /* slightly warmer than --cream on dark bg */
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(46px, 6.5vw, 72px);
  line-height: 0.98;
  margin: 18px 0 22px;
  max-width: 16ch;
  color: var(--cream);
}

.hero__sub {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(246, 239, 226, 0.82);
  max-width: 44ch;
  margin-bottom: 28px;
}


/* ============================================================
   SELECTED WORK — MOSAIC
   1 large (tall) left + 2 stacked right; captions below images
   ============================================================ */

.section-work {
  padding: 74px var(--pad-h);
}

.section-work__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-work__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 44px);
}

.section-work__view-all {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--duration) var(--ease-out);
}

.section-work__view-all:hover {
  color: var(--ink);
}

/* Mosaic grid */
.mosaic {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--gap);
}

.mosaic__col {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* Individual work piece */
.piece img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.piece--tall img {
  height: 560px;
}

.piece--short img {
  height: 265px;
}

/* Caption always BELOW image, never overlaid */
.piece__caption {
  margin-top: 11px;
  font-size: 12px;
  color: var(--muted);
}

.piece__caption strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 2px;
}


/* ============================================================
   ATELIER — Two-column (image + text)
   --paper2 background; generous padding
   ============================================================ */

.section-atelier {
  background-color: var(--paper2);
}

.section-atelier__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: var(--max);
  margin-inline: auto;
}

.section-atelier__image {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  display: block;
}

.section-atelier__text {
  padding: 84px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-atelier__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.02;
  margin: 16px 0 22px;
  color: var(--ink);
}

.section-atelier__body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 18px;
}

.section-atelier__body:last-of-type {
  margin-bottom: 28px;
}


/* ============================================================
   CINEMATIC BREAK — Full-bleed dark image + centered serif line
   ============================================================ */

.section-break {
  position: relative;
  height: 380px;
  background-color: var(--espresso); /* fallback */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.50);
  pointer-events: none;
}

.section-break__quote {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--cream);
  text-align: center;
  max-width: 20ch;
  line-height: 1.15;
  padding-inline: var(--pad-h);
}


/* ============================================================
   FOR THE TRADE — 2×2 quiet grid (no card boxes)
   ============================================================ */

.section-trade {
  padding: var(--pad-v) var(--pad-h);
}

.section-trade__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  max-width: var(--max);
  margin-inline: auto;
}

.section-trade__intro .kicker {
  margin-bottom: 14px;
}

.section-trade__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  color: var(--ink);
}

/* 2×2 feature grid */
.trade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 44px;
}

.trade-grid__item {
  /* intentionally no card box — quiet, editorial */
}

.trade-grid__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 8px;
}

.trade-grid__body {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}


/* ============================================================
   ESPRESSO CTA PANEL
   --espresso background, --cream text, centered
   ============================================================ */

.section-cta {
  text-align: center;
  padding: 100px var(--pad-h);
  background-color: var(--espresso);
  color: var(--cream);
}

.section-cta .kicker {
  color: rgba(246, 239, 226, 0.65);
  margin-bottom: 16px;
}

.section-cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.04;
  color: var(--cream);
  margin-bottom: 30px;
  max-width: 22ch;
  margin-inline: auto;
}

.section-cta__sub {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(246, 239, 226, 0.7);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: 36px;
}


/* ============================================================
   FOOTER — Minimal
   ============================================================ */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px var(--pad-h);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color var(--duration) var(--ease-out);
}

.footer__links a:hover {
  color: var(--ink);
}

.footer__copy {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.8;
}

.footer__tagline {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
}


/* ============================================================
   CONTACT FORM
   label-above-input; error below field; success/error blocks
   ============================================================ */

.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.form__input,
.form__select,
.form__textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid var(--line);
  padding: 13px 16px;
  width: 100%;
  border-radius: 0; /* sharp / editorial */
  transition: border-color var(--duration) var(--ease-out),
              background-color var(--duration) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: 2px solid var(--umber-text);
  outline-offset: 2px;
  border-color: var(--umber);
  background-color: var(--cream);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(111, 99, 82, 0.55);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

/* Select arrow */
.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f6352' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Inline error — appears below the field */
.form__error {
  font-size: 12px;
  color: #8b3a3a;
  letter-spacing: 0.02em;
}

/* Form-level success / error banners */
#formSuccess,
.form-success {
  display: none;
  padding: 16px 20px;
  background-color: rgba(154, 134, 102, 0.12);
  border-left: 3px solid var(--umber);
  color: var(--ink);
  font-size: 14px;
}

#formError,
.form-error {
  display: none;
  padding: 16px 20px;
  background-color: rgba(139, 58, 58, 0.08);
  border-left: 3px solid #8b3a3a;
  color: var(--ink);
  font-size: 14px;
}

#formSuccess.show,
.form-success.show,
#formError.show,
.form-error.show {
  display: block;
}

.form__submit {
  align-self: flex-start;
  margin-top: 8px;
}


/* ============================================================
   SECTION DIVIDER / RULE
   ============================================================ */

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}


/* ============================================================
   PRODUCT GRID (products/portfolio pages)
   ============================================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding: var(--pad-v) var(--pad-h);
  max-width: var(--max);
  margin-inline: auto;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.product-card__caption {
  margin-top: 12px;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.product-card__sub {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.product-card__price {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}


/* ============================================================
   PAGE HERO — Interior pages (about, contact, products)
   Shorter than homepage hero; no full-bleed image required
   ============================================================ */

.page-hero {
  padding: 140px var(--pad-h) 74px;
  background-color: var(--paper2);
}

.page-hero .kicker {
  margin-bottom: 14px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  color: var(--ink);
  max-width: 20ch;
}

.page-hero__sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 54ch;
  margin-top: 20px;
}


/* ============================================================
   ABOUT / CONTENT SECTIONS
   ============================================================ */

.section-content {
  padding: var(--pad-v) var(--pad-h);
  max-width: var(--max);
  margin-inline: auto;
}

.section-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--ink);
  margin-bottom: 22px;
}

.section-content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 64ch;
  margin-bottom: 18px;
}

.section-content p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   REVEAL UTILITY — IntersectionObserver animation
   Only hides content when JS is available (html.js class added
   by inline script in <head>). No-JS users always see content.
   Motion gated behind prefers-reduced-motion: no-preference.
   Toggle `.is-visible` via JS to trigger the animation.
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease-out),
                transform 0.65s var(--ease-out);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger siblings — delay increments when .reveal siblings share
     a parent; pairs with JS adding data-delay or nth-child CSS */
  html.js .reveal:nth-child(2) { transition-delay: 0.08s; }
  html.js .reveal:nth-child(3) { transition-delay: 0.16s; }
  html.js .reveal:nth-child(4) { transition-delay: 0.24s; }
}

/* Reduced-motion fallback — always show content */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   RESPONSIVE — Collapse < 820px
   ============================================================ */

@media (max-width: 820px) {
  :root {
    --pad-h: 22px;
    --pad-v: 52px;
    --gap:   20px;
  }

  /* Hamburger visible; nav hidden until toggled */
  #menuToggle {
    display: flex;
  }

  #mainNav {
    display: none;
    position: fixed;
    inset: 0;
    background-color: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 105;
    padding: 80px var(--pad-h) var(--pad-h);
  }

  #mainNav.active {
    display: flex;
  }

  .header__links {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .header__links a {
    font-size: 14px;
    color: var(--ink);
  }

  .header__cta {
    color: var(--ink);
    border-color: var(--ink);
    margin-top: 8px;
  }

  /* Hero */
  .hero__copy {
    left: var(--pad-h);
    right: var(--pad-h);
    bottom: 40px;
  }

  /* Mosaic → single column */
  .mosaic {
    grid-template-columns: 1fr;
  }

  .piece--tall img {
    height: 360px;
  }

  /* Atelier → stack */
  .section-atelier__inner {
    grid-template-columns: 1fr;
  }

  .section-atelier__image {
    min-height: 280px;
    height: 280px;
  }

  .section-atelier__text {
    padding: 52px var(--pad-h);
  }

  /* Trade → single column */
  .section-trade__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trade-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Products grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--pad-v) var(--pad-h);
  }

  /* Footer */
  .footer {
    flex-direction: column;
    gap: 20px;
    padding: 36px var(--pad-h);
  }
}

@media (max-width: 500px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 38px;
  }

  .section-cta__title {
    font-size: 32px;
  }

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


/* ============================================================
   CONTACT GRID — collapses to single column on mobile
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ============================================================
   SKIP LINK — visually hidden until focused
   ============================================================ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background-color: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  z-index: 200;
  text-decoration: none;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  overflow: visible;
}


/* ============================================================
   PRINT BASELINE
   ============================================================ */

@media print {
  .header,
  #menuToggle,
  .hero,
  .section-cta {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
