@font-face { font-family: 'Instrument Sans'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('../fonts/InstrumentSans-italic-400to700.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/InstrumentSans-normal-400to700.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/InstrumentSerif-italic-400.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/InstrumentSerif-normal-400.woff2') format('woff2'); }

/* =====================================================================
   saundersforwestfield.com — "The Record"
   Instrument Serif + Instrument Sans. Cream paper, black ink, one forest
   green. Westfield appears as the town outline in the section dividers and
   the footer, and as faint street lines behind "Let's Work Together".
   ===================================================================== */

:root {
  --cream: #f9f6ef;
  --paper-rgb: 249, 246, 239;
  --chalk: #efebe2;
  --white: #fffdf8;
  --ink: #141414;
  --ink-2: #454545;
  --ink-3: #6f6c64;
  --forest: #1f4a38;
  --forest-2: #16382a;
  --sage: #dfe8df;
  --sage-2: #cfe0cf;
  --accent-soft: #a9c3af;
  --line: #e1dcd1;
  --line-2: #cfc8b8;

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --r: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 30px 60px -36px rgba(20, 20, 20, .45);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
.thumb picture, .main-story .media picture { height: 100%; }   /* the <picture> wrapper must fill fixed-ratio boxes, or the image sits at its own ratio inside them */
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .96; letter-spacing: -.015em; }
em { font-style: italic; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 12px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- system pieces ---------- */
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; line-height: 1; }
.wordmark b { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.01em; }
.wordmark span { font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); padding-left: 1px; }
.label { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--forest); display: inline-flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.label.plain::before { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 600; font-size: 14.5px; letter-spacing: .02em; padding: 15px 24px; border-radius: 4px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; background: none; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #000; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .6); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .5); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--outline-light { border-color: rgba(var(--paper-rgb), .55); color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn--sm { padding: 11px 16px; font-size: 13.5px; }
.link { font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; transition: color .2s, border-color .2s; }
.link:hover { color: var(--forest); border-color: var(--forest); }
.town-mark { display: inline-block; width: 16px; height: 16px; color: var(--forest); flex: none; }
.town-mark svg { width: 100%; height: 100%; display: block; fill: currentColor; }

/* ---------- motion ---------- */
.up { opacity: 0; transform: translateY(14px); animation: up 1s var(--ease) forwards; }
.up.d1 { animation-delay: .05s } .up.d2 { animation-delay: .18s } .up.d3 { animation-delay: .32s } .up.d4 { animation-delay: .46s }
@keyframes up { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes settle { to { transform: scale(1); } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(var(--paper-rgb), .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav a { font-weight: 600; font-size: 14px; letter-spacing: .02em; color: var(--ink-2); padding: 6px 0; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.nav .m-only { display: none; }
.header .actions { display: flex; gap: 8px; }
.menu-btn { display: none; align-items: center; gap: 8px; }
.menu-btn svg { width: 18px; height: 18px; }
.menu-btn .close, .header.open .menu-btn .open { display: none; }
.header.open .menu-btn .close { display: block; }

/* ---------- hero (home) ---------- */
.hero { position: relative; height: clamp(660px, 88vh, 940px); display: flex; align-items: center; overflow: hidden; background: var(--cream); }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 0%; transform: scale(1.04); transform-origin: 50% 0; animation: settle 12s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--paper-rgb), .98) 0%, rgba(var(--paper-rgb), .94) 30%, rgba(var(--paper-rgb), .62) 46%, rgba(var(--paper-rgb), 0) 62%), linear-gradient(0deg, rgba(var(--paper-rgb), .7) 0%, rgba(var(--paper-rgb), 0) 22%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero .copy { max-width: 640px; }
.hero h1 { font-size: clamp(50px, 6.8vw, 100px); line-height: .92; letter-spacing: -.03em; }
.hero h1 span { display: block; }
.hero h1 .l2 { font-style: italic; color: var(--forest); }
.hero .place { font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 0; }
.hero .tagline { font-family: var(--serif); font-size: clamp(26px, 2.7vw, 40px); line-height: 1.05; letter-spacing: -.01em; margin: 14px 0 30px; color: var(--ink); }
.hero .tagline em { color: var(--forest); }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .micro { display: flex; gap: 32px; flex-wrap: wrap; border-top: 1px solid rgba(20, 20, 20, .18); margin-top: 34px; padding-top: 22px; }
.hero .micro div { font-size: 14px; }
.hero .micro .k { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px; font-weight: 600; }
.hero .micro a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero + .orn { margin-top: 52px; }

/* ---------- divider with the Town of Westfield logo ---------- */
.orn { display: flex; align-items: center; gap: 18px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.orn::before, .orn::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.orn img { display: block; width: auto; height: 60px; }

/* ---------- page head (inner pages) ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 0; }
.page-head h1, .page-head .h1 { font-family: var(--serif); font-size: clamp(48px, 7.4vw, 112px); line-height: .9; letter-spacing: -.03em; margin: 0 0 24px; max-width: 16ch; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.head-row h1 { margin-bottom: 0; }
.page-head h1 em { color: var(--forest); }
.page-head h1.long { font-size: clamp(40px, 5.6vw, 80px); max-width: none; }
.page-head h1, .post-head h1, .contact-page h1, .about-sec h2, .memory h2, .about h2 { text-wrap: balance; }
.page-head .lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 620px; margin: 0 0 28px; }
.page-head .tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--ink); }
.page-head .tabs a { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 12px 0; border-bottom: 2px solid transparent; color: var(--ink-3); margin-bottom: -1px; }
.page-head .tabs a.on { color: var(--ink); border-color: var(--ink); }

/* ---------- values ---------- */
.values { padding: clamp(64px, 8vw, 120px) 0; }
.values .head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.values h2 { font-size: clamp(48px, 6vw, 84px); margin-top: 18px; }
.values .promise { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); line-height: 1.5; margin: 0; max-width: 520px; }
.vlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.vlist li { display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: 28px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding-left .4s var(--ease); }
.vlist li:hover { padding-left: 10px; }
.vlist .n { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--forest); }
.vlist h3 { font-size: clamp(28px, 3vw, 42px); }
.vlist p { margin: 0; color: var(--ink-2); font-size: 16.5px; }

/* ---------- frames (prints) ---------- */
.frame { margin: 0; background: var(--white); padding: 10px; border: 1px solid var(--ink); box-shadow: var(--shadow); }
.frame img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 42%; }
.frame figcaption { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-2); padding: 12px 4px 4px; }

/* ---------- about band (home) + about page ---------- */
.about { background: var(--chalk); padding: clamp(64px, 8vw, 120px) 0; }
.about .wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about h2 { font-size: clamp(36px, 4.2vw, 58px); margin: 18px 0 22px; }
.about p { color: var(--ink-2); font-size: 17px; }
.roles-h { font-family: var(--serif); font-size: 24px; margin: 30px 0 8px; }
.roles { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--ink); }
.roles li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.roles li span { color: var(--ink-3); font-size: 14px; white-space: nowrap; }

.about-lead { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 100px); }
.about-lead .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-lead p { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.about-sec { padding: clamp(56px, 7vw, 100px) 0; }
.about-sec .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-sec.flip .wrap > :first-child { order: 2; }
.about-sec h2 { font-size: clamp(34px, 4vw, 54px); margin: 16px 0 20px; }
.about-sec p { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.about-sec .frame img { aspect-ratio: 4 / 3.6; object-position: 66% 28%; }
.contact-page .frame img { object-position: 95% 30%; }
.about-sec.chalk { background: var(--chalk); }
.about-sec .roles { margin-bottom: 0; }

/* ---------- news ---------- */
.news { padding: clamp(64px, 8vw, 120px) 0; }
.news .head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 8px; flex-wrap: wrap; }
.news h2 { font-size: clamp(48px, 6vw, 84px); }
/* ---------- posts: three across ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 48px) clamp(20px, 2.4vw, 32px); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card[hidden] { display: none; }
.card .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); background: var(--chalk); margin-bottom: 18px; }
.thumb .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.card:hover .thumb .ph { transform: scale(1.03); }
.card .body { display: flex; flex-direction: column; flex: 1; }
.card .kicker { align-self: flex-start; margin-bottom: 10px; }
.card .kicker:hover { text-decoration: underline; text-underline-offset: 3px; }
.card h2, .card h3 { font-size: clamp(24px, 1.9vw, 30px); line-height: 1.04; letter-spacing: -.015em; margin: 0 0 10px; text-wrap: balance; }
.card h2 a, .card h3 a { transition: color .2s; }
.card h2 a:hover, .card h3 a:hover { color: var(--forest); }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; }
.kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--forest); }
.list-thumb-ph { display: grid; place-items: center; background: var(--forest); color: rgba(255,255,255,.85); }
.list-thumb-ph .town-mark { width: 34px; height: 34px; color: inherit; }

/* ---------- topic filters and sort ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0 30px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 44px); }
.filters button { font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -.005em; color: var(--ink-3); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 16px 0 14px; cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.sort { display: inline-flex; align-items: center; gap: 10px; flex: none; margin-left: auto; padding-bottom: 10px; cursor: pointer; }
.sort .k { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.sort select { -webkit-appearance: none; appearance: none; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5l3.5 3.5 3.5-3.5' fill='none' stroke='%23222222' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center / 12px 12px; border: 0; border-radius: 0; padding: 6px 20px 6px 0; cursor: pointer; }
.sort select:hover { color: var(--forest); }
.sort select:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 980px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 0 24px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { padding: 14px 0 12px; }
  .head-row { margin-bottom: 18px; }
  .sort { padding-bottom: 6px; }
}
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; gap: 34px; } }
.meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; row-gap: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.meta span { white-space: nowrap; }
.meta .sep { width: 3px; height: 3px; background: var(--ink-3); border-radius: 50%; }
.news .foot { padding-top: 28px; }
.news-body { padding: 0 0 90px; }
.newsletter { margin-top: 56px; background: var(--forest); color: var(--cream); border-radius: var(--r); padding: clamp(32px, 4.5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.newsletter h2, .newsletter h3 { font-size: clamp(30px, 3.4vw, 44px); }
.newsletter p { margin: 8px 0 0; color: rgba(var(--paper-rgb), .7); font-family: var(--serif); font-style: italic; font-size: 20px; }

/* ---------- post ---------- */
.post-head { padding: clamp(40px, 6vw, 72px) 0 0; }
.post-head .inner { max-width: 860px; }
.post-head h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: .94; letter-spacing: -.025em; margin: 18px 0 20px; }
.post-head .meta { margin-bottom: 30px; }
.post-cover { max-width: 860px; margin: 0 0 clamp(36px, 5vw, 56px); }
.post-cover img { aspect-ratio: auto; object-fit: contain; }
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; color: var(--ink-2); padding-bottom: clamp(40px, 6vw, 72px); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.35em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; margin: 1.9em 0 .6em; }
.prose h2 { font-size: 36px; }
.prose h3 { font-size: 31px; }
.prose h4 { font-size: 25px; }
.prose h2 strong, .prose h3 strong, .prose h4 strong { font-weight: 400; }
.prose ul, .prose ol { margin: 0 0 1.35em; padding-left: 1.5em; }
.prose li { margin: .4em 0; }
.prose li p { margin: 0 0 .4em; }
.prose li ul, .prose li ol { margin: .4em 0 0; }
.prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--forest-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; border: 1px solid var(--line); background: var(--white); }
.prose figcaption { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-3); margin-top: 10px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .video { position: relative; aspect-ratio: 16 / 9; margin: 2em 0; background: var(--chalk); border: 1px solid var(--line); }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .file { display: inline-flex; align-items: center; gap: 14px; margin: .4em 0 1.6em; padding: 14px 18px 14px 14px; border: 1px solid var(--ink); border-radius: 4px; background: var(--white); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.prose .file:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.prose .file .ext { width: 44px; height: 44px; border-radius: 3px; background: var(--forest); color: var(--cream); display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; flex: none; }
.prose .file b { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; }
.prose .file span { font-size: 12.5px; color: var(--ink-3); }
.post-nav { border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; }
.post-nav > * { padding: 26px 0; display: grid; gap: 8px; transition: color .2s; }
.post-nav > :last-child { text-align: right; border-left: 1px solid var(--line); padding-left: 28px; }
.post-nav > :first-child { padding-right: 28px; }
.post-nav a:hover { color: var(--forest); }
.post-nav .k { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.post-nav .t { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; }
.post-nav .empty + a { border-left: 0; }

/* ---------- team ---------- */
.team { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 100px); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px) clamp(16px, 2vw, 28px); }
.member { margin: 0; }
.member .frame { padding: 8px; }
.member .frame img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.member .role { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); margin: 16px 0 6px; line-height: 1.5; }
.member .name { font-family: var(--serif); font-size: 26px; line-height: 1.05; }
.memory { padding: clamp(56px, 7vw, 100px) 0; background: var(--chalk); }
.memory h2 { font-size: clamp(34px, 4vw, 54px); margin: 14px 0 32px; }
.memory .team-grid { grid-template-columns: repeat(4, 1fr); }
.memory .member .frame img { object-position: 50% 30%; }

/* ---------- contact page ---------- */
.contact-page { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 100px); }
.contact-page .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-page h1 { font-size: clamp(48px, 6.4vw, 96px); line-height: .92; letter-spacing: -.03em; margin: 16px 0 22px; }
.contact-page .lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 560px; margin: 0 0 28px; }
.contact-page .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.rows { border-top: 1px solid var(--ink); }
.rows > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows .k { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--forest); }
.rows .v { font-family: var(--serif); font-size: 24px; word-break: break-word; }
.rows .v a:hover { color: var(--forest); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--ink); color: var(--cream); }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- work band ---------- */
.work { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); padding: clamp(72px, 9vw, 130px) 0; }
.work .streets { position: absolute; right: -6%; top: -18%; width: 54%; aspect-ratio: 1082 / 1240; background: var(--cream); opacity: .075; pointer-events: none; -webkit-mask: url("../img/westfield-lines.svg") center / contain no-repeat; mask: url("../img/westfield-lines.svg") center / contain no-repeat; }
.work .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.work .label { color: var(--accent-soft); }
.work h2 { font-size: clamp(52px, 6.6vw, 96px); margin: 18px 0 20px; }
.work p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(var(--paper-rgb), .78); max-width: 520px; }
.work .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.work .rows { border-top-color: rgba(var(--paper-rgb), .25); }
.work .rows > div { border-bottom-color: rgba(var(--paper-rgb), .14); }
.work .rows .k { color: var(--accent-soft); }
.work .rows .v a:hover { color: var(--sage-2); }
.work .social a { border-color: rgba(var(--paper-rgb), .4); color: var(--cream); }
.work .social a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ---------- footer ---------- */
.footer { padding: 40px 0 30px; border-top: 1px solid var(--ink); font-size: 14px; color: var(--ink-2); }
.footer .top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer .bottom { padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }

/* ---------- 404 ---------- */
.notfound { padding: clamp(80px, 12vw, 160px) 0; }
.notfound h1 { font-size: clamp(48px, 8vw, 120px); margin: 16px 0 24px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .values .head, .about .wrap, .about-lead .wrap, .about-sec .wrap, .work .wrap, .contact-page .wrap { grid-template-columns: 1fr; }
  .about-sec.flip .wrap > :first-child { order: 0; }
  .hero { height: auto; display: block; }
  .hero .bg { position: relative; height: 62vw; min-height: 320px; object-position: 62% 20%; transform: none; animation: none; }
  .hero::after { bottom: auto; height: max(62vw, 320px); background: linear-gradient(0deg, var(--cream) 0%, rgba(var(--paper-rgb), .88) 16%, rgba(var(--paper-rgb), 0) 48%); }
  .hero .wrap { margin-top: -44px; padding-bottom: 48px; }
  .hero + .orn { margin-top: 32px; }
  .orn img { height: 50px; }
  .vlist li { grid-template-columns: 60px 1fr; }
  .vlist p { grid-column: 2; }
  .team-grid, .memory .team-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header.open .nav { display: grid; position: absolute; top: 74px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 16px; gap: 0; }
  .header.open .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header.open .nav .m-only { display: block; }
  .header.open .nav .m-only a { color: var(--forest); }
  .header .actions .hide-m { display: none; }
  .wordmark span { display: none; }
  .work .streets { width: 120%; right: -40%; top: 20%; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav > :last-child { text-align: left; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; --r: 20px; }
  .rows > div { grid-template-columns: 1fr; gap: 6px; }
  .team-grid, .memory .team-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .member .name { font-size: 21px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 30px; } .prose h3 { font-size: 26px; } .prose h4 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .up, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .hero .bg { animation: none; transform: none; }
}
@media print {
  .header, .footer, .work, .newsletter, .post-nav, .menu-btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- author unit ---------- */
.author { display: flex; align-items: center; gap: 12px; }
.author .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.author b { display: block; font-size: 14.5px; font-weight: 700; }
.author span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.m-only { display: none; }

/* ---------- post hero ---------- */
.post-hero { padding-top: clamp(28px, 4vw, 48px); }
.post-hero-grid { display: grid; gap: 22px; }
.post-hero h1 { font-size: clamp(40px, 5.8vw, 84px); line-height: .92; letter-spacing: -.03em; max-width: 16ch; margin: 0 0 22px; text-wrap: balance; }
.post-hero .media { margin: 0 0 clamp(24px, 4vw, 40px); max-width: 960px; }
.post-hero .media .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); display: block; }
.post-hero .media figcaption { font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3); margin-top: 8px; }
.post-hero .text { max-width: 860px; }
.post-hero .topics { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.post-hero .topics .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.post-hero .topics a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .post-hero.has-photo .post-hero-grid { gap: 0; }
  .post-hero.has-photo .text { position: relative; }
  .post-hero.has-photo .post-hero-grid { position: relative; border-radius: 10px; overflow: hidden; background: var(--ink); }
  .post-hero.has-photo .media { order: -1; margin: 0; max-width: none; }
  .post-hero.has-photo .media .ph { aspect-ratio: 4 / 5; border: 0; }
  .post-hero.has-photo .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,46,.2) 0%, rgba(10,22,46,0) 30%, rgba(10,22,46,.4) 55%, rgba(10,22,46,.94) 100%); }
  .post-hero.has-photo .media figcaption { position: absolute; right: 12px; top: 12px; color: rgba(255,255,255,.7); margin: 0; font-size: 10px; }
  .post-hero.has-photo .text { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; }
  .post-hero.has-photo .topics { color: rgba(255,255,255,.8); margin-bottom: 10px; }
  .post-hero.has-photo .topics a { color: #fff; } .post-hero.has-photo .topics .sep { background: rgba(255,255,255,.6); }
  .post-hero.has-photo .topics a:not(:first-child), .post-hero.has-photo .topics .sep { display: none; }   /* over the photo, just the first topic */
  .post-hero.has-photo h1 { color: #fff; font-size: 34px; margin-bottom: 14px; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
  .post-hero.has-photo .author b { color: #fff; } .post-hero.has-photo .author span { color: rgba(255,255,255,.75); }
  .post-hero.has-photo .author .avatar { box-shadow: 0 0 0 2px #fff; }
  .post-hero.has-photo + .wrap .prose, article .prose { padding-top: clamp(24px, 5vw, 40px); }
  .post-hero .media { position: relative; }
}

/* ---------- polish: narrow-column bylines, mobile post hero ---------- */
@media (max-width: 980px) {
  .post-hero.has-photo .media figcaption { max-width: 62%; text-align: right; background: rgba(10,22,46,.45); padding: 4px 8px; border-radius: 4px; }
  .post-hero.has-photo .author span { font-size: 10.5px; letter-spacing: .1em; }
}

/* ---------- photo carousel ---------- */
.carousel { padding-bottom: 6px; }
.carousel .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .track:focus-visible { outline: 2px solid var(--forest); outline-offset: -2px; }
.carousel .slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel .slide img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; display: block; }
.carousel figcaption { gap: 12px; }
.carousel figcaption > span:first-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cnav { display: inline-flex; align-items: center; gap: 8px; }
.cnav .arrow { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s, border-color .2s, color .2s; }
.cnav .arrow svg { width: 14px; height: 14px; }
.cnav .arrow:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.dots { display: inline-flex; gap: 6px; padding: 0 2px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line-2); cursor: pointer; transition: background .2s, transform .2s; }
.dots button[aria-current="true"] { background: var(--forest); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .carousel .track { scroll-behavior: auto; } }

:root {
  --cream: #ffffff;
  --white: #ffffff;
  --paper-rgb: 255, 255, 255;
  --chalk: #f7f7f7;
  --ink: #222222;
  --ink-2: #484848;
  --ink-3: #717171;
  --line: #ebebeb;
  --line-2: #dddddd;
}

:root {
  --forest: #1e3f73;
  --forest-2: #162f57;
  --sage: #e1e8f4;
  --sage-2: #c8d7ef;
  --accent-soft: #a9bddc;
}
