/* Island View Land Management — V4: Home, Approach and Contact
   Editorial and architectural: full-bleed photography, hairlines, square edges. */

@font-face { font-family: "Geist"; src: url("assets/fonts/geist-var-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --paper: #F4F0E8;
  --stone: #E2DBCE;
  --charcoal: #24282A;
  --muted: #5C5F5B;
  --forest: #1B3A2E;
  --forest-deep: #12281F;
  --black: #000;
  --copper: #8F4F2B;
  --copper-light: #D9A47E;
  --on-dark: #F4F0E8;
  --on-dark-muted: rgb(244 240 232 / .74);
  --rule: rgb(36 40 42 / .16);
  --rule-dark: rgb(244 240 232 / .2);
  --gutter: clamp(20px, 4.4vw, 72px);
  --section: clamp(72px, 11vw, 176px);
  --header-h: 76px;
  --col-gap: clamp(16px, 2vw, 32px);
  --edge: max(var(--gutter), calc((100vw - 1560px) / 2));
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--paper); color: var(--charcoal);
  font-family: var(--sans); font-size: clamp(16px, .3vw + 15px, 19px); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
  display: flex; flex-direction: column; min-height: 100svh;
}
main { flex: 1 0 auto; }
img, picture, svg { display: block; max-width: 100%; }
img { width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
p { text-wrap: pretty; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.012em; }
::selection { background: var(--forest); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), 1560px); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--charcoal); color: var(--paper); padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 12px; }
.i { width: 1.15em; height: 1.15em; flex: none; transition: transform .35s var(--ease); }

.display { font-size: clamp(2.5rem, 6.4vw, 6.4rem); max-width: 15ch; text-wrap: balance; }
.label { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }

.link {
  display: inline-flex; align-items: center; gap: .5em; padding-bottom: 5px; font-weight: 500;
  border-bottom: 1px solid currentColor;
}
.link:hover .i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-inline: var(--gutter); }
.brand img { width: clamp(150px, 13vw, 176px); }
.nav { display: flex; gap: clamp(20px, 3vw, 44px); margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { padding-block: 6px; border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav a:hover { border-color: currentColor; }
.header-contact {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 500;
  background: var(--forest); color: var(--on-dark); transition: background-color .25s;
}
.header-contact:hover { background: var(--forest-deep); }
.menu-btn { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 7px; }
.menu-btn span { width: 24px; height: 1.5px; background: var(--charcoal); }

.menu {
  display: none; position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0;
  padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
  background: var(--forest-deep); color: var(--on-dark);
  flex-direction: column; justify-content: space-between;
}
.menu:popover-open { display: flex; }
.menu nav { display: grid; }
.menu nav a { padding-block: 14px; font-size: 2.3rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; border-bottom: 1px solid var(--rule-dark); }
.menu__foot { display: grid; gap: 6px; font-size: 18px; color: var(--on-dark-muted); }
.menu__close { position: absolute; top: 16px; right: var(--gutter); width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu__close span { position: absolute; left: 10px; top: 21px; width: 24px; height: 1.5px; background: var(--on-dark); transform: rotate(45deg); }
.menu__close span + span { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; display: grid; align-items: end; overflow: hidden;
  min-height: min(calc(100svh - var(--header-h)), 960px); color: var(--on-dark); background: var(--forest-deep);
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* A slow drift across the photo so the hero feels alive. Still for people who turn off motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: hero-drift 30s ease-in-out infinite alternate; will-change: transform; }
  @keyframes hero-drift {
    from { transform: scale(1.08) translate(-1.8%, .6%); }
    to { transform: scale(1.14) translate(1.8%, -.8%); }
  }
}
.hero__kicker { margin-bottom: clamp(16px, 2vw, 28px); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); text-shadow: 0 1px 12px rgb(14 28 22 / .7), 0 0 2px rgb(14 28 22 / .5); }
.hero__kicker span + span::before { content: "·"; margin-inline: .7em; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(14 28 22 / .88) 0%, rgb(14 28 22 / .62) 38%, rgb(14 28 22 / .3) 64%, rgb(14 28 22 / 0) 86%);
}
.hero__inner { width: 100%; padding: clamp(28px, 4vw, 56px) var(--gutter); }
.hero h1 { font-size: clamp(2.5rem, 7.6vw, 8rem); line-height: .98; letter-spacing: -.045em; }
.hero h1 span { display: block; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-top: clamp(24px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--rule-dark); }
.hero__foot p { max-width: 56ch; color: rgb(244 240 232 / .9); }
.hero__links { display: flex; flex-wrap: wrap; gap: 14px 36px; }

/* ---------- Philosophy ---------- */
.philosophy { padding-block: var(--section); }
.philosophy .display { margin-bottom: clamp(56px, 8vw, 128px); }
.mark { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); align-items: end; }
.mark + .mark { margin-top: clamp(64px, 9vw, 150px); }
.mark__text { padding-top: 20px; border-top: 1px solid var(--rule); }
.mark h3 { font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1.08; max-width: 14ch; }
.mark p { margin-top: 16px; max-width: 42ch; color: var(--muted); }
.mark--a picture { grid-column: 1 / span 8; }
.mark--a .mark__text { grid-column: 9 / -1; }
.mark--b picture { grid-column: 6 / -1; grid-row: 1; }
.mark--b .mark__text { grid-column: 1 / span 4; grid-row: 1; }
.mark--c picture { grid-column: 2 / span 6; }
.mark--c .mark__text { grid-column: 9 / -1; }

/* ---------- Capabilities ---------- */
.capabilities { padding-block: var(--section); background: var(--forest); color: var(--on-dark); }
.capabilities__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); align-items: end; }
.capabilities__head .display { grid-column: 1 / span 8; }
.capabilities__head p { grid-column: 9 / -1; color: var(--on-dark-muted); }
.capabilities em { color: var(--copper-light); }
.cap-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); margin-top: clamp(48px, 6vw, 96px); }
.cap img { aspect-ratio: 4 / 5; object-fit: cover; }
.cap__text { padding-top: 18px; }
.cap__no { display: block; font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--copper-light); font-variant-numeric: tabular-nums; }
.cap h3 { margin-top: 10px; font-size: clamp(1.25rem, 1.75vw, 1.75rem); line-height: 1.12; letter-spacing: -.025em; }
.cap p { margin-top: 12px; color: var(--on-dark-muted); }
.cap .cap__services { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule-dark); font-size: 15px; line-height: 1.45; }
.capabilities__links { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: clamp(40px, 5vw, 72px); }

/* ---------- Relationships ---------- */
.relationships { padding-top: var(--section); }
.logos-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: clamp(28px, 3.4vw, 52px) 0 14px; }
.logos-toggle { min-height: 36px; padding: 0 12px; border: 1px solid var(--rule); background: none; font-size: 13px; color: var(--muted); cursor: pointer; }
.logos-toggle:hover { border-color: var(--charcoal); color: var(--charcoal); }
/* One still row by default; a slow, endless strip when motion is welcome (see below) */
.logos { overflow: hidden; border-block: 1px solid var(--rule); }
.logos__track { display: flex; flex-wrap: wrap; justify-content: center; }
.logos__track + .logos__track { display: none; }
.logos { --logo-scale: 1; }
.logos li { display: flex; align-items: center; justify-content: center; height: clamp(84px, 7vw, 112px); padding-inline: clamp(28px, 3.2vw, 56px); white-space: nowrap; font-size: clamp(1.05rem, 1.4vw, 1.4rem); font-weight: 500; letter-spacing: -.02em; }
.logos li + li { border-left: 1px solid var(--rule); }
/* Each logo carries its own height (--h) so wide and compact marks look equally weighted */
.logos img { width: auto; max-width: none; height: calc(var(--h, 40px) * var(--logo-scale)); opacity: .86; }
@media (prefers-reduced-motion: no-preference) {
  .logos { display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
  .logos__track { flex: none; flex-wrap: nowrap; justify-content: flex-start; min-width: 100%; animation: logos 48s linear infinite; }
  .logos__track + .logos__track { display: flex; }
  .logos__track li:first-child { border-left: 1px solid var(--rule); }
  .logos:hover .logos__track, .logos.is-paused .logos__track { animation-play-state: paused; }
  @keyframes logos { to { transform: translateX(-100%); } }
}

/* ---------- Niall ---------- */
.niall { padding-block: var(--section); }
.niall__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); align-items: end; }
.niall__photo { grid-column: 1 / span 5; }
.niall__copy { grid-column: 7 / -1; }
.niall__copy .display { margin-bottom: clamp(20px, 2.4vw, 32px); }
.niall__copy p { max-width: 48ch; color: var(--muted); font-size: 1.1em; }
.niall__copy p + p { margin-top: 1em; }
.quote { margin: 0 0 clamp(22px, 2.6vw, 36px); padding-left: clamp(16px, 1.6vw, 24px); border-left: 2px solid var(--copper); }
.quote blockquote { margin: 0; }
.niall__copy .quote p { max-width: 32ch; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.22; letter-spacing: -.01em; color: var(--charcoal); }
.quote figcaption { margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--muted); }
.niall__copy .link { margin-top: clamp(24px, 2.6vw, 36px); }

/* ---------- Closing ---------- */
.closing { padding-block: var(--section); background: var(--forest-deep); color: var(--on-dark); }
.closing h2 { font-size: clamp(2.5rem, 7vw, 7.4rem); letter-spacing: -.045em; }
.closing__talk { margin-top: 6px; font-size: clamp(2.5rem, 7vw, 7.4rem); line-height: 1.02; color: var(--copper-light); }
.closing__links { display: flex; flex-wrap: wrap; gap: 12px 48px; margin-top: clamp(36px, 4.6vw, 64px); padding-top: 24px; border-top: 1px solid var(--rule-dark); font-size: clamp(1.25rem, 2vw, 1.9rem); letter-spacing: -.02em; }
.closing__links a { border-bottom: 1px solid var(--rule-dark); transition: border-color .25s; }
.closing__links a:hover { border-color: currentColor; }

/* ---------- Contact, thank-you and approach ---------- */
.header-contact[aria-current="page"] { background: var(--forest-deep); }
.nav a[aria-current="page"] { border-color: currentColor; }
.menu nav a[aria-current="page"] { color: var(--copper-light); }

.page-head { padding-block: clamp(48px, 7vw, 112px) clamp(48px, 6vw, 96px); }
.page-head h1 { font-size: clamp(2.5rem, 7.6vw, 8rem); line-height: .98; letter-spacing: -.045em; }
.page-head h1 span, .page-head h1 em { display: block; text-wrap: balance; }
.page-head h1 em { color: var(--forest); }
.page-head__foot { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); margin-top: clamp(28px, 3.6vw, 56px); padding-top: 22px; border-top: 1px solid var(--rule); }
.page-head__body { grid-column: 7 / -1; }
.lede { max-width: 46ch; font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.36; letter-spacing: -.012em; }
.page-head__body .link { margin-top: 24px; }

.contact { padding-bottom: var(--section); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); }
.details { grid-column: 1 / span 5; margin: 0; border-bottom: 1px solid var(--rule); align-self: start; }
.details div { padding-block: 16px; border-top: 1px solid var(--rule); }
.details dt { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.details dd { margin: 4px 0 0; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.25; letter-spacing: -.015em; }
.details dd span { display: block; font-size: 16px; letter-spacing: 0; color: var(--muted); }
.details dd a { border-bottom: 1px solid transparent; transition: border-color .25s; }
.details dd a:hover { border-color: currentColor; }

.form { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 26px var(--col-gap); align-content: start; scroll-margin-top: 24px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field--full, .form__foot, .form-alert { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-size: 14px; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
.input { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid rgb(36 40 42 / .6); border-radius: 0; background: transparent; color: inherit; font: inherit; font-size: max(16px, 1em); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: 0; border-color: var(--forest); box-shadow: 0 1px 0 var(--forest); }
textarea.input { min-height: 136px; resize: vertical; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.field legend { margin-bottom: 10px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; font-weight: 400; }
.choice input { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid rgb(36 40 42 / .42); font-size: 15px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.choice span:hover { border-color: var(--charcoal); }
.choice input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--on-dark); }
.choice input:focus-visible + span { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 4px; }
.form__note { font-size: 14px; color: var(--muted); }
.form-alert { padding-left: 14px; border-left: 2px solid var(--copper); }
.form-alert[hidden] { display: none; }
.page-head__body .form-alert { margin-top: 16px; max-width: 46ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 56px; padding: 0 28px; border: 0; background: var(--forest); color: var(--on-dark); font-weight: 500; cursor: pointer; transition: background-color .25s; }
.btn:hover { background: var(--forest-deep); }
.btn:hover .i { transform: translateX(4px); }

.values { padding-bottom: var(--section); }
.values__list { margin-top: 18px; border-bottom: 1px solid var(--rule); }
.values__list li { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: baseline; padding-block: clamp(18px, 2.2vw, 32px); border-top: 1px solid var(--rule); }
.values__list h3 { grid-column: 1 / span 6; font-size: clamp(1.6rem, 3.4vw, 3.4rem); line-height: 1.04; }
.values__list p { grid-column: 7 / -1; max-width: 42ch; color: var(--muted); font-size: 1.1em; }

.process { padding-block: var(--section); background: var(--forest); color: var(--on-dark); }
.process em { color: var(--copper-light); }
.process__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 64px) var(--col-gap); margin-top: clamp(48px, 6vw, 96px); }
.process__list li { padding-top: 16px; border-top: 1px solid var(--rule-dark); }
.process__no { display: block; font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--copper-light); font-variant-numeric: tabular-nums; }
.process__list h3 { margin-top: 10px; font-size: clamp(1.4rem, 2.1vw, 2.1rem); line-height: 1.08; letter-spacing: -.025em; }
.process__list p { margin-top: 10px; max-width: 40ch; color: var(--on-dark-muted); }

/* ---------- Footer ---------- */
.site-footer { padding-block: 44px 32px; background: var(--black); color: var(--on-dark); font-size: 14px; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-bottom: 28px; }
.site-footer__top img { width: 176px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px; padding-top: 20px; border-top: 1px solid var(--rule-dark); color: var(--on-dark-muted); }
.site-footer__base a { color: var(--on-dark); }

/* ---------- Performance badge (demo only, hide with ?clean) ---------- */
.perf { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: grid; justify-items: start; gap: 8px; font-size: 13px; }
.perf[hidden] { display: none; }
.perf { transition: opacity .25s, transform .25s; }
.perf.is-tucked { opacity: 0; transform: translateY(12px); pointer-events: none; }
.perf__pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--rule-dark); background: var(--forest-deep); color: var(--on-dark); cursor: pointer; font-size: 13px; font-variant-numeric: tabular-nums; }
.perf__dot { width: 7px; height: 7px; background: var(--copper-light); }
.perf__panel { width: min(340px, calc(100vw - 32px)); padding: 18px; background: var(--forest-deep); color: var(--on-dark); }
.perf__panel[hidden] { display: none; }
.perf__title { margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.perf table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.perf th, .perf td { padding: 6px 0; text-align: right; font-weight: 400; border-top: 1px solid var(--rule-dark); }
.perf thead th { border-top: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.perf tbody th { text-align: left; color: var(--on-dark-muted); }
.perf td:nth-child(2) { color: var(--copper-light); font-weight: 600; }
.perf td:nth-child(3) { padding-left: 12px; color: var(--on-dark-muted); }
.perf__note { margin-top: 10px; font-size: 11.5px; line-height: 1.45; color: var(--on-dark-muted); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  /* Smooth on the page, but jump straight to a section when arriving from Contact */
  html:focus-within { scroll-behavior: smooth; }
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(20px); } }
  }
}
/* Titles start pale and fill in, line by line, as they scroll up the page.
   Without scroll-driven animation, or with reduced motion, they are simply solid. */
@media screen and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .display, .closing h2, .closing__talk { view-timeline-name: --title; }
    .fill, em.fill {
      --ink: var(--charcoal); --pale: rgb(36 40 42 / .2);
      color: transparent;
      background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--pale), var(--pale));
      background-repeat: no-repeat; background-size: 0% 100%, 100% 100%;
      -webkit-background-clip: text; background-clip: text;
      animation: title-fill linear both; animation-timeline: --title; animation-range: entry 50% cover 38%;
    }
    @keyframes title-fill { to { background-size: 100% 100%, 100% 100%; } }
    em.fill { padding-inline: .1em; margin-inline: -.1em; animation-range: cover 38% cover 50%; } /* room for the italic tails */
    .capabilities .fill, .process .fill, .closing .fill { --ink: var(--on-dark); --pale: rgb(244 240 232 / .24); }
    .capabilities em.fill, .process em.fill, .closing__talk .fill { --ink: var(--copper-light); --pale: rgb(217 164 126 / .28); }
    .closing h2 .fill { animation-range: entry 50% cover 42%; }
    .closing__talk .fill { animation-range: entry 50% cover 30%; }
  }
}

/* ---------- Small screens ---------- */
@media (max-width: 1000px) {
  .cap-list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .capabilities__head .display { grid-column: 1 / -1; }
  .capabilities__head p { grid-column: 1 / span 9; margin-top: 24px; }
  .process__list { grid-template-columns: repeat(2, 1fr); }
  .logos { --logo-scale: .86; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .header-contact { margin-left: auto; min-height: 40px; padding: 0 14px; font-size: 14px; }
  .menu-btn { display: flex; margin-right: -10px; }
  .brand img { width: 148px; }

  .hero { min-height: min(calc(100svh - var(--header-h)), 700px); }
  .hero__img { object-position: 62% 40%; }
  .hero__kicker span { display: block; }
  .hero__kicker span + span::before { content: none; }
  .hero h1 { font-size: clamp(2.2rem, 10.6vw, 3.6rem); }
  .hero__foot { display: grid; gap: 18px; padding-top: 18px; }

  .mark { display: block; }
  .mark .mark__text { margin-top: 0; padding-top: 18px; border-top: 0; }
  .mark + .mark { margin-top: 44px; }
  .mark img { aspect-ratio: 16 / 10; object-fit: cover; }

  .capabilities__head { display: block; }
  .capabilities__head p { margin-top: 18px; }
  .cap-list { grid-template-columns: 1fr; row-gap: 0; border-bottom: 1px solid var(--rule-dark); }
  .cap { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding-block: 16px; border-top: 1px solid var(--rule-dark); }
  .cap__text { padding-top: 0; }
  .cap h3 { margin-top: 4px; }
  .cap p { margin-top: 6px; font-size: 15px; line-height: 1.4; }
  .cap .cap__services { grid-column: 1 / -1; margin-top: 0; padding-top: 0; border-top: 0; }

  .niall__grid { display: block; }
  .niall__photo { max-width: 300px; }
  .niall__copy { margin-top: 28px; }
  .logos { --logo-scale: .7; }
  .logos li { height: 68px; padding-inline: 22px; font-size: 1rem; }

  .values__list li { display: block; }
  .values__list p { margin-top: 8px; }
  .process__list { grid-template-columns: 1fr; gap: 28px; }

  .page-head h1 { font-size: clamp(2.2rem, 10.6vw, 3.6rem); }
  .page-head__foot { display: block; padding-top: 18px; }

  .contact__grid { display: block; }
  .form { grid-template-columns: 1fr; margin-top: 44px; }
  .btn { width: 100%; }

  .perf__pill { padding: 7px 12px; font-size: 12px; }
}
