/* Shared styles for the menu pages (capabilities, catalogue, about, contact) and the legal pages (privacy, terms).
   Mirrors the homepage design system: ivory #F8F4EF, black #111111, charcoal #2B2B2B,
   muted #6B6258, rule #E4DCCF, gold #C7A35A (accents only), red #8B0000 (primary CTAs only).
   Type: Cormorant Garamond (headings, display, stats) / Archivo (body, nav, buttons, labels).
   Eyebrows and labels follow the logo tagline: Archivo 600, uppercase, .14em tracking. 8-pt spacing. No build step. */

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:#F8F4EF;color:#111111;font-family:'Archivo',sans-serif;overflow-x:hidden}
::selection{background:#8B0000;color:#F8F4EF}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} *{animation:none !important} .order-bar{transition:none !important} }

.wrap{max-width:1200px;margin:0 auto;padding:0 32px}

/* ---------- type ---------- */
.mono{font-family:'Archivo',sans-serif}
.eyebrow{font-family:'Archivo',sans-serif;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#8B0000}
.eyebrow--gold{color:#C7A35A}
.eyebrow--muted{color:#6B6258}
.rule-label{display:flex;align-items:center;gap:10px}
.rule-label::before{content:"";width:24px;height:1px;background:#C7A35A}
.display{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;font-size:62px;line-height:1.08;letter-spacing:-.02em;text-wrap:balance}
.h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:38px;line-height:1.15;letter-spacing:-.02em}
.lede{font-size:18px;line-height:1.6}
.body{font-size:17px;line-height:1.65;color:#2B2B2B}
.muted{color:#6B6258}

/* ---------- nav (copied from index.html) ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(248,244,239,.88);backdrop-filter:blur(10px);border-bottom:1px solid #E4DCCF}
.site-header .wrap{height:76px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;min-height:44px;gap:10px;white-space:nowrap}
.brand-logo{display:block;height:44px;width:auto}
.site-nav{display:flex;align-items:center;gap:8px}
.nav-link{padding:8px 14px;font-size:14px;font-weight:500;border-radius:4px;color:#2B2B2B}
.nav-link:hover,.nav-link:focus-visible{background:#EFE8DF}
.nav-link[aria-current="page"]{box-shadow:inset 0 -2px 0 #C7A35A}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;min-height:48px;padding:0 32px;font-size:15px;font-weight:600;border-radius:4px}
.btn--sm{min-height:44px;padding:0 22px;font-size:14px}
.btn--red{background:#8B0000;color:#F8F4EF}
.btn--red:hover,.btn--red:focus-visible{background:#6e0000}
.btn--ghost-dark{border:1px solid rgba(248,244,239,.36);color:#F8F4EF;padding:0 26px}
.btn--ghost-dark:hover,.btn--ghost-dark:focus-visible{background:#F8F4EF;color:#111111;border-color:#F8F4EF}
.site-nav .btn{margin-left:8px;white-space:nowrap}
.nowrap{white-space:nowrap}

/* ---------- phone/tablet menu (shown below 980px; links otherwise hidden there) ---------- */
.mnav{display:none}
.mnav summary{list-style:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #E4DCCF;border-radius:4px;cursor:pointer;color:#111111}
.mnav summary::-webkit-details-marker{display:none}
.mnav summary:focus-visible{outline:2px solid #8B0000;outline-offset:2px}
.mnav-panel{position:absolute;left:0;right:0;top:100%;background:#F8F4EF;border-bottom:1px solid #E4DCCF;box-shadow:0 12px 24px rgba(17,17,17,.08);padding:4px 20px 16px;display:flex;flex-direction:column}
.mnav-panel a{display:flex;align-items:center;min-height:52px;font-size:17px;font-weight:500;color:#111111;border-bottom:1px solid #E4DCCF}
.mnav-panel a:last-child{border-bottom:0}

/* ---------- phone order bar: "Start your order" leaves the top bar at <=680px and sticks to the bottom ---------- */
.order-bar{display:none}

/* ---------- page hero (dark, like the homepage lead hero) ---------- */
.page-hero{background:#111111;color:#F8F4EF;position:relative;overflow:hidden}
.page-hero::before,.page-hero::after{content:"";position:absolute;top:50%;transform:translateY(-50%) rotate(45deg);pointer-events:none}
.page-hero::before{right:-110px;width:480px;height:480px;border:1px solid rgba(199,163,90,.16)}
.page-hero::after{right:-30px;width:300px;height:300px;border:1px solid rgba(199,163,90,.09)}
.page-hero .wrap{position:relative;padding-top:96px;padding-bottom:88px}
.page-hero .display{margin:18px 0 22px;max-width:820px;color:#F8F4EF}
.page-hero .lede{color:rgba(248,244,239,.72);max-width:600px}
.page-hero .lede strong,.cta-band .lede strong{color:#F8F4EF;font-weight:600}
.body strong{font-weight:600;color:#111111}

/* ---------- sections ---------- */
.section{padding:88px 0}
.section--white{background:#FFFFFF;border-top:1px solid #E4DCCF;border-bottom:1px solid #E4DCCF}
.section--dark{background:#111111;color:#F8F4EF}
.section-head{max-width:680px;margin-bottom:48px}
.section-head .h2{margin:14px 0 16px}
.split-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:48px;flex-wrap:wrap;gap:16px}
.split-head .h2{margin-top:14px}
.split-head p{font-size:14px;color:#6B6258;max-width:300px;line-height:1.55}

/* ---------- media slots ---------- */
.media{position:relative;border-radius:8px;overflow:hidden;background:linear-gradient(150deg,#2B2B2B,#111111);box-shadow:0 2px 8px rgba(17,17,17,.06)}
.media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.media-label{position:absolute;left:20px;bottom:18px;font-family:'Archivo',sans-serif;font-size:11px;font-weight:600;letter-spacing:.14em;color:#F8F4EF;text-transform:uppercase;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.media--empty{display:flex;align-items:center;justify-content:center;border:1px dashed rgba(199,163,90,.45)}
.media--empty .media-label{position:static;text-align:center;padding:0 20px;color:rgba(248,244,239,.6);text-shadow:none;line-height:1.6}
.media--light{background:#EFE8DF;border-color:#C7A35A}
.media--light .media-label{color:#6B6258}
.r-tall{aspect-ratio:4/5}
.r-square{aspect-ratio:1/1}
.r-wide{aspect-ratio:16/10}

/* 1 tall + 4 squares */
.media-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch}
.media-grid .r-tall{aspect-ratio:auto;min-height:100%}
.media-grid .squares{display:grid;grid-template-columns:1fr 1fr;gap:16px}

/* ---------- [Needs Yvonne] placeholder ---------- */
.needs{border:1px dashed #8B0000;background:repeating-linear-gradient(135deg,#FBF8F4 0 12px,#F4EEE6 12px 24px);border-radius:8px;padding:24px 28px;font-family:'Archivo',sans-serif;font-size:13px;line-height:1.6;color:#8B0000}
.needs strong{font-weight:500}
.section--dark .needs{background:repeating-linear-gradient(135deg,#1a1a1a 0 12px,#151515 12px 24px);border-color:#C7A35A;color:#C7A35A}
.needs-stack{display:grid;gap:16px}

/* ---------- pain → solution ledger (copied from index.html) ---------- */
.ledger{border-top:1px solid #C7A35A}
.ledger-row{display:grid;grid-template-columns:38px 1.5fr 1.6fr;gap:24px;padding:26px 0;border-bottom:1px solid #E4DCCF;align-items:start}
.ledger-row--head{padding:14px 0}
.ledger-row--head span{font-family:'Archivo',sans-serif;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#6B6258}
.ledger-num{font-family:'Archivo',sans-serif;font-size:13px;color:#8B0000;padding-top:3px}
.ledger-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.ledger-title b{font-weight:700;font-size:16px;color:#111111}
.chip{font-family:'Archivo',sans-serif;font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#6B6258;border:1px solid #E4DCCF;border-radius:999px;padding:2px 8px}
.ledger-sol{font-size:15px;line-height:1.55;color:#2B2B2B}
.ledger-sol .arrow{color:#C7A35A;font-weight:700}
.ledger-sol strong{font-weight:600;color:#111111}
.ledger-quote{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:20px;line-height:1.4;color:#111111;padding-top:1px}

/* ---------- 5 steps (copied from index.html) ---------- */
.steps{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #C7A35A}
.step{padding:28px 20px 0;border-right:1px solid #E4DCCF}
.step:last-child{border-right:0}
.step .mono{font-size:12px;color:#8B0000}
.step h3{font-weight:700;font-size:17px;margin:10px 0 8px}
.step p{font-size:15px;line-height:1.55;color:#6B6258}
.step p strong{font-weight:600;color:#111111}

/* ---------- stats band (copied from index.html) ---------- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.stat-num{font-family:'Cormorant Garamond',Georgia,serif;font-size:46px;font-weight:500;line-height:1;color:#F8F4EF}
.stat-num span{color:#C7A35A}
.stat-label{font-family:'Archivo',sans-serif;font-size:12px;font-weight:600;letter-spacing:.14em;color:rgba(248,244,239,.6);margin-top:10px;text-transform:uppercase}

/* ---------- two-column blocks ---------- */
.two-col{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:center}
.two-col--even{grid-template-columns:1fr 1fr}
.guarantees{display:grid;grid-template-columns:1fr 1fr;gap:18px 28px;max-width:520px}
.guarantees > div{display:flex;gap:12px}
.guarantees .dash{color:#C7A35A;font-weight:700}
.guarantees p{font-size:15px;line-height:1.5;color:#2B2B2B}
.guarantees strong{font-weight:600}

/* ---------- catalogue grid ---------- */
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:#FFFFFF;border:1px solid #E4DCCF;border-radius:8px;overflow:hidden}
.card .media{border-radius:0;box-shadow:none}
.card-body{padding:16px 20px 20px;display:grid;gap:8px}
.card-line{height:10px;border-radius:2px;background:#EFE8DF}
.card-line--short{width:55%}

/* ---------- contact methods ---------- */
.methods{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.method{display:block;background:#FFFFFF;border:1px solid #E4DCCF;border-top:2px solid #C7A35A;border-radius:8px;padding:28px}
.method:hover,.method:focus-visible{border-color:#C7A35A}
.method .eyebrow{color:#6B6258}
.method-value{display:block;font-family:'Archivo',sans-serif;font-size:18px;margin-top:14px;color:#111111;overflow-wrap:anywhere}
.method-actions{display:flex;gap:12px;margin-top:18px}
.method-actions a{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border:1px solid #E4DCCF;border-radius:4px;font-size:15px;font-weight:600;color:#111111}
.method-actions a:hover,.method-actions a:focus-visible{border-color:#C7A35A}

/* ---------- CTA band ---------- */
.cta-band{background:#111111;color:#F8F4EF;text-align:center}
.cta-band .wrap{padding-top:80px;padding-bottom:80px}
.cta-band .h2{color:#F8F4EF;margin:14px auto 12px;max-width:720px;text-wrap:balance}
.cta-band .lede{color:rgba(248,244,239,.72);margin:0 auto 28px}
.cta-row{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}

/* ---------- footer (copied from index.html) ---------- */
.site-footer{background:#111111;color:rgba(248,244,239,.7)}
.footer-grid{padding-top:56px;padding-bottom:40px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.footer-logo{display:inline-block}
.footer-logo img{display:block;width:300px;max-width:100%;height:auto}
.footer-grid p{font-size:14px;line-height:1.6;margin-top:14px;max-width:280px}
.footer-grid h4{font-family:'Archivo',sans-serif;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#C7A35A;margin-bottom:16px}
.footer-col{display:flex;flex-direction:column;gap:10px;font-size:14px}
.footer-col a:hover,.footer-col a:focus-visible,
.footer-legal a:hover,.footer-legal a:focus-visible{color:#F8F4EF}
.footer-base{border-top:1px solid #2B2B2B}
.footer-base .wrap{padding-top:20px;padding-bottom:20px;display:flex;justify-content:space-between;gap:8px;font-family:'Archivo',sans-serif;font-size:11px;letter-spacing:.06em;color:rgba(248,244,239,.45)}

/* ---------- responsive (same breakpoints as the homepage) ---------- */
@media (max-width: 1100px){ .brand-logo{height:38px} }
@media (max-width: 980px){
  .site-nav .nav-link{display:none}
  .mnav{display:block}
  .two-col,.two-col--even{grid-template-columns:1fr;gap:40px}
  /* one row per step (number · title · text) instead of a 3+2 grid */
  .steps{grid-template-columns:1fr}
  .step{display:grid;grid-template-columns:56px 160px 1fr;align-items:baseline;column-gap:16px;padding:22px 0;border-right:0;border-bottom:1px solid #E4DCCF}
  .step h3{margin:0}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
  .footer-col{gap:0;font-size:16px}
  .footer-col a{display:flex;align-items:center;min-height:44px}
  .footer-col span{padding:8px 0}
  .footer-col .calltext{display:flex;align-items:center;gap:.3em;padding:0}
  .footer-col .calltext a{min-height:44px}
  .footer-grid p{font-size:16px}
  /* Privacy · Terms in the footer baseline: inline, 44px tap targets */
  .footer-legal a{display:inline-flex;align-items:center;min-height:44px}
  .card-grid{grid-template-columns:repeat(2,1fr)}
  .methods{grid-template-columns:1fr}
  .media-grid{grid-template-columns:1fr}
  .media-grid .r-tall{aspect-ratio:4/5;min-height:0}
  /* landscape iPhones: keep content out from under the notch (viewport-fit=cover); env() is 0 everywhere else */
  .wrap{padding-left:max(32px, env(safe-area-inset-left));padding-right:max(32px, env(safe-area-inset-right))}
}
@media (max-width: 680px){
  .wrap{padding-left:max(20px, env(safe-area-inset-left));padding-right:max(20px, env(safe-area-inset-right))}
  /* header: just the logo, big, + the menu button. Name-only logo: with the tagline it would
     need ~313px for a 7px tagline, more than fits beside the menu button. 72vw = 281px at 390 (cap height ~20px). */
  .site-header .wrap{height:64px}
  .brand-logo{width:min(72vw, 300px);height:auto}
  .site-nav .btn{display:none}
  .order-bar{display:block;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));background:rgba(248,244,239,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid #E4DCCF;transition:transform .25s ease}
  .order-bar.is-off{transform:translateY(100%);visibility:hidden}
  .order-bar .btn{display:flex;justify-content:center;width:100%;padding:0 24px;font-size:16px}
  /* room under the footer so the bar never covers it */
  .order-bar ~ .site-footer{padding-bottom:calc(69px + env(safe-area-inset-bottom))}
  .display{font-size:38px}
  .step p,.ledger-sol,.guarantees p,.split-head p{font-size:16px}
  .h2{font-size:30px}
  .page-hero .wrap{padding-top:64px;padding-bottom:64px}
  .section{padding:64px 0}
  .step{grid-template-columns:40px 1fr;row-gap:6px}
  .step p{grid-column:2}
  .stats{grid-template-columns:repeat(2,1fr)}
  .stat-num{font-size:38px}
  .guarantees{grid-template-columns:1fr}
  .ledger-row{grid-template-columns:1fr;gap:10px}
  .ledger-row--head{display:none}
  .card-grid{grid-template-columns:1fr}
  .media-grid .squares{gap:12px}
  .footer-grid{grid-template-columns:1fr}
  .footer-base .wrap{flex-direction:column;text-align:center}
}

/* ---------- preview-only content ----------
   [Needs Yvonne] boxes and photo slots still waiting for a picture are hidden on the
   live site and shown on previews. Hidden here by default (no flash); the inline
   script in each page's <head> adds html.preview on localhost and Vercel previews. */
html:not(.preview) .needs,
html:not(.preview) .preview-only{display:none !important}
html:not(.preview) .two-col:has(> .preview-only){grid-template-columns:1fr}

/* capabilities: CAD + QC squares, process collage full width below */
.squares .span-2{grid-column:1 / -1}
.media-fig{margin:0}
.media-fig .media img{object-fit:contain}
.media-fig figcaption{margin-top:10px;font-family:'Archivo',sans-serif;font-size:11px;font-weight:600;letter-spacing:.14em;color:#6B6258;text-transform:uppercase}
.stones{margin-top:0}
.stones .body{max-width:480px;margin-top:16px}

/* capabilities: CAD + QC stacked beside the finished piece */
.media-grid .squares--stack{grid-template-columns:1fr}
.media-grid .squares--stack .r-square{aspect-ratio:3/2}

/* how a piece is made: the 6-step collage + the same steps as text */
.made-img{display:block;aspect-ratio:3/2;background:#111111;border:1px solid #E4DCCF}
.made-img img{object-fit:contain}
.made-list{list-style:none;border-top:1px solid #C7A35A;max-width:520px;margin-top:24px}
.made-list li{display:flex;align-items:baseline;gap:16px;padding:13px 0;border-bottom:1px solid #E4DCCF;font-size:17px;font-weight:600;color:#111111}
.made-list .mono{font-size:12px;font-weight:400;color:#8B0000;width:22px;flex:none}

/* ---------- legal pages (privacy, terms): policy text copied word for word from the Wix site ---------- */
.page-hero--legal .wrap{padding-top:72px;padding-bottom:64px}
.page-hero--legal .display{margin:0 0 18px}
.page-hero--legal .lede{font-size:16px}
.page-hero--legal .lede strong{font-weight:600;color:#F8F4EF}
.legal{max-width:760px}
.legal h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:28px;line-height:1.2;letter-spacing:-.01em;margin:48px 0 14px;padding-top:20px;border-top:1px solid #E4DCCF}
.legal p,.legal li{font-size:16px;line-height:1.7;color:#2B2B2B}
.legal p + p{margin-top:14px}
.legal ul{margin:14px 0;padding-left:22px}
.legal li + li{margin-top:6px}
.legal strong{font-weight:600;color:#111111}
.legal a{color:#8B0000;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.legal a:hover,.legal a:focus-visible{color:#6e0000}
@media (max-width: 680px){ .legal h2{font-size:24px;margin-top:36px} }
