/* =========================================================
   Anthony Mangnall — East Wiltshire
   Single-page site styles
   ========================================================= */

@font-face {
  font-family: "Newsreader Display";
  src: url("../fonts/NewsreaderDisplay-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader Text";
  src: url("../fonts/NewsreaderText-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader Text";
  src: url("../fonts/NewsreaderText-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f4ec;
  --paper-deep: #efe9db;
  --paper-card: #fbf8f1;
  --ink: #14211c;
  --ink-2: #39463f;
  --muted: #5f6b63;
  --forest: #16281f;
  --forest-deep: #101d16;
  --cream: #f6f1e6;
  --copper: #b27a45;
  --copper-ink: #8c5a2e;
  --copper-light: #d8a671;
  --line: rgba(20, 33, 28, 0.14);
  --line-strong: rgba(20, 33, 28, 0.26);
  --line-light: rgba(246, 241, 230, 0.16);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Newsreader Display", Georgia, "Times New Roman", serif;
  --font-serif: "Newsreader Text", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

section[id] {
  scroll-margin-top: 96px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  background-image: url("../img/grain.png");
  background-repeat: repeat;
  opacity: 0.32;
  mix-blend-mode: multiply;
  pointer-events: none;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
dl,
dd,
blockquote,
figure {
  margin: 0;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--forest);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: none;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 15px 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.btn .icon {
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  background: var(--forest);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -14px rgba(20, 33, 28, 0.6);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn:active {
  transform: none;
}

.btn-small {
  padding: 11px 16px;
  font-size: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.link-arrow .icon {
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover {
  color: var(--copper-ink);
  border-color: var(--copper);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 236, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--forest);
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-role {
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-desktop {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: 6px;
}

.nav-desktop a {
  position: relative;
  padding: 6px 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.3s ease;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--ink);
}

.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  bottom: 17px;
}

.menu-toggle:hover span:first-child {
  transform: translateY(3px);
}

.menu-toggle:hover span:last-child {
  transform: translateY(-3px);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: 22px var(--pad) 34px;
  background: radial-gradient(120% 90% at 85% 0%, #223b2d 0%, #16281f 55%, #0f1c15 100%);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}

.mobile-menu-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.55);
}

.menu-close {
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}

.menu-close span {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 21px;
  height: 1.5px;
  background: var(--cream);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 22px;
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.mobile-nav a span {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--copper-light);
}

.mobile-menu.is-open .mobile-nav a {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open .mobile-nav a:nth-child(1) {
  transition-delay: 0.12s;
}

.mobile-menu.is-open .mobile-nav a:nth-child(2) {
  transition-delay: 0.18s;
}

.mobile-menu.is-open .mobile-nav a:nth-child(3) {
  transition-delay: 0.24s;
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 44px;
}

.mobile-menu-kicker {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.45);
  margin-bottom: 8px;
}

.mobile-menu-email {
  font-family: var(--font-serif);
  font-size: 20px;
  border-bottom: 1px solid rgba(246, 241, 230, 0.3);
  padding-bottom: 3px;
}

.mobile-menu-note {
  margin-top: 18px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.45);
  line-height: 1.7;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--paper);
}

.hero-top {
  position: relative;
  overflow: hidden;
  overflow: clip;
}

.hero-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 43%;
  overflow: hidden;
  background: radial-gradient(120% 85% at 78% 8%, #223b2d 0%, #16281f 52%, #0f1c15 100%);
}

.contours {
  position: absolute;
  top: -6%;
  left: -10%;
  width: 120%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(ellipse at 55% 45%, #000 30%, transparent 76%);
  mask-image: radial-gradient(ellipse at 55% 45%, #000 30%, transparent 76%);
}

.hero-vertical {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.36);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  min-height: 640px;
  padding-top: 54px;
  padding-bottom: 62px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink-2);
}

.eyebrow-rule {
  width: 34px;
  height: 1px;
  background: var(--copper);
  flex: none;
}

h1 {
  margin: 24px 0 28px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 6.4vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
  margin-bottom: -0.05em;
}

h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: rise 1.15s var(--ease) forwards;
}

h1 .line:nth-child(2) > span {
  animation-delay: 0.1s;
}

@keyframes rise {
  to {
    transform: none;
  }
}

.hero-intro {
  max-width: 46ch;
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}

.hero-figure {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 430px;
  margin-right: clamp(24px, 5vw, 70px);
  animation: fadeUp 1.2s 0.25s var(--ease) both;
}

.portrait-frame {
  position: relative;
  padding: 12px 12px 0;
  background: var(--cream);
  box-shadow: 0 40px 80px -34px rgba(0, 0, 0, 0.65), 0 2px 6px rgba(0, 0, 0, 0.12);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 6px 6px 0;
  border: 1px solid rgba(216, 166, 113, 0.3);
  pointer-events: none;
}

.portrait-frame picture {
  display: block;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.portrait-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 2px 14px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.caption-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--copper);
  flex: none;
}

.eyebrow,
.hero-intro,
.hero-actions {
  animation: fadeUp 1s var(--ease) both;
}

.eyebrow {
  animation-delay: 0.15s;
}

.hero-intro {
  animation-delay: 0.4s;
}

.hero-actions {
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-strip {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 26px 28px 28px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact dt {
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact dd {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* ---------- Shared section furniture ---------- */

.section {
  position: relative;
  padding: clamp(80px, 9vw, 128px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding-bottom: 26px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-ink);
}

.label span {
  color: var(--muted);
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
}

.section-note {
  padding-bottom: 8px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- About ---------- */

.about .wrap {
  max-width: 1080px;
}

.about .section-head {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.about-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.about-aside {
  position: sticky;
  top: 112px;
}

.aside-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.glance div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.glance dt {
  margin-bottom: 3px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.glance dd {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
}

.prose {
  max-width: 660px;
  font-size: 17.5px;
  line-height: 1.78;
  color: var(--ink-2);
}

.prose p + p {
  margin-top: 1.35em;
}

.prose .lede {
  margin-bottom: 1.4em;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.inline-figure {
  margin: 48px 0;
}

.inline-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
}

.inline-figure figcaption {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.pullquote {
  margin-top: 48px;
  padding: 6px 0 6px 28px;
  border-left: 2px solid var(--copper);
}

.pullquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- Beyond Westminster band ---------- */

.band {
  padding: clamp(72px, 8vw, 110px) 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: center;
}

.band-frame {
  padding: 10px;
  background: var(--cream);
  box-shadow: 0 30px 60px -34px rgba(20, 33, 28, 0.42);
}

.band-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.95);
}

.band-figure figcaption {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}

.band-copy .label {
  margin-bottom: 18px;
}

.band-copy h2 {
  margin-bottom: 24px;
}

.band-text {
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
}

.roles {
  margin-top: 36px;
  border-top: 1px solid var(--line-strong);
}

.roles div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.roles dt {
  padding-top: 2px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-ink);
}

.roles dd {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- Priorities ---------- */

.priorities {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
}

.priorities::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 88% 0%, rgba(216, 166, 113, 0.09), transparent 62%);
  pointer-events: none;
}

.priorities .wrap {
  position: relative;
  z-index: 1;
}

.section-head-light {
  border-bottom-color: var(--line-light);
}

.section-head-light h2 {
  color: var(--cream);
}

.section-head-light .label {
  color: var(--copper-light);
}

.section-head-light .label span,
.section-head-light .section-note {
  color: rgba(246, 241, 230, 0.5);
}

.priorities .section-head {
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 40px;
}

.priorities .section-head .label {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.priority {
  display: grid;
  grid-template-columns: 78px minmax(220px, 3.6fr) minmax(0, 6.4fr);
  gap: 40px;
  align-items: start;
  padding: 34px 0 36px;
  border-top: 1px solid var(--line-light);
  transition: background 0.35s ease;
}

.priority:last-child {
  border-bottom: 1px solid var(--line-light);
}

.priority:first-child {
  border-top: 0;
  padding-top: 8px;
}

.priority:hover {
  background: rgba(246, 241, 230, 0.035);
}

.p-num {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--copper-light);
}

.p-icon {
  width: 26px;
  height: 26px;
}

.p-num span {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 230, 0.45);
  font-variant-numeric: tabular-nums;
}

.priority h3 {
  padding-top: 2px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.9vw, 1.6rem);
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--cream);
  text-wrap: balance;
}

.priority p {
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(246, 241, 230, 0.72);
}

/* ---------- Contact ---------- */

.contact {
  padding-bottom: clamp(90px, 10vw, 150px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 100px;
  align-items: center;
}

.contact-copy .label {
  margin-bottom: 22px;
}

.contact-copy h2 {
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  line-height: 0.98;
}

.contact-intro {
  max-width: 34ch;
  margin-top: 26px;
  font-size: 16px;
  color: var(--ink-2);
}

.contact-card {
  position: relative;
  padding: 34px 34px 30px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -40px rgba(20, 33, 28, 0.4);
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 44px;
  height: 3px;
  background: var(--copper);
}

.contact-kicker {
  margin-bottom: 10px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.email-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.contact-email {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  overflow-wrap: anywhere;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-email:hover {
  color: var(--copper-ink);
  border-bottom-color: var(--copper);
}

.copy-btn {
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.copy-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.copy-btn.is-copied {
  color: var(--forest);
  border-color: var(--forest);
}

.contact-card .btn {
  width: 100%;
}

.contact-note {
  margin-top: 20px;
  font-size: 9px;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted);
}

.copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 56px 0 34px;
  background: var(--forest-deep);
  color: var(--cream);
}

.footer-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-light);
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: -0.01em;
}

.footer-role {
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.5);
}

.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-nav a {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.66);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--copper-light);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(246, 241, 230, 0.58);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.6);
  transition: color 0.3s ease;
}

.back-top:hover {
  color: var(--copper-light);
}

.footer-monogram {
  position: absolute;
  right: -20px;
  bottom: -90px;
  font-family: var(--font-display);
  font-size: clamp(180px, 26vw, 340px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(246, 241, 230, 0.024);
  pointer-events: none;
  user-select: none;
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.priority.reveal:nth-child(2) {
  --delay: 0.04s;
}

.priority.reveal:nth-child(3) {
  --delay: 0.08s;
}

.priority.reveal:nth-child(4) {
  --delay: 0.12s;
}

.priority.reveal:nth-child(5) {
  --delay: 0.16s;
}

.priority.reveal:nth-child(6) {
  --delay: 0.2s;
}

.priority.reveal:nth-child(7) {
  --delay: 0.24s;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hero-figure {
    max-width: 400px;
  }

  .band-grid {
    gap: 56px;
  }

  .contact-grid {
    gap: 60px;
  }
}

@media (max-width: 1024px) {
  .nav-desktop {
    gap: 26px;
  }

  h1 {
    font-size: clamp(3.2rem, 6.8vw, 5.2rem);
  }

  .hero-grid {
    min-height: 600px;
  }

  .about-grid {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 48px;
  }

  .priority {
    grid-template-columns: 64px minmax(200px, 3.2fr) minmax(0, 6fr);
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-panel {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: 0;
    padding-top: 46px;
    padding-bottom: 0;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-figure {
    position: relative;
    justify-self: stretch;
    max-width: none;
    margin: 0 calc(var(--pad) * -1);
    padding: 40px var(--pad) 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(110% 90% at 80% 0%, #223b2d 0%, #16281f 55%, #0f1c15 100%);
  }

  .hero-figure::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/contours.svg");
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
  }

  .portrait-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .fact {
    padding: 22px 24px;
    border-top: 1px solid var(--line);
  }

  .fact:nth-child(1),
  .fact:nth-child(2) {
    border-top: 0;
  }

  .fact:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .fact:nth-child(even) {
    padding-right: 0;
  }

  .about .wrap {
    max-width: 720px;
  }

  .about .section-head,
  .priorities .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .priorities .section-head .label {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .prose {
    max-width: none;
  }

  .about-aside {
    display: none;
  }

  .band-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .band-figure {
    order: 1;
  }

  .band-copy {
    order: 2;
  }

  .priority {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 6px 20px;
    padding: 30px 0;
  }

  .p-num {
    grid-row: 1 / span 2;
    flex-direction: column;
    gap: 10px;
  }

  .priority h3 {
    grid-column: 2;
  }

  .priority p {
    grid-column: 2;
    margin-top: 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .contact-copy h2 {
    font-size: clamp(2.6rem, 9vw, 4rem);
  }

  .contact-card {
    max-width: 520px;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-nav a {
    padding: 10px 0;
  }

  .back-top {
    padding: 8px 0;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 22px;
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 15.5px;
  }

  .hero-grid {
    gap: 36px;
    padding-top: 36px;
  }

  .eyebrow {
    gap: 10px;
    font-size: 8.5px;
    letter-spacing: 0.14em;
  }

  .eyebrow-rule {
    width: 22px;
  }

  h1 {
    margin: 20px 0 22px;
    font-size: clamp(3.1rem, 14.5vw, 4.2rem);
  }

  .hero-intro {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .link-arrow {
    justify-content: space-between;
    padding: 12px 0;
  }

  .hero-figure {
    padding-top: 32px;
  }

  .portrait-frame {
    max-width: 360px;
    padding: 9px 9px 0;
  }

  .fact {
    padding: 18px 18px 20px;
  }

  .fact dd {
    font-size: 15px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 36px;
  }

  .section-head .label {
    order: -1;
  }

  .section-note {
    padding-bottom: 0;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .prose {
    font-size: 16.5px;
    line-height: 1.76;
  }

  .prose .lede {
    font-size: 1.24rem;
  }

  .pullquote {
    padding-left: 20px;
  }

  .inline-figure {
    margin: 36px 0;
  }

  .band-frame {
    padding: 7px;
  }

  .roles div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .priority {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 0;
  }

  .p-num {
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .p-icon {
    width: 22px;
    height: 22px;
  }

  .priority h3,
  .priority p {
    grid-column: 1;
  }

  .priority p {
    margin-top: 2px;
  }

  .priority p {
    font-size: 15px;
  }

  .contact-card {
    padding: 26px 22px;
  }

  .email-row {
    gap: 10px;
  }

  .contact-email {
    font-size: 1.2rem;
  }

  .footer-monogram {
    bottom: -40px;
    font-size: 180px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 380px) {
  .contact-email {
    font-size: 1.05rem;
  }
}

/* ---------- Reduced motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  h1 .line > span {
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-menu,
  .hero-panel,
  .hero-vertical,
  .contours,
  .copy-btn,
  .back-top,
  .footer-monogram,
  body::after {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 24px 0;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .priorities {
    background: #fff;
    color: #000;
  }

  .priorities h2,
  .priority h3,
  .priority p {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
