/* Eric Akines — Properties of Distinction */
:root {
  --ground: #F6F5F2;
  --ink: #111111;
  --ink-2: #3A3936;
  --muted: #5E5C58;
  --muted-light: #B5B3AE;
  --rule: #DAD8D3;
  --stone: #D9D7D2;
  --night: #1B1B1A;
  --sans: 'Jost', 'Helvetica Neue', sans-serif;
  --serif: 'Spectral', Georgia, serif;
  --gutter: 5vw;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--muted); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.eyebrow { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 200; }
.h-display { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -0.01em; }
.h-section { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; }
.h-2 { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; }
.h-3 { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; }
.body { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.body p { margin: 0 0 1.2em; }
.body p:last-child { margin-bottom: 0; }

/* Links that read as actions */
.link-line { align-self: flex-start; display: inline-block; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid currentColor; background: none; border-top: 0; border-left: 0; border-right: 0; color: inherit; font-family: var(--sans); cursor: pointer; }
.btn-outline { display: inline-block; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; padding: 16px 28px; border: 1px solid currentColor; }
.btn-solid { min-height: 52px; padding: 0 32px; background: var(--ink); color: #fff; border: none; font-family: var(--sans); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer; }
.btn-solid:hover { background: #2B2A28; }
.btn-solid[disabled] { opacity: .5; cursor: wait; }
.on-dark .btn-solid { background: #fff; color: var(--ink); }
.on-dark .btn-solid:hover { background: #E8E6E1; }

/* Header */
.site-header { width: 100%; padding: 28px var(--gutter) 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; border-bottom: 1px solid var(--rule); }
.site-header nav, .site-header .header-actions { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; flex: 1 1 280px; }
.site-header .header-actions { justify-content: flex-end; align-items: center; gap: 12px 28px; }
.site-header nav a, .site-header .header-actions a { padding: 12px 0; color: inherit; }
.site-header nav a:hover, .site-header .header-actions a:hover { opacity: .6; color: inherit; }
.site-header nav a[aria-current="page"] { border-bottom: 1px solid var(--ink); }
.site-header .header-actions .contact-btn { padding: 12px 22px; border: 1px solid var(--ink); }
.wordmark { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 0 1 auto; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.wordmark .name { font-weight: 300; font-size: 26px; letter-spacing: 0.42em; padding-left: 0.42em; }
.wordmark .bar { display: block; width: 56px; height: 1px; background: currentColor; }
.wordmark .tag { font-weight: 400; font-size: 10px; letter-spacing: 0.38em; padding-left: 0.38em; }
@media (max-width: 860px) {
  .site-header { justify-content: center; }
  .wordmark { order: -1; flex-basis: 100%; }
  .site-header nav, .site-header .header-actions { justify-content: center; flex-basis: 100%; gap: 4px 22px; }
}

/* Sections */
.section { width: 100%; padding: 140px var(--gutter); }
.section-tight { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid var(--ink); margin-bottom: 56px; }
@media (max-width: 700px) { .section { padding: 88px var(--gutter); } .section-tight { padding-top: 0; } }

/* Hero */
.hero { position: relative; width: 100%; min-height: min(860px, 92vh); background: var(--night); display: flex; align-items: flex-end; padding: 0 var(--gutter) 96px; overflow: hidden; color: #fff; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,.25) 0%, rgba(17,17,17,.12) 35%, rgba(17,17,17,.72) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 980px; display: flex; flex-direction: column; gap: 36px; padding-top: 120px; }
.hero .eyebrow { color: #E4E2DD; }
.hero a { color: #fff; }
.hero a:hover { color: #D8D6D1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 40px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }

/* Credentials */
.stats { width: 100%; padding: 56px var(--gutter); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat .value { font-family: var(--serif); font-weight: 200; font-size: 48px; line-height: 1; }

/* About */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 80px; align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 32px; max-width: 560px; }

/* Photo frames */
.frame { background: var(--stone); position: relative; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .frame-note { position: absolute; left: 20px; bottom: 20px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-16-9 { aspect-ratio: 16 / 9; }

/* Cards */
.grid-properties { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 72px 48px; }
.grid-journal { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 56px 40px; }
.card { display: flex; flex-direction: column; gap: 20px; }
.card .frame img { transition: transform .8s ease; }
.card:hover .frame img { transform: scale(1.025); }
.card:hover { color: var(--ink); }
.card-meta { display: flex; justify-content: space-between; gap: 16px; }
.card-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card-title { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.2; }
.card-price { font-size: 16px; letter-spacing: 0.06em; white-space: nowrap; }
.card-post-title { font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.3; }
.card-read { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
.loading-block { background: var(--stone); opacity: .55; }
.is-fetching { opacity: .5; transition: opacity .2s; }

/* Testimonial */
.testimonial { background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.testimonial .eyebrow, .testimonial .label { color: var(--muted-light); }
.testimonial blockquote { margin: 0; max-width: 900px; font-family: var(--serif); font-weight: 200; font-style: italic; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.3; }

/* Neighborhood list */
.hoods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 64px; }
.hoods-copy { display: flex; flex-direction: column; gap: 28px; max-width: 460px; }
.hood-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hood-list li { border-top: 1px solid var(--rule); }
.hood-list li:last-child { border-bottom: 1px solid var(--rule); }
.hood-list a { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; gap: 16px; }
.hood-list .hood-name { font-family: var(--serif); font-weight: 300; font-size: 30px; }

/* Report + valuation panels */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 40px; }
.panel { padding: 56px; display: flex; flex-direction: column; gap: 24px; }
.panel-outline { border: 1px solid var(--ink); }
.panel-dark { background: var(--ink); color: #fff; }
.panel-dark .eyebrow { color: var(--muted-light); }
.panel-dark a { color: #fff; }
@media (max-width: 500px) { .panel { padding: 36px 28px; } }

/* Newsletter */
.newsletter { border-top: 1px solid var(--rule); display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; padding-top: 120px; padding-bottom: 120px; }
.newsletter .nl-title { margin: 0; font-family: var(--serif); font-weight: 200; font-style: italic; font-size: clamp(48px, 5vw, 64px); line-height: 1; }
.newsletter .body { max-width: 520px; margin: 0; }

/* Wix forms */
.wform { width: 100%; display: flex; flex-direction: column; gap: 22px; text-align: left; }
.wform .field { display: flex; flex-direction: column; gap: 8px; }
.wform label, .wform .field-label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.wform input[type=text], .wform input[type=email], .wform input[type=tel], .wform input[type=url], .wform input[type=number], .wform input[type=date], .wform select, .wform textarea {
  width: 100%; min-height: 52px; padding: 0 18px; border: 1px solid var(--ink); background: transparent; border-radius: 0;
  font-family: var(--sans); font-weight: 300; font-size: 16px; color: var(--ink); }
.wform textarea { min-height: 140px; padding: 14px 18px; resize: vertical; }
.wform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.wform input::placeholder, .wform textarea::placeholder { color: #7A7873; }
.wform [aria-invalid="true"] { border-color: #8A2A1E; }
.wform .err { font-size: 13px; color: #8A2A1E; margin: 0; }
.wform .help { font-size: 13px; color: var(--muted); margin: 0; }
.wform .form-error { font-size: 14px; color: #8A2A1E; margin: 0; }
.wform .actions { display: flex; }
.wform-inline { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 560px; }
.wform-inline .field { flex: 1 1 280px; }
.wform-inline .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wform-inline .err, .wform-inline .form-error { flex-basis: 100%; text-align: center; }
.form-thanks { font-family: var(--serif); font-weight: 200; font-size: 26px; line-height: 1.4; margin: 0; }
.on-dark .wform input, .on-dark .wform select, .on-dark .wform textarea { border-color: #fff; color: #fff; }
.on-dark .wform select { background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); }
.on-dark .wform select option { color: var(--ink); }
.on-dark .wform label { color: var(--muted-light); }
.on-dark .wform input::placeholder, .on-dark .wform textarea::placeholder { color: #8F8D88; }

/* Page intro */
.page-intro { padding: 120px var(--gutter) 72px; display: flex; flex-direction: column; gap: 24px; max-width: 980px; }
.page-intro .body { max-width: 640px; margin: 0; }

/* Filters */
.chips { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: -24px 0 48px; }
.chip { background: none; border: 0; border-bottom: 1px solid transparent; padding: 8px 0; font-family: var(--sans); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.more-row { display: flex; justify-content: center; margin-top: 72px; }

/* Detail pages */
.detail-hero { width: 100%; max-height: 78vh; aspect-ratio: 16 / 9; background: var(--stone); overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 80px; padding: 96px var(--gutter) 140px; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; gap: 56px; padding-top: 64px; } }
.detail-main { display: flex; flex-direction: column; gap: 28px; max-width: 760px; }
.detail-aside { display: flex; flex-direction: column; gap: 0; align-self: start; border-top: 1px solid var(--ink); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.facts .fact-value { font-size: 16px; letter-spacing: 0.04em; }
.aside-cta { padding-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.rich { font-size: 18px; line-height: 1.8; color: var(--ink-2); }
.rich h2 { font-family: var(--serif); font-weight: 200; font-size: 34px; line-height: 1.2; color: var(--ink); margin: 1.6em 0 .6em; }
.rich h3 { font-family: var(--serif); font-weight: 300; font-size: 26px; color: var(--ink); margin: 1.4em 0 .5em; }
.rich p { margin: 0 0 1.2em; }
.rich ul, .rich ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.rich li { margin-bottom: .4em; }
.rich blockquote { margin: 1.6em 0; padding: 0 0 0 28px; border-left: 1px solid var(--ink); font-family: var(--serif); font-style: italic; font-weight: 200; font-size: 28px; line-height: 1.4; color: var(--ink); }
.rich blockquote p { margin: 0; }
.rich img { margin: 1.6em 0; }
.rich a { border-bottom: 1px solid currentColor; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.back-link { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
.status-line { font-size: 15px; color: var(--muted); padding: 24px 0; }
.empty-state { padding: 48px 0; font-family: var(--serif); font-weight: 200; font-size: 26px; color: var(--muted); }

/* Valuation page */
.valuation-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 80px; padding: 0 var(--gutter) 140px; }
.valuation-copy { display: flex; flex-direction: column; gap: 28px; max-width: 520px; }
.valuation-form { background: #fff; border: 1px solid var(--rule); padding: 56px; }
@media (max-width: 500px) { .valuation-form { padding: 32px 22px; } }
.steps-list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 22px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.steps-list li::before { content: "0" counter(s); font-family: var(--serif); font-weight: 200; font-size: 24px; color: var(--ink); line-height: 1.1; }

/* Footer */
.site-footer { width: 100%; padding: 96px var(--gutter) 48px; background: var(--ink); color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #D8D6D1; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 56px; padding-bottom: 72px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.6; }
.footer-col .label { color: var(--muted-light); }
.footer-mark { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-mark .name { font-weight: 300; font-size: 22px; letter-spacing: 0.42em; }
.footer-mark .bar { display: block; width: 48px; height: 1px; background: #fff; }
.footer-mark .tag { font-weight: 400; font-size: 9px; letter-spacing: 0.38em; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--ink-2); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light); }
.muted-light { color: var(--muted-light); }

/* Market snapshot (neighborhood guides) */
.market { margin: 40px 0 48px; padding: 40px 0 36px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.market-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.market-asof { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 32px; }
.market-tile .v { display: block; font-family: var(--serif); font-weight: 300; font-size: 36px; line-height: 1.1; }
.market-tile .l { display: block; margin-top: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.market-tile .s { display: block; margin-top: 4px; font-size: 13px; opacity: 0.6; }
.market-take { margin-top: 32px; }
.market-source { margin-top: 16px; font-size: 12px; line-height: 1.6; opacity: 0.55; }
/* Market snapshot: by home type + note */
.seg { margin-bottom: 40px; }
.seg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.seg-title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.pace-head { margin-top: 8px; margin-bottom: 24px; }
.seg-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.seg-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.seg-table th, .seg-table td { text-align: left; padding: 16px 16px 16px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.seg-table thead th { border-top: 0; padding-top: 0; font-weight: 400; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.seg-table tbody th { font-family: var(--serif); font-weight: 300; font-size: 20px; }
.seg-table td { font-family: var(--serif); font-weight: 300; font-size: 24px; white-space: nowrap; }
.seg-sub { display: block; margin-top: 4px; font-family: inherit; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; }
.seg-table tbody td .seg-sub { font-family: Jost, sans-serif; }
.market-note { margin-top: 20px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 17px; line-height: 1.6; opacity: 0.85; }
/* Testimonials slider */
.t-viewport { display: grid; width: 100%; max-width: 900px; }
.t-slide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s linear 0.9s; }
.t-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s ease, visibility 0s; }
.t-slide blockquote { margin: 0; font-family: var(--serif); font-weight: 200; font-style: italic; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.35; }
.t-slide .label { color: var(--muted-light); }
.t-detail { display: block; margin-top: 8px; opacity: 0.75; }
.t-detail::before { content: ""; }
.t-controls { display: flex; align-items: center; gap: 28px; }
.t-controls[hidden] { display: none; }
.t-arrow { background: none; border: 0; color: #fff; font-size: 20px; line-height: 1; padding: 8px; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; }
.t-arrow:hover, .t-arrow:focus-visible { opacity: 1; }
.t-dots { display: flex; gap: 12px; }
.t-dot { width: 28px; height: 2px; padding: 0; border: 0; background: rgba(255, 255, 255, 0.3); cursor: pointer; transition: background 0.3s; }
.t-dot.is-active { background: #fff; }
.t-dot:focus-visible, .t-arrow:focus-visible { outline: 1px solid #fff; outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { .t-slide, .t-slide.is-active { transition: none; } }
/* Properties portfolio */
.pf-intro .body { margin-top: 8px; }
.pf-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin: -24px 0 64px; border-bottom: 1px solid var(--rule); }
.pf-tabs { position: relative; display: flex; gap: 40px; }
.pf-tab { background: none; border: 0; padding: 0 0 18px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: color .3s; }
.pf-tab sup { font-size: 9px; letter-spacing: 0.1em; margin-left: 4px; vertical-align: top; opacity: .7; }
.pf-tab:hover, .pf-tab[aria-selected="true"] { color: var(--ink); }
.pf-ink { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--ink); transition: transform .6s cubic-bezier(.2,.7,.1,1), width .6s cubic-bezier(.2,.7,.1,1); }
.pf-sort { padding-bottom: 18px; }
.pf-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 48px; row-gap: 96px; transition: opacity .38s ease; }
.pf-grid.is-out { opacity: 0; }
.pf-card { grid-column: span 4; display: flex; flex-direction: column; gap: 18px; color: var(--ink); }
.pf-card:nth-child(7n+1) { grid-column: 1 / span 7; }
.pf-card:nth-child(7n+2) { grid-column: 9 / span 4; margin-top: 160px; }
.pf-card:nth-child(7n+3) { grid-column: 2 / span 5; }
.pf-card:nth-child(7n+4) { grid-column: 7 / span 6; margin-top: 96px; }
.pf-card:nth-child(7n+5), .pf-card:nth-child(7n+6), .pf-card:nth-child(7n+7) { grid-column: span 4; }
.pf-card:nth-child(7n+6) { margin-top: 72px; }
.pf-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.pf-card:nth-child(7n+1) .pf-media, .pf-card:nth-child(7n+4) .pf-media { aspect-ratio: 3 / 2; }
.pf-card:nth-child(7n+2) .pf-media { aspect-ratio: 4 / 5; }
.pf-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s cubic-bezier(.2,.7,.1,1); }
.pf-media::after { content: ""; position: absolute; inset: 0; background: var(--ground); transform-origin: top; transform: scaleY(1); transition: transform 1.2s cubic-bezier(.7,0,.2,1) calc(var(--i, 0) * 120ms); }
.pf-card.is-in .pf-media::after { transform: scaleY(0); }
.pf-card.is-in .pf-media img { transform: scale(1); }
.pf-card .pf-meta, .pf-card .pf-row, .pf-card .pf-link { opacity: 0; transform: translateY(14px); transition: opacity .9s ease calc(var(--i, 0) * 120ms + 400ms), transform .9s ease calc(var(--i, 0) * 120ms + 400ms); }
.pf-card.is-in .pf-meta, .pf-card.is-in .pf-row, .pf-card.is-in .pf-link { opacity: 1; transform: none; }
a.pf-card:hover .pf-media img, .pf-card:hover .pf-media img { transform: scale(1.04); }
.pf-status { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 7px 12px; background: rgba(246,245,242,.92); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink); }
.pf-veil { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; padding: 28px; background: linear-gradient(to top, rgba(17,17,17,.72), rgba(17,17,17,0) 60%); opacity: 0; transition: opacity .6s ease; }
.pf-hl { color: #fff; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 19px; line-height: 1.4; max-width: 34ch; transform: translateY(10px); transition: transform .6s ease; }
.pf-card:hover .pf-veil, .pf-card:focus-visible .pf-veil { opacity: 1; }
.pf-card:hover .pf-hl, .pf-card:focus-visible .pf-hl { transform: none; }
.pf-meta { display: flex; justify-content: space-between; gap: 16px; }
.pf-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.pf-title { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
.pf-price { font-size: 15px; letter-spacing: 0.08em; white-space: nowrap; }
.pf-link { color: var(--ink); }
@media (max-width: 900px) {
  .pf-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 64px; }
  .pf-card, .pf-card:nth-child(n) { grid-column: span 1; margin-top: 0; }
  .pf-card:nth-child(5n+1) { grid-column: 1 / -1; }
  .pf-card:nth-child(n) .pf-media { aspect-ratio: 4 / 3; }
  .pf-card:nth-child(5n+1) .pf-media { aspect-ratio: 3 / 2; }
  .pf-veil { opacity: 1; background: linear-gradient(to top, rgba(17,17,17,.6), rgba(17,17,17,0) 55%); padding: 16px; }
  .pf-hl { font-size: 15px; transform: none; }
}
@media (max-width: 560px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-card:nth-child(n) { grid-column: 1 / -1; }
  .pf-tabs { gap: 24px; }
  .pf-sort { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-media::after { display: none; }
  .pf-media img, .pf-card .pf-meta, .pf-card .pf-row, .pf-card .pf-link { transform: none; opacity: 1; transition: none; }
}
/* Portfolio v2: sections, regions, sticky nav */
.pf-nav { position: sticky; top: 0; z-index: 20; background: rgba(246,245,242,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.pf-nav-inner { position: relative; display: flex; align-items: center; gap: 36px; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.pf-nav-inner::-webkit-scrollbar { display: none; }
.pf-nav-link { flex: none; padding: 22px 0; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .3s; }
.pf-nav-link sup { font-size: 9px; margin-left: 4px; letter-spacing: .1em; opacity: .7; }
.pf-nav-link:hover, .pf-nav-link.is-active { color: var(--ink); }
.pf-nav-sep { flex: none; padding-left: 36px; border-left: 1px solid var(--rule); color: var(--muted-light); font-size: 10px; }
.pf-nav .pf-ink { bottom: 0; }
html { scroll-padding-top: 80px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.pf-sec { padding-top: 96px; }
.pf-sold > .pf-head { margin-bottom: 24px; }
.pf-region { margin-top: 120px; }
.pf-region:first-of-type { margin-top: 64px; }
.pf-head { position: relative; display: grid; grid-template-columns: 64px 1fr auto; align-items: end; gap: 24px; padding-bottom: 28px; margin-bottom: 72px; }
.pf-num { align-self: start; padding-top: 14px; }
.pf-head-main { display: flex; flex-direction: column; gap: 14px; }
.pf-head-intro { margin: 0; max-width: 560px; font-size: 16px; }
.pf-head-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.pf-rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.7,0,.2,1); }
.pf-head--region .pf-rule { background: var(--rule); }
.pf-head.is-in .pf-rule { transform: scaleX(1); }
.pf-head .pf-head-main, .pf-head .pf-head-meta, .pf-head .pf-num { opacity: 0; transform: translateY(16px); transition: opacity 1s ease .15s, transform 1s ease .15s; }
.pf-head.is-in .pf-head-main, .pf-head.is-in .pf-head-meta, .pf-head.is-in .pf-num { opacity: 1; transform: none; }
.pf-sec > .pf-head .h-section { font-size: clamp(44px, 5vw, 72px); }
@media (max-width: 700px) {
  .pf-head { grid-template-columns: 40px 1fr; margin-bottom: 48px; }
  .pf-head-meta { grid-column: 2; align-items: flex-start; flex-direction: row; gap: 18px; text-align: left; }
  .pf-region { margin-top: 88px; }
  .pf-nav-inner { gap: 26px; }
  .pf-nav-sep { padding-left: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-rule { transform: none; transition: none; }
  .pf-head .pf-head-main, .pf-head .pf-head-meta, .pf-head .pf-num { opacity: 1; transform: none; transition: none; }
}
/* ---- case studies ---- */
.cs-reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.cs-reveal.is-in { opacity: 1; transform: none; }
.cs-intro { padding-bottom: 96px; }
.cs-list { display: flex; flex-direction: column; gap: 140px; padding: 0 var(--gutter) 160px; }
.cs-row { display: grid; grid-template-columns: 7fr 5fr; gap: 6vw; align-items: center; color: var(--ink); }
.cs-row:hover { color: var(--ink); }
.cs-row--flip { grid-template-columns: 5fr 7fr; }
.cs-row--flip .cs-row-img { order: 2; }
.cs-row-img { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone); }
.cs-row-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.cs-row:hover .cs-row-img img { transform: scale(1); }
.cs-row-img::after { content: ""; position: absolute; inset: 0; background: var(--ground); transform-origin: right; transition: transform 1.4s cubic-bezier(.7,0,.2,1) .1s; }
.cs-row.is-in .cs-row-img::after { transform: scaleX(0); }
.cs-row-text { display: flex; flex-direction: column; gap: 18px; }
.cs-row-num { font-family: var(--serif); font-size: 15px; letter-spacing: .1em; color: var(--muted-light); }
.cs-row-title { font-family: var(--serif); font-weight: 200; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.cs-row-card { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 440px; }
.cs-row-link { margin-top: 10px; color: var(--ink); border-bottom: 1px solid var(--ink); align-self: flex-start; padding-bottom: 6px; }
.cs-row-link span { display: inline-block; transition: transform .6s ease; }
.cs-row:hover .cs-row-link span { transform: translateX(6px); }
.cs-hero { padding: 120px var(--gutter) 64px; max-width: 1180px; display: flex; flex-direction: column; gap: 28px; }
.cs-crumb { display: flex; gap: 14px; }
.cs-crumb a { color: var(--muted); }
.cs-title { max-width: 16ch; }
.cs-dek { margin: 0; max-width: 680px; font-family: var(--serif); font-weight: 200; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.45; color: var(--ink-2); }
.cs-meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.cs-cover { margin: 0; padding: 0 var(--gutter); }
.cs-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cs-answer { margin: 96px auto 0; padding: 0 var(--gutter); max-width: 920px; display: flex; flex-direction: column; gap: 18px; }
.cs-answer p { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.4; }
.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 96px var(--gutter) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.cs-stats > div { padding: 36px 28px 40px 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; }
.cs-stats > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.cs-stats dd { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; }
.cs-body { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.cs-sec { display: grid; grid-template-columns: 4fr 7fr; gap: 5vw; padding-top: 120px; }
.cs-h { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; }
.cs-sec p, .cs-pillar p, .cs-faq p { font-size: 17px; line-height: 1.8; color: var(--ink-2); margin: 0 0 1.2em; }
.cs-sec p:last-child { margin-bottom: 0; }
.cs-pillars { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.cs-pillars:has(> li:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
.cs-pillar { padding: 44px 36px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.cs-pillar + .cs-pillar { padding-left: 36px; border-left: 1px solid var(--rule); }
.cs-pillars:has(> li:nth-child(4)) .cs-pillar:nth-child(3) { padding-left: 0; border-left: 0; }
.cs-pillars:has(> li:nth-child(4)) .cs-pillar:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 36px; }
.cs-roman { font-family: var(--serif); font-style: italic; font-weight: 200; font-size: 20px; color: var(--muted); }
.cs-pillar h3 { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; }
.cs-story { margin: 56px 0 0; }
.cs-story + .cs-story { margin-top: 20px; }
.cs-quote { margin: 140px 0 0; padding: 120px var(--gutter); background: var(--night); color: var(--ground); text-align: center; }
.cs-quote blockquote { margin: 0 auto; max-width: 980px; }
.cs-quote p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 200; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.4; }
.cs-quote figcaption { margin-top: 36px; color: var(--muted-light); }
.cs-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 2vw; padding: 140px var(--gutter) 0; }
.cs-gallery figure { margin: 0; }
.cs-gallery figure:first-child { grid-row: span 2; }
.cs-gallery img { width: 100%; height: 100%; object-fit: cover; }
.cs-faq { max-width: 1180px; margin: 0 auto; padding: 140px var(--gutter) 0; display: grid; grid-template-columns: 4fr 7fr; gap: 5vw; }
.cs-faq-list { border-top: 1px solid var(--ink); }
.cs-faq details { border-bottom: 1px solid var(--rule); }
.cs-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; }
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary h3 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 21px; line-height: 1.35; }
.cs-plus { position: relative; flex: 0 0 14px; height: 14px; }
.cs-plus::before, .cs-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .5s ease; }
.cs-plus::after { transform: rotate(90deg); }
.cs-faq details[open] .cs-plus::after { transform: rotate(0); }
.cs-faq details p { padding: 0 48px 28px 0; }
.cs-cta { margin: 160px var(--gutter) 0; padding: 96px 0 120px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.cs-cta-line { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(28px, 3vw, 44px); line-height: 1.15; max-width: 18ch; }
.cs-cta .link-line { align-self: center; }
.cs-more { padding: 0 var(--gutter) 140px; display: flex; flex-direction: column; gap: 36px; }
.cs-more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3vw; }
.cs-more-card { display: flex; flex-direction: column; gap: 14px; }
.cs-more-img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone); }
.cs-more-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.cs-more-card:hover .cs-more-img img { transform: scale(1.04); }
.cs-more-t { font-family: var(--serif); font-weight: 200; font-size: 24px; line-height: 1.2; }
.cs-band { background: var(--night); color: var(--ground); }
.cs-band .eyebrow, .cs-band .label { color: var(--muted-light); }
.cs-band a, .cs-band a:hover, .cs-band .h-section { color: var(--ground); }
.cs-band .link-line { border-color: var(--ground); }
.cs-band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 72px; padding-bottom: 36px; border-bottom: 1px solid #3a3a38; }
@media (max-width: 900px) {
  .cs-row, .cs-row--flip { grid-template-columns: 1fr; gap: 32px; }
  .cs-row--flip .cs-row-img { order: 0; }
  .cs-list { gap: 96px; }
  .cs-stats { grid-template-columns: repeat(2, 1fr); }
  .cs-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .cs-stats > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .cs-sec, .cs-faq { grid-template-columns: 1fr; gap: 24px; padding-top: 88px; }
  .cs-pillars, .cs-pillars:has(> li:nth-child(4)) { grid-template-columns: 1fr; }
  .cs-pillar, .cs-pillar + .cs-pillar { padding: 36px 0 8px; border-left: 0; border-top: 1px solid var(--rule); margin-top: 0 !important; }
  .cs-gallery { grid-template-columns: 1fr; }
  .cs-gallery figure:first-child { grid-row: auto; }
  .cs-quote { padding: 88px var(--gutter); margin-top: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-reveal { opacity: 1; transform: none; transition: none; }
  .cs-row-img::after { display: none; }
  .cs-row-img img { transform: none; }
}
/* cs-noimg */
.cs-noimg { display: flex; align-items: center; justify-content: center; background: var(--night); color: var(--ground); }
.cs-noimg::after { display: none; }
.cs-noimg-t { font-family: var(--serif); font-weight: 200; font-size: clamp(22px, 2.4vw, 36px); letter-spacing: .02em; padding: 0 8%; text-align: center; }
.cs-cover--text { margin: 0 var(--gutter); aspect-ratio: 21 / 9; display: flex; align-items: center; justify-content: center; background: var(--night); color: var(--ground); padding: 0; }
.cs-cover--text span { font-family: var(--serif); font-weight: 200; font-style: italic; font-size: clamp(32px, 4vw, 60px); }
.cs-band .cs-noimg { background: #2a2a28; }
/* journal tabs */
.j-tabs { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: -24px var(--gutter) 64px; border-bottom: 1px solid var(--rule); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.j-tabs a { padding-bottom: 16px; margin-bottom: -1px; color: var(--muted); border-bottom: 1px solid transparent; transition: color .3s ease, border-color .3s ease; }
.j-tabs a:hover { color: var(--ink); }
.j-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
/* distinction tiles */
.dist-tile { display: flex; flex-direction: column; gap: 14px; }
.dist-cover { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); box-shadow: 0 1px 0 var(--rule); }
.dist-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.dist-cover:hover img { transform: scale(1.03); }
.dist-tile .card-post-title { color: var(--ink); }
.dist-links { display: flex; align-items: baseline; gap: 24px; margin-top: 4px; }
.dist-text { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.dist-sub { text-align: center; }
.dist-sub-copy { max-width: 520px; margin: 0 auto 28px; }
.dist-asSent { margin: 0 0 56px; }
/* about page */
.ab-hero { display: grid; grid-template-columns: 7fr 5fr; gap: 6vw; align-items: end; padding: 120px var(--gutter) 0; }
.ab-hero-text { display: flex; flex-direction: column; gap: 28px; padding-bottom: 24px; }
.ab-portrait { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.ab-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ab-note { margin: 120px auto 0; padding: 0 var(--gutter); max-width: 860px; text-align: center; display: flex; flex-direction: column; gap: 28px; }
.ab-note blockquote { margin: 0; }
.ab-note p { margin: 0 0 1em; font-family: var(--serif); font-weight: 200; font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; }
.ab-sign { font-family: var(--serif); font-style: italic; font-size: 26px; }
.ab-list { margin: 0; border-top: 1px solid var(--rule); }
.ab-list > div { display: grid; grid-template-columns: 2fr 3fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.ab-list dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; padding-top: 4px; }
.ab-list dd { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.ab-words { margin: 140px 0 0; padding: 120px var(--gutter); background: var(--night); color: var(--ground); }
.ab-words .eyebrow { color: var(--muted-light); }
.ab-words-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4vw; margin-top: 48px; }
.ab-words figure { margin: 0; }
.ab-words blockquote { margin: 0 0 20px; }
.ab-words p { margin: 0; font-family: var(--serif); font-weight: 200; font-style: italic; font-size: 22px; line-height: 1.45; }
.ab-words figcaption { color: var(--muted-light); }
.cs-cta .link-line + .link-line { margin-top: -8px; }
@media (max-width: 900px) {
  .ab-hero { grid-template-columns: 1fr; gap: 40px; }
  .ab-list > div { grid-template-columns: 1fr; gap: 6px; }
}
/* press page */
.pr-wrap { max-width: 1180px; }
.pr-outlets { margin: 0 0 72px; line-height: 2; }
.pr-list { border-top: 1px solid var(--ink); }
.pr-item { display: flex; flex-direction: column; gap: 14px; padding: 40px 0; border-bottom: 1px solid var(--rule); }
.pr-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pr-outlet { color: var(--ink); }
.pr-h { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.2; max-width: 30ch; }
.pr-h a { color: var(--ink); }
.pr-h a:hover { color: var(--muted); }
.pr-sum { margin: 0; max-width: 720px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.pr-syn { margin: 0; line-height: 1.9; }
.pr-syn a { color: var(--muted); border-bottom: 1px solid var(--rule); }
.pr-item .link-line { margin-top: 6px; }
.pr-sub { margin: 120px 0 40px; font-family: var(--serif); font-weight: 200; font-size: clamp(30px, 2.8vw, 40px); }
.pr-place { max-width: 720px; }
.pr-quote { margin: 6px 0 0; padding-left: 24px; border-left: 1px solid var(--ink); }
.pr-quote p { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-weight: 200; font-size: 22px; line-height: 1.4; }
.pr-quote cite { font-style: normal; }
/* press band */
.press-band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pb-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4vw; padding: 34px var(--gutter); color: var(--ink); }
.pb-inner:hover { color: var(--ink); }
.pb-label { white-space: nowrap; color: var(--ink); }
.pb-more { white-space: nowrap; transition: color .4s ease; }
.pb-inner:hover .pb-more { color: var(--ink); }
.pb-viewport { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.pb-track { display: flex; flex: none; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; animation: pb-scroll 70s linear infinite; }
.pb-track li { flex: none; padding: 0 2.6vw; font-family: var(--serif); font-weight: 200; font-size: clamp(19px, 1.7vw, 26px); letter-spacing: .01em; color: var(--ink-2); white-space: nowrap; position: relative; }
.pb-track li:nth-child(3n+2) { font-style: italic; }
.pb-track li::after { content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--muted-light); transform: translateY(-50%); }
.press-band:hover .pb-track { animation-play-state: paused; }
@keyframes pb-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (max-width: 760px) {
  .pb-inner { grid-template-columns: 1fr; gap: 18px; padding: 28px var(--gutter); }
  .pb-more { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-viewport { -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; }
  .pb-track { animation: none; flex-wrap: wrap; row-gap: 10px; }
  .pb-track[aria-hidden="true"] { display: none; }
}
/* ---- newsletter ---- */
.nl-mast { background: var(--night); color: var(--ground); padding: clamp(56px, 8vw, 112px) var(--gutter) 36px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 6vw; row-gap: 48px; align-items: end; }
.nl-mast .eyebrow, .nl-mast .label { color: #A9A7A2; }
.nl-mast a { color: var(--ground); }
.nl-mast a:hover { color: #A9A7A2; }
.nl-mast-title { margin: 18px 0 0; font-family: var(--serif); font-weight: 200; line-height: 0.92; letter-spacing: -0.02em; }
.nl-name { display: block; font-style: italic; font-size: clamp(76px, 12.5vw, 196px); }
.nl-mast-lede { margin: 28px 0 0; max-width: 34em; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: #D9D7D2; }
.nl-index ol { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid rgba(246, 245, 242, 0.2); }
.nl-index li { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; row-gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(246, 245, 242, 0.2); }
.nl-index-n { grid-row: span 2; padding-top: 9px; }
.nl-index-t { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.2; }
.nl-index-d { font-size: 14px; color: #A9A7A2; letter-spacing: 0.02em; }
.nl-mast-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid rgba(246, 245, 242, 0.2); }
.nl-mast-issue { display: block; padding-bottom: 32px; }
.nl-crumb { display: flex; gap: 12px; }
.nl-mast-issue .nl-mast-title { margin-top: 36px; }
.nl-mast-issue .nl-name { font-size: clamp(64px, 10vw, 150px); }
.nl-issue-line { display: block; margin-top: 18px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 300; letter-spacing: 0; }
.nl-mast-issue .nl-mast-lede { max-width: 40em; }
.nl-mast-issue .nl-mast-foot { margin-top: 40px; justify-content: flex-start; }
.nl-toc { margin-bottom: 40px; }
.nl-toc ol { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.nl-toc li a { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-weight: 300; font-size: 19px; line-height: 1.3; }
.nl-toc-n { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); padding-top: 5px; }
.post-body h2[id], .post-body[id] { scroll-margin-top: 96px; }
.nl-pager { display: flex; justify-content: space-between; gap: 24px; margin: 0 var(--gutter); padding: 32px 0; border-top: 1px solid var(--rule); }
.nl-pager a { display: flex; flex-direction: column; gap: 6px; }
.nl-pager .next { text-align: right; margin-left: auto; }
.nl-pager-t { font-family: var(--serif); font-weight: 300; font-size: 24px; }
.nl-latest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; align-items: center; }
.nl-latest-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.nl-latest-text { display: flex; flex-direction: column; gap: 20px; max-width: 32em; }
.nl-latest-text .dist-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.nl-tile-ex { font-size: 15px; margin: 0; }
@media (max-width: 860px) {
  .nl-mast, .nl-latest { grid-template-columns: 1fr; }
  .nl-pager { flex-direction: column; }
  .nl-pager .next { text-align: left; margin-left: 0; }
}

.nl-reader-body { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
.nl-reader-bar { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; padding: 10px var(--gutter); border-bottom: 1px solid var(--rule); background: var(--ground); }
.nl-reader-mark { font-weight: 300; font-size: 15px; letter-spacing: 0.42em; padding: 10px 0; }
.nl-reader-nav, .nl-reader-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.nl-reader-nav a, .nl-reader-meta a { padding: 10px 0; }
.nl-reader-meta .nl-reader-sub { padding: 10px 18px; border: 1px solid var(--ink); }
.nl-reader { flex: 1 1 auto; min-height: 0; background: #fff; }
.nl-reader iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) {
  .nl-reader-bar { justify-content: center; }
  .nl-reader-meta .label { display: none; }
}

/* ---- market reports ---- */
.mr-name { font-size: clamp(56px, 8.6vw, 132px); }
.nl-index-t a { color: inherit; }
.mr-market .section-head { align-items: baseline; flex-wrap: wrap; gap: 8px 24px; }
.mr-latest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; align-items: center; }
.mr-latest-text { display: flex; flex-direction: column; gap: 20px; max-width: 32em; align-items: flex-start; }
.mr-latest-text .label { margin: 0; }
.mr-cover { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; aspect-ratio: 4 / 5; padding: clamp(28px, 3.4vw, 52px); background: var(--night); color: var(--ground); outline: 1px solid rgba(246, 245, 242, 0.22); outline-offset: -14px; transition: opacity .3s ease; }
a:hover > .mr-cover { opacity: .92; }
.mr-cover .label { color: #A9A7A2; }
.mr-cover-top, .mr-cover-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.mr-cover-market { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 200; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.05; }
.mr-cover-q { margin: 4px 0 14px; font-family: var(--serif); font-weight: 200; font-size: clamp(60px, 7.4vw, 112px); line-height: 0.95; letter-spacing: -0.02em; }
.mr-cover-areas { margin: 0; }
.mr-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 20px; border-top: 1px solid rgba(246, 245, 242, 0.22); }
.mr-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.mr-stats dt { font-size: 10px; letter-spacing: 0.18em; }
.mr-stats dd { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.1; }
.mr-stats dd span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12px; line-height: 1.4; color: #A9A7A2; letter-spacing: 0.02em; }
.mr-cover-sm { padding: 28px; gap: 18px; }
.mr-cover-sm .mr-cover-market { font-size: 24px; }
.mr-cover-sm .mr-cover-q { font-size: clamp(44px, 4.4vw, 64px); }
.mr-cover-sm .mr-stats dd { font-size: 18px; }
.mr-cover-sm .mr-stats dd span { font-size: 11px; }
.mr-cover-light { background: var(--ground); color: var(--ink); outline-color: var(--rule); }
.mr-cover-light .label, .mr-cover-light .mr-stats dd span { color: var(--muted); }
.mr-cover-light .mr-stats { border-top-color: var(--rule); }
.mr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 48px 32px; margin-top: 64px; }
.mr-tile { display: flex; flex-direction: column; gap: 16px; }
.mr-mast-issue { padding-bottom: 56px; }
.mr-mast-eyebrow { margin: 32px 0 0; }
.mr-issue-title { margin: 16px 0 0; font-family: var(--serif); font-weight: 200; font-size: clamp(38px, 4.6vw, 68px); line-height: 1.06; }
.mr-mast-text .nl-mast-foot { margin-top: 36px; justify-content: flex-start; }
.mr-mast-issue .mr-cover { max-width: 520px; width: 100%; justify-self: end; }
@media (max-width: 860px) {
  .mr-latest { grid-template-columns: 1fr; }
  .mr-mast-issue .mr-cover { justify-self: stretch; max-width: none; }
  .mr-stats { gap: 12px; }
}

.nl-mast + .j-tabs { margin-top: 48px; }

.ab-motto { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-weight: 200; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.15; color: var(--ink-2); }

[data-bind="heroHeading"] { white-space: pre-line; }

.cs-gallery-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cs-gallery-5 figure:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.cs-gallery-5 figure:nth-child(2), .cs-gallery-5 figure:nth-child(3) { grid-column: span 2; }
.cs-gallery-5 figure:nth-child(4), .cs-gallery-5 figure:nth-child(5) { grid-column: span 3; }
@media (max-width: 860px) {
  .cs-gallery-5 { grid-template-columns: 1fr; }
  .cs-gallery-5 figure { grid-column: auto !important; grid-row: auto !important; }
}

/* ---- journal card covers ---- */
.frame:has(> .jc) { position: relative; }
.jc { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 7% 8%; outline-offset: -10px; text-align: left; }
.jc p { margin: 0; }
.jc-top, .jc-foot { display: flex; justify-content: space-between; gap: 12px; }
.jc-dark { background: var(--night); color: var(--ground); outline: 1px solid rgba(246, 245, 242, 0.22); }
.jc-dark .label { color: #A9A7A2; }
.jc-light { background: #ECE9E3; color: var(--ink); outline: 1px solid var(--rule); }
.jc-name { font-family: var(--serif); font-style: italic; font-weight: 200; font-size: clamp(44px, 5vw, 76px); line-height: 1; letter-spacing: -0.02em; }
.jc-market { font-family: var(--serif); font-style: italic; font-weight: 200; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.1; }
.jc .jc-q { margin-top: 4px; font-family: var(--serif); font-weight: 200; font-size: clamp(40px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.02em; }
.jc-title { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- slim mobile header ---- */
.menu-btn { display: none; }
@media (max-width: 760px) {
  .site-header { flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px var(--gutter); }
  .site-header .wordmark { order: 0; flex: 0 1 auto; flex-basis: auto; align-items: flex-start; gap: 6px; }
  .site-header .wordmark .name { font-size: 16px; letter-spacing: 0.34em; padding-left: 0; }
  .site-header .wordmark .bar { width: 32px; }
  .site-header .wordmark .tag { font-size: 8px; letter-spacing: 0.28em; padding-left: 0; }
  .site-header nav, .site-header .header-actions { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 44px; min-width: 64px; padding: 0; background: none; border: 0; font: inherit; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink); cursor: pointer; order: 1; }
  .site-header.is-open { flex-wrap: wrap; }
  .site-header.is-open nav { display: flex; order: 2; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 0; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--rule); }
  .site-header.is-open nav a { padding: 12px 0; font-size: 13px; }
  .site-header.is-open .header-actions { display: flex; order: 3; flex-basis: 100%; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0 4px; }
}

/* ---- post pages ---- */
.post-title { font-size: clamp(36px, 4.4vw, 60px); }
.post-cover { aspect-ratio: 21 / 9; }
.post-body > :first-child { margin-top: 0; }
.post-body figure { margin: 2em 0; }
.post-body figure img { width: 100%; height: auto; }
.post-body figcaption { margin-top: 10px; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.post-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.post-body strong { font-weight: 500; color: var(--ink); }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; margin: 2em 0; }
.post-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.post-body th, .post-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.post-body th { font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); border-bottom-color: var(--ink); }
.post-body th p, .post-body td p { margin: 0; }
.post-body .video { position: relative; aspect-ratio: 16 / 9; margin: 2em 0; }
.post-body .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-body video { width: 100%; margin: 2em 0; }
.author-box { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 16px; }
.byline a { color: inherit; border-bottom: 1px solid currentColor; }