/* QC Tailors: design language v2 ("agency overhaul", 2026-07-16).
   Same brand, elevated execution. Tokens extracted from the live site's CSS;
   --slate-deep/--slate-ink are derived tints of the SAME slate hue for depth,
   not new colors. The Instagram palette stays out of this file; its tokens are
   deliberately not named here because naming them trips the greps that police
   them. The allowed set is exactly this :root. */

:root {
  --slate:       #334155;
  --slate-mute:  #9099a2;
  --slate-mute-text: #717c89; /* AA 4.5:1 on white for the 11-12px tracked labels */
  --slate-deep:  #26303f;
  --slate-ink:   #1d2532;
  --ground:      #F0F5FA;
  --white:       #FFFFFF;
  --ink:         #111111;
  --rule:        #D1D5DB;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Open Sans', system-ui, -apple-system, sans-serif;

  --w: 1240px;
  --gut: 28px;
  --sect: clamp(96px, 14vw, 170px);
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); }
::selection { background: var(--slate); color: var(--white); }

h1,h2,h3 { font-family: var(--serif); font-weight: 600; line-height: 1.04; margin: 0 0 .4em; letter-spacing: -0.015em; }
h1 { font-size: clamp(3rem, 7.2vw, 5.9rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.55rem; letter-spacing: 0; }
p  { margin: 0 0 1.2em; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--sect) 0; }
.section--ground { background: var(--ground); }
.lede { font-size: 1.25rem; line-height: 1.7; max-width: 58ch; color: var(--slate-ink); }

/* ── the measure motif: eyebrows, numerals, hairlines ─────────────────── */
.kicker { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.kicker .no { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15rem; color: var(--slate-mute-text); }
.kicker .ln { flex: 0 0 64px; height: 1px; background: var(--rule); }
.kicker .tag {
  font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--slate-mute-text);
}
.pull {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.35; color: var(--slate);
  max-width: 30ch; margin: 0;
}

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 17px 34px;
  font-family: var(--sans); font-weight: 700; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn--phone { background: var(--slate); color: var(--white); }
.btn--phone:hover { background: var(--slate-ink); color: var(--white); }
.btn--ghost { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn--ghost:hover { background: var(--slate); color: var(--white); }
/* invert on any slate ground: hero, CTA band, header. This selector list has
   now caused the same invisible-CTA bug TWICE (v1: hero missed because only
   .section--slate was listed; v2: hero missed again while the comment warning
   about it sat directly above). Every slate surface must appear here. If a new
   slate surface is added, add it to ALL FOUR selectors below. */
.on-slate .btn--phone, .hdr .btn--phone, .hero .btn--phone, .band .btn--phone { background: var(--white); color: var(--slate); }
.on-slate .btn--phone:hover, .hdr .btn--phone:hover, .hero .btn--phone:hover, .band .btn--phone:hover { background: var(--ground); color: var(--slate-ink); }
.on-slate .btn--ghost, .hero .btn--ghost, .band .btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.on-slate .btn--ghost:hover, .hero .btn--ghost:hover, .band .btn--ghost:hover { background: var(--white); color: var(--slate); border-color: var(--white); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin: 34px 0 14px; }
.trust { font-size: .92rem; letter-spacing: .02em; color: var(--slate-mute-text); }

/* ── header ───────────────────────────────────────────────────────────── */
.hdr {
  background: var(--slate); position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.hdr__in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px var(--gut); max-width: var(--w); margin: 0 auto; min-height: 70px;
}
.hdr__logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,.85); padding: 4px 0;
  border-bottom: 1px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.nav a:hover { color: var(--white); border-bottom-color: rgba(255,255,255,.5); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--white); }
.hdr__cta { display: flex; gap: 10px; align-items: center; }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; background: linear-gradient(160deg, var(--slate) 0%, var(--slate-deep) 100%); color: var(--white); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(78vh, 760px); }
.hero__copy {
  align-self: center; padding: clamp(70px, 9vw, 120px) 56px clamp(70px, 9vw, 120px)
    max(var(--gut), calc((100vw - var(--w)) / 2 + var(--gut)));
}
.hero__copy h1 { color: var(--white); }
.hero__copy .lede { color: rgba(255,255,255,.86); }
.hero .kicker .tag { color: rgba(255,255,255,.75); }
.hero .kicker .ln { background: rgba(255,255,255,.25); }
.hero .trust { color: rgba(255,255,255,.78); }
.hero__img { position: relative; background-size: cover; background-position: center; min-height: 420px; }
.hero__img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--slate) 0%, rgba(51,65,85,0) 34%);
}
.hero--short .hero__grid { min-height: min(56vh, 540px); }

/* no-photo hero: the spec's watermark line drawing. The drawings are dark ink
   on transparent, invisible on slate, so they are inverted here to read as
   white chalk. Decorative only: always aria-hidden with empty alt. */
.hero__illus { position: relative; display: flex; align-items: center; justify-content: center; padding: 40px; }
.hero__illus img {
  max-height: 72%; width: auto; max-width: 80%;
  filter: invert(1) brightness(1.6); opacity: .22;
}

/* service ticker under the hero */
.ticker { border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.ticker .wrap {
  display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 18px; padding-bottom: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ── ledger (replaces card grids) ─────────────────────────────────────── */
.ledger { margin: 44px 0 0; }
.ledger__row {
  display: grid; grid-template-columns: 72px minmax(180px, 1fr) 2fr auto;
  gap: 20px; align-items: baseline; padding: 26px 0;
  border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit;
}
.ledger__row:first-child { border-top: 1px solid var(--rule); }
.ledger__no { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1rem; color: var(--slate-mute); }
.ledger__name { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; line-height: 1.1; transition: transform .18s ease, color .18s ease; }
.ledger__note { color: var(--slate-ink); font-size: .98rem; margin: 0; }
.ledger__go { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--slate-mute-text); }
a.ledger__row:hover .ledger__name { transform: translateX(6px); color: var(--slate); }
a.ledger__row:hover .ledger__go { color: var(--slate); }

/* spec ledger: the what/note tables inside alteration sections */
.spec { width: 100%; border-collapse: collapse; margin: 26px 0 0; }
.spec td { padding: 16px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.spec tr:first-child td { border-top: 1px solid var(--rule); }
.spec td:first-child {
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
  width: 32%; padding-right: 24px; white-space: nowrap;
}
.spec td:last-child { color: var(--slate-ink); font-size: .98rem; }

/* ── plates (photos + drawings) ───────────────────────────────────────── */
.plate { position: relative; }
.plate__frame { position: relative; }
.plate__frame::after {
  content: ""; position: absolute; inset: 0; transform: translate(14px, 14px);
  border: 1px solid var(--rule); z-index: -1;
}
.plate img { width: 100%; }
.plate--illus img { width: auto; max-height: 440px; margin: 0 auto; }
.plate--illus .plate__frame::after { display: none; }
.plate__cap {
  margin-top: 16px; font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--slate-mute-text);
}

/* paired plates: before/after and shop pairs */
.plates2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); margin-top: 40px; align-items: start; }
@media (max-width: 700px) { .plates2 { grid-template-columns: 1fr; } }

/* editorial split feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feature--flip .feature__copy { order: 2; }

/* ── stat strip ───────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 54px; border-top: 1px solid var(--rule); }
.stat { padding: 34px 28px 0 0; }
.stat + .stat { border-left: 1px solid var(--rule); padding-left: 28px; }
.stat b { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 4vw, 4rem); display: block; line-height: 1; margin-bottom: 10px; }
.stat span { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--slate-mute-text); }

/* ── CTA band ─────────────────────────────────────────────────────────── */
.band { background: linear-gradient(160deg, var(--slate) 0%, var(--slate-deep) 100%); color: var(--white); }
.band h2 { color: var(--white); max-width: 22ch; }
.band .lede { color: rgba(255,255,255,.85); }
.band .trust { color: rgba(255,255,255,.78); }

/* ── footer ───────────────────────────────────────────────────────────── */
.ftr { background: var(--slate-deep); color: rgba(255,255,255,.72); padding: 84px 0 36px; }
.ftr a { color: var(--white); text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr__mark { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--white); line-height: 1.1; margin: 0 0 8px; }
.ftr__tag { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0 0 48px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
.ftr h4 { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0 0 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: .55em; font-size: .95rem; }
.ftr__base { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.45); }

/* ── form ─────────────────────────────────────────────────────────────── */
.form label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--slate-ink); margin-bottom: 8px;
}
.form input, .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 0;
  font-family: var(--sans); font-size: 1rem; margin-bottom: 22px; background: var(--white);
  transition: border-color .15s ease;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--slate); }
.form textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* ── motion: ONE pattern, disabled for reduced motion ─────────────────── */
.rv { opacity: 0; transform: translateY(12px); transition: opacity .5s ease-out, transform .5s ease-out; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .nav a, .ledger__name { transition: none; }
}

/* print: reveal everything; the scroll animation must never blank a printout */
@media print {
  .rv { opacity: 1 !important; transform: none !important; }
}

/* ── FAQ: native details, serif questions, hairline rows ──────────────── */
.faq { margin-top: 44px; border-top: 1px solid var(--rule); max-width: 780px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: baseline; gap: 20px; padding: 22px 0;
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; color: var(--slate-mute); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 24px; max-width: 62ch; color: var(--slate-ink); }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__img { order: -1; min-height: 320px; }
  .hero__img::before { background: linear-gradient(0deg, var(--slate) 0%, rgba(51,65,85,0) 46%); }
  .hero__copy { padding: 56px var(--gut); }
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 28px; margin-top: 28px; }
  .ledger__row { grid-template-columns: 48px 1fr; }
  .ledger__note { grid-column: 2; }
  .ledger__go { grid-column: 2; }
  .ftr__grid { grid-template-columns: 1fr; }
  /* mobile nav: a compact scrollable row, not a hamburger. Hiding the nav
     entirely (v2) orphaned six pages on phones. */
  .hdr__in { flex-wrap: wrap; padding: 10px var(--gut); }
  .hdr { height: auto; }
  .nav {
    order: 3; flex-basis: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    gap: 22px; padding: 8px 0 10px; scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .spec td:first-child { white-space: normal; width: 40%; }
}

/* ══ v3 additions (2026-07-17): cards, icons, dividers, ghost numerals ═══
   Alex: photos need grading, style bland, service cards with full pages,
   more graphic elements to break up text. Same tokens, same motion rule:
   hover transitions only, no new scroll animation. */

/* ── inline icon set: hand-drawn stroke icons, chalk-line weight ──────── */
.ico {
  width: 34px; height: 34px; stroke: currentColor; fill: none;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  display: block; flex: none;
}
.ico--sm { width: 22px; height: 22px; }

/* ── service cards: the ledger's sibling for linked destinations ──────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 48px 0 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 38px 32px 34px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  text-decoration: none; color: var(--ink); background: var(--white);
  transition: background .18s ease;
}
.card:hover { background: var(--ground); }
.card__no {
  position: absolute; top: 20px; right: 24px; font-family: var(--serif);
  font-style: italic; font-weight: 400; font-size: 1.05rem; color: var(--slate-mute);
}
.card .ico { color: var(--slate); transition: transform .18s ease; }
.card:hover .ico { transform: translateY(-3px); }
.card__name { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; line-height: 1.05; }
.card__note { color: var(--slate-ink); font-size: .96rem; margin: 0; flex: 1; }
.card__go {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate-mute-text); transition: color .18s ease;
}
.card:hover .card__go { color: var(--slate); }
.section--ground .card { background: transparent; }
.section--ground .card:hover { background: var(--white); }

/* photo cards (v5, Alex: "on the cards lets use images"). The pic bleeds to
   the card edges via negative margins; the numeral sits over the photo. */
.card__pic { margin: -38px -32px 0; aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card--pic:hover .card__pic img { transform: scale(1.04); }
.card--pic .card__no { color: var(--white); text-shadow: 0 1px 10px rgba(0,0,0,.55); z-index: 1; top: 14px; right: 18px; }

/* ── stitch divider: a basting run between sections ───────────────────── */
.stitch { display: flex; align-items: center; gap: 22px; margin: 0 auto; max-width: var(--w); padding: 0 var(--gut); }
.stitch::before, .stitch::after { content: ""; flex: 1; border-top: 2px dashed var(--rule); }
.stitch .ico { color: var(--slate-mute); width: 26px; height: 26px; }

/* ── ghost numeral: oversized pattern-piece figure behind a section ───── */
.sec { position: relative; overflow: hidden; }
.ghost {
  position: absolute; top: clamp(8px, 3vw, 30px); right: -0.06em; z-index: 0;
  font-family: var(--serif); font-weight: 600; line-height: .8;
  font-size: clamp(11rem, 24vw, 21rem); color: var(--ground);
  user-select: none; pointer-events: none;
}
.section--ground .ghost { color: var(--white); }
.band .ghost, .hero .ghost { color: rgba(255,255,255,.05); }
.sec .wrap { position: relative; z-index: 1; }

/* ── icon chips: the small unglamorous services ───────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.chip {
  display: flex; align-items: center; gap: 12px; padding: 13px 22px;
  border: 1px solid var(--rule); font-size: .95rem; color: var(--slate-ink);
  background: var(--white);
}
.chip .ico { width: 22px; height: 22px; color: var(--slate); }
.section--ground .chip { background: transparent; }

/* ── breadcrumb for service subpages ──────────────────────────────────── */
.crumb { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.crumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.crumb a:hover { color: var(--white); }
.crumb span { color: rgba(255,255,255,.85); }
.crumb em { font-style: normal; color: rgba(255,255,255,.35); padding: 0 8px; }

/* ── sibling-service strip on subpages ────────────────────────────────── */
.sibs { display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.sib {
  flex: 1 1 160px; display: flex; align-items: center; gap: 12px; padding: 20px 22px;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.2rem;
  transition: background .18s ease;
}
.sib .ico { width: 24px; height: 24px; color: var(--slate); }
.sib:hover { background: var(--ground); }

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .ghost { font-size: clamp(7rem, 26vw, 11rem); }
}
@media (prefers-reduced-motion: reduce) {
  .card, .card .ico, .card__go, .sib { transition: none; }
}
