/* GreenMars — all site styles. Layouts follow the original Framer site (desktop ≥1200px, tablet 810–1199px,
   phone <810px); colors and type follow the GreenMars brand guide (Brand 2: Color & Type):
   Ground for the header, page-title bands, hero, call to action and footer; Paper for content;
   Signal for one thing per view, and only on dark (a key number or the call to action); Fern for green text on Paper.
   Headlines: Mona Sans SemiBold, sentence case. Everything else: Inter. Nothing people need to read is under 14px;
   12px only for all-caps labels. Matches the greenmars-brand-visuals standard (October 2026). */

@font-face { font-family: "Mona Sans"; src: url("fonts/mona-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-stretch: 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("fonts/mona-sans-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-stretch: 100%; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  /* Core palette */
  --ground: #10251E;   /* main dark surface; text on light (14.4:1 on Paper) */
  --canopy: #1C3029;   /* cards and panels on Ground */
  --signal: #34C77B;   /* the accent: one thing per view, dark backgrounds only */
  --paper: #F4F2EC;    /* main light surface; text on dark */
  --fern: #1E7A4C;     /* green text and links on light (4.8:1 on Paper) */
  --stone: #5C6B67;    /* secondary text on light (5.0:1 on Paper) */
  --slate: #7D8A86;    /* secondary text on dark (4.5:1 on Ground) */
  --mist: #DCE3DE;     /* hairlines and placeholders on Paper */
  --line-light: var(--mist);
  --line-dark: rgba(244, 242, 236, 0.16);
  --gutter: 40px;
  --head: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ground); font-family: var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fern); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Dark surfaces: anything on Ground flips to Paper text */
.on-dark, .site-header, .site-footer, .hero, .cta, .page-head, .detail-head, .article-head, .about-facts { color: var(--paper); --label: var(--slate); --muted: var(--slate); }
:root { --label: var(--fern); --muted: var(--stone); }
/* Full-width Ground band behind a block that sits inside a narrower column */
.page-head, .detail-head, .article-head { background: var(--ground); box-shadow: 0 0 0 100vmax var(--ground); clip-path: inset(0 -100vmax); }

/* Type */
.label { font-family: var(--text); font-size: 12px; line-height: 1.3; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--label); }
.h1 { font-family: var(--head); font-size: 39px; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.hero .h1 { font-size: 49px; line-height: 1.05; }
.h2 { font-family: var(--head); font-size: 25px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.h3 { font-family: var(--head); font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.body { font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--muted); }
.small { font-size: 15px; line-height: 1.3; font-weight: 500; }

/* Buttons: the label rolls up to a second copy on hover, as on the original site.
   Ground on Paper, Paper on Ground; .btn--signal is the page's single call to action. */
.btn { position: relative; display: inline-flex; align-self: flex-start; padding: 10px 16px; background: var(--ground); color: var(--paper); font-family: var(--text); font-size: 14px; line-height: 1.1; font-weight: 600; white-space: nowrap; overflow: hidden; border-radius: 2px; }
.on-dark .btn, .hero .btn, .cta .btn, .page-head .btn, .feature .btn { background: var(--paper); color: var(--ground); }
.btn--outline, .on-dark .btn--outline, .feature .btn--outline { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--signal, .on-dark .btn--signal, .cta .btn--signal, .feature .btn--signal { background: var(--signal); color: var(--ground); }
.btn span { display: block; transition: transform 0.4s cubic-bezier(0.44, 0, 0.56, 1); }
.btn span + span { position: absolute; left: 16px; top: 10px; transform: translateY(170%); }
.btn:hover span:first-child, .btn:focus-visible span:first-child { transform: translateY(-170%); }
.btn:hover span + span, .btn:focus-visible span + span { transform: translateY(0); }

/* Header: always a Ground bar, so the logo never sits on a busy or light part of a photo (brand rule) */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(16, 37, 30, 0.97); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 10px var(--gutter); }
.logo { display: block; }
.logo img { height: 34px; width: auto; } /* the Orbit Survey lockup is 3.65:1, so this is 124px wide */
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 15px; line-height: 1.2; font-weight: 500; color: var(--paper); }
.nav-links a:hover { color: var(--slate); }
.menu-toggle { display: none; position: relative; width: 31px; height: 31px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-toggle i { position: absolute; left: 2px; width: 27px; height: 2px; background: var(--paper); transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease; }
.menu-toggle i:nth-child(1) { top: 6px; }
.menu-toggle i:nth-child(2) { top: 15px; }
.menu-toggle i:nth-child(3) { top: 24px; }
.site-header.is-open .menu-toggle i:nth-child(1) { top: 15px; transform: rotate(45deg); }
.site-header.is-open .menu-toggle i:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-toggle i:nth-child(3) { top: 15px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* Footer */
.site-footer { background: var(--ground); padding: 86px var(--gutter) 45px; display: grid; grid-template-columns: 1fr 302px 330px; align-items: start; }
.site-footer .small { color: var(--slate); }
.site-footer .footer-col > .small:first-child, .footer-contact div > .small:first-child { color: var(--paper); font-weight: 600; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 350px; min-width: 0; }
.footer-brand .logo img { height: 36px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-transform: uppercase; letter-spacing: 0.04em; }
.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer-contact div { display: flex; flex-direction: column; gap: 4px; }
.site-footer a.small:hover { color: var(--paper); }
.subscribe { position: relative; width: 350px; max-width: 100%; }
.subscribe input[type=email] { width: 100%; height: 48px; padding: 15px 135px 15px 15px; border: 0; border-radius: 2px; outline: none; background: rgba(244, 242, 236, 0.08); box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--paper); font-size: 14px; font-weight: 500; }
.subscribe input::placeholder { color: var(--slate); }
.subscribe input:focus { box-shadow: inset 0 0 0 1px var(--slate); }
.subscribe button { position: absolute; top: 5px; right: 5px; bottom: 5px; width: 120px; border: 0; border-radius: 2px; background: var(--paper); color: var(--ground); font-size: 14px; font-weight: 600; cursor: pointer; }
.subscribe button:disabled { opacity: 0.6; cursor: default; }
.subscribe .form-status { margin-top: 8px; }

/* Shared page pieces */
.page { padding: 0 var(--gutter) 90px; }
.page.property { padding-bottom: 130px; }
.page-head, .detail-head, .article-head { padding-top: 150px; padding-bottom: 50px; margin-bottom: 50px; }
.page-head { display: flex; flex-direction: column; gap: 14px; }
.page-head .h1 { max-width: 14em; }
.reading { max-width: 800px; margin: 0 auto; }
.rich { color: var(--ground); }
.rich p + p, .rich p + ul, .rich ul + p { margin-top: 16px; }
.rich strong { font-weight: 600; }
.rich a { color: var(--fern); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.rich a:hover { text-decoration-thickness: 2px; }
.media-frame { position: relative; overflow: hidden; background: var(--mist); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Appear-on-scroll (only when JavaScript runs, and never for reduced motion) */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.2, 0.6, 0.3, 1), transform 0.9s cubic-bezier(0.2, 0.6, 0.3, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Home: hero slideshow */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: var(--ground); }
.hero-slides { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,.3) 0%, #000 55%, rgba(0,0,0,.45) 100%); mask-image: linear-gradient(0deg, rgba(0,0,0,.3) 0%, #000 55%, rgba(0,0,0,.45) 100%); }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 6s ease-out; }
.hero-slides img.is-active { opacity: 1; transform: scale(1); }
.hero-content { position: absolute; left: var(--gutter); bottom: 44px; display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.hero-content .btn { margin-top: 18px; }
.hero-mouse { position: absolute; left: 50%; bottom: 48px; width: 14px; height: 24px; margin-left: -7px; border: 1.5px solid var(--paper); border-radius: 8px; }
.hero-mouse::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 6px; margin-left: -1px; border-radius: 1px; background: var(--paper); animation: mouse 1.6s ease-in-out infinite; }
@keyframes mouse { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(6px); } }
.hero-thumbs { position: absolute; right: var(--gutter); bottom: 44px; display: flex; align-items: center; gap: 6px; }
.hero-thumbs button { width: 42px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0.55; transition: opacity 0.3s, width 0.3s, height 0.3s, box-shadow 0.3s; }
.hero-thumbs button.is-active { width: 46px; height: 33px; opacity: 1; box-shadow: 0 0 0 1.5px var(--paper); }
.hero-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Home: intro */
.intro { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 1263px; margin: 0 auto; padding: 125px 0 90px; }
.intro-text { width: 553px; display: flex; flex-direction: column; gap: 16px; }
.intro-text .btn { margin-top: 12px; }
.intro-image { width: 553px; height: 645px; }

/* Home: services ticker */
.services { padding: 0 0 90px; }
.services .h2 { text-align: center; margin-bottom: 45px; }
.ticker { margin: 0 var(--gutter); overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%); }
.ticker-track { display: flex; gap: 15px; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(calc(-50% - 7.5px)); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.service { position: relative; flex: none; width: 360px; height: 500px; color: var(--paper); }
.service--wide { width: 380px; }
.service .media-frame { position: absolute; inset: 0; }
.service .media-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,37,30,.92) 0%, rgba(16,37,30,.55) 22%, rgba(16,37,30,0) 48%); }
.service .h3 { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; }

/* Article cards (home + press) */
.press-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 20px; }
.card { display: flex; flex-direction: column; }
.card .media-frame { aspect-ratio: 440 / 485; }
.card .media-frame img { transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.3, 1); }
.card:hover .media-frame img { transform: scale(1.04); }
.card .label { margin-top: 18px; }
.card .h3 { margin-top: 8px; }
.card:hover .h3 { color: var(--fern); }
.featured-press { padding: 0 var(--gutter) 110px; }

/* Home: call to action */
.cta { background: var(--ground); padding: 50px var(--gutter); }
.cta-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; height: clamp(440px, 38vw, 560px); text-align: center; }
.cta-title { font-family: var(--head); font-weight: 600; font-size: 49px; line-height: 1.1; letter-spacing: -0.01em; }
.cta-title em { font-style: italic; }
.cta .btn { align-self: center; }

/* About */
.wide-image { height: 729px; }
.about-facts { display: grid; grid-template-columns: 220px 220px 220px 1fr; gap: 10px; margin-top: 20px; padding: 44px 40px; background: var(--ground); border-radius: 4px; }
.about-facts .fact { display: flex; flex-direction: column; gap: 10px; }
.fact-value { font-family: var(--head); font-size: 49px; line-height: 1; font-weight: 600; letter-spacing: -0.01em; color: var(--paper); font-variant-numeric: tabular-nums; }
.fact-value--signal { color: var(--signal); }
.about-facts > .body { grid-column: 4; margin-left: 40px; max-width: 650px; }
.team { margin-top: 110px; }
.team .h2 { margin-bottom: 40px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 15px; }
.member { display: flex; flex-direction: column; }
.member .media-frame { aspect-ratio: 329 / 403; }
.member .label { margin-top: 16px; }
.member .h3 { margin-top: 6px; }
a.member:hover .h3 { color: var(--fern); }

/* Properties */
.feature { position: relative; height: 729px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--paper); }
.feature .media-frame, .tile .media-frame { position: absolute; inset: 0; }
.feature .media-frame::after, .tile .media-frame::after { content: ""; position: absolute; inset: 0; background: rgba(16, 37, 30, 0.42); transition: background 0.4s; }
.feature-text { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.feature-text .body, .tile .body { color: var(--paper); }
.feature-actions { display: flex; gap: 10px; margin-top: 18px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.tile { position: relative; height: 469px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--paper); }
.tile .media-frame img { transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.3, 1); }
.tile:hover .media-frame img { transform: scale(1.04); }
.tile:hover .media-frame::after { background: rgba(16, 37, 30, 0.55); }
.tile > :not(.media-frame) { position: relative; }

/* Property detail */
.back-link { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; color: var(--slate); font-size: 15px; }
.back-link svg { width: 14px; height: 14px; }
.back-link:hover { color: var(--paper); }
.detail-head { display: flex; flex-direction: column; gap: 16px; }
.detail-head .body { max-width: 600px; }
.carousel { position: relative; height: 450px; overflow: hidden; }
.carousel-track { display: flex; gap: 10px; height: 100%; transition: transform 0.6s cubic-bezier(0.44, 0, 0.56, 1); }
.carousel-track .media-frame { flex: none; width: 100%; height: 100%; }
.carousel-nav { position: absolute; right: 15px; bottom: 15px; display: flex; gap: 8px; }
.carousel-nav button { width: 34px; height: 34px; padding: 2px; border: 0; border-radius: 2px; background: var(--ground); cursor: pointer; }
.carousel-nav button:hover { background: var(--fern); }
.carousel-nav img { width: 30px; height: 30px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 36px 0; padding: 20px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.stats dt { font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fern); }
.stats dd { margin: 6px 0 0; font-size: 16px; font-weight: 600; color: var(--ground); }
.detail-body .h2 { margin-bottom: 18px; }

/* Article detail */
.article-head { display: flex; flex-direction: column; gap: 14px; }
.article-date { color: var(--slate); }
.article-image { height: 450px; margin-bottom: 36px; }
.article .btn { margin-top: 36px; }

/* Press list */
.press-list .page-head { align-items: stretch; }
.press-video { width: 100%; max-width: 1151px; margin: 0 auto 30px; aspect-ratio: 1151 / 480; background: #0a1914; }
.press-video video { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact-page { padding-bottom: 90px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; max-width: 700px; margin: 0 auto; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: 12px; line-height: 1.3; font-weight: 500; letter-spacing: 0.3em; color: var(--ground); }
.field input, .field textarea { width: 100%; padding: 14px 12px; border: 0; border-radius: 2px; outline: none; background: #fff; box-shadow: inset 0 0 0 1px var(--line-light); color: var(--ground); font-size: 15px; line-height: 1.3; }
.field input { height: 48px; }
.field textarea { height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a9692; }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--fern); }
.contact-form button[type=submit] { grid-column: 1 / -1; height: 48px; padding: 12px 18px; border: 0; border-radius: 2px; background: var(--ground); color: var(--paper); font-size: 15px; font-weight: 600; cursor: pointer; }
.contact-form button[type=submit]:hover { background: var(--canopy); }
.contact-form button[type=submit]:disabled { opacity: 0.6; cursor: default; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; min-height: 0; font-size: 15px; line-height: 1.4; color: var(--muted); }
.form-status:empty { display: none; }
.form-status[data-kind=ok] { color: var(--fern); }
.form-status[data-kind=error] { color: #A8382D; }
.site-footer .form-status[data-kind=ok] { color: var(--signal); }
.site-footer .form-status[data-kind=error] { color: #ffb4a8; }

/* 404 page */
.notfound-body { display: flex; flex-direction: column; gap: 20px; min-height: 30vh; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* About page sections: label and headline on the left, content on the right */
.about-intro { max-width: 860px; margin: 70px 0 40px; display: flex; flex-direction: column; gap: 20px; }
.about-lead { font-family: var(--head); font-size: 25px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; color: var(--ground); }
.about-intro .body { font-size: 18px; max-width: 46em; }
.about-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 60px; padding: 70px 0; border-top: 1px solid var(--line-light); }
.about-facts + .about-section { margin-top: 70px; }
.about-section-head { display: flex; flex-direction: column; gap: 12px; }
.about-section .body + .body { margin-top: 14px; }
.about-section em { font-style: italic; color: var(--fern); }
.about-section .body a { color: var(--fern); text-decoration: underline; text-underline-offset: 2px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pillars > div, .rows-list > div, .serve > div { display: flex; flex-direction: column; gap: 10px; }
.rows-list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.rows-list > div:first-child { padding-top: 0; }
.serve { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 30px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.step-no { font-family: var(--text); font-size: 12px; font-weight: 500; letter-spacing: 0.3em; color: var(--fern); font-variant-numeric: tabular-nums; }
.glance { margin: 0; border-top: 1px solid var(--line-light); }
.glance > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.glance dt { font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fern); padding-top: 3px; }
.glance dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ground); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq details:first-child { border-top: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--text); font-weight: 400; font-size: 22px; line-height: 1; color: var(--fern); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details .body { padding: 0 0 20px; max-width: 46em; }
.about-people { border-bottom: 0; padding-bottom: 30px; }
.team--about { margin-top: 0; }
.team--about .team-grid { grid-template-columns: repeat(6, 1fr); gap: 30px 15px; } /* 18 people in 3 rows */
.team--about .member .label { margin-top: 12px; }
.about-cta { background: var(--ground); color: var(--paper); --label: var(--slate); --muted: var(--slate); padding: 90px var(--gutter); }
.about-cta-inner { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.about-cta .body { color: var(--paper); }
.about-cta .btn { background: var(--paper); color: var(--ground); }
.about-cta .btn--outline { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px currentColor; }

/* Tablet */
@media (max-width: 1199px) {
  .h1 { font-size: 36px; }
  .hero .h1 { font-size: 44px; }
  .intro { padding: 100px var(--gutter) 80px; }
  .intro-text, .intro-image { width: calc(50% - 20px); }
  .intro-image { height: 560px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team--about .team-grid { grid-template-columns: repeat(4, 1fr); }
  .about-facts { grid-template-columns: repeat(3, 1fr); }
  .about-facts > .body { grid-column: 1 / -1; margin: 24px 0 0; }
  .wide-image, .feature { height: 560px; }
  .tile { height: 380px; }
  .pillars { grid-template-columns: 1fr; gap: 24px; }
  .cta-title { font-size: 42px; }
  .site-footer { grid-template-columns: 1fr 160px 220px; gap: 30px; }
}

/* Phone */
@media (max-width: 809px) {
  :root { --gutter: 15px; }
  .h1 { font-size: 32px; }
  .hero .h1 { font-size: 36px; }
  .h2 { font-size: 22px; }
  .h3 { font-size: 18px; }
  .nav { height: 62px; padding: 10px 20px; }
  .logo img { height: 30px; } /* 110px wide: the lockup minimum on screen is 100px */
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { display: flex; flex-direction: column; gap: 14px; padding: 8px 20px 24px; }
  .site-header:not(.is-open) .mobile-menu { display: none; }
  .mobile-menu a { font-size: 15px; line-height: 1.2; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper); }
  .page { padding: 0 var(--gutter) 70px; }
  .page-head, .detail-head, .article-head { padding-top: 120px; padding-bottom: 36px; margin-bottom: 36px; }

  .hero-content { left: 24px; right: 24px; bottom: 60px; }
  .hero-thumbs, .hero-mouse { display: none; }
  .intro { flex-direction: column; align-items: stretch; gap: 40px; padding: 80px var(--gutter) 70px; }
  .intro-text, .intro-image { width: 100%; }
  .intro-image { height: auto; aspect-ratio: 360 / 420; }
  .services { padding-bottom: 70px; }
  .services .h2 { margin: 0 var(--gutter) 36px; }
  .ticker { margin: 0; }
  .featured-press { padding: 0 var(--gutter) 70px; }
  .press-head { margin-bottom: 28px; }
  .cards { grid-template-columns: 1fr; gap: 36px; }
  .card .media-frame { aspect-ratio: 360 / 397; }
  .cta-inner { height: 420px; }
  .cta-title { font-size: 32px; }

  .wide-image { height: auto; aspect-ratio: 360 / 300; }
  .about-facts { grid-template-columns: 1fr; gap: 22px; padding: 30px 22px; }
  .about-facts > .body { margin: 6px 0 0; }
  .fact-value { font-size: 40px; }
  .team { margin-top: 80px; }
  .team-grid { grid-template-columns: 1fr; gap: 30px; }
  .member .media-frame { aspect-ratio: 360 / 442; }
  .team--about .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .team--about .member .media-frame { aspect-ratio: 329 / 403; }

  .feature { height: 600px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { height: 252px; }

  .carousel { height: auto; aspect-ratio: 360 / 450; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px 15px; }
  .article-image { height: auto; aspect-ratio: 16 / 9; }
  .press-video { aspect-ratio: 16 / 9; }

  .about-section, .rows-list > div, .glance > div { grid-template-columns: 1fr; }
  .about-section { gap: 20px; padding: 50px 0; }
  .about-intro { margin: 40px 0 30px; }
  .about-lead { font-size: 21px; }
  .pillars, .serve, .steps { grid-template-columns: 1fr; gap: 24px; }
  .rows-list > div, .glance > div { gap: 8px; }
  .about-cta { padding: 60px var(--gutter); }
  .contact-form { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 50px; padding: 60px var(--gutter) 40px; }
}

/* Large phones and small tablets: three team photos across */
@media (min-width: 560px) and (max-width: 809px) {
  .team--about .team-grid { grid-template-columns: repeat(3, 1fr); }
}
