/* ---------- Tokens ---------- */
:root {
  --ink: #111110;
  --ink-soft: #2c2a27;
  --paper: #f4f1eb;
  --paper-2: #ebe6dc;
  --paper-3: #e2dbcd;
  --muted: #6e6960;
  --line: rgba(17, 17, 16, 0.12);
  --accent: #9c7450;
  --accent-dark: #7f5c3d;
  --accent-light: #d6b493;

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, sans-serif;

  --radius-sm: 2px;
  --radius: 6px;
  --container: 1280px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-grain: 1;
  --z-mobile-bar: 40;
  --z-header: 50;
  --z-skip: 60;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
/* Subtle film grain to break up flat surfaces */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 8.5vw, 7.5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.02em; }
h3 { font-size: 1.75rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: italic; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-skip);
  padding: 10px 18px; background: var(--ink); color: var(--paper); text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: italic 400 1.15rem var(--serif);
  color: var(--accent);
  margin-bottom: 1.2em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.section { padding: clamp(88px, 11vw, 160px) 0 clamp(100px, 12vw, 176px); position: relative; }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 120px); align-items: start; }
.measure { max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  font: 500 0.95rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:active { transform: scale(0.98); }
.btn-small { padding: 10px 18px; font-size: 0.88rem; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--accent-light); border-color: var(--accent-light); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.link-arrow { font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color 0.2s, gap 0.25s var(--ease); }
.link-arrow::after { content: "→"; }
.link-arrow:hover { color: var(--accent); gap: 12px; }
.link-light { color: var(--paper); }
.link-light:hover { color: var(--accent-light); }

/* ---------- Announcement ---------- */
.announce {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 18px;
  padding: 10px 24px;
  background: var(--ink);
  color: rgba(244, 241, 235, 0.8);
  font-size: 0.86rem;
  text-align: center;
}
.announce p { margin: 0; }
.announce strong { color: var(--accent-light); font-weight: 500; }
.announce-link { color: var(--paper); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(244,241,235,0.4); }
.announce-link:hover { border-color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(244, 241, 235, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { display: block; width: auto; }
.logo-mark { height: 42px; }
.logo-wordmark { height: 30px; }
.site-footer .logo-mark { height: 56px; }
.site-footer .logo-wordmark { height: 40px; }

.site-nav > ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav a, .dropdown-trigger { font: 500 0.94rem var(--sans); text-decoration: none; color: var(--ink); }
.site-nav > ul > li > a:not(.btn), .dropdown-trigger { position: relative; padding: 6px 0; }
.site-nav > ul > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav > ul > li > a:not(.btn):hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--accent-dark); }
.site-nav .btn { color: var(--paper); }

.has-dropdown { position: relative; }
.dropdown-trigger { background: none; border: 0; cursor: pointer; }
.dropdown-trigger:hover { color: var(--accent-dark); }
.dropdown-trigger::after { content: ""; display: inline-block; margin-left: 7px; width: 5px; height: 5px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-3px) rotate(45deg); transition: transform 0.25s var(--ease); }
.has-dropdown:hover .dropdown-trigger::after, .has-dropdown.open .dropdown-trigger::after { transform: translateY(0) rotate(-135deg); }
.dropdown {
  position: absolute; top: calc(100% + 18px); left: -20px;
  min-width: 250px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(60, 44, 28, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.dropdown::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.dropdown a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); transition: background 0.2s; }
.dropdown a:hover { background: var(--paper-2); }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span:not(.sr-only) { position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero: autoplaying film ---------- */
.hero {
  position: relative;
  height: calc(100dvh - var(--header-h) - 40px);
  min-height: 560px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-sticky { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.hero-media {
  position: absolute; inset: 0;
  background: url("images/hero-poster.jpg") center / cover; /* first film frame, shown until frames load */
  animation: slowzoom 2.4s var(--ease) both;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(17,17,16,0.7) 0%, rgba(17,17,16,0.1) 62%),
    linear-gradient(180deg, rgba(17,17,16,0.25) 0%, rgba(17,17,16,0) 30%, rgba(17,17,16,0.8) 100%);
}
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-content { position: relative; padding-bottom: clamp(64px, 9vw, 120px); padding-top: 120px; }

.scroll-cue {
  position: absolute; right: clamp(16px, 4vw, 40px); bottom: 32px;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244,241,235,0.6);
  display: flex; align-items: center; gap: 12px;
  transition: opacity 0.4s var(--ease);
}
.scroll-cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(rgba(244,241,235,0.7), transparent); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero h1 em { color: var(--accent-light); }
.hero .eyebrow { color: var(--accent-light); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 48ch; color: rgba(244,241,235,0.82); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }

.hero-content > * { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.hero-content > :nth-child(2) { animation-delay: 0.12s; }
.hero-content > :nth-child(3) { animation-delay: 0.24s; }
.hero-content > :nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Two paths ---------- */
.paths { background: var(--ink); }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(244,241,235,0.12); }
.path { display: flex; flex-direction: column; gap: 8px; padding: 44px 48px 52px 0; color: var(--paper); text-decoration: none; position: relative; }
.path + .path { padding-left: 48px; border-left: 1px solid rgba(244,241,235,0.12); }
.path-label { font: italic 400 1.05rem var(--serif); color: var(--accent-light); }
.path strong { font: 400 2.2rem/1.1 var(--serif); letter-spacing: -0.01em; }
.path strong::after { content: " →"; font-family: var(--sans); font-size: 1.2rem; color: var(--accent-light); display: inline-block; transition: transform 0.3s var(--ease); }
.path:hover strong::after { transform: translateX(8px); }
.path-desc { color: rgba(244,241,235,0.62); max-width: 44ch; }

/* ---------- About ---------- */
.about-copy p { color: var(--ink-soft); font-size: 1.1rem; max-width: 58ch; }
.about-copy .link-arrow { margin-top: 12px; }

/* ---------- Stats ---------- */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0 72px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0 auto; }
.stats > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.stats dt { font: 400 clamp(2.8rem, 5.5vw, 4.6rem)/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats dd { margin: 12px 0 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head h2 { margin: 0; }

/* ---------- Projects: featured + stacked ---------- */
.projects-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 48px 40px; }
.project-card { display: flex; flex-direction: column; }
.project-card.featured { grid-row: span 2; }
.project-media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background-color: var(--paper-3);
}
.project-card.featured .project-media { aspect-ratio: 4 / 4.2; }
.project-media .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.9s var(--ease);
}
.project-card:hover .project-media .img { transform: scale(1.05); }
.media-1 { background-image: url("images/halden.jpg"); }
.media-2 { background-image: url("images/northline.jpg"); }
.media-3 { background-image: url("images/cedar-stone.jpg"); }
.tag { position: absolute; top: 16px; left: 16px; z-index: 1; background: var(--paper); padding: 6px 12px; font-size: 0.76rem; font-weight: 500; border-radius: var(--radius-sm); }
.project-body { padding-top: 22px; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: end; }
.project-body h3 { margin: 0; }
.project-card.featured h3 { font-size: 2.4rem; }
.project-tagline { color: var(--ink-soft); margin: 0; grid-column: 1; }
.project-address { color: var(--muted); font-size: 0.9rem; margin: 0; grid-column: 1; }
.project-body .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }

/* ---------- Services ---------- */
.services { background: var(--paper-2); }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.service {
  display: grid; grid-template-columns: 80px 1fr 1.1fr; gap: 24px; align-items: baseline;
  padding: 36px 0; border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease);
}
.service:hover { padding-left: 12px; }
.service-num { font: italic 400 1.2rem var(--serif); color: var(--accent); }
.service h3 { margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.service p { margin: 0; color: var(--ink-soft); max-width: 52ch; }
.services-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 48px; }
.services-foot p { margin: 0; color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Portfolio sectors: asymmetric ---------- */
.sectors { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; height: clamp(560px, 62vw, 760px); }
.sector-1 { grid-row: span 2; }
.sector {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: clamp(24px, 3vw, 36px);
  color: var(--paper); text-decoration: none;
  border-radius: var(--radius);
  isolation: isolate;
}
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; background-image: var(--img); transition: transform 0.9s var(--ease); }
.sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(17,17,16,0.82), rgba(17,17,16,0) 60%); }
.sector:hover::before { transform: scale(1.05); }
.sector-1 { --img: url("images/sector-residential.jpg"); }
.sector-2 { --img: url("images/sector-commercial.jpg"); }
.sector-3 { --img: url("images/sector-industrial.jpg"); }
.sector-count { font: italic 400 1.05rem var(--serif); color: var(--accent-light); font-variant-numeric: tabular-nums; }
.sector strong { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.05 var(--serif); }
.sector-link { font-size: 0.9rem; opacity: 0; transform: translateY(8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.sector:hover .sector-link, .sector:focus-visible .sector-link { opacity: 1; transform: none; }

/* ---------- Process ---------- */
.process { background: var(--paper); }
.process .split { align-items: end; margin-bottom: 64px; }
.process-intro { color: var(--ink-soft); font-size: 1.1rem; max-width: 50ch; margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { position: relative; padding: 32px 28px 8px 0; border-top: 1px solid var(--line); }
.steps li + li { padding-left: 28px; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.8s var(--ease); }
.steps li + li::before { left: 28px; }
.steps.visible li::before { width: 48px; }
.steps.visible li:nth-child(2)::before { transition-delay: 0.15s; }
.steps.visible li:nth-child(3)::before { transition-delay: 0.3s; }
.steps.visible li:nth-child(4)::before { transition-delay: 0.45s; }
.step-num { display: block; font: italic 400 3.2rem/1 var(--serif); color: var(--accent); margin-bottom: 20px; }
.steps p { color: var(--ink-soft); }

/* ---------- Mission (photo-backed) ---------- */
.mission {
  position: relative; color: var(--paper); text-align: center;
  padding: clamp(110px, 14vw, 200px) 0 clamp(120px, 15vw, 210px);
  background: linear-gradient(rgba(17,17,16,0.78), rgba(17,17,16,0.82)), url("images/construction.jpg") center / cover;
}
.mission blockquote { font: italic 400 clamp(2rem, 4.2vw, 3.6rem)/1.18 var(--serif); letter-spacing: -0.01em; max-width: 22ch; margin: 0 auto 32px; text-wrap: balance; }
.mission-cite { color: var(--accent-light); font-size: 0.92rem; }

/* ---------- Safety & careers ---------- */
.safety p { color: var(--ink-soft); font-size: 1.1rem; max-width: 54ch; }
.checks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { padding-left: 32px; position: relative; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 7px; height: 13px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
.careers-card { background: var(--paper-2); padding: clamp(32px, 4vw, 56px); border-radius: var(--radius); align-self: center; margin-top: 40px; }
.careers-card h3 { font-size: 2.4rem; }

/* ---------- Invest ---------- */
.invest { background: var(--paper-2); }
.invest .split { align-items: center; grid-template-columns: 6fr 5fr; }
.invest-media { aspect-ratio: 5 / 4; border-radius: var(--radius); background: url("images/hero.jpg") 30% center / cover; }
.invest p { color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; margin-bottom: 32px; }

/* ---------- News: lead + list ---------- */
.news-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 88px); border-top: 1px solid var(--ink); padding-top: 40px; }
.news-card { display: flex; flex-direction: column; }
.news-card time { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.news-card h3 { font-size: 1.6rem; }
.news-card p { color: var(--ink-soft); }
.news-card.lead h3 { font-size: clamp(2.2rem, 3.6vw, 3rem); }
.news-card.lead p { font-size: 1.1rem; max-width: 48ch; }
.news-list { display: grid; gap: 0; }
.news-list .news-card { padding: 28px 0; border-bottom: 1px solid var(--line); }
.news-list .news-card:first-child { padding-top: 0; }
.news-card .link-arrow { align-self: flex-start; }

/* ---------- Community ---------- */
.partners { list-style: none; margin: 0; padding: 0; }
.partners li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: baseline; }
.partners li:first-child { border-top: 1px solid var(--line); }
.partners strong { font: 400 1.5rem/1.2 var(--serif); }
.partners span { color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--paper-2); }
.contact h2 em { color: var(--accent); }
.contact .lede-dark { color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; }
address { font-style: normal; margin-top: 36px; line-height: 1.9; }
address a { text-decoration: none; border-bottom: 1px solid var(--line); transition: color 0.2s, border-color 0.2s; }
address a:hover { color: var(--accent); border-color: var(--accent); }
.contact-form { display: grid; gap: 20px; background: var(--paper); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(60, 44, 28, 0.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 500; }
.field input, .field select, .field textarea {
  font: 400 1rem var(--sans);
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfaf7;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(17,17,16,0.3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(156, 116, 80, 0.18); }
.field.invalid input { border-color: #a4443a; }
.field-error { color: #a4443a; font-weight: 400; font-size: 0.82rem; min-height: 0; }
.contact-form .btn { justify-self: start; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; }
.form-status { margin: 0; font-size: 0.92rem; color: var(--accent-dark); min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 80px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(244,241,235,0.14); }
.footer-heading { font: italic 400 1.05rem var(--serif); color: var(--accent-light); margin-bottom: 6px; }
.footer-address { color: rgba(244,241,235,0.6); margin-top: 24px; font-size: 0.94rem; }
.footer-links, .socials { display: grid; gap: 10px; align-content: start; }
.footer-links a, .socials a, .footer-bottom a { text-decoration: none; color: rgba(244,241,235,0.72); font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover, .socials a:hover, .footer-bottom a:hover { color: var(--accent-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 0.85rem; color: rgba(244,241,235,0.5); }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 24px; }

/* ---------- Mobile contact bar ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media { animation: none; }
  .scroll-cue::after { animation: none; }
  .hero-content > * { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--paper);
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .site-nav.open { transform: none; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a, .dropdown-trigger { display: block; width: 100%; text-align: left; padding: 18px 0; font-size: 1.15rem; }
  .site-nav > ul > li > a:not(.btn)::after { display: none; }
  .site-nav > ul > li:last-child { border: 0; padding-top: 24px; }
  .site-nav .btn { justify-content: center; padding: 15px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 12px; display: none; }
  .dropdown::before { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { padding: 10px 16px; color: var(--muted); }

  .split, .invest .split, .projects-grid, .news-layout, .paths-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-row: auto; }
  .project-card.featured .project-media { aspect-ratio: 4 / 3; }
  .sectors { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .sector-1 { grid-row: auto; }
  .sector { aspect-ratio: 16 / 11; }
  .sector-link { opacity: 1; transform: none; }
  .service { grid-template-columns: 48px 1fr; }
  .service p { grid-column: 2; }
  .path, .path + .path { padding: 32px 0; border-left: 0; }
  .path + .path { border-top: 1px solid rgba(244,241,235,0.12); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps li, .steps li + li { padding: 28px 24px 0 0; }
  .steps li + li::before { left: 0; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
  .partners li { grid-template-columns: 1fr; gap: 4px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobile-bar);
    background: var(--ink);
    border-top: 1px solid rgba(244,241,235,0.15);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { padding: 16px; text-align: center; color: var(--paper); text-decoration: none; font-weight: 500; }
  .mobile-bar a + a { background: var(--accent-dark); }
  .site-footer { padding-bottom: 96px; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .logo-mark { height: 34px; }
  .logo-wordmark { height: 24px; }
  .project-body { grid-template-columns: 1fr; }
  .project-body .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 16px; }
}
.page-title { font-size: clamp(2.6rem, 6vw, 4.5rem); }
