/* =========================================================
   MADE BY MATEO — v6
   Design system: warm paper, espresso ink, graphite grey.
   Type: Instrument Sans (UI, titles) + Instrument Serif (editorial headlines)
   ========================================================= */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root {
  --paper: #f3efe7;
  --paper-2: #ebe5da;
  --cream: #fbf9f4;
  --ink: #1b1714;
  --ink-2: #2a241f;
  --espresso: #16110d;
  --cocoa: #4a2f20;
  --rust: #9f4a2c;
  --muted: #6f675d;
  --muted-2: #8f877c;
  --line: rgba(27, 23, 20, .12);
  --line-strong: rgba(27, 23, 20, .22);
  --white: #fff;

  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1360px;
  --header-h: 72px;
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 1px 2px rgba(27, 23, 20, .06), 0 6px 18px rgba(27, 23, 20, .06);
  --shadow-md: 0 2px 6px rgba(27, 23, 20, .06), 0 18px 40px rgba(27, 23, 20, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.primary-btn, .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .005em;
  border: 1px solid var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.primary-btn { background: var(--ink); color: var(--cream); }
.primary-btn:hover { background: var(--cocoa); border-color: var(--cocoa); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(74, 47, 32, .22); }
.primary-btn span { transition: transform .25s var(--ease); }
.primary-btn:hover span { transform: translateX(3px); }
.secondary-btn { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.secondary-btn:hover { border-color: var(--ink); background: rgba(27, 23, 20, .03); }
.primary-btn.light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.primary-btn.light:hover { background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.secondary-btn.light { color: var(--cream); border-color: rgba(251, 249, 244, .32); }
.secondary-btn.light:hover { border-color: var(--cream); background: rgba(251, 249, 244, .06); }
.primary-btn svg, .secondary-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.full { width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  background: rgba(243, 239, 231, .82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(243, 239, 231, .9); }
.header-inner {
  height: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 52px); }
.main-nav a, .main-nav button {
  position: relative;
  padding: 8px 0;
  background: none;
  border: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink-2);
  transition: color .2s var(--ease);
}
.main-nav a::after, .main-nav button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav button:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.cart-button {
  position: relative;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 0; background: transparent;
  border-radius: 50%;
  transition: background .2s var(--ease);
}
.cart-button:hover { background: rgba(27, 23, 20, .06); }
.cart-button svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.cart-badge {
  position: absolute;
  top: 6px; right: 4px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  line-height: 19px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--paper);
  transform: scale(1);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.cart-badge.empty { opacity: 0; transform: scale(.4); }
.cart-badge.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.3); } 100% { transform: scale(1); } }

.menu-button {
  display: none;
  width: 46px; height: 46px;
  border: 0; background: transparent;
  position: relative;
  border-radius: 50%;
}
.menu-button span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-button span:first-child { top: 19px; }
.menu-button span:last-child { top: 26px; }
.menu-open .menu-button span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .menu-button span:last-child { top: 22.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  height: calc(100dvh - var(--header-h));
  background: var(--paper);
  padding: 20px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a, .mobile-menu nav button {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 0;
  border: 0; border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.mobile-menu nav i { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.mobile-menu-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-menu-foot a { display: grid; place-items: center; min-height: 50px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 15px; }
.mobile-menu-foot a:first-child { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(24px, 4vh, 48px)) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  min-height: min(100svh, 940px);
}
.hero-copy { padding-bottom: clamp(40px, 7vh, 80px); }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.9vw, 88px);
  line-height: .98;
  letter-spacing: -.022em;
  color: var(--ink);
}
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 em { color: var(--cocoa); }
.hero-lede {
  max-width: 30em;
  margin-top: 28px;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.hero-actions {
  margin-top: clamp(40px, 5vh, 56px);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.hero-note { font-size: 13px; line-height: 1.4; color: var(--muted-2); padding-left: 24px; border-left: 1px solid var(--line-strong); }

/* hero copy entrance */
.hero-copy > * { opacity: 0; transform: translateY(16px); animation: rise 1s var(--ease-out) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2) { animation-delay: .22s; }
.hero-copy > :nth-child(3) { animation-delay: .38s; }
.hero-copy > :nth-child(4) { animation-delay: .52s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Pinterest board ---------- */
.board {
  --gap: clamp(10px, 1.1vw, 16px);
  position: relative;
  align-self: stretch;
  height: clamp(560px, 82svh, 820px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 80%, transparent 100%);
}
.board-col { display: flex; flex-direction: column; gap: var(--gap); will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }
.col-1 { padding-top: 64px; }
.col-2 { padding-top: 8px; }
.col-3 { padding-top: 120px; }
.pin {
  position: relative;
  margin: 0;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(.985);
  transition:
    opacity .95s var(--ease) calc(var(--i) * 150ms + 250ms),
    transform 1.05s var(--ease-out) calc(var(--i) * 150ms + 250ms),
    box-shadow .4s var(--ease);
}
.board.is-in .pin { opacity: 1; transform: none; }
.pin img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pin:hover img { transform: scale(1.035); }
.pin figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(251, 249, 244, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
}
.r-45 { aspect-ratio: 4 / 5; }
.r-34 { aspect-ratio: 3 / 4; }
.r-56 { aspect-ratio: 5 / 6; }
.r-11 { aspect-ratio: 1 / 1; }

/* =========================================================
   MARQUEE  (JS fills the track with enough groups; CSS moves it by exactly one group)
   ========================================================= */
.marquee {
  position: relative;
  background: var(--espresso);
  color: var(--cream);
  overflow: hidden;
  padding: 18px 0;
  margin-top: clamp(8px, 2vh, 24px);
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-track.running { animation: marquee var(--marquee-duration, 30s) linear infinite; }
.marquee-group { display: flex; align-items: center; flex: 0 0 auto; }
.marquee-group span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  white-space: nowrap;
  padding: 0 28px;
}
.marquee-group i { font-style: normal; color: #b98a66; font-size: 12px; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(var(--marquee-shift, 0px) * -1), 0, 0); }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
section { position: relative; }
.shop-section, .gallery-strip, .process-section, .about-section {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
h2 {
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
h2 em { color: var(--cocoa); }

.reveal { opacity: 0; transform: translateY(26px); filter: blur(4px); transition: opacity 1s var(--ease), transform 1s var(--ease-out), filter 1s var(--ease); }
.reveal.visible { opacity: 1; transform: none; filter: none; }

/* =========================================================
   SHOP
   ========================================================= */
.shop-section { padding-top: clamp(88px, 11vw, 150px); padding-bottom: clamp(72px, 9vw, 120px); }
.section-head { max-width: 620px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 32em; }

.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.offer-card {
  display: flex; flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), opacity 1s var(--ease), filter 1s var(--ease);
}
.offer-card:hover { box-shadow: var(--shadow-md); }
.offer-grid .offer-card:nth-child(2) { transition-delay: .08s; }
.offer-grid .offer-card:nth-child(3) { transition-delay: .16s; }
.offer-visual { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--paper-2); }
.offer-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.offer-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.offer-meta strong { font-size: 14px; letter-spacing: .02em; text-transform: none; color: var(--ink); font-weight: 600; }
.offer-card h3 { margin-top: 14px; font-family: var(--sans); font-size: clamp(24px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.offer-card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.offer-body p { margin-bottom: 26px; }
.offer-body > .primary-btn { margin-top: auto; align-self: flex-start; }

/* brownie carousel */
.brownie-carousel .slides { position: absolute; inset: 0; }
.brownie-carousel .slides img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.1s var(--ease), transform 6s linear;
}
.brownie-carousel .slides img.active { opacity: 1; transform: scale(1); }
.carousel-ui {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.carousel-arrow {
  pointer-events: auto;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 0;
  background: rgba(251, 249, 244, .88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  opacity: .85;
  transition: opacity .2s, transform .2s var(--ease);
}
.carousel-arrow:hover { opacity: 1; transform: scale(1.06); }
.carousel-arrow svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carousel-dots { pointer-events: auto; display: flex; gap: 6px; padding: 7px 10px; border-radius: 999px; background: rgba(22, 17, 13, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.carousel-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); transition: width .4s var(--ease), background .3s; }
.carousel-dots button.active { width: 18px; background: #fff; }

/* portrait reference → outline → finished */
.portrait-story {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #efe9de, #e6ded1);
  padding: 0 3%;
}
.portrait-story figure {
  position: relative;
  margin: 0;
  flex: 0 0 41%;
  aspect-ratio: 3 / 4.1;
  border-radius: 6px;
  overflow: visible;
  background: #fff;
  padding: 5px 5px 0;
  box-shadow: 0 2px 4px rgba(27, 23, 20, .08), 0 12px 26px rgba(27, 23, 20, .14);
  transition: transform .6s var(--ease-out);
}
.portrait-story figure img { width: 100%; height: calc(100% - 26px); object-fit: cover; border-radius: 3px; }
.portrait-story figcaption {
  height: 26px; display: flex; align-items: center; gap: 5px;
  font-size: clamp(9px, .8vw, 10.5px); font-weight: 600; letter-spacing: .03em; color: var(--ink-2); white-space: nowrap; overflow: hidden;
}
.portrait-story figcaption b { color: var(--rust); font-weight: 700; }
.portrait-story figure + figure { margin-left: -12%; }
.portrait-story figure:nth-child(1) { transform: rotate(-5deg) translateY(3%); z-index: 1; }
.portrait-story figure:nth-child(2) { transform: translateY(-3%); z-index: 2; }
.portrait-story figure:nth-child(3) { transform: rotate(4.5deg) translateY(3%); z-index: 3; }
.offer-card:hover .portrait-story figure:nth-child(1) { transform: rotate(-3deg) translate(-5%, 2%); }
.offer-card:hover .portrait-story figure:nth-child(3) { transform: rotate(3deg) translate(5%, 2%); }

/* truck (temporary photo) */
.truck-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; transition: transform 1.2s var(--ease-out); }
.offer-card:hover .truck-photo img { transform: scale(1.03); }
.photo-flag {
  position: absolute; left: 12px; bottom: 12px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(22, 17, 13, .55); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 600; letter-spacing: .03em;
}

/* =========================================================
   GALLERY RAIL
   ========================================================= */
.gallery-strip { padding-bottom: clamp(80px, 10vw, 140px); }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 8px; margin-bottom: 36px; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); }
.gallery-head .eyebrow { margin-bottom: 16px; }
.gallery-head h2 em { display: block; }
.gallery-head p { max-width: 22em; color: var(--muted); font-size: 16px; }
.art-rail {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  margin-right: calc(var(--gutter) * -1);
  padding-right: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.art-rail figure { flex: 0 0 auto; height: clamp(300px, 34vw, 440px); margin: 0; scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.art-rail img { height: 100%; width: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.art-rail figure.wide img { aspect-ratio: 6 / 5; }

/* =========================================================
   PROCESS
   ========================================================= */
.process-section { padding-bottom: clamp(80px, 10vw, 140px); }
.process-title { max-width: 760px; margin-bottom: 48px; }
.process-title .eyebrow { margin-bottom: 16px; }
.process-title em { display: block; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.process-list li { padding: 28px 28px 8px 0; }
.process-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.process-list span { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--rust); }
.process-list h3 { margin-top: 18px; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.process-list p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.process-list li:nth-child(2) { transition-delay: .08s; }
.process-list li:nth-child(3) { transition-delay: .16s; }
.process-list li:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; padding-bottom: clamp(88px, 11vw, 150px); }
.about-art { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.about-copy .eyebrow { margin-bottom: 18px; }
.about-copy h2 em { display: block; }
.about-copy > p { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 32em; }
.about-facts { margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.about-facts div { padding: 18px 16px 0 0; }
.about-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.about-facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.about-facts dd { margin: 6px 0 0; font-size: 15px; font-weight: 500; }
.about-copy .about-note { font-size: 14px; margin-top: 28px; color: var(--muted-2); }

/* =========================================================
   CONTACT + PHONE
   ========================================================= */
.contact-section {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 580px) auto;
  gap: clamp(48px, 8vw, 140px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.contact-section::before {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 90%;
  background: radial-gradient(closest-side, rgba(159, 74, 44, .22), transparent);
  pointer-events: none;
}
.contact-copy { position: relative; max-width: 580px; width: 100%; }
.contact-copy .eyebrow { color: #b4a99c; margin-bottom: 18px; }
.contact-copy h2 em { display: block; color: #d9b89c; }
.contact-copy > p { margin-top: 22px; color: #bdb3a7; font-size: 18px; max-width: 28em; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.contact-fine { margin-top: 18px !important; font-size: 13.5px !important; color: #8f857a !important; }

.phone-wrap { position: relative; justify-self: start; padding: 10px; }
.iphone {
  --w: 320px;
  position: relative;
  width: var(--w);
  aspect-ratio: 300 / 620;
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(145deg, #5a5a5f 0%, #2a2a2d 18%, #19191b 50%, #2e2e31 82%, #5c5c60 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    inset 0 0 0 3px #0d0d0e,
    0 50px 90px -20px rgba(0, 0, 0, .6),
    0 20px 40px rgba(0, 0, 0, .35);
}
.btn-side { position: absolute; width: 3px; background: linear-gradient(90deg, #3c3c40, #1d1d1f); border-radius: 2px; }
.btn-side.b1 { left: -2px; top: 108px; height: 26px; }
.btn-side.b2 { left: -2px; top: 152px; height: 50px; }
.btn-side.b3 { left: -2px; top: 212px; height: 50px; }
.btn-side.b4 { right: -2px; top: 170px; height: 78px; }
.screen {
  position: relative;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #fff;
  color: #000;
  display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Instrument Sans", "Helvetica Neue", sans-serif;
}
.status-bar { position: relative; height: 50px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 6px 22px 0 26px; }
.status-bar .time { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.island { position: absolute; left: 50%; top: 11px; width: 92px; height: 27px; margin-left: -46px; background: #000; border-radius: 20px; }
.status-icons { display: flex; align-items: center; gap: 5px; }
.status-icons svg { fill: #000; }
.status-icons .sig { width: 17px; height: 11px; }
.status-icons .wifi { width: 15px; height: 11px; }
.battery { position: relative; width: 24px; height: 11.5px; border: 1px solid rgba(0, 0, 0, .4); border-radius: 3.5px; padding: 1.5px; }
.battery::after { content: ""; position: absolute; right: -3.5px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(0, 0, 0, .4); }
.battery i { display: block; width: 62%; height: 100%; background: #000; border-radius: 1.5px; }

.chat-head { flex: 0 0 auto; position: relative; display: flex; align-items: center; justify-content: space-between; padding: 2px 16px 8px; border-bottom: .5px solid rgba(0, 0, 0, .12); background: rgba(249, 249, 249, .94); }
.chat-head .back { width: 11px; height: 18px; fill: none; stroke: #0a84ff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chat-head .video { width: 22px; height: 15px; fill: none; stroke: #0a84ff; stroke-width: 1.6; stroke-linejoin: round; }
.chat-head .contact { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #a5a9b2, #858a94); color: #fff; font-size: 18px; font-weight: 500; }
.chat-head .name { display: flex; align-items: center; gap: 2px; font-size: 11px; color: #000; }
.chat-head .name svg { width: 6px; height: 9px; fill: none; stroke: #999; stroke-width: 1.6; }

.chat {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 3px;
  padding: 10px 12px 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
  transition: opacity .6s var(--ease);
}
.chat.fading { opacity: 0; }
.chat-stamp { flex-shrink: 0; text-align: center; font-size: 10px; color: #8e8e93; margin: 0 0 8px; line-height: 1.35; display: none; }
.chat-stamp b { font-weight: 500; }
.chat.started .chat-stamp { display: block; }
.msg {
  display: none;
  flex-shrink: 0;
  max-width: 76%;
  padding: .5em .9em;
  border-radius: 18px;
  font-size: calc(var(--w) * .0412);
  line-height: 1.32;
  letter-spacing: -.005em;
  word-wrap: break-word;
}
.msg.show { display: block; animation: msgIn .42s var(--ease-out) both; }
.msg.out { align-self: flex-end; background: #0a84ff; color: #fff; border-bottom-right-radius: 6px; }
.msg.in { align-self: flex-start; background: #e9e9eb; color: #000; border-bottom-left-radius: 6px; }
.msg.out + .msg.out, .msg.in + .msg.in { margin-top: 1px; }
.msg.in.show + .msg.out.show, .msg.out.show + .msg.in.show { margin-top: 7px; }
.msg.photo { padding: 0; background: none; border-radius: 16px; overflow: hidden; width: 46%; max-width: 46%; }
.msg.photo img { width: 100%; aspect-ratio: 1.1 / 1; object-fit: cover; object-position: 50% 68%; border-radius: 16px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.typing { flex-shrink: 0; display: none; align-self: flex-start; margin-top: 7px; padding: 10px 13px; border-radius: 18px; background: #e9e9eb; gap: 4px; }
.typing.show { display: flex; animation: msgIn .3s var(--ease-out) both; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: dot 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.compose { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 6px 12px 26px; }
.compose .plus { width: 28px; height: 28px; border-radius: 50%; background: #e9e9eb; display: grid; place-items: center; color: #8e8e93; font-size: 20px; line-height: 1; }
.compose .field { flex: 1; height: 30px; border-radius: 16px; border: 1px solid #d1d1d6; padding: 0 12px; display: flex; align-items: center; font-size: 13px; color: #b0b0b5; }
.home-bar { position: absolute; left: 50%; bottom: 8px; width: 110px; height: 4px; margin-left: -55px; border-radius: 4px; background: #000; }

/* =========================================================
   CLOSING CTA
   ========================================================= */
.cta-section {
  text-align: center;
  padding: clamp(80px, 9vw, 120px) var(--gutter);
  display: flex; flex-direction: column; align-items: center;
}
.cta-section .eyebrow { margin-bottom: 20px; }
.cta-section h2 { font-size: clamp(34px, 4.2vw, 60px); max-width: 100%; }
.cta-section .primary-btn { margin-top: 36px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--espresso); color: #d8d0c5; padding: clamp(56px, 7vw, 88px) var(--gutter) 28px; }
.footer-top {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer .brand { color: var(--cream); font-size: 17px; }
.footer-brand-col p { margin-top: 14px; font-size: 15px; color: #9c9286; max-width: 18em; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8f857a; margin-bottom: 6px; }
.footer-col a, .footer-col button, .footer-col p {
  padding: 0; border: 0; background: none; text-align: left;
  font-size: 15px; line-height: 1.45; color: #e3dbd0;
  transition: color .2s;
}
.footer-col p { color: #b3a99d; }
.footer-col a:hover, .footer-col button:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
}
.image-disclaimer { font-size: 13px; line-height: 1.5; color: #8a8075; max-width: 52em; }
.copyright { font-size: 14px; color: #d8d0c5; white-space: nowrap; margin-left: auto; text-align: right; }

/* =========================================================
   DRAWERS, CART, CHECKOUT (functional UI)
   ========================================================= */
.drawer-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(22, 17, 13, .42); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer, .cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 210;
  width: min(520px, 100vw);
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform .5s var(--ease-out), visibility 0s .5s, box-shadow .5s;
}
.drawer.open, .cart-drawer.open { transform: none; visibility: visible; box-shadow: -30px 0 60px rgba(0, 0, 0, .12); transition: transform .5s var(--ease-out), visibility 0s, box-shadow .5s; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 28px 20px; border-bottom: 1px solid var(--line); }
.drawer-head .eyebrow { margin-bottom: 8px; }
.drawer-head h2 { font-family: var(--sans); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.icon-btn { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 22px; line-height: 1; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: var(--paper); border-color: var(--line-strong); }
.drawer-body { flex: 1; overflow-y: auto; padding: 24px 28px 32px; -webkit-overflow-scrolling: touch; }

.config-section { margin-bottom: 26px; }
.config-section > label, .config-label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.config-hint { font-size: 14px; color: var(--muted); margin: -4px 0 12px; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.option-grid.three { grid-template-columns: repeat(3, 1fr); }
.option-grid.stack { grid-template-columns: 1fr; }
.option-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; text-align: left; transition: border-color .2s, box-shadow .2s, background .2s; }
.option-btn strong { font-size: 15px; font-weight: 600; }
.option-btn small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.option-btn:hover { border-color: var(--ink); }
.option-btn.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fffdf8; }

.ingredient-card, .estimate-note, .policy-copy .policy-flag, .duplicate-prompt, .rush-alert { border-radius: 12px; }
.ingredient-card { padding: 18px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 26px; }
.ingredient-card h4, .estimate-note h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.ingredient-card p, .estimate-note p { font-size: 14px; color: var(--muted); }
.estimate-note { padding: 18px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 26px; }
.estimate-note ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); columns: 2; column-gap: 24px; }

input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea, select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: #fff; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27, 23, 20, .08); }

.frame-none { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 13px 14px; margin-bottom: 10px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-weight: 600; font-size: 15px; text-align: left; }
.frame-none small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.frame-none.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.frame-swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.frame-option { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px 10px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 13.5px; font-weight: 600; text-transform: capitalize; transition: border-color .2s, box-shadow .2s; }
.frame-option i { display: block; width: 46px; aspect-ratio: 4 / 5; border: 6px solid #222; background: #f8f5ef; margin-bottom: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.frame-option span { font-size: 12px; font-weight: 400; color: var(--muted); text-transform: none; }
.frame-option[data-frame="white"] i { border-color: #f1eee7; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .12); }
.frame-option[data-frame="oak"] i { border-color: #b7966b; }
.frame-option[data-frame="walnut"] i { border-color: #6b4b38; }
.frame-option[data-frame="gold"] i { border-color: #b9a15c; }
.frame-option[data-frame="silver"] i { border-color: #a9acaf; }
.frame-option:hover { border-color: var(--ink); }
.frame-option.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.deadline-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.deadline-note strong { color: var(--ink); }
.deadline-note a, .rush-alert a { color: var(--rust); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rush-alert { margin-top: 12px; padding: 14px 16px; background: #f7e9e0; border: 1px solid #e8c9b6; font-size: 14px; color: #5b2e1b; }
.rush-alert strong { display: block; margin-bottom: 2px; }

.upload-zone { padding: 16px; border: 1px dashed var(--line-strong); border-radius: 12px; background: #fff; }
.upload-zone input { width: 100%; font-size: 14px; }
.upload-zone .microcopy { text-align: left; margin-top: 10px; }

.price-box {
  position: sticky; bottom: -32px;
  margin: 8px -28px -32px; padding: 18px 28px 22px;
  background: rgba(251, 249, 244, .96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
}
.price-box span { font-size: 13px; color: var(--muted); }
.price-box strong { grid-row: 2; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.price-box .primary-btn { grid-row: 1 / span 2; grid-column: 2; }

.duplicate-prompt { padding: 18px; margin-bottom: 22px; background: #fff; border: 1px solid var(--ink); box-shadow: var(--shadow-md); animation: msgIn .35s var(--ease-out) both; }
.duplicate-prompt strong { display: block; font-size: 15px; }
.duplicate-prompt p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.duplicate-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.duplicate-actions button { width: 100%; justify-content: flex-start; text-align: left; white-space: normal; padding-top: 10px; padding-bottom: 10px; }

.cart-items { flex: 1; overflow-y: auto; padding: 8px 28px; }
.cart-item { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item h4 { font-size: 16px; font-weight: 600; }
.cart-item p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.cart-item strong { font-size: 16px; font-weight: 600; white-space: nowrap; }
.remove-item { margin-top: 8px; padding: 0; border: 0; background: none; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.empty-cart { display: grid; place-items: center; text-align: center; height: 100%; min-height: 220px; color: var(--muted); }
.empty-cart p { font-size: 17px; color: var(--ink); font-weight: 500; }
.empty-cart small { font-size: 14px; }
.cart-footer { padding: 20px 28px 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.cart-total span { color: var(--muted); font-size: 14px; }
.cart-total strong { font-size: 24px; font-weight: 600; }
.microcopy { font-size: 12.5px; color: var(--muted); text-align: center; }

.policy-copy p { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; }
.policy-copy ul { margin: 0 0 14px; padding-left: 18px; color: var(--ink-2); }
.policy-copy li { margin-bottom: 6px; }
.policy-flag { display: block; padding: 12px 14px; margin-bottom: 20px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

.checkout-modal { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; padding: 16px; background: rgba(22, 17, 13, .5); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.checkout-modal.open { opacity: 1; pointer-events: auto; }
.checkout-card { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 36px; border-radius: 20px; background: var(--cream); box-shadow: 0 40px 80px rgba(0, 0, 0, .25); }
.checkout-card h2 { margin-top: 10px; font-size: 40px; }
.modal-close { position: absolute; top: 18px; right: 18px; }
.checkout-intro { margin: 10px 0 22px; color: var(--muted); }
#checkoutForm { display: grid; gap: 14px; }
#checkoutForm > label, .field-row label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.remember { display: flex !important; grid-auto-flow: column; align-items: center; gap: 10px !important; font-weight: 400 !important; font-size: 14px !important; color: var(--muted); }
.payment-options { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.payment-options legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.radio-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; cursor: pointer; }
.radio-card span { display: grid; }
.radio-card small { color: var(--muted); font-size: 13px; }
.success-state { text-align: center; padding: 20px 0; }
.success-mark { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream); font-size: 24px; }
.success-state h3 { font-size: 24px; font-weight: 600; }
.success-state p { color: var(--muted); margin: 6px 0 20px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-md); transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---- Laptop (≤1280) ---- */
@media (max-width: 1280px) {
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-brand-col { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
  .footer-brand-col p { margin-top: 0; max-width: none; }
}

/* ---- iPad landscape (≤1100) ---- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; min-height: auto; padding-bottom: 8px; }
  .board { height: 600px; }
  .col-3 { padding-top: 96px; }
  .offer-body { padding: 20px 20px 22px; }
  .offer-card h3 { font-size: 22px; }
  .hero-note { display: none; }
}

/* ---- iPad portrait / small tablet (≤900): stacked hero, horizontal cards ---- */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .menu-button { display: block; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand { font-size: 16px; }

  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: calc(var(--header-h) + 48px); }
  .hero-copy { padding-bottom: 0; max-width: 640px; }
  .hero h1 { font-size: clamp(44px, 8.4vw, 72px); }
  .hero-note { display: block; }
  .board { height: 520px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .board .pin:nth-child(3) { display: none; }
  .col-1 { padding-top: 48px; }
  .col-2 { padding-top: 0; }
  .col-3 { padding-top: 88px; }

  .offer-grid { grid-template-columns: 1fr; gap: 18px; }
  .offer-card { flex-direction: row; }
  .offer-visual { flex: 0 0 48%; aspect-ratio: auto; min-height: 320px; }
  .offer-body { padding: 28px; justify-content: center; }
  .portrait-story figure { flex-basis: 42%; }

  .gallery-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process-list li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }

  .about-section { grid-template-columns: 1fr 1fr; }

  .contact-section { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .contact-copy { justify-self: center; max-width: 620px; }
  .phone-wrap { justify-self: center; }

  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-brand-col { display: block; }
  .footer-brand-col p { margin-top: 12px; }
}

/* ---- Large phones (≤640): recomposed hero board + vertical cards ---- */
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero { padding-top: calc(var(--header-h) + 36px); gap: 36px; }
  .hero-copy .eyebrow { margin-bottom: 20px; font-size: 11px; }
  .hero h1 { font-size: clamp(36px, 11.4vw, 52px); line-height: 1; }
  .hero-lede { margin-top: 20px; font-size: 16.5px; }
  .hero-actions { margin-top: 36px; gap: 18px; }
  .hero-actions .primary-btn { width: 100%; }
  .hero-note { display: none; }

  /* Mobile board: 2 staggered columns, 4 pins (brownie / drawing — drawing / brownie) */
  .board { grid-template-columns: 1fr 1fr; height: clamp(400px, 118vw, 500px); --gap: 10px; }
  .board .col-3 { display: none; }
  .board .pin:nth-child(3) { display: none; }
  .col-1 { padding-top: 34px; }
  .col-2 { padding-top: 0; }
  .pin figcaption { left: 8px; bottom: 8px; font-size: 10.5px; padding: 4px 9px; }

  .marquee { padding: 14px 0; }
  .marquee-group span { font-size: 12px; padding: 0 20px; }

  h2 { font-size: clamp(34px, 9.6vw, 44px); }
  .section-head p, .about-copy > p, .contact-copy > p { font-size: 16.5px; }

  .offer-card { flex-direction: column; }
  .offer-visual { flex: none; min-height: 0; aspect-ratio: 4 / 3.3; }
  .portrait-story figure { flex-basis: 41%; }
  .offer-body { padding: 22px 20px 24px; }
  .offer-card .primary-btn { width: 100%; }

  .art-rail figure { height: 300px; }
  .art-rail { gap: 10px; }

  .process-list { grid-template-columns: 1fr; border-top: 0; }
  .process-list li, .process-list li + li { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 8px; }
  .process-list li:nth-child(n+3) { margin-top: 0; }
  .process-list span { grid-row: span 2; padding-top: 4px; }
  .process-list h3 { margin-top: 0; font-size: 19px; }
  .process-list p { margin-top: 4px; }

  .about-section { grid-template-columns: 1fr; gap: 32px; }
  .about-art { aspect-ratio: 4 / 4.2; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts div, .about-facts div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
  .about-facts dd { margin: 0; text-align: right; }

  .contact-actions { flex-direction: column; }
  .contact-actions a { width: 100%; }
  .iphone { --w: min(300px, 80vw); }

  .cta-section h2 { font-size: clamp(32px, 9vw, 40px); }
  .cta-section .primary-btn { width: 100%; max-width: 360px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 36px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: stretch; gap: 16px; }
  .copyright { align-self: flex-end; }

  .drawer-head { padding: 20px 20px 16px; }
  .drawer-body { padding: 20px 20px 28px; }
  .price-box { margin: 8px -20px -28px; padding: 16px 20px 20px; bottom: -28px; }
  .cart-items { padding: 4px 20px; }
  .cart-footer { padding: 18px 20px 22px; }
  .option-grid.three { grid-template-columns: 1fr 1fr 1fr; }
  .estimate-note ul { columns: 1; }
  .price-box { grid-template-columns: 1fr; }
  .price-box strong { grid-row: auto; font-size: 24px; }
  .price-box .primary-btn { grid-row: auto; grid-column: 1; width: 100%; margin-top: 10px; }
  .toast { top: calc(var(--header-h) + 12px); bottom: auto; transform: translate(-50%, -12px); }
  .checkout-card { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .option-grid.three { grid-template-columns: 1fr; }
  .brand { font-size: 15px; letter-spacing: .08em; }
}

/* Desktop: keep the closing headline on one intentional line */
@media (min-width: 900px) {
  .cta-section h2 { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track.running { animation: none; }
  .reveal, .pin, .hero-copy > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}
