/* SJ Diamonds — v1
   Palette derives from a jeweler's tray: warm paper, deep baize green, restrained brass.
   Deliberately not luxury-glossy — this audience is avoiding a sales floor. */
:root{
  --paper:#FBF9F5;
  --card:#FFFFFF;
  --sunk:#F3F0E9;
  --ink:#1A1815;
  --ink-soft:#4A463F;
  --muted:#7C766C;
  --line:#E2DDD1;
  --line-soft:#EDE9DF;
  --green:#2C4A3B;
  --green-soft:#E7EDE8;
  --brass:#8C6E3F;
  --brass-soft:#F4EDDF;

  --f-display:"EB Garamond",Georgia,"Times New Roman",serif;
  --f-body:"Karla","Helvetica Neue",Arial,sans-serif;

  /* Layout measure in rem, NOT ch: `ch` resolves against each element's own
     font-size, so .shell computed a different width in the footer (.9rem) than
     in the nav — four different left edges across the page. 40rem ~= the old 64ch. */
  --measure:40rem;
  --gut:clamp(1.25rem,5vw,2.5rem);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --paper:#14140F;--card:#1C1C17;--sunk:#22221C;
    --ink:#F0EDE4;--ink-soft:#C4BFB3;--muted:#918B7F;
    --line:#33332B;--line-soft:#28281F;
    --green:#8FBBA2;--green-soft:#1C2A22;
    --brass:#D6AE6D;--brass-soft:#2E2617;
  }
}
:root[data-theme="dark"]{
  --paper:#14140F;--card:#1C1C17;--sunk:#22221C;
  --ink:#F0EDE4;--ink-soft:#C4BFB3;--muted:#918B7F;
  --line:#33332B;--line-soft:#28281F;
  --green:#8FBBA2;--green-soft:#1C2A22;
  --brass:#D6AE6D;--brass-soft:#2E2617;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*{animation:none!important;transition:none!important;}}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--f-body);font-size:1.0625rem;line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:var(--f-display);margin:0;font-weight:500;text-wrap:balance;line-height:1.15;}
h1{font-size:clamp(2.5rem,7vw,4rem);letter-spacing:-.015em;}
h2{font-size:clamp(1.7rem,4vw,2.4rem);letter-spacing:-.01em;}
h3{font-size:1.3rem;}
p{margin:0;}
a{color:var(--green);text-underline-offset:.2em;}
strong{font-weight:700;}
:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:2px;}

.shell{max-width:calc(var(--measure) + 14rem);margin:0 auto;padding:0 var(--gut);}
.narrow{max-width:var(--measure);}
/* When .narrow IS the shell, keep the shell's own width and constrain its children
   instead — a narrower shell re-centres (margin:0 auto) and the left edge jumps. */
.shell.narrow{max-width:calc(var(--measure) + 14rem);}
.shell.narrow > *{max-width:var(--measure);}
.stack{display:flex;flex-direction:column;gap:1.25rem;}
.stack-lg{display:flex;flex-direction:column;gap:2rem;}

/* header */
.top{border-bottom:1px solid var(--line);background:var(--paper);}
.top .shell{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-block:1.15rem;flex-wrap:wrap;}
.brand{font-family:var(--f-display);font-size:1.35rem;letter-spacing:.01em;color:var(--ink);text-decoration:none;font-weight:500;}
.brand span{display:block;font-family:var(--f-body);font-size:.62rem;letter-spacing:.19em;text-transform:uppercase;color:var(--muted);margin-top:.15rem;}
.nav{display:flex;align-items:center;gap:1.6rem;flex-wrap:wrap;}
.nav a{color:var(--ink-soft);text-decoration:none;font-size:.93rem;}
.nav a:hover{color:var(--green);text-decoration:underline;}
/* .nav a is (0,1,1) and outranks .btn (0,1,0) — restate at (0,2,0) so the button keeps its own colours */
.nav .btn,.nav .btn:hover{color:var(--paper);text-decoration:none;}
.nav .tel{display:flex;align-items:center;gap:.45rem;white-space:nowrap;}
.nav .tel svg{width:16px;height:16px;flex:none;}

/* On a phone the wrapped header ate half the viewport before the headline appeared.
   Brand + primary action only; the text links live in the footer and in-page CTAs. */
@media (max-width:640px){
  .top .shell{flex-wrap:nowrap;gap:1rem;padding-block:.9rem;}
  .nav a:not(.btn):not(.tel){display:none;}
  .nav .btn{padding:.62rem 1rem;font-size:.88rem;}
  .nav .tel span{display:none;}
  /* icon-only at this width — pad the 16px glyph up to a >=44px tap target
     without moving the layout */
  .nav .tel{padding:.9rem;margin:-.9rem;}
  .brand{font-size:1.18rem;}
}

/* buttons */
.btn{
  display:inline-flex;align-items:center;gap:.55rem;
  background:var(--green);color:var(--paper);
  padding:.8rem 1.4rem;border-radius:2px;text-decoration:none;
  font-weight:700;font-size:.95rem;letter-spacing:.01em;border:1px solid var(--green);
  transition:opacity .15s ease;
}
.btn:hover{opacity:.88;}
.btn-quiet{background:transparent;color:var(--green);border-color:var(--line);}
.btn-quiet:hover{border-color:var(--green);opacity:1;}
.cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.4rem;}
.cta-note{font-size:.88rem;color:var(--muted);}

/* hero */
.hero{padding-block:clamp(3.5rem,9vw,6.5rem) clamp(2.5rem,6vw,4rem);}
.hero p.lede{font-size:clamp(1.1rem,2.4vw,1.28rem);color:var(--ink-soft);max-width:52ch;}
.marks{
  display:flex;flex-wrap:wrap;gap:.5rem 1.6rem;margin-top:.5rem;
  font-size:.74rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);
}
.marks span{display:flex;align-items:center;gap:.55rem;}
.marks span::before{content:"";width:4px;height:4px;background:var(--brass);border-radius:50%;flex:none;}

/* sections */
section{padding-block:clamp(3rem,7vw,4.75rem);border-top:1px solid var(--line-soft);}
section.plain{border-top:none;}
.eyebrow{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);font-weight:700;}

/* reason grid */
.reasons{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:2rem 2.5rem;}
.reason{display:flex;flex-direction:column;gap:.55rem;}
.reason h3{font-size:1.12rem;font-family:var(--f-body);font-weight:700;line-height:1.4;}
.reason p{color:var(--ink-soft);font-size:.98rem;}

/* section iconography — small, brass, and quiet. Shares the line-art vocabulary
   used by the intake cards on /valuation/ so "what we buy" reads through to the form. */
.ico{width:23px;height:23px;color:var(--brass);flex:none;}
.reason .ico{margin-bottom:.1rem;}
.buy .ico{margin-bottom:.15rem;}
.buy:hover .ico{color:var(--green);}
@media (prefers-reduced-motion:no-preference){.buy .ico{transition:color .18s ease;}}

/* steps */
.steps{display:flex;flex-direction:column;gap:0;counter-reset:s;}
.step{
  display:grid;grid-template-columns:3.25rem 1fr;gap:0 1.75rem;
  padding:1.75rem 0;border-top:1px solid var(--line-soft);
}
.step:first-child{border-top:1px solid var(--line);}
.step::before{
  counter-increment:s;content:counter(s);
  font-family:var(--f-display);font-size:1.9rem;color:var(--brass);line-height:1;
}
.step .b{display:flex;flex-direction:column;gap:.5rem;}
/* unnumbered — the hairline-rule list without the counter, for items that are
   alternatives rather than a sequence (numbering options misstates them as an order) */
.steps.unnumbered .step{grid-template-columns:1fr;}
.steps.unnumbered .step::before{content:none;}
/* `.icons` — an icon in the marker column instead of the numeral. Not a toggle over one
   list (that was the markers-ico/markers-num pair, deleted once icons won): both markers
   ship, on different lists. A numeral asserts an order, so it stays where the items are a
   sequence and the icon takes over where they are not. `unnumbered` drops the marker
   column entirely, so `.icons` has to put it back. */
.step-ico{display:none;}
.steps.icons .step::before{content:none;}
.steps.icons .step-ico{display:block;}
.steps.unnumbered.icons .step{grid-template-columns:3.25rem 1fr;}
.step h3{font-family:var(--f-body);font-size:1.08rem;font-weight:700;}
.step p{color:var(--ink-soft);}

/* .steps-lg — /how-it-works/ uses the homepage step layout one scale up. These are the
   page's primary sections with real body copy under each, not a compact summary, so the
   heading stays at h2 scale. The homepage's brass numeral is replaced by a per-step icon
   here; the rules and the 3.25rem marker column still match. Icons won over numerals
   (2026-08-24) and the toggle that ran that comparison is gone — how-it-works adds
   `.icons`, and a steps-lg list that is genuinely a sequence keeps the numeral. */
.steps-lg .step{padding:2.1rem 0;}
.steps-lg .step::before{font-size:2.15rem;}
.steps-lg.icons .step-ico{width:26px;height:26px;margin-top:.15rem;}
.steps-lg .step h2{font-family:var(--f-body);font-size:1.22rem;font-weight:700;line-height:1.35;}
/* A steps-lg list that sits under a section heading carries h3 items instead; they are
   the same rank on the page, so they take the same scale. */
.steps-lg .step h3{font-size:1.22rem;line-height:1.35;}
.steps-lg .step .b{gap:.65rem;}

/* lineage */
.lineage{background:var(--sunk);border-radius:3px;padding:clamp(1.75rem,4vw,3rem);display:flex;flex-direction:column;gap:1.15rem;}
.lineage h2{max-width:20ch;}
.lineage p{color:var(--ink-soft);max-width:58ch;}

/* buy cards */
.buys{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1rem;}
.buy{
  background:var(--card);border:1px solid var(--line);border-radius:3px;
  padding:1.4rem 1.5rem;display:flex;flex-direction:column;gap:.5rem;text-decoration:none;color:inherit;
}
.buy:hover{border-color:var(--green);}
.buy h3{font-family:var(--f-body);font-size:1rem;font-weight:700;}
.buy p{font-size:.92rem;color:var(--muted);}

/* faq */
.faq{display:flex;flex-direction:column;}
.faq details{border-top:1px solid var(--line-soft);padding:.35rem 0;}
.faq details:first-of-type{border-top:1px solid var(--line);}
.faq summary{
  cursor:pointer;list-style:none;padding:1rem 2rem 1rem 0;position:relative;
  font-weight:700;font-size:1.02rem;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+";position:absolute;right:.25rem;top:.9rem;font-size:1.35rem;color:var(--brass);font-weight:400;}
.faq details[open] summary::after{content:"–";}
.faq .a{padding:0 2rem 1.2rem 0;color:var(--ink-soft);}

/* quotes — real Google reviews only, shortened but never altered or composed */
.quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:2rem 2.5rem;}
.quote{display:flex;flex-direction:column;gap:.8rem;margin:0;border-left:2px solid var(--brass);padding-left:1.15rem;}
.quote blockquote{margin:0;font-family:var(--f-display);font-style:italic;font-size:1.08rem;line-height:1.55;color:var(--ink-soft);}
.quote figcaption{font-size:.85rem;color:var(--muted);}
.quote figcaption strong{color:var(--ink-soft);font-weight:700;}
.quotes-src{font-size:.88rem;color:var(--muted);}

/* form */
.form{display:flex;flex-direction:column;gap:1.6rem;max-width:38rem;}
.field{display:flex;flex-direction:column;gap:.45rem;}
.field label{font-weight:700;font-size:.97rem;}
.field .hint{font-size:.87rem;color:var(--muted);}
.field input,.field select,.field textarea{
  font-family:inherit;font-size:1rem;color:var(--ink);
  background:var(--card);border:1px solid var(--line);border-radius:2px;padding:.7rem .8rem;
}
.field textarea{min-height:6rem;resize:vertical;}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--green);}
.radios{display:flex;flex-direction:column;gap:.6rem;}
.radios label{display:flex;align-items:center;gap:.65rem;font-weight:400;font-size:1rem;}
.req{color:var(--brass);font-weight:400;}

/* phases — contact detail is revealed after the item questions, but only when JS runs */
.phase{display:flex;flex-direction:column;gap:1.6rem;}
.form.js .phase-2{display:none;}
.form.js.revealed .phase-2{display:flex;animation:phase-in .28s ease-out;}
@keyframes phase-in{from{opacity:0;transform:translateY(.5rem);}to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:reduce){.form.js.revealed .phase-2{animation:none;}}
.phase-head{display:flex;flex-direction:column;gap:.35rem;padding-top:1.4rem;border-top:1px solid var(--line-soft);}
.phase-head h2{font-size:1.32rem;}
.phase-head .hint{font-size:.9rem;color:var(--muted);}

/* item cards — the first question earns better than a dropdown */
.cards-field,.radios-field{border:0;padding:0;margin:0;min-width:0;}
.cards-field legend,.radios-field legend{font-weight:700;font-size:.97rem;padding:0;margin-bottom:.6rem;}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.7rem;}
.card{position:relative;display:flex;cursor:pointer;}
.card input{position:absolute;width:1px;height:1px;opacity:0;margin:0;}
.card-in{
  flex:1;display:flex;flex-direction:column;align-items:center;gap:.6rem;
  text-align:center;padding:1.05rem .6rem;
  border:1px solid var(--line);border-radius:3px;background:var(--card);
  font-size:.92rem;line-height:1.35;color:var(--ink-soft);
}
.card-in svg{width:26px;height:26px;color:var(--brass);flex:none;}
.card:hover .card-in{border-color:var(--green);}
.card input:checked + .card-in{
  border-color:var(--green);background:var(--green-soft);color:var(--ink);
  box-shadow:inset 0 0 0 1px var(--green);
}
.card input:checked + .card-in svg{color:var(--green);}
.card input:focus-visible + .card-in{outline:2px solid var(--green);outline-offset:3px;}

/* closing */
.closing{background:var(--green);color:var(--paper);border-radius:3px;padding:clamp(2rem,5vw,3.25rem);display:flex;flex-direction:column;gap:1.15rem;}
.closing h2{color:var(--paper);max-width:18ch;}
.closing p{color:color-mix(in srgb,var(--paper) 82%,var(--green));max-width:46ch;}
.closing .btn{background:var(--paper);color:var(--green);border-color:var(--paper);}
.closing a{color:var(--paper);}

/* footer */
footer{border-top:1px solid var(--line);padding-block:2.5rem 3.5rem;margin-top:clamp(3rem,7vw,5rem);}
footer .shell{display:flex;flex-wrap:wrap;gap:1.5rem 3rem;justify-content:space-between;font-size:.9rem;color:var(--muted);}
footer a{color:var(--ink-soft);}
footer .f-col{display:flex;flex-direction:column;gap:.4rem;}
