/* smithcasey.com, second pass 2026-10-25.
   Fraunces for anything with a voice, Inter for everything else. Warm paper,
   ink, navy for actions and one gold for the word that matters. Cards sit on
   the page with a soft shadow, buttons are pills, every section is centred
   on its claim and then shows the thing. Prose never drops below 18px. */
:root {
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --white: #ffffff;
  --ink: #0f1419;
  --ink-2: #48525c;
  --ink-3: #7a858f;
  --navy: #1b3a5c;
  --navy-2: #24496f;
  --gold: #b5832a;
  --gold-soft: #f3ead8;
  --rule: #e4e1d9;
  --shadow: 0 1px 2px rgba(15,20,25,.04), 0 14px 34px rgba(15,20,25,.06);
  --shadow-lg: 0 2px 4px rgba(15,20,25,.05), 0 28px 60px rgba(15,20,25,.10);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --prose: 44rem;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.65 var(--sans); letter-spacing: -0.005em; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 50; }

/* ─── chrome ─────────────────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(247,246,242,.82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(15,20,25,.06); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { font: 600 21px/1 var(--serif); font-variation-settings: "opsz" 24; letter-spacing: -0.01em; text-decoration: none; }
.site-head nav { display: flex; align-items: center; gap: 28px; }
.site-head nav ul { list-style: none; padding: 0; display: flex; gap: 24px; }
.site-head nav a:not(.pill) { font: 500 15px/1 var(--sans); text-decoration: none; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-head nav a:not(.pill):hover { color: var(--ink); }
.site-head nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.site-foot { margin-top: clamp(80px, 10vw, 128px); background: var(--ink); color: rgba(255,255,255,.72); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 0 48px; font: 400 15px/1.5 var(--sans); }
.site-foot b { color: #fff; font-weight: 500; }
.site-foot ul { list-style: none; padding: 0; display: flex; gap: 22px; }
.site-foot a { text-decoration: none; color: rgba(255,255,255,.72); }
.site-foot a:hover { color: #fff; }

/* ─── type ───────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); line-height: 1.02; font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; font-variation-settings: "opsz" 96; }
h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 600; font-variation-settings: "opsz" 48; }
p { text-wrap: pretty; }
.accent { color: var(--gold); font-style: normal; }
.kicker { display: block; font: 600 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.lede { font-size: clamp(1.15rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.centered { text-align: center; }
.centered .lede, .centered h2 { margin-left: auto; margin-right: auto; }
.centered h2 { max-width: 22ch; }

/* ─── buttons ────────────────────────────────────────────────────── */
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.centered .actions { justify-content: center; }
.pill, .btn { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--sans); text-decoration: none; padding: 15px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; white-space: nowrap; }
.btn { background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(27,58,92,.25), 0 8px 20px rgba(27,58,92,.18); }
.btn:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.pill.ghost { background: var(--white); color: var(--ink); border-color: var(--rule); box-shadow: var(--shadow); }
.pill.ghost:hover { border-color: var(--ink-3); color: var(--ink); transform: translateY(-1px); }
.pill.small { padding: 10px 16px; font-size: 14px; }
.more { font: 500 15px/1 var(--sans); color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.more::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.more:hover::after { transform: translate(3px, 0) rotate(45deg); }

/* ─── hero ───────────────────────────────────────────────────────── */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-top: 26px; }
.hero .fine { font: 400 15px/1.5 var(--sans); color: var(--ink-3); margin-top: 18px; }

/* the room: six seats at a table and the kinds of things that get said */
.room { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin: 0 auto; width: 100%; }
.room svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.room .seat { fill: var(--white); stroke: var(--rule); stroke-width: 1.5; filter: drop-shadow(0 6px 14px rgba(15,20,25,.08)); }
.room .seat-dot { fill: var(--navy); }
.room .seat-dot.gold { fill: var(--gold); }
.room .table { fill: var(--white); stroke: var(--rule); stroke-width: 1.5; }
.room .halo { fill: url(#halo); }
.room .spoke { stroke: var(--rule); stroke-width: 1; }
.room .label { font: 600 12px var(--sans); letter-spacing: .16em; fill: var(--ink-3); text-transform: uppercase; }
.room .chip { position: absolute; transform: translate(-50%, -50%); background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 13px 8px 10px; font: 500 13.5px/1 var(--sans); color: var(--ink); white-space: nowrap; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 7px; animation: drift 7s ease-in-out infinite; }
.room .chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.room .chip:nth-child(odd) { animation-duration: 8.5s; animation-direction: alternate-reverse; }
@keyframes drift { 0% { margin-top: 0 } 50% { margin-top: -7px } 100% { margin-top: 0 } }

/* ─── sections ───────────────────────────────────────────────────── */
.section { padding: clamp(64px, 8vw, 112px) 0 0; }
.section .lede { margin-top: 18px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 44px; }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.card .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--navy); }
.card .dot.gold { background: var(--gold); }
.card h3 { margin-top: 2px; }
.card p { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.card .more { margin-top: auto; padding-top: 8px; }
.record .card p { font-size: 16.5px; }

/* the session, shown */
.demo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 44px; }
.note { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 26px 28px 28px; }
.note header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.note header b { font: 600 17px/1.2 var(--serif); font-variation-settings: "opsz" 24; display: inline-flex; align-items: center; gap: 9px; }
.note header b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.note header span { font: 500 12.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.note dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.55; }
.note dt { font: 500 13px/1.6 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.note dd { margin: 0; color: var(--ink); }
.note ol { padding-left: 0; list-style: none; counter-reset: step; }
.note ol li { counter-increment: step; display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.55; }
.note ol li::before { content: counter(step); width: 24px; height: 24px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font: 600 12px/24px var(--sans); text-align: center; }
.note .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.note .tag { font: 500 12.5px/1 var(--sans); color: var(--ink-2); background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 7px 11px; display: inline-flex; align-items: center; gap: 6px; }
.note .tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.demo-fine { font: 400 15px/1.5 var(--sans); color: var(--ink-3); text-align: center; margin-top: 18px; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 44px; }
.quotes figure { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 22px; }
.quotes blockquote { font: 400 1.15rem/1.5 var(--serif); font-variation-settings: "opsz" 24; color: var(--ink); flex: 1; }
.quotes blockquote::before { content: "\201C"; display: block; font-size: 2.6rem; line-height: .6; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.quotes figcaption { display: flex; align-items: center; gap: 12px; font: 400 14px/1.35 var(--sans); color: var(--ink-3); }
.quotes figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quotes figcaption b { display: block; font-weight: 600; color: var(--ink); font-size: 15px; }

/* closing band */
.band { margin-top: clamp(72px, 9vw, 120px); background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(64px, 8vw, 104px) 0; }
.band h2 { max-width: 20ch; }
.band p { margin-top: 18px; color: var(--ink-2); }

/* ─── inner pages ────────────────────────────────────────────────── */
.page-head { padding: clamp(56px, 8vw, 96px) 0 0; }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-top: 26px; }
.page-head + .section { padding-top: clamp(40px, 5vw, 64px); }
.prose { max-width: var(--prose); font-size: 18.5px; line-height: 1.68; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2em; max-width: 24ch; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h3 { margin-top: 1.8em; }
.prose h2 + p, .prose h3 + p { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .55em; }
.prose li::marker { color: var(--gold); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.prose blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 2px solid var(--gold); color: var(--ink-2); }
.prose figure.portrait { float: right; width: 236px; margin: .3em 0 1em 2.4em; }
.prose figure.portrait img { border-radius: 14px; box-shadow: var(--shadow); }
.prose .byline { font: 400 15px/1.5 var(--sans); color: var(--ink-3); margin-top: 18px; }
.steps { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 12px; }
.steps li { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow); max-width: 44em; }
.steps b { font-weight: 600; color: var(--ink); }
.questions { padding-left: 1.3em; margin-top: 24px; max-width: 40em; }
.questions li + li { margin-top: .75em; }
.questions li::marker { color: var(--gold); font-family: var(--sans); font-size: 15px; font-weight: 600; }

/* contact */
.form { max-width: 36rem; margin-top: 40px; display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; font: 500 15px/1.4 var(--sans); color: var(--ink-2); }
.form input, .form textarea { font: 400 17px/1.5 var(--sans); color: var(--ink); background: var(--white); border: 1px solid #c9c4b8; border-radius: 12px; padding: 13px 15px; width: 100%; box-shadow: inset 0 1px 2px rgba(15,20,25,.03); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.form textarea { min-height: 180px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form .status { font: 400 16px/1.5 var(--sans); color: var(--ink-2); min-height: 1.5em; }
.form .status.err { color: #8a2d1f; }
.cf-turnstile { min-height: 65px; }
.notfound { padding: clamp(72px, 12vw, 160px) 0; }

/* ─── motion ─────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in, html.no-observer .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .room { max-width: 440px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .site-head .wrap { height: auto; flex-wrap: wrap; padding: 16px 0 14px; row-gap: 10px; }
  .site-head nav ul { gap: 16px; flex-wrap: wrap; }
  .site-head nav .pill { display: none; }
  .room { max-width: 340px; }
  .room .chip[style] { left: clamp(22%, var(--x, 50%), 78%) !important; }
  .room .chip { font-size: 12.5px; padding: 7px 11px 7px 9px; }
  .note dl > div { grid-template-columns: 1fr; gap: 4px; }
  .prose { font-size: 18px; }
  .prose figure.portrait { float: none; width: 200px; margin: 0 0 1.4em; }
  .card { padding: 24px 22px; }
}
