/* The Twelve Holdings: black & white */
:root {
  --black: #000;
  --charcoal: #222;
  --ink: #111;
  --grey: #8a8a8a;
  --line: rgba(255,255,255,.14);
  --white: #fff;
  --offwhite: #f4f4f4;
  --font: "Montserrat", "Helvetica Neue", Arial, system-ui, sans-serif;
  --header-h: 84px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--black); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--white); color: var(--black); padding: .6rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }

/* ---------- Intro splash ---------- */
.intro { display: none; }
.show-intro .intro {
  display: flex; position: fixed; inset: 0; z-index: 1000;
  background: var(--black); color: var(--white);
  align-items: center; justify-content: center; text-align: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.show-intro body { overflow: hidden; }
.intro.is-done { opacity: 0; visibility: hidden; }
.intro__inner { display: flex; flex-direction: column; align-items: center; padding: 1.5rem; }
.intro__logo { width: clamp(120px, 22vmin, 200px); height: auto; opacity: 0; transform: scale(.92); animation: introLogo .7s var(--ease) .05s forwards; }
.intro__name { margin-top: 1.2rem; font-weight: 900; font-size: clamp(1.8rem, 4.4vw, 2.8rem); letter-spacing: .32em; padding-left: .32em; line-height: 1; opacity: 0; animation: introFade .6s var(--ease) .3s forwards; }
.intro__slogan { margin-top: 1.6rem; display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.intro__line { min-height: 1.3em; font-weight: 800; text-transform: uppercase; font-size: clamp(1rem, 2.6vw, 1.6rem); letter-spacing: .08em; white-space: nowrap; }
.intro__caret { display: inline-block; width: .08em; height: .9em; margin-left: .08em; background: var(--white); vertical-align: -.08em; animation: blink .7s steps(1) infinite; }
@keyframes introLogo { to { opacity: 1; transform: none; } }
@keyframes introFade { to { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--white); transition: background-color .3s, color .3s, box-shadow .3s; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); width: min(1320px, 100% - 3rem); margin-inline: auto; transition: height .3s; }
.site-header.is-scrolled { background: rgba(0,0,0,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .site-header__inner { height: 68px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand__logo { width: 48px; height: 48px; }
.brand__logo--black { display: none; }
.brand__text { font-weight: 800; font-size: 1.45rem; letter-spacing: .2em; line-height: 1; margin-right: -.2em; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: var(--white); text-align: center; background: var(--black); }
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease-in-out; }
.hero__video.is-active { opacity: 1; }
.hero__fallback {
  position: absolute; inset: -4%;
  background:
    url("../assets/video/01-crane-aerial-poster.jpg") center / cover no-repeat,
    url("../assets/img/hero-bg.jpg") center / cover no-repeat,
    #111;
  filter: grayscale(1);
  animation: drift 28s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.08) translate3d(-2%, -1.5%, 0); } }
.hero__overlay { background: radial-gradient(ellipse at center, rgba(0,0,0,.35) 0%, rgba(0,0,0,.6) 75%), linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.75) 100%); }
.hero__content { position: relative; z-index: 2; padding: calc(var(--header-h) + 1rem) 1.5rem 4rem; max-width: 1100px; }
.hero__eyebrow { margin: 0 0 1.25rem; font-weight: 600; font-size: clamp(.7rem, 1.4vw, .85rem); letter-spacing: .3em; text-transform: uppercase; color: #cfcfcf; text-wrap: balance; }
.hero__title { font-weight: 900; text-shadow: 0 2px 24px rgba(0,0,0,.35); text-transform: uppercase; font-size: clamp(2.2rem, 6.4vw, 5.6rem); letter-spacing: -.01em; line-height: 1.02; text-wrap: balance; }
.hero__title em { font-style: normal; color: #9c9c9c; }
.hero__phrases { display: grid; }
.hero__phrase { grid-area: 1 / 1; align-self: center; }
.hero__phrase--long { font-size: .72em; } /* long phrases shrink so they stay on two lines */
.js .hero__phrase { opacity: 0; transform: translateY(.45em); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .hero__phrase.is-active { opacity: 1; transform: none; }
.js .hero__phrase.is-leaving { opacity: 0; transform: translateY(-.35em); transition-duration: .7s; }
.js .hero__eyebrow, .js .hero__actions, .js .scroll-cue { opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero.is-ready .hero__eyebrow { opacity: 1; transform: none; }
.js .hero.is-ready .hero__actions { opacity: 1; transform: none; transition-delay: .25s; }
.js .hero.is-ready .scroll-cue { opacity: 1; transform: none; transition-delay: .6s; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.btn { display: inline-block; padding: 1rem 1.9rem; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--white); transition: background-color .25s, color .25s; }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover, .btn--light:focus-visible { background: transparent; color: var(--white); }
.btn--ghost { color: var(--white); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--white); color: var(--black); }

.video-toggle { position: absolute; left: 1.5rem; bottom: 1.5rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(0,0,0,.35); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.video-toggle[hidden] { display: none; }
.video-toggle:hover { background: rgba(255,255,255,.15); }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle .icon-play { display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }

.scroll-cue { position: absolute; left: 50%; bottom: 1.75rem; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section--light { background: var(--white); color: var(--ink); }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--black { background: var(--black); color: var(--white); }
.kicker { margin: 0 0 1rem; font-weight: 700; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--grey); }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: .75rem; }
.section__title { font-weight: 800; font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -.01em; text-wrap: balance; }
.section__lead { margin: 1.25rem 0 0; max-width: 46rem; color: #bdbdbd; font-size: 1.05rem; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.prose { font-size: 1.05rem; }
.prose p { margin: 0 0 1.1rem; }
.placeholder { color: #8a8a8a; font-style: italic; }
.section--dark .placeholder, .section--black .placeholder { color: #9a9a9a; }

.cards { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.card { background: var(--charcoal); outline: 1px solid var(--line); padding: 2.2rem 1.75rem 2.5rem; transition: background-color .3s; }
.card:hover { background: #2c2c2c; }
.card__num { display: block; font-weight: 800; font-size: .85rem; letter-spacing: .2em; color: var(--grey); margin-bottom: 2.5rem; }
.card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.card__title.placeholder { text-transform: none; letter-spacing: 0; }
.card p { margin: 0; font-size: .95rem; }

.facts { margin: 2rem 0 0; border-top: 2px solid var(--black); }
.facts > div { display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid #ddd; }
.facts dt { font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; padding-top: .2rem; }
.facts dd { margin: 0; }

.contact__label { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }


/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; color: inherit; cursor: pointer; z-index: 2; }
  .nav-toggle span { display: block; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .brand { position: relative; z-index: 2; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: .2rem; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__text { font-size: 1.2rem; }
  .btn { width: 100%; text-align: center; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
  .hero__actions .btn { width: auto; flex: 0 1 auto; padding: .75rem 1.1rem; font-size: .68rem; letter-spacing: .14em; }
  .intro__line { white-space: normal; }
  .hero__phrase--long { font-size: .8em; }
  .hero__eyebrow { letter-spacing: .18em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__fallback { animation: none; }
  .js .reveal, .js .hero__phrase, .js .hero__eyebrow, .js .hero__actions, .js .scroll-cue { opacity: 1; transform: none; }
  .hero__video { display: none; }
}
.hero.has-video .hero__fallback { animation: none; }


/* =================== Multi-page components =================== */

/* ---- Navigation with dropdowns (desktop) ---- */
.nav { display: flex; align-items: center; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: none; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: .55rem 0; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav__link:hover::after, .nav__link:focus-visible::after, .nav__link[aria-current="page"]::after, .has-dd.is-current > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.dd-chev { width: 10px; height: 8px; transition: transform .25s; }
.dd { list-style: none; margin: 0; padding: .6rem 0; position: absolute; top: 100%; left: -1.2rem; min-width: 250px; background: rgba(0,0,0,.96); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .22s, visibility .22s; }
.nav__item:last-child > .dd { left: auto; right: -1.2rem; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.dd a { display: block; padding: .7rem 1.2rem; text-decoration: none; font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #d6d6d6; border-left: 2px solid transparent; transition: color .2s, background-color .2s, border-color .2s; }
.dd a:hover, .dd a:focus-visible { color: var(--white); background: rgba(255,255,255,.06); border-left-color: var(--white); }
.dd a[aria-current="page"] { color: var(--white); border-left-color: var(--white); }
@media (min-width: 901px) {
  .has-dd:hover > .dd, .has-dd:focus-within > .dd, .has-dd.is-open > .dd { opacity: 1; visibility: visible; transform: none; }
  .has-dd:hover .dd-chev, .has-dd.is-open .dd-chev { transform: rotate(180deg); }
  .has-dd.is-closed > .dd { opacity: 0 !important; visibility: hidden !important; } /* Esc closes even while hovered */
}

/* ---- Page banner (inner pages) ---- */
.page-hero { position: relative; min-height: 46vh; min-height: clamp(320px, 50vh, 520px); display: flex; align-items: flex-end; color: var(--white); background: #111 var(--page-hero-img) center / cover no-repeat; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: inherit; filter: grayscale(1); }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.85) 100%); }
.page-hero__content { position: relative; padding: calc(var(--header-h) + 3rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-hero__title { font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 5.2vw, 4.2rem); letter-spacing: -.01em; line-height: 1.02; text-wrap: balance; max-width: 18ch; }
.page-hero__lead { margin: 1.1rem 0 0; max-width: 42rem; color: #cfcfcf; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.kicker--light { color: #bdbdbd; }
.section__lead--dark { color: #555; }

/* ---- Buttons ---- */
.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); cursor: pointer; font-family: inherit; }
.btn--dark:hover, .btn--dark:focus-visible { background: var(--white); color: var(--black); }

/* ---- Home tiles ---- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.tile { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 2.4rem 2rem 3.2rem; min-height: 190px; background: var(--charcoal); outline: 1px solid var(--line); text-decoration: none; color: var(--white); transition: background-color .3s; }
.tile:hover, .tile:focus-visible { background: #2e2e2e; }
.tile__kicker { font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }
.tile__title { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.tile__arrow { position: absolute; right: 2rem; bottom: 1.6rem; font-size: 1.4rem; transition: transform .3s var(--ease); }
.tile:hover .tile__arrow { transform: translateX(6px); }

.cards--3 { grid-template-columns: repeat(3, 1fr); }

/* ---- Projects / Blog grids ---- */
.proj-grid, .post-grid { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.proj-card, .post-card { border: 1px solid #e2e2e2; background: var(--white); }
.proj-card__img, .post-card__img { aspect-ratio: 4 / 3; display: grid; place-items: center; color: #bcbcbc; background: repeating-linear-gradient(135deg, #f3f3f3 0 14px, #ececec 14px 28px); }
.post-card__img { aspect-ratio: 16 / 9; }
.proj-card__img svg { width: 48px; height: 48px; }
.proj-card__body, .post-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.proj-card__meta, .post-card__meta { margin: 0 0 .4rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.proj-card__title, .post-card__title { font-size: 1.1rem; font-weight: 700; }
.post-card p:last-child { margin: .6rem 0 0; font-size: .95rem; }
.empty-state { text-align: center; max-width: 40rem; margin: 0 auto; }
.empty-state .kicker::before { display: none; }
.empty-state .section__lead { margin-inline: auto; }

.notice-box { border: 1px solid #ddd; border-left: 4px solid var(--black); padding: 1.25rem 1.5rem; margin: 1.5rem 0; background: #fafafa; }
.notice-box h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .5rem; }
.notice-box p { margin: 0; }
.prose a { font-weight: 600; }

.cta-band { padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid #eee; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ---- Contact page ---- */
.contact-list { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 2px solid var(--black); }
.contact-list li { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 0; border-bottom: 1px solid #ddd; }
.contact-list a, .contact-list span:last-child { font-weight: 700; font-size: 1.1rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact__label { font-size: .7rem !important; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }

/* ---- Forms ---- */
.form-wrap { max-width: 900px; }
.form-intro { margin: 0 0 2rem; color: #555; }
.tth-form fieldset { border: 0; border-top: 2px solid var(--black); margin: 0 0 2.25rem; padding: 1.4rem 0 0; min-width: 0; }
.tth-form legend { float: left; width: 100%; padding: 0; margin-bottom: 1.1rem; font-weight: 800; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.tth-form legend + * { clear: both; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.grid-2 .field { margin-bottom: 0; }
.field label, .label { font-weight: 600; font-size: .9rem; }
.hint { font-weight: 500; font-size: .78rem; color: #777; letter-spacing: 0; text-transform: none; margin-left: .35rem; }
.req { color: var(--black); font-weight: 800; }
.tth-form input[type=text], .tth-form input[type=email], .tth-form input[type=tel], .tth-form input[type=number], .tth-form textarea, .tth-form select {
  width: 100%; font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1px solid #bdbdbd; border-radius: 0; background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.tth-form input:focus, .tth-form textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 2px var(--black); }
.tth-form input[type=file] { font: inherit; font-size: .9rem; padding: .6rem; border: 1px dashed #aaa; background: #fafafa; }
.tth-form textarea { resize: vertical; min-height: 120px; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem 1.2rem; margin-top: .3rem; }
.checks--inline { grid-template-columns: repeat(4, 1fr); }
.radios { display: flex; gap: 1.6rem; margin-top: .2rem; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; cursor: pointer; line-height: 1.35; }
.check input { width: 18px; height: 18px; margin: .05rem 0 0; accent-color: var(--black); flex: none; }
.check abbr { text-decoration: none; }
.field--other { margin-top: 1rem; max-width: 420px; }
.check-group .label { display: block; margin: 1.1rem 0 .3rem; }
.is-invalid input:not([type=checkbox]):not([type=radio]), .tth-form input.is-invalid, .tth-form textarea.is-invalid { border-color: #000; box-shadow: 0 0 0 2px #000; background: #fff4f4; }
.field-error { margin: .35rem 0 0; font-size: .85rem; font-weight: 600; color: #b00020; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 1.5rem; }
.form-status { margin: 1.5rem 0 0; padding: 1.2rem 1.4rem; border: 2px solid var(--black); background: #f6f6f6; }
.form-status h3 { margin: 0 0 .5rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.form-status p { margin: 0 0 .75rem; }
.form-status p:last-child { margin-bottom: 0; }
.form-status--error { border-color: #b00020; background: #fff4f4; }
.form-status--ok { background: #f1f8f1; }
.form-status .btn { margin-top: .25rem; }

/* ---- Footer ---- */
.site-footer { background: var(--black); color: #a8a8a8; border-top: 1px solid var(--line); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.footer-brand img { width: 56px; height: 56px; margin-bottom: 1rem; }
.footer-brand p { margin: 0; line-height: 1.6; }
.footer-brand strong { color: var(--white); letter-spacing: .06em; }
.footer-col h2 { margin: 0 0 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--white); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--white); text-decoration: underline; }
.footer-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); font-size: .8rem; }
.footer-legal p { margin: 0; }
.to-top { text-decoration: none; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.to-top:hover { color: var(--white); }

@media (max-width: 1080px) {
  .nav { gap: 1.5rem; }
  .proj-grid, .post-grid, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* ---- Mobile menu ---- */
@media (max-width: 900px) {
  .site-nav { position: fixed; inset: 0; background: var(--black); overflow-y: auto; padding: calc(var(--header-h) + 1.5rem) 1.5rem 3rem; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; max-width: 480px; margin: 0 auto; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; font-size: 1rem; padding: 1.15rem 0; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"], .has-dd.is-current > .nav__link { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
  .dd-chev { width: 14px; height: 10px; }
  .dd { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; border: 0; box-shadow: none; background: none; padding: 0 0 1rem; }
  .dd::before { display: none; }
  .has-dd.is-open > .dd { display: block; }
  .has-dd.is-open .dd-chev { transform: rotate(180deg); }
  .dd a { font-size: .85rem; padding: .75rem 1rem; }
  .tiles { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .checks, .checks--inline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .proj-grid, .post-grid, .cards--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; }
  .checks, .checks--inline { grid-template-columns: 1fr; }
  .cta-band__inner .btn { width: 100%; }
  .form-actions .btn { width: 100%; }
}
.privacy-note { margin: 0 0 1rem; padding: 1rem 1.2rem; background: #f6f6f6; border-left: 3px solid var(--black); font-size: .88rem; color: #444; }

/* ---- Home: full-screen hero; the footer strip sits below the fold ---- */
.page-home .hero { min-height: 100vh; min-height: 100svh; height: 100vh; height: 100svh; }
@supports (height: 100dvh) { .page-home .hero { min-height: 100svh; height: 100dvh; max-height: 100lvh; } }
.site-footer--mini { border-top: 1px solid var(--line); }
.footer-mini { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; width: min(1320px, 100% - 3rem); margin-inline: auto; padding: .9rem 0; font-size: .72rem; letter-spacing: .08em; }
.footer-mini p { margin: 0; }
.footer-mini nav { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; padding-right: 200px; /* keep clear of the Netlify badge */ }
.footer-mini a { text-decoration: none; text-transform: uppercase; font-weight: 600; letter-spacing: .14em; }
.footer-mini a:hover, .footer-mini a:focus-visible { color: var(--white); text-decoration: underline; }
@media (max-width: 700px) {
  .footer-mini { justify-content: center; text-align: center; padding-bottom: 3.5rem; }
  .footer-mini nav { justify-content: center; padding-right: 0; }
}
/* iPhone edge-to-edge (viewport-fit=cover): keep header/footer content clear of the notch and home bar */
.site-header { padding-top: env(safe-area-inset-top, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.site-footer { padding-bottom: env(safe-area-inset-bottom, 0px); }
.hero__video, .hero__fallback { object-fit: cover; }
/* Vision statement (Mission page) */
.vision { margin: 2.2rem 0 0; padding: .2rem 0 .2rem 1.4rem; border-left: 3px solid #000; }
.vision__label { margin: 0 0 .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #222; }
.vision__text { margin: 0; }
.vision__text p { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; line-height: 1.4; color: #000; font-style: normal; }
@media (max-width: 600px) { .vision { padding-left: 1rem; } }
.vision__text p { max-width: 30ch; text-wrap: balance; }
