/* Northwind Studio: a stand-in agency website for trying the CodeToShip embed. Plain CSS, no build. */
:root {
  --cream: #faf6f0;
  --paper: #ffffff;
  --ink: #1d1416;
  --soft: #6b5d60;
  --line: #e8dfd3;
  --maroon: #7b1e24;
  --maroon-dark: #5a1218;
  --gold: #c8963e;
  --sand: #f2e9dc;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--maroon); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 0.96rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.15s, color 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* Header */
.top-note { background: var(--ink); color: #f3e9dc; font-size: 0.86rem; text-align: center; padding: 8px 16px; }
.top-note a { color: var(--gold); font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 246, 240, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.logo svg { width: 34px; height: 34px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 500; font-size: 0.96rem; color: var(--soft); }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--ink); }
.nav .btn { padding: 10px 18px; }
@media (max-width: 820px) { .nav ul { display: none; } }

/* Hero */
.hero { padding: 84px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -140px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(200, 150, 62, 0.35), rgba(123, 30, 36, 0.08) 60%, transparent 70%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 18px 0 20px; }
.hero h1 em { font-style: italic; color: var(--maroon); }
.hero p.lead { font-size: 1.15rem; color: var(--soft); max-width: 34rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.proof strong { display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.proof span { font-size: 0.86rem; color: var(--soft); }
.hero-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(90, 18, 24, 0.35); transform: rotate(1.5deg); }
.hero-card .bar { display: flex; gap: 6px; margin-bottom: 16px; }
.hero-card .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock { border-radius: 12px; background: linear-gradient(135deg, var(--maroon), #a33a2a 55%, var(--gold)); height: 200px; position: relative; overflow: hidden; }
.mock::before { content: ""; position: absolute; inset: 22px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, 0.35); }
.mock b { position: absolute; left: 40px; bottom: 36px; color: #fff; font-family: var(--serif); font-size: 1.6rem; max-width: 12rem; line-height: 1.1; }
.score-chip { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.ring { width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--maroon) 0 80%, var(--sand) 0); display: grid; place-items: center; }
.ring span { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; }
.score-chip p { font-size: 0.9rem; color: var(--soft); }
.score-chip strong { color: var(--ink); display: block; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-card { transform: none; } .hero { padding-top: 48px; } }

/* Logos */
.logos { padding: 26px 0; border-block: 1px solid var(--line); background: var(--sand); }
.logos .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; }
.logos p { font-size: 0.84rem; color: var(--soft); text-transform: uppercase; letter-spacing: 0.08em; }
.logos span.brand { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: #8a7a70; }

/* Sections */
section { scroll-margin-top: 90px; }
.section { padding: 96px 0; }
.section-head { max-width: 40rem; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 14px 0 14px; }
.section-head p { color: var(--soft); font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(90, 18, 24, 0.4); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sand); color: var(--maroon); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--soft); font-size: 0.97rem; }

/* Work */
.work .case { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case .thumb { height: 190px; position: relative; }
.case:nth-child(1) .thumb { background: linear-gradient(140deg, #234c3d, #4f8a6c); }
.case:nth-child(2) .thumb { background: linear-gradient(140deg, #1d2a4d, #5470c2); }
.case:nth-child(3) .thumb { background: linear-gradient(140deg, #7b1e24, #d98a4a); }
.case .thumb span { position: absolute; left: 20px; bottom: 16px; color: #fff; font-family: var(--serif); font-size: 1.25rem; }
.case .body { padding: 22px 24px 26px; }
.case .tag { font-size: 0.78rem; font-weight: 600; color: var(--maroon); text-transform: uppercase; letter-spacing: 0.06em; }
.case h3 { font-size: 1.2rem; margin: 6px 0 12px; }
.case .stat { display: flex; gap: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.case .stat strong { display: block; font-family: var(--serif); font-size: 1.5rem; }
.case .stat span { font-size: 0.8rem; color: var(--soft); }

/* Process */
.process { background: var(--ink); color: #f3e9dc; }
.process .section-head p { color: #b9a9a0; }
.process .eyebrow { color: var(--gold); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid #4a3a3d; padding-top: 22px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 2rem; color: var(--gold); display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: #b9a9a0; font-size: 0.95rem; }

/* The free check: where the CodeToShip embed sits */
.check { background: var(--sand); }
.check-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .check-grid { grid-template-columns: 1fr; gap: 32px; } }
.check h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 14px 0 16px; }
.check p.lead { color: var(--soft); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; width: 22px; height: 22px; color: var(--maroon); margin-top: 2px; }
.embed-slot { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 30px 60px -36px rgba(90, 18, 24, 0.35); min-height: 260px; }

/* Voices */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; }
.quote footer { margin-top: 20px; display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--soft); }
.quote .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote footer strong { display: block; color: var(--ink); }

/* Call to action */
.cta { background: linear-gradient(120deg, var(--maroon-dark), var(--maroon)); color: #fff; border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 30rem; }
.cta .btn { background: #fff; color: var(--maroon); }
.cta .btn:hover { background: var(--sand); }
@media (max-width: 620px) { .cta { padding: 36px 26px; } }

/* Footer */
.site-footer { padding: 64px 0 36px; border-top: 1px solid var(--line); margin-top: 96px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { margin: 0 0 14px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.site-footer a:hover { color: var(--maroon); }
.site-footer .about { color: var(--soft); font-size: 0.95rem; margin-top: 14px; max-width: 20rem; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--soft); }

/* The page that holds only the audit */
.audit-page { min-height: 70vh; padding: 64px 0 24px; }
.audit-page .head { text-align: center; max-width: 42rem; margin: 0 auto 36px; }
.audit-page h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin: 14px 0 14px; }
.audit-page .head p { color: var(--soft); font-size: 1.1rem; }
.audit-page .embed-slot { max-width: 820px; margin-inline: auto; }

/* The contact section: the free check shown the three ways, side by side */
.ways { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr; gap: 22px; align-items: start; }
@media (max-width: 1020px) { .ways { grid-template-columns: 1fr; } }
.way { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; }
.way-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--maroon); }
.way h3 { font-size: 1.25rem; }
.way > p { color: var(--soft); font-size: 0.97rem; }
.way .embed-slot { margin-top: 6px; padding: 14px; box-shadow: none; }
.way-links { display: grid; gap: 10px; }
.way-note { font-size: 0.84rem; color: var(--soft); }
.way-note code { background: var(--sand); padding: 1px 6px; border-radius: 6px; }
