/* Gershman Web Studio — design system
   paper/ink/pine/brass. Fraunces for display, Inter for everything else. */

:root {
  --paper: #F7F7F4;
  --surface: #FFFFFF;
  --ink: #16181D;
  --ink-2: #34383F;
  --muted: #676C74;
  --line: rgba(22, 24, 29, 0.13);
  --line-strong: rgba(22, 24, 29, 0.26);
  --pine: #155E4E;
  --pine-deep: #0E4A3D;
  --brass: #9C7A3C;
  --paper-on-dark: #F4F4EF;
  --muted-on-dark: #A9B3AC;
  --max: 1160px;
  --pad: clamp(20px, 4vw, 40px);
  --display: "Fraunces", ui-serif, Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: var(--sans); background: var(--paper); color: var(--ink);
  font-size: 16.5px; line-height: 1.62; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pine); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.18rem; line-height: 1.3; }

.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 18px;
}
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }
.measure { max-width: 62ch; }
.muted { color: var(--muted); }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .container {
  display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 1.06rem; color: var(--ink); white-space: nowrap; }
nav.main { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
nav.main a {
  color: var(--ink-2); text-decoration: none; font-size: 0.94rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--ink); }
nav.main a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--pine); }

/* buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 4px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border: 1px solid transparent;
}
.btn-solid { background: var(--pine); color: #fff; }
.btn-solid:hover { background: var(--pine-deep); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { padding: 9px 16px; font-size: 0.88rem; }
a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 3px solid var(--brass); outline-offset: 2px;
}

/* hero */
.hero { padding: clamp(52px, 9vw, 96px) 0 clamp(36px, 6vw, 64px); }
.hero .lede { margin: 22px 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.fact-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; margin: clamp(36px, 6vw, 56px) 0 0;
}
.fact { background: var(--surface); padding: 20px 22px; }
.fact strong { font-family: var(--display); font-size: 1.35rem; display: block; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: 0.9rem; }

/* sections */
section.band { padding: clamp(44px, 7vw, 76px) 0 0; }
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 30px; }
.sec-head::after { content: ""; flex: 1; border-top: 1px solid var(--line-strong); }
.sec-link { margin-top: 26px; }

/* work cards */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-grid.wide { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; text-decoration: none; color: var(--ink); display: block;
}
.card:hover { border-color: var(--line-strong); }
.card img { aspect-ratio: 16/10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.card-body { padding: 16px 18px 18px; }
.card-body h3 { margin-bottom: 2px; }
.card-meta { color: var(--muted); font-size: 0.88rem; }
.chip {
  display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--pine); border: 1px solid var(--pine);
  border-radius: 3px; padding: 2px 7px; margin-bottom: 10px;
}
.chip-brass { color: var(--brass); border-color: var(--brass); }

/* process */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--display); font-size: 1.5rem; color: var(--brass); font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 6px; }
.step p { max-width: 58ch; color: var(--ink-2); }

.callout {
  border-left: 3px solid var(--pine); background: var(--surface);
  padding: 18px 22px; border-radius: 0 6px 6px 0; margin-top: 30px; max-width: 640px;
}

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.tier {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px;
}
.tier.featured { border-color: var(--pine); border-width: 2px; }
.tier .chip { margin-bottom: 14px; }
.tier h3 { font-size: 1.3rem; }
.price { font-family: var(--display); font-size: 2.2rem; font-weight: 600; margin: 10px 0 2px; font-variant-numeric: tabular-nums; }
.price-split { color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.tier-desc { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 16px; }
.tier ul { list-style: none; border-top: 1px solid var(--line); padding-top: 14px; }
.tier li { padding: 5px 0 5px 22px; position: relative; font-size: 0.93rem; color: var(--ink-2); }
.tier li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 9px; border-radius: 2px; background: var(--pine); opacity: 0.85; }
.tiers-note { margin-top: 22px; color: var(--muted); font-size: 0.92rem; max-width: 70ch; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 44px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: var(--ink-2); font-size: 0.95rem; max-width: 52ch; }

/* contact band */
.contact-band {
  background: var(--pine-deep); color: var(--paper-on-dark); border-radius: 8px;
  padding: clamp(32px, 5vw, 52px); margin-top: clamp(48px, 8vw, 80px);
}
.contact-band h2 { color: var(--paper-on-dark); }
.contact-band p { color: var(--muted-on-dark); max-width: 56ch; }
.contact-band .btn-solid { background: var(--paper-on-dark); color: var(--pine-deep); margin-top: 20px; }
.contact-band .btn-solid:hover { background: #fff; }
.contact-email { font-family: var(--display); font-size: clamp(1.4rem, 3.5vw, 2rem); }
.contact-email a { color: var(--paper-on-dark); text-decoration-color: var(--brass); }

dl.contact-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 34px; }
dl.contact-details dt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
dl.contact-details dd { color: var(--ink-2); }

/* footer */
footer.site {
  margin-top: clamp(56px, 9vw, 96px); background: var(--ink); color: var(--muted-on-dark);
  padding: 44px 0 40px; font-size: 0.92rem;
}
footer.site .cols { display: flex; gap: 44px; flex-wrap: wrap; justify-content: space-between; }
footer.site .brand span { color: var(--paper-on-dark); }
footer.site p { max-width: 44ch; margin-top: 12px; }
footer.site h4 { color: var(--paper-on-dark); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
footer.site ul { list-style: none; }
footer.site li { padding: 3px 0; }
footer.site a { color: var(--muted-on-dark); text-decoration: none; }
footer.site a:hover { color: var(--paper-on-dark); }
.foot-bottom { border-top: 1px solid rgba(244,244,239,0.14); margin-top: 34px; padding-top: 20px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }

/* legal pages */
.legal h1 { margin: 26px 0 24px; }
.legal p { max-width: 62ch; margin-bottom: 16px; color: var(--ink-2); }

@media (max-width: 900px) {
  .work-grid, .tiers { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .work-grid, .work-grid.wide, .tiers, .fact-strip { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; }
  .site-head .container { flex-wrap: wrap; gap: 12px 20px; }
  .brand { margin-right: 0; width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .card { transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease; }
  .card:hover { transform: translateY(-2px); }
}
