/* Quinby Partners — site styles
   Brand: Navy #1B2A3D · Ivory #F6F3EC · Brass #B98A45 · Pine #31473A · Stone #C9C1B2
   Larken loads from /fonts if the licensed files are added; Newsreader is the fallback. */

@font-face { font-family: "Larken"; src: url("/fonts/Larken-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
/* Larken Regular not added yet; until it is, weight 400 text uses Light. Add src/fonts/Larken-Regular.woff2 and restore:
@font-face { font-family: "Larken"; src: url("/fonts/Larken-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; } */

:root {
  --navy: #1B2A3D; --ivory: #F6F3EC; --brass: #B98A45; --brass-text: #8A6A35;
  --pine: #31473A; --stone: #C9C1B2; --paper: #EDE7DA; --muted: #5C5A55; --white: #FFFFFF;
  --serif: Larken, Newsreader, Georgia, serif;
  --sans: Poppins, system-ui, sans-serif;
  --wrap: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--navy); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--brass-text); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 12px 16px; z-index: 10; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 48px; }
@media (max-width: 720px) { .wrap { padding: 0 22px; } }

/* type */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 300; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(44px, 6vw, 80px); }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-text); margin: 0 0 18px; }
.lede { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.42; }
.rule { width: 48px; height: 1px; background: var(--brass); border: 0; margin: 20px 0; }
.small { font-size: 13px; color: var(--muted); }
.caps { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

/* links styled as quiet buttons */
.link { display: inline-block; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 6px; }
.btn { display: inline-block; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 20px 32px; background: var(--pine); color: var(--ivory); }
.btn:hover { background: var(--navy); color: var(--ivory); }
.btn.light { background: var(--ivory); color: var(--navy); }
.btn.light:hover { background: var(--white); color: var(--navy); }

/* header */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 30px; width: auto; display: block; }
.brand .logo-light { display: none; }
.nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px 17px; font-size: 11px; font-weight: 400; letter-spacing: .11em; white-space: nowrap; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 6px 0; }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--brass); }
.nav .contact { border: 1px solid var(--navy); padding: 12px 18px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--navy); padding: 10px 16px; font: inherit; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); min-height: 44px; }
@media (max-width: 1300px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; border-top: 1px solid var(--stone); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--stone); }
  .nav .contact { border: 0; border-bottom: 1px solid var(--stone); padding: 14px 0; }
}

/* sections */
.section { padding: 130px 0; }
.section.tight { padding: 90px 0; }
.section.white { background: var(--white); }
.section.paper { background: var(--paper); }
.section.pine { background: var(--pine); color: var(--ivory); }
.section.navy { background: var(--navy); color: var(--ivory); }
.section.pine a, .section.navy a { color: var(--ivory); }
.section.pine .eyebrow, .section.navy .eyebrow { color: var(--brass); }
@media (max-width: 720px) { .section { padding: 80px 0; } .section.tight { padding: 60px 0; } }

.split { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.split > .side { flex: 1 1 280px; }
.split > .main { flex: 2 1 520px; min-width: 0; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 52px; }
.grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
@media (max-width: 1100px) { .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 48px; } }
@media (max-width: 560px) { .grid.four { grid-template-columns: 1fr; gap: 40px; } }
.center { text-align: center; }
.narrow { max-width: 880px; margin: 0 auto; }

/* b-roll media */
.media { position: relative; background: var(--pine); overflow: hidden; }
.media video, .media img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,42,61,.55), rgba(27,42,61,0) 60%); pointer-events: none; }
.media.plain::after { display: none; }
.media .label { position: absolute; z-index: 1; top: 20px; right: 24px; margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.media .label { display: none; } /* placeholder notes for footage, not shown to visitors */
.media img.poster { transition: opacity .6s ease; }
.media.has-video img.poster { opacity: 0; }
.hero { min-height: 82vh; display: flex; align-items: flex-end; color: var(--ivory); }
.hero.short { min-height: 64vh; }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 88px; }
.hero h1 { max-width: 980px; }
.hero p.sub { max-width: 600px; margin-top: 26px; font-size: 18px; }
.hero .eyebrow { color: var(--brass); }
.band { height: 560px; }
@media (max-width: 720px) { .band { height: 320px; } .hero .wrap { padding-bottom: 56px; } }

/* the fading line */
.we-sell { border-bottom: 1px solid var(--stone); }
.we-sell .first { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.25; margin: 0; }
.we-sell .phrase { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(32px, 4vw, 54px); line-height: 1.25; color: var(--pine); min-height: 2.6em; margin: 10px 0 0; transition: opacity .7s ease; }
.we-sell .phrase.out { opacity: 0; }

/* cards and lists */
.card { text-decoration: none; display: flex; flex-direction: column; gap: 16px; }
.card .ph { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); display: flex; align-items: flex-end; padding: 16px; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .ph.wide { aspect-ratio: 4 / 3; }
.card .no { font-family: var(--serif); font-size: 15px; color: var(--brass-text); white-space: nowrap; }
.card .name { font-family: var(--serif); font-size: 26px; line-height: 1.2; margin: 0; }
.card .meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stone); }
.rows li { border-bottom: 1px solid var(--stone); }
.rows a, .rows .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 0; text-decoration: none; }
.rows .n { font-family: var(--serif); font-size: 28px; line-height: 1.25; }
.rows .m { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); align-self: center; }
.rows p { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.navy .rows, .navy .rows li, .pine .rows, .pine .rows li { border-color: rgba(201,193,178,.4); }

.value { border-top: 1px solid var(--brass); padding-top: 26px; }
.value h3 { font-size: 30px; }
.value p { font-size: 15px; margin-top: 14px; }
.principle { border-top: 1px solid var(--brass); padding-top: 26px; }
.principle .num { font-family: var(--serif); font-size: 15px; color: var(--brass-text); margin: 0 0 8px; }
.principle p { font-size: 16px; margin-top: 16px; }

.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stone); }
.steps li { display: flex; flex-wrap: wrap; gap: 12px 48px; padding: 32px 0; border-bottom: 1px solid var(--stone); }
.steps .num { flex: 0 0 56px; font-family: var(--serif); font-size: 22px; color: var(--brass-text); }
.steps .t { flex: 1 1 260px; font-family: var(--serif); font-size: 28px; line-height: 1.25; }
.steps .b { flex: 2 1 420px; font-size: 16px; }

.table-wrap { overflow-x: auto; }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
table.compare th { text-align: left; font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-text); border-bottom: 1px solid var(--navy); padding: 0 24px 16px 0; }
table.compare td { border-bottom: 1px solid var(--stone); padding: 20px 24px 20px 0; vertical-align: top; }
table.compare td.ours { font-family: var(--serif); font-size: 21px; }
table.compare td.typ { color: var(--muted); }
table.compare td.num { text-align: right; padding-right: 0; }

.stat .big { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5vw, 72px); line-height: 1; margin: 0; }
.stat .cap { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

blockquote.pull { margin: 0; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); padding: 60px 0; text-align: center; }
blockquote.pull p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 3vw, 38px); line-height: 1.35; margin: 0; }
blockquote.pull footer { margin-top: 20px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-text); }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(30px, 3vw, 40px); margin: 56px 0 18px; }
.prose h3 { margin: 36px 0 12px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

details.faq { border-bottom: 1px solid var(--stone); padding: 22px 0; }
details.faq summary { font-family: var(--serif); font-size: 22px; cursor: pointer; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--brass-text); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 14px 0 0; font-size: 16px; }

.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { max-width: 700px; }

.form { display: grid; gap: 16px; max-width: 640px; }
.form label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.form input, .form textarea, .form select { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--stone); background: var(--white); color: var(--navy); }
.form textarea { min-height: 140px; }
.form button { justify-self: start; border: 0; cursor: pointer; }

/* header floating over a full-screen hero */
.has-hero .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; color: var(--ivory); }
.has-hero .site-header a { color: var(--ivory); }
.has-hero .brand .logo-dark { display: none; }
.has-hero .brand .logo-light { display: block; }
.has-hero .nav .contact, .has-hero .menu-toggle { border-color: rgba(246,243,236,.8); color: var(--ivory); }
.has-hero .nav a[aria-current="page"] { border-bottom-color: var(--brass); }
.has-hero .hero { min-height: 100vh; }
.has-hero .hero.short { min-height: 78vh; }
.media.hero::after { background: linear-gradient(to right, rgba(27,42,61,.42) 0%, rgba(27,42,61,.12) 45%, rgba(27,42,61,0) 65%), linear-gradient(to top, rgba(27,42,61,.5), rgba(27,42,61,0) 60%); }
.media.hero .eyebrow, .media.hero .sub, .media.hero h1 { text-shadow: 0 1px 14px rgba(15,24,36,.55), 0 0 2px rgba(15,24,36,.35); }
.media.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 200px; background: linear-gradient(to bottom, rgba(27,42,61,.55), rgba(27,42,61,0)); z-index: 1; pointer-events: none; }
.media.hero .label { top: auto; bottom: 20px; }
@media (max-width: 1300px) {
  .has-hero .nav.open { background: var(--navy); margin: 0 -22px; padding: 0 22px; width: calc(100% + 44px); }
  .has-hero .nav a { border-bottom-color: rgba(201,193,178,.3); }
}

/* one large featured image, caption beneath like a placard */
.feature { padding: 0 0 110px; }
.feature-img { height: min(78vh, 760px); }
.feature-cap { padding-top: 40px; }
.feature-cap h2 { margin-top: 4px; }
.feature-cap .meta { color: var(--muted); margin-top: 10px; }
@media (max-width: 720px) { .feature-img { height: 56vh; } .feature { padding-bottom: 70px; } }

/* testimonials */
.testimonials blockquote.pull p { font-size: clamp(28px, 3.2vw, 42px); }
.t-small { margin-top: 64px; border-top: 1px solid var(--stone); padding-top: 48px; }
.t-small blockquote { margin: 0; }
.t-small p { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.45; margin: 0; }
.t-small footer { margin-top: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-text); }

/* footer */
.site-footer { background: var(--pine); color: var(--stone); padding: 80px 0 40px; font-size: 13px; line-height: 1.8; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.site-footer .col { flex: 1 1 220px; }
.site-footer .col.wide { flex: 1.4 1 300px; }
.site-footer .title { font-family: var(--serif); font-size: 24px; color: var(--ivory); margin: 0 0 8px; }
.site-footer form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.site-footer input { flex: 1 1 200px; background: transparent; border: 1px solid var(--stone); color: var(--ivory); padding: 14px 16px; font: inherit; }
.site-footer button { background: var(--brass); color: var(--navy); border: 0; padding: 14px 22px; font: inherit; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; min-height: 44px; }
.site-footer .legal { border-top: 1px solid rgba(201,193,178,.3); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.eho { display: inline-flex; align-items: center; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .we-sell .phrase { transition: none; }
}

/* ---------- lead forms ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; margin: 4px 0 0; min-height: 1em; }
.lead-form.sent > :not(.form-status) { display: none; }
.lead-form.sent .form-status { font-family: var(--serif); font-size: 22px; color: var(--pine); }
.site-footer .lead-form.sent .form-status { color: var(--ivory); }
.lead-form.inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- the flip book ---------- */
.book-body { margin: 0; height: 100dvh; overflow: hidden; background: var(--ivory); }
.book-top { position: fixed; top: 0; left: 0; right: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 28px; background: var(--ivory); border-bottom: 1px solid rgba(201,193,178,.6); }
.book-top .brand img { height: 26px; }
.book-count { font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.book-print { background: none; border: 1px solid var(--navy); color: var(--navy); font: inherit; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 10px 14px; cursor: pointer; min-height: 40px; }
.book-track { display: flex; height: 100dvh; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
.book-track::-webkit-scrollbar { display: none; }
.bpage { flex: 0 0 100vw; height: 100dvh; scroll-snap-align: start; display: flex; overflow: hidden; }
.bpage.locked { display: none; }
.book-track.unlocked .bpage.locked { display: flex; }
.book-track.unlocked .bpage.gate { display: none; }
.bmedia { position: relative; flex: 1 1 50%; background: var(--pine); margin-top: 69px; }
.bpage.cover .bmedia { margin-top: 0; }
.bmedia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bmedia .label { position: absolute; left: 24px; bottom: 90px; margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.btext { flex: 1 1 50%; display: flex; flex-direction: column; justify-content: center; padding: 110px clamp(28px, 6vw, 96px) 110px; overflow-y: auto; }
.btext h1 { font-size: clamp(40px, 5vw, 72px); }
.btext h2 { font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 26px; }
.btext p { font-size: 17px; max-width: 560px; }
.btext .hint { margin-top: 32px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-text); }
.bpage.cover { position: relative; }
.bpage.text-only .btext { flex-basis: 100%; max-width: 820px; margin: 0 auto; }
.bpage.text-only .btext p { max-width: 640px; }
.bpage.cover .bmedia { position: absolute; inset: 0; }
.bpage.cover .bmedia::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,42,61,.75), rgba(27,42,61,.1) 70%); }
.bpage.cover .btext { position: relative; z-index: 1; justify-content: flex-end; color: var(--ivory); max-width: 900px; }
.bpage.cover .eyebrow, .bpage.cover .hint { color: var(--brass); }
.bpage.gate .btext, .bpage.end .btext { flex-basis: 100%; align-items: flex-start; }
.bpage.gate { background: var(--paper); }
.bpage.gate .btext { max-width: 720px; margin: 0 auto; }
.btext.wide { max-width: 1200px; margin: 0 auto; justify-content: flex-start; }
.end-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; width: 100%; }
.end-grid h2 { font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 12px; }
.book-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 18px; padding: 18px 28px calc(18px + env(safe-area-inset-bottom)); }
.book-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--navy); background: var(--ivory); color: var(--navy); font-size: 18px; cursor: pointer; }
.book-nav button:disabled { opacity: .3; cursor: default; }
.book-progress { flex: 1; height: 1px; background: var(--stone); }
.book-progress span { display: block; height: 1px; width: 0; background: var(--brass); transition: width .4s ease; }
@media (max-width: 820px) {
  .bpage { flex-direction: column; }
  .bmedia { flex: 0 0 38%; margin-top: 61px; }
  .bpage.text-only .btext { padding-top: 90px; }
  .bmedia .label { bottom: 16px; }
  .btext { flex: 1 1 auto; justify-content: flex-start; padding: 28px 24px 110px; }
  .bpage.cover .btext { justify-content: flex-end; }
  .book-top { padding: 12px 18px; }
  .book-top .brand img { height: 22px; }
}
@media print {
  .book-body { height: auto; overflow: visible; }
  .book-top, .book-nav, .bpage.gate, .lead-form, .hint { display: none !important; }
  .book-track { display: block; height: auto; overflow: visible; }
  .bpage, .bpage.locked { display: flex !important; width: 100%; height: 100vh; break-after: page; page-break-after: always; }
  .btext { overflow: visible; }
}
.bpage.end .btext { padding-top: 96px; padding-bottom: 130px; justify-content: flex-start; }
.bpage.end .form { gap: 8px; }
.bpage.end .form input, .bpage.end .form textarea { padding: 10px 14px; }
.bpage.end .form textarea { min-height: 84px; }
.bpage.end .form button { margin-top: 8px; }
.bpage.end h2 { margin-bottom: 8px; }
.bpage.end p { margin-bottom: 14px; }

/* Doing Better band with the publication's coming-soon card */
.db-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.db-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.db-card h2 { margin-top: 0; }
.soon-card { min-width: 0; background: var(--ivory); color: var(--navy); padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; border-top: 3px solid var(--brass); }
.soon-card .eyebrow { color: var(--brass-text); }
.soon-card h2, .soon-card h3 { font-size: clamp(28px, 2.6vw, 38px); margin: 4px 0 16px; }
.soon-card p { font-size: 16px; }
.soon-card .lead-form input { border: 1px solid var(--stone); background: var(--white); color: var(--navy); padding: 14px 16px; font: inherit; flex: 1 1 200px; }
.soon-card .lead-form button { background: var(--pine); color: var(--ivory); border: 0; padding: 14px 20px; font: inherit; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; min-height: 44px; }
.soon-card .lead-form.sent .form-status { color: var(--pine); }
.pine .soon-card a { color: var(--navy); }
@media (max-width: 900px) { .db-grid { grid-template-columns: minmax(0, 1fr); } .soon-card { padding: 36px 28px; } }
.lead-form.inline input { min-width: 0; width: 100%; }

/* Work with us: path chooser */
.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 40px 0 0; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.path-tab { background: none; border: 0; border-right: 1px solid var(--stone); padding: 26px 22px; text-align: left; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); color: var(--navy); cursor: pointer; position: relative; transition: background .3s, color .3s; min-height: 44px; }
.path-tab:last-child { border-right: 0; }
.path-tab .n { display: block; font-size: 14px; color: var(--brass-text); margin-bottom: 8px; }
.path-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.path-tab:hover { background: var(--paper); }
.path-tab[aria-selected="true"] { background: var(--pine); color: var(--ivory); }
.path-tab[aria-selected="true"] .n { color: var(--brass); }
.path-tab[aria-selected="true"]::after { transform: scaleX(1); }
.path-tab:focus-visible { outline: 2px solid var(--brass); outline-offset: -4px; }
.path-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; margin-top: 56px; }
.path-body h3 { font-size: clamp(30px, 3vw, 44px); margin: 0 0 18px; }
.path-body:not([hidden]) { animation: pathIn .5s ease both; }
@keyframes pathIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mini-steps { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: s; }
.mini-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 18px 0; border-top: 1px solid var(--stone); }
.mini-steps li::before { content: counter(s, upper-roman) "."; grid-row: span 2; font-family: var(--serif); color: var(--brass-text); font-size: 18px; }
.mini-steps strong { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.mini-steps span { font-size: 16px; }
.path-form { background: var(--white); padding: 40px; border-top: 3px solid var(--brass); align-self: start; }
@media (prefers-reduced-motion: reduce) { .path-body:not([hidden]) { animation: none; } .path-tab::after { transition: none; } }
@media (max-width: 900px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } .path-tab:nth-child(2) { border-right: 0; } .path-tab:nth-child(-n+2) { border-bottom: 1px solid var(--stone); } .path-panel { grid-template-columns: minmax(0, 1fr); gap: 40px; } .path-form { padding: 28px 22px; } }

/* Doing Better pop-up */
.soon-dialog { border: 0; padding: 0; max-width: 620px; width: calc(100% - 32px); background: transparent; }
.soon-dialog::backdrop { background: rgba(27, 42, 61, .72); }
.soon-dialog .soon-card { box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.soon-dialog .soon-card h2 { font-size: clamp(30px, 3vw, 40px); }
.dialog-close { position: absolute; top: 10px; right: 14px; z-index: 1; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--navy); cursor: pointer; width: 44px; height: 44px; }
.soon-dialog[open] { animation: pathIn .35s ease both; }
.soon-card h2 em { font-style: italic; font-size: clamp(40px, 4vw, 56px); }
.soon-card .pub-from { font-family: var(--serif); font-size: 19px; margin: -6px 0 14px; }
.path-body .mini-steps { margin-top: 28px; }
.path-body .mini-steps li:first-child { border-top: 0; }
.path-body .link::after { content: " →"; }
@media (max-width: 1300px) { .nav a:last-child, .has-hero .nav a.contact:last-child { border-bottom: 0; } }

/* varied home galleries */
.mosaic { display: grid; gap: 48px; }
.mrow { display: flex; gap: 32px; align-items: flex-start; }
.m { margin: 0; min-width: 0; }
.mph { overflow: hidden; background: var(--stone); }
.mph img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) { .mosaic { gap: 40px; } .mrow { flex-direction: column; gap: 40px; } .m { flex: none !important; width: 100%; } }

/* The Details */
.dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
.dt { margin: 0; }
.dt.hide { display: none; }
.dph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.dph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.dt a:hover .dph img { transform: scale(1.03); }
.dt figcaption { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.dt figcaption a { color: var(--ink, inherit); }
.dcraft { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 4px; }
.dfilter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.dfilter button { font: inherit; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--stone); background: transparent; cursor: pointer; color: inherit; }
.dfilter button.on { background: var(--pine); border-color: var(--pine); color: var(--ivory); }
@media (max-width: 1000px) { .dgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }

/* Logo marks */
.site-footer .footer-logo { width: 200px; height: auto; display: block; margin: 0 0 18px; }
.site-footer .footer-arch { display: block; width: 34px; height: auto; margin: 56px auto 0; opacity: .9; }
.site-footer .footer-arch + .legal { margin-top: 20px; }
@media (max-width: 720px) { .brand img { height: 26px; } }

.area-ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 28px; }
.area-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.area-ph:hover img { transform: scale(1.03); }
.pine .principle .num { color: var(--brass); }
.pine .principle p, .pine .value p { color: rgba(246,243,236,.82); }
.media.navy-band { background: var(--navy); }
