:root {
  --navy: #173a67;
  --navy-deep: #102b4e;
  --ink: #182728;
  --ink-soft: #4b5d5f;
  --river: #2e6f8e;
  --river-dark: #23566f;
  --gold: #c7a13c;
  --gold-dark: #7f6319;
  --gold-light: #ead58c;
  --focus-ring: #aa8125;
  --mist: #eaf1f1;
  --sand: #f5f2ea;
  --paper: #fbfcfb;
  --white: #ffffff;
  --line: #d5dfde;
  --control-border: #748687;
  --line-dark: rgb(255 255 255 / 20%);
  --shadow: 0 22px 55px rgb(16 43 78 / 12%);
  --container: 75rem;
  --header-height: 5.75rem;
  --font:
    "Avenir Next", Avenir, "Segoe UI", Arial, Helvetica, sans-serif;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 3.5rem);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  display: block;
  height: auto;
  max-width: 100%;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--river-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 5.7vw, 5.45rem);
  margin-bottom: 1.65rem;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.9rem);
  margin-bottom: 1.4rem;
  max-width: 14ch;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin-bottom: 0.8rem;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--gold-light);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 3.5rem);
}

.container {
  margin-inline: auto;
  max-width: var(--container);
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section-sand {
  background: var(--sand);
}

.section-mist {
  background: var(--mist);
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  background: var(--white);
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 750;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  text-decoration: none;
  top: 1rem;
  transform: translateY(-180%);
  transition: transform 160ms ease;
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  color: var(--gold-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--gold-light);
}

.large-copy {
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

/* Header and navigation */

.site-header {
  background: var(--white);
  border-bottom: 1px solid transparent;
  min-height: var(--header-height);
  position: sticky;
  top: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
  z-index: 30;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgb(16 43 78 / 7%);
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: var(--header-height);
  position: relative;
}

.brand {
  display: inline-block;
  flex: 0 1 15.5rem;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  height: auto;
  width: min(100%, 15.5rem);
}

.site-nav {
  align-items: center;
  display: flex;
  font-size: 0.91rem;
  font-weight: 700;
  gap: clamp(1.25rem, 2.8vw, 2.25rem);
}

.site-nav a {
  color: var(--ink);
  min-height: 2.75rem;
  position: relative;
  text-decoration: none;
}

.site-nav a:not(.nav-cta) {
  align-items: center;
  display: inline-flex;
}

.site-nav a:not(.nav-cta)::after {
  background: var(--gold);
  bottom: 0.25rem;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
  width: 100%;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a[aria-current="page"]:not(.nav-cta)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  align-items: center;
  background: var(--navy);
  border: 2px solid var(--navy);
  color: var(--white) !important;
  display: inline-flex;
  justify-content: center;
  min-height: 2.85rem !important;
  padding: 0.55rem 1.15rem;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.nav-cta:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  display: none;
  height: 2.75rem;
  justify-content: center;
  padding: 0;
  width: 2.75rem;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  background: var(--ink);
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
  width: 1.15rem;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before {
  transform: translateY(-0.36rem);
}

.nav-toggle-lines::after {
  transform: translateY(0.36rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  transform: rotate(-45deg);
}

/* Buttons and text links */

.button-group {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  align-items: center;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 3.25rem;
  padding: 0.75rem 1.35rem;
  text-align: center;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.button-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.button-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.button-secondary:hover {
  background: var(--mist);
}

.button-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.button-light:hover {
  background: var(--sand);
  border-color: var(--sand);
}

.button-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.button-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.arrow-link {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  font-weight: 800;
  gap: 0.6rem;
  min-height: 2.75rem;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

.arrow-link span {
  transition: transform 160ms ease;
}

.arrow-link:hover span {
  transform: translateX(0.2rem);
}

/* Home hero */

.hero {
  background:
    radial-gradient(circle at 90% 18%, rgb(46 111 142 / 13%), transparent 29rem),
    linear-gradient(145deg, var(--white) 0%, var(--paper) 55%, var(--sand) 100%);
  overflow: hidden;
  padding-block: clamp(4.25rem, 7vw, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.hero-media {
  display: none;
}

.hero-copy {
  max-width: 60rem;
}

.hero-copy h1 {
  max-width: 14ch;
}

.hero-intro {
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  line-height: 1.62;
  margin-bottom: 2rem;
  max-width: 39rem;
}

.trust-band {
  background: var(--navy);
  color: var(--white);
}

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

.trust-grid > div {
  min-height: 8.75rem;
  padding: 1.65rem clamp(1rem, 2.5vw, 2rem);
}

.trust-grid > div + div {
  border-left: 1px solid var(--line-dark);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--gold-light);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.trust-grid span {
  color: rgb(255 255 255 / 78%);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Shared section layouts */

.intro-grid {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}

.intro-grid .large-copy p {
  margin-bottom: 1.25rem;
}

.intro-grid .arrow-link {
  margin-top: 0.75rem;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.pillar-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  min-height: 20rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.pillar h3 {
  color: var(--navy);
}

.pillar p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

.pillar a {
  font-size: 0.9rem;
  font-weight: 800;
}

.section-action {
  margin-top: 2.2rem;
  text-align: center;
}

/* Evidence and team teaser bands */

.fieldwork-band {
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}

.fieldwork-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.fieldwork-copy {
  max-width: 54rem;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.fieldwork-media {
  margin: 0 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}

.fieldwork-media img {
  aspect-ratio: 3 / 2;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.fieldwork-copy h2,
.fieldwork-copy p {
  color: var(--white);
}

.fieldwork-copy p:not(.eyebrow) {
  color: rgb(255 255 255 / 78%);
  margin-bottom: 2rem;
}

.team-teaser {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 9vw, 9rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.team-teaser > div:first-child > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 37rem;
}

.team-name-list {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.team-name-list > li {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(9rem, 0.8fr) minmax(0, 1.2fr);
  padding-block: 1.35rem;
}

.team-name-list span {
  color: var(--river-dark);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-name-list strong {
  color: var(--navy);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.cta-section {
  background: var(--navy);
}

.cta-panel {
  align-items: center;
  color: var(--white);
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-panel h2 {
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 18ch;
}

.cta-panel p:not(.eyebrow) {
  color: rgb(255 255 255 / 76%);
  max-width: 42rem;
}

/* Interior page heroes and section navigation */

.page-hero {
  background:
    linear-gradient(120deg, rgb(46 111 142 / 16%), transparent 46%),
    var(--navy-deep);
  color: var(--white);
  padding-block: clamp(4.25rem, 7vw, 6.75rem);
}

.page-hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.7fr);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0;
  max-width: 18ch;
}

.page-hero .eyebrow {
  color: var(--gold-light);
}

.page-hero-aside > p {
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  margin-bottom: 1.5rem;
}

.page-hero .button-secondary {
  border-color: rgb(255 255 255 / 65%);
  color: var(--white);
}

.page-hero .button-secondary:hover {
  background: rgb(255 255 255 / 12%);
}

.page-hero-compact {
  padding-block: clamp(3.75rem, 6vw, 5.5rem);
}

.section-nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--header-height);
  z-index: 20;
}

.section-nav .container {
  display: flex;
  gap: clamp(0.3rem, 2vw, 1.25rem);
  overflow-x: auto;
  scrollbar-width: thin;
}

.section-nav a {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 800;
  min-height: 3.2rem;
  padding-inline: 0.65rem;
  text-decoration: none;
}

.section-nav a:hover {
  background: var(--mist);
}

/* Services */

.video-grid {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 7vw, 6rem);
  grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr);
}

.video-grid > div:first-child > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.video-frame {
  border: 0.45rem solid var(--white);
  box-shadow: var(--shadow);
}

.video-frame video {
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.transcript {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin-top: 1.7rem;
}

.transcript summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
  min-height: 3.25rem;
  padding-block: 0.85rem;
}

.transcript > div {
  color: var(--ink-soft);
  font-size: 0.94rem;
  padding-bottom: 1rem;
}

.transcript p {
  margin-bottom: 0.8rem;
}

.service-detail-layout {
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.service-detail-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 5.5rem);
}

.service-detail-intro > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.service-detail-media {
  background: var(--white);
  border: 0.35rem solid var(--white);
  box-shadow: 0 12px 30px rgb(16 43 78 / 10%);
  margin: 2rem 0 0;
  overflow: hidden;
}

.service-detail-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.service-detail-media video {
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  object-fit: cover;
  width: 100%;
}

.service-detail-cards {
  border-top: 1px solid var(--line);
}

.service-detail-cards article {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.6rem, 3vw, 2.25rem);
}

.service-detail-cards h3 {
  color: var(--navy);
}

.service-detail-cards p {
  color: var(--ink-soft);
}

.service-capability-list {
  color: var(--ink-soft);
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.service-capability-list li + li {
  margin-top: 0.55rem;
}

.service-capability-list li::marker {
  color: var(--gold-dark);
}

.process-section {
  background: var(--navy-deep);
  color: var(--white);
}

.section-heading-light h2,
.section-heading-light > p {
  color: var(--white);
}

.section-heading-light > p {
  color: rgb(255 255 255 / 72%);
}

.process-list {
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  padding: 1.8rem clamp(1rem, 2vw, 1.7rem) 0;
}

.process-list li + li {
  border-left: 1px solid var(--line-dark);
}

.process-list span {
  color: var(--gold-light);
  display: block;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-bottom: 2.8rem;
}

.process-list h3 {
  color: var(--white);
}

.process-list p {
  color: rgb(255 255 255 / 70%);
  font-size: 0.94rem;
}

/* Farmers */

.page-hero-farmers .page-hero-grid {
  align-items: center;
}

.farm-hero-media {
  border: 0.4rem solid rgb(255 255 255 / 88%);
  box-shadow: 0 18px 42px rgb(0 0 0 / 20%);
  margin: 2rem 0 0;
  overflow: hidden;
}

.farm-hero-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 70%;
  width: 100%;
}

.pillar-compact {
  min-height: 0;
}

.pillar-compact p {
  margin-bottom: 0;
}

.farm-service-note {
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
  margin-top: 1rem;
  padding-left: 1rem;
}

.farm-detail-link {
  margin-top: 1.25rem;
}

.farm-checklist {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.farm-checklist li {
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1rem;
  padding: 1rem 0 1rem 2rem;
  position: relative;
}

.farm-checklist li::before {
  color: var(--gold-dark);
  content: "✓";
  font-weight: 850;
  left: 0.2rem;
  position: absolute;
  top: 1rem;
}

.mobile-call-cta {
  display: none;
}

/* About */

.story-grid {
  display: grid;
  gap: clamp(3rem, 9vw, 9rem);
  grid-template-columns: minmax(13rem, 0.55fr) minmax(0, 1.35fr);
}

.story-rail {
  align-self: start;
}

.story-year {
  align-self: start;
  border-top: 4px solid var(--gold);
  color: var(--navy);
  padding-top: 1.2rem;
}

.story-year span,
.story-year strong {
  display: block;
}

.story-year span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-year strong {
  font-size: clamp(3.75rem, 8vw, 7.5rem);
  letter-spacing: -0.07em;
  line-height: 1;
  margin-top: 0.6rem;
}

.story-media {
  background: var(--white);
  border: 0.35rem solid var(--white);
  box-shadow: 0 12px 30px rgb(16 43 78 / 10%);
  margin: 2rem 0 0;
  overflow: hidden;
}

.story-media img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.story-copy {
  max-width: 48rem;
}

.story-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.story-copy > p.large-copy {
  color: var(--ink);
}

.value-grid {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-grid article {
  padding: 1.7rem clamp(1rem, 2.3vw, 1.8rem);
}

.value-grid article + article {
  border-left: 1px solid var(--line);
}

.value-grid span {
  color: var(--gold-dark);
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  margin-bottom: 2.8rem;
}

.value-grid h3 {
  color: var(--navy);
}

.value-grid p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.people-grid {
  display: grid;
  gap: 1.25rem;
}

.person-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: 11rem minmax(0, 1fr);
  padding: clamp(1.5rem, 3.5vw, 2.7rem);
}

.person-portrait {
  align-items: center;
  align-self: start;
  aspect-ratio: 1;
  background: var(--sand);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.person-portrait img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.person-monogram {
  background:
    linear-gradient(145deg, rgb(46 111 142 / 60%), transparent 58%),
    var(--navy);
}

.person-monogram span {
  color: var(--white);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.person-specialism {
  color: var(--river-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.person-card h3 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.45rem;
}

.credentials {
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 750;
}

.person-content > p:not(.person-specialism, .credentials) {
  color: var(--ink-soft);
}

/* Contact */

.contact-layout {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 7vw, 6.5rem);
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
}

.contact-details {
  align-self: stretch;
}

.contact-details > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.contact-details dl {
  border-top: 1px solid var(--line);
  margin-block: 2.2rem;
}

.contact-details dl > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  padding-block: 1rem;
}

.contact-details dt {
  color: var(--river-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details dd,
.contact-details address {
  font-style: normal;
  margin: 0;
}

.contact-details dd > a:not(.arrow-link) {
  font-weight: 750;
}

.contact-details .arrow-link {
  font-size: 0.84rem;
  margin-top: 0.35rem;
}

.form-panel {
  background: var(--white);
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.form-heading {
  margin-bottom: 2rem;
}

.form-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.form-heading > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  gap: 1.35rem;
}

.form-row {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  background: var(--paper);
  border: 1px solid var(--control-border);
  border-radius: 0;
  min-height: 3.1rem;
  padding: 0.65rem 0.75rem;
  width: 100%;
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--river);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgb(46 111 142 / 18%);
}

.form-trap {
  height: 0;
  left: -9999px;
  margin: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.form-submit {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  padding-top: 0.4rem;
}

.form-submit p {
  color: var(--ink-soft);
  font-size: 0.78rem;
  max-width: 19rem;
}

.contact-expectation {
  background: var(--navy-deep);
  color: var(--white);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.contact-expectation-heading {
  line-height: inherit;
  max-width: none;
}

.contact-expectation ol {
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-expectation li {
  display: grid;
  gap: 1rem;
  grid-template-columns: 2rem minmax(0, 1fr);
  padding: 1.5rem clamp(1rem, 2.5vw, 2rem) 0;
}

.contact-expectation li + li {
  border-left: 1px solid var(--line-dark);
}

.contact-expectation span {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.contact-expectation p {
  color: rgb(255 255 255 / 78%);
}

/* Privacy and status pages */

.legal-layout {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(14rem, 0.6fr) minmax(0, 1.4fr);
}

.legal-summary {
  border-top: 4px solid var(--gold);
  padding-top: 1.4rem;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.legal-summary > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.legal-date {
  font-size: 0.82rem;
  font-weight: 750;
  margin-top: 1.5rem;
}

.legal-content {
  max-width: 47rem;
}

.legal-content section + section {
  border-top: 1px solid var(--line);
  margin-top: 2.25rem;
  padding-top: 2.25rem;
}

.legal-content h2 {
  color: var(--navy);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin-bottom: 0.8rem;
  max-width: none;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.status-main {
  background:
    radial-gradient(circle at 80% 20%, rgb(46 111 142 / 16%), transparent 26rem),
    var(--sand);
}

.status-panel {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 48rem;
  min-height: 32rem;
  text-align: center;
}

.status-panel h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 13ch;
}

.status-panel > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: 2rem;
  max-width: 38rem;
}

.status-mark {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: flex;
  font-size: 1.7rem;
  height: 4rem;
  justify-content: center;
  margin-bottom: 1.7rem;
  width: 4rem;
}

.status-code {
  color: var(--river);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 1;
  margin-bottom: 1rem;
}

.button-group-centred {
  justify-content: center;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: clamp(2.5rem, 7vw, 6rem);
  grid-template-columns: minmax(16rem, 1.4fr) minmax(8rem, 0.6fr) minmax(12rem, 0.7fr);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.brand-footer {
  background: var(--white);
  flex: none;
  margin-bottom: 1.25rem;
  padding: 0.55rem 0.75rem;
  width: min(100%, 16rem);
}

.brand-footer img {
  width: 100%;
}

.footer-brand p,
.site-footer address {
  color: rgb(255 255 255 / 70%);
  font-size: 0.9rem;
  font-style: normal;
}

.footer-heading {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-links {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer a {
  color: var(--white);
}

.footer-links a {
  min-height: 2.25rem;
}

.footer-meta {
  align-items: center;
  border-top: 1px solid var(--line-dark);
  color: rgb(255 255 255 / 60%);
  display: flex;
  font-size: 0.75rem;
  gap: 2rem;
  justify-content: space-between;
  padding-block: 1.25rem;
}

.footer-meta p {
  margin-bottom: 0;
}

.footer-meta-simple {
  min-height: 5rem;
}

/* Responsive */

@media (min-width: 52.501rem) {
  .hero-grid {
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  }

  .hero-copy {
    max-width: 44rem;
  }

  .hero-media {
    aspect-ratio: 3 / 2;
    background-image:
      url("/assets/images/canterbury-farmland-and-mountains.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 0.45rem solid var(--white);
    box-shadow: var(--shadow);
    display: block;
  }

  .fieldwork-grid {
    align-items: stretch;
    gap: clamp(3rem, 7vw, 6rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  }

  .fieldwork-copy {
    max-width: 36rem;
  }

  .fieldwork-media {
    margin: 0;
  }
}

@media (max-width: 64rem) {
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li {
    border-bottom: 1px solid var(--line-dark);
    padding-bottom: 1.5rem;
  }

  .process-list li:nth-child(3) {
    border-left: 0;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid article {
    border-bottom: 1px solid var(--line);
  }

  .value-grid article:nth-child(3) {
    border-left: 0;
  }

}

@media (max-width: 52.5rem) {
  :root {
    --header-height: 4.75rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .brand {
    flex-basis: 13rem;
  }

  .brand img {
    width: 13rem;
  }

  .js .nav-toggle {
    display: flex;
  }

  .site-nav {
    align-items: stretch;
    border-top: 1px solid var(--line);
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    padding-block: 0.75rem 1rem;
  }

  .site-nav a {
    align-items: center;
    display: flex;
    min-height: 3rem;
    padding-inline: 0.75rem;
  }

  .site-nav a:not(.nav-cta)::after {
    bottom: 0.25rem;
    left: 0.75rem;
    width: 2rem;
  }

  .nav-cta {
    margin-top: 0.45rem;
  }

  .js .site-nav {
    background: var(--white);
    box-shadow: 0 18px 35px rgb(16 43 78 / 13%);
    display: flex;
    left: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 100%;
    transform: translateY(-0.5rem);
    transition:
      max-height 220ms ease,
      opacity 180ms ease,
      padding 220ms ease,
      transform 180ms ease;
    visibility: hidden;
  }

  .js .site-nav.is-open {
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    opacity: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 1rem;
    padding-top: 0.75rem;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .hero-grid,
  .intro-grid,
  .section-heading,
  .fieldwork-grid,
  .team-teaser,
  .page-hero-grid,
  .video-grid,
  .service-detail-layout,
  .story-grid,
  .contact-layout,
  .legal-layout,
  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: 42rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid > div {
    border-bottom: 1px solid var(--line-dark);
  }

  .trust-grid > div:nth-child(3) {
    border-left: 0;
  }

  .section-heading {
    align-items: start;
    gap: 1.5rem;
  }

  .section-heading > p {
    max-width: 40rem;
  }

  .cta-panel {
    align-items: start;
    gap: 1.5rem;
  }

  .cta-panel .button {
    justify-self: start;
  }

  .service-detail-intro,
  .legal-summary {
    position: static;
  }

  .story-media {
    max-width: 36rem;
  }

  .story-media img {
    aspect-ratio: 4 / 3;
    object-position: center 55%;
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-list li + li,
  .process-list li:nth-child(3) {
    border-left: 0;
  }

  .process-list span {
    margin-bottom: 1rem;
  }

  .contact-expectation ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-expectation li + li {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
    margin-top: 1rem;
  }

  .mobile-call-cta {
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    display: flex;
    justify-content: center;
    left: 1rem;
    pointer-events: none;
    position: fixed;
    right: 1rem;
    z-index: 25;
  }

  .mobile-call-cta .button {
    box-shadow: 0 10px 28px rgb(16 43 78 / 25%);
    pointer-events: auto;
    width: min(100%, 24rem);
  }

  .farmers-page .site-footer {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 38rem) {
  h1 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
  }

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

  .section {
    padding-block: 4rem;
  }

  .hero {
    padding-block: 3.75rem 4.75rem;
  }

  .button-group {
    align-items: stretch;
    flex-direction: column;
  }

  .button-group .button {
    width: 100%;
  }

  .trust-grid > div {
    min-height: 7.7rem;
    padding: 1.35rem 1rem;
  }

  .pillar-grid,
  .value-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillar {
    min-height: 0;
  }

  .value-grid article + article,
  .value-grid article:nth-child(3) {
    border-left: 0;
  }

  .value-grid span {
    margin-bottom: 1.25rem;
  }

  .team-name-list > li {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero {
    padding-block: 3.75rem;
  }

  .page-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.4rem);
  }

  .section-nav .container {
    padding-right: 0.5rem;
  }

  .video-frame {
    border-width: 0.3rem;
  }

  .story-grid {
    gap: 2.5rem;
  }

  .story-year strong {
    font-size: 4.5rem;
  }

  .person-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .person-portrait {
    height: 9.5rem;
    width: 9.5rem;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .button-group-centred {
    align-items: center;
  }

  .button-group-centred .arrow-link {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .section-nav,
  .site-footer,
  .mobile-call-cta,
  .button,
  .video-frame {
    display: none !important;
  }

  body,
  .page-hero,
  .section-sand,
  .section-mist,
  .trust-band,
  .fieldwork-band,
  .cta-section,
  .process-section,
  .contact-expectation,
  .person-monogram,
  .status-mark {
    background: var(--white) !important;
    color: var(--ink) !important;
  }

  .page-hero *,
  .trust-band *,
  .fieldwork-band *,
  .cta-section *,
  .process-section *,
  .contact-expectation *,
  .person-monogram *,
  .status-mark * {
    color: var(--ink) !important;
  }

  .trust-grid > div,
  .process-list,
  .process-list li,
  .contact-expectation ol,
  .contact-expectation li {
    border-color: var(--line) !important;
  }

  a {
    color: var(--ink);
  }
}
