/* Clark, Raymond & Company: "The Rising Line" concept.
   Anchor: Mastercard DESIGN.md (orbit arcs across the full width, generous editorial space),
   re-tokened to CRC's own logo navy and green on white. Family logic from Springline's FAMILY-SYSTEM.md. */

:root {
  --paper: #ffffff;
  --mist: #f1f5f2;
  --ink: #13213d;
  --muted: #4a5568;
  --line: #d5ddd8;
  --navy: #13213d;
  --navy-2: #1c2c4c;
  --navy-deep: #0d1830;
  --green: #a2d299;
  --green-ink: #2e6b3c;
  --green-ink-2: #275c33;
  --on-navy-muted: #c3cbd8;
  --line-navy: rgba(255, 255, 255, 0.16);

  --shell: 105rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --header-h: clamp(4.25rem, 3.6rem + 2.4vw, 6rem);
  --utility-h: 2.5rem;
  --nav-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --logo-h: clamp(2.5rem, 2.1rem + 1.6vw, 3.75rem);
  --col-gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --space-section: clamp(4.5rem, 3rem + 6.6vw, 9rem);

  --step--2: clamp(0.75rem, 0.7425rem + 0.0333vw, 0.7725rem);
  --step--1: clamp(0.875rem, 0.8667rem + 0.037vw, 0.9rem);
  --step-0: clamp(1rem, 0.9583rem + 0.1852vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1125rem + 0.3889vw, 1.4625rem);
  --step-2: clamp(1.44rem, 1.2862rem + 0.6833vw, 1.9013rem);
  --step-3: clamp(1.728rem, 1.4801rem + 1.1017vw, 2.4716rem);
  --step-4: clamp(2.0736rem, 1.6938rem + 1.6882vw, 3.2131rem);
  --step-5: clamp(2.4883rem, 1.9254rem + 2.5018vw, 4.177rem);
  --step-hero: clamp(2.75rem, 1.2rem + 3.9vw, 6rem);

  --display: "PT Sans", "Trebuchet MS", sans-serif;
  --text: "Karla", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: var(--step-0); line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--green); color: var(--navy); }
input, textarea { caret-color: var(--green-ink); accent-color: var(--green-ink); }
html { scrollbar-color: #8a96a8 var(--paper); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.about :focus-visible, .industries :focus-visible, .articles :focus-visible, .committed :focus-visible, .form :focus-visible { outline-color: var(--green-ink); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--paper); color: var(--ink); padding: 0.75rem 1rem; border-radius: 0.5rem; font-weight: 600; }
.skip:focus { top: 1rem; }

.shell { width: 100%; max-width: calc(var(--shell) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

.h2 { font-size: var(--step-5); line-height: 1.04; letter-spacing: -0.02em; }
.lede { font-size: var(--step-1); line-height: 1.55; }

/* Buttons: one pill family. Fill = CRC green darkened for white text (6.4:1). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.875rem; padding: 0.8rem 1.5rem; border-radius: 999px; border: 0;
  font-family: var(--text); font-weight: 600; font-size: var(--nav-size); line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--fill { background: var(--green-ink); color: #fff; }
.btn--fill:hover { background: var(--green-ink-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist); }
.btn--lg { min-height: 3.5rem; padding: 1rem 1.9rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem;
  font-weight: 600; color: var(--green-ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.55rem) / 0 1px no-repeat;
  transition: background-size 0.35s var(--ease);
}
.arrow-link:hover { background-size: 100% 1px; }
.arr { width: 1.15em; height: 1.15em; flex: none; }
.arrow-link .arr { transition: transform 0.3s var(--ease); }
.arrow-link:hover .arr { transform: translateX(4px); }
.arrow-link--light { color: var(--green); }

/* The rising-line frame: the top edge of every photograph rises left to right like the logo wedge. */
.rise { clip-path: url(site.css); overflow: hidden; }
.rise img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }

/* ---------- Utility row ---------- */
.utility { background: var(--navy-deep); color: var(--on-navy-muted); font-size: var(--step--1); }
.utility__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--utility-h); }
.utility a { color: #fff; text-underline-offset: 3px; }
.utility__note a { margin-left: 0.4rem; color: var(--green); }
.utility__tools { display: flex; gap: 1.5rem; }
.utility__tools a { display: inline-flex; align-items: center; min-height: 2.5rem; text-decoration: none; }
.utility__tools a:hover { text-decoration: underline; }

/* ---------- Bar ---------- */
.bar { position: sticky; top: 0; z-index: 50; color: #fff; transition: background-color 0.35s, box-shadow 0.35s; }
.bar.is-solid, .bar.is-open { background: var(--navy); box-shadow: 0 1px 0 var(--line-navy); }
.bar__in { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.bar__logo { display: block; flex: none; }
.bar__logo img { height: var(--logo-h); width: auto; }
.nav { flex: 1; display: none; justify-content: center; }
.nav__list { display: flex; gap: clamp(1.25rem, 2.2vw, 2.75rem); align-items: center; }
.nav__trigger, .nav__link {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem;
  background: none; border: 0; padding: 0; cursor: pointer; color: #fff;
  font-family: var(--display); font-weight: 700; font-size: var(--nav-size); text-decoration: none;
  background-image: linear-gradient(var(--green), var(--green)); background-repeat: no-repeat;
  background-position: 0 calc(100% - 0.35rem); background-size: 0 2px; transition: background-size 0.3s var(--ease);
}
.nav__trigger:hover, .nav__link:hover, .nav__trigger[aria-expanded="true"] { background-size: 100% 2px; }
.chev { width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.3s var(--ease); }
[aria-expanded="true"] > .chev { transform: translateY(2px) rotate(-135deg); }
.bar__cta { display: none; flex: none; }

.dd {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); color: #fff;
  border-top: 1px solid var(--line-navy); box-shadow: 0 24px 40px rgba(6, 12, 26, 0.3);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
}
.dd.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s var(--ease), transform 0.35s var(--ease); }
.dd__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding-block: 2.5rem 3rem; }
.dd__lead { grid-column: 1 / span 3; font-family: var(--display); font-size: var(--step-3); font-weight: 700; line-height: 1.1; }
.dd__lead a { text-decoration: none; }
.dd__lead a:hover { color: var(--green); }
.dd__cols--2 { grid-column: 4 / span 6; columns: 2; column-gap: var(--col-gap); }
.dd__group { grid-column: span 3; }
.dd__head { display: inline-block; font-family: var(--display); font-weight: 700; font-size: var(--step-1); color: var(--green); text-decoration: none; margin-bottom: 0.75rem; }
.dd ul a { display: block; padding: 0.45rem 0; color: var(--on-navy-muted); text-decoration: none; line-height: 1.4; border-bottom: 1px solid var(--line-navy); }
.dd ul a:hover { color: #fff; }
.dd__cols--2 li { break-inside: avoid; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 0.7rem; margin-left: auto; min-height: 2.75rem;
  background: none; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 0.5rem 1.1rem; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: var(--nav-size); color: #fff;
}
.menu-btn__icon { position: relative; width: 1.1rem; height: 0.7rem; }
.menu-btn__icon i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.menu-btn__icon i:first-child { top: 0; }
.menu-btn__icon i:last-child { top: calc(100% - 2px); }
.menu-btn[aria-expanded="true"] i:first-child { top: calc(50% - 1px); transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { top: calc(50% - 1px); transform: rotate(-45deg); }

.menu { background: var(--navy); border-top: 1px solid var(--line-navy); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
.menu__in { padding-block: 0.5rem 2rem; }
.menu__row, .menu__link { border-bottom: 1px solid var(--line-navy); }
.menu__toggle, .menu__link {
  display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 3.5rem;
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: var(--step-2); color: #fff;
}
.pm { position: relative; width: 1rem; height: 1rem; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: var(--green); transition: transform 0.3s var(--ease); }
.pm::after { transform: rotate(90deg); }
[aria-expanded="true"] > .pm::after { transform: rotate(0); }
.menu__sub { padding: 0 0 1rem; }
.menu__sub a { display: flex; align-items: center; min-height: 2.75rem; color: var(--on-navy-muted); text-decoration: none; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; padding-top: 1.5rem; }
.menu__foot .btn { width: 100%; }
.menu__tool { display: inline-flex; align-items: center; min-height: 2.75rem; color: #fff; }

@media (min-width: 75rem) {
  .nav { display: flex; }
  .bar__cta { display: inline-flex; }
  .menu-btn, .menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; background: var(--navy);
  margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h);
}
.hero__field { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 70% at 18% 30%, #1d3054 0%, transparent 70%), var(--navy); }
.hero__shader { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__shader.is-live { opacity: 1; }
.hero__shader canvas { display: block; width: 100%; height: 100%; }
.hero__in { position: relative; z-index: 2; }
.hero__copy { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 3rem); max-width: 40rem; }
.hero__title { font-size: var(--step-hero); line-height: 1.02; letter-spacing: -0.025em; }
.hl { color: var(--green); }
.hero__sub { margin-top: clamp(1.25rem, 2vw, 1.75rem); max-width: 34rem; font-size: var(--step-1); line-height: 1.55; color: #e3e8ef; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }

.hero__art { position: relative; height: clamp(18rem, 78vw, 34rem); }
.hero__photo { position: absolute; inset: 0; overflow: hidden;
  clip-path: polygon(0 42%, 8% 38%, 16% 18%, 24% 4%, 30% 0, 100% 0, 100% 100%, 0 100%); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; transform-origin: 70% 40%; }
.js .hero__photo { clip-path: none; }
.hero__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rl { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; }
.rl-dot { fill: var(--green); }

@media (min-width: 75rem) {
  .hero { min-height: calc(100svh - var(--utility-h)); min-height: max(40rem, calc(100svh - var(--utility-h))); display: flex; flex-direction: column; justify-content: center; }
  .hero__copy { width: calc(40vw - var(--gutter)); max-width: none; padding-block: 2rem 5rem; }
  .shell.hero__in { max-width: none; }
  .hero__art { position: absolute; inset: 0; height: auto; z-index: 1; }
  .hero__photo { clip-path: polygon(40% 100%, 44% 82%, 49% 30%, 56% 13%, 100% 13%, 100% 100%); }
  .hero__photo img { position: absolute; left: 40%; top: 0; width: 60%; height: 100%; }
  .js .hero__photo { clip-path: none; }
}
@media (min-width: 75rem) { .hero__sub { font-size: clamp(1.125rem, 0.9rem + 0.35vw, 1.375rem); } }
@media (min-width: 112rem) { .hero__copy { max-width: 58rem; } .hero__sub { max-width: 40rem; } }

/* ---------- About ---------- */
.about { padding-block: var(--space-section); }
.about__title { grid-column: 1 / span 5; }
.about__text { grid-column: 7 / span 6; display: grid; gap: 1.25rem; align-content: start; padding-top: 0.6rem; }
.about__text p:not(.lede) { color: var(--muted); max-width: 40rem; }
.about__photo { grid-column: 1 / span 7; margin-top: clamp(3rem, 6vw, 6rem); aspect-ratio: 3 / 2; }
.about__rbi { grid-column: 9 / span 4; margin-top: clamp(3rem, 6vw, 6rem); align-self: end; display: grid; gap: 1.25rem; justify-items: start; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.about__rbi p { color: var(--muted); font-size: var(--step--1); line-height: 1.7; }
.about__rbi-logo img { height: 2.5rem; width: auto; }

/* ---------- Services picker ---------- */
.services { background: var(--navy); color: #fff; padding-block: var(--space-section); }
.services__title { grid-column: 1 / -1; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.picker { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.picker__tabs { display: none; }
.picker__panels { grid-column: 1 / -1; display: grid; gap: 3rem; }
.picker__panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.picker__photo { aspect-ratio: 16 / 10; }
.picker__name { font-size: var(--step-3); margin-bottom: 0.5rem; }
.picker__list { margin-bottom: 1rem; }
.picker__list a { display: flex; align-items: center; min-height: 3rem; padding-block: 0.6rem; border-bottom: 1px solid var(--line-navy); color: #e3e8ef; text-decoration: none; line-height: 1.35; transition: color 0.25s, padding 0.35s var(--ease); }
.picker__list a:hover { color: var(--green); padding-left: 0.4rem; }
.picker__list li:first-child a { border-top: 1px solid var(--line-navy); }

.js .picker__tabs { display: flex; flex-direction: column; grid-column: 1 / span 5; align-items: flex-start; }
.js .picker__panels { grid-column: 6 / -1; display: grid; }
.js .picker__panel { grid-area: 1 / 1; grid-template-columns: minmax(0, 1fr); row-gap: 2rem; align-items: start; }
.js .picker__photo { aspect-ratio: 16 / 7; }
.js .picker__list { columns: 2; column-gap: var(--col-gap); }
.js .picker__list li { break-inside: avoid; }
.js .picker__list li:first-child a { border-top: 0; }
.js .picker__list a { border-bottom: 1px solid var(--line-navy); }
.js .picker__panel[hidden] { display: none; }
.js .picker__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.picker__tab {
  position: relative; background: none; border: 0; padding: 0.15em 0 0.15em 2.25rem; cursor: pointer; text-align: left;
  font-family: var(--display); font-weight: 700; font-size: var(--step-5); line-height: 1.15; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.56); transition: color 0.35s var(--ease);
}
.picker__tab::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.25rem; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.picker__tab:hover { color: rgba(255,255,255,0.75); }
.picker__tab[aria-selected="true"] { color: #fff; }
.picker__tab[aria-selected="true"]::before { transform: scaleX(1); }

@media (max-width: 63.99rem) {
  .js .picker__tabs { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-bottom: 2rem; }
  .js .picker__panels { grid-column: 1 / -1; }
  .picker__tab { font-size: var(--step-3); padding-left: 0; padding-bottom: 0.4rem; }
  .picker__tab::before { top: auto; bottom: 0; width: 100%; height: 3px; }
  .js .picker__panel { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
}

/* ---------- Industries ---------- */
.industries { padding-block: var(--space-section); }
.industries__title { grid-column: 1 / span 6; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.index { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
.index__row { position: relative; }
.index__row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; transform: scaleX(var(--r, 1)); }
.index__row::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--green-ink); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.index__row:hover::after, .index__row:focus-within::after { transform: scaleX(1); }
.index__link {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline;
  padding-block: clamp(1.5rem, 2.6vw, 2.25rem); text-decoration: none; color: var(--ink);
}
.index__name { grid-column: 1 / span 5; font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.01em; transition: color 0.3s; }
.index__desc { grid-column: 7 / span 5; color: var(--muted); max-width: 38rem; }
.index__arrow { grid-column: 12; justify-self: end; align-self: start; margin-top: 0.35rem; width: 1.75rem; height: 1.75rem; color: var(--green-ink); transition: transform 0.35s var(--ease); }
.index__link:hover .index__name { color: var(--green-ink); }
.index__link:hover .index__arrow { transform: translateX(6px); }

/* ---------- Committed ---------- */
.committed { background: var(--mist); padding-block: var(--space-section); overflow: hidden; }
.committed .grid { align-items: center; }
.committed__photos { grid-column: 1 / span 7; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); }
.committed__photos figure { aspect-ratio: 4 / 5; }
.committed__photos figure:first-child img { object-position: 70% 30%; }
.committed__photos figure:last-child img { object-position: 66% 30%; }
.committed__photos figure:last-child { margin-top: clamp(2rem, 6vw, 5rem); }
.committed__copy { grid-column: 9 / span 4; display: grid; gap: 2rem; justify-items: start; }
.committed__title { font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.01em; }

/* ---------- Articles ---------- */
.articles { padding-block: var(--space-section); }
.articles__head { grid-column: 1 / span 4; display: grid; gap: 1.5rem; align-content: start; justify-items: start; }
.posts { grid-column: 6 / -1; border-bottom: 1px solid var(--line); }
.post { position: relative; }
.post::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; transform: scaleX(var(--r, 1)); }
.post__link { display: grid; grid-template-columns: minmax(0, 1fr) clamp(8rem, 14vw, 13rem) 2rem; gap: var(--col-gap); align-items: center; padding-block: clamp(1.25rem, 2.2vw, 1.75rem); text-decoration: none; color: var(--ink); }
.post__title { font-size: var(--step-2); line-height: 1.2; transition: color 0.3s; }
.post__thumb { display: block; overflow: hidden; border-radius: 0.75rem; aspect-ratio: 560 / 292; }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post__arrow { justify-self: end; width: 1.75rem; height: 1.75rem; color: var(--green-ink); transition: transform 0.35s var(--ease); }
.post__link:hover .post__title { color: var(--green-ink); }
.post__link:hover .post__thumb img { transform: scale(1.03); }
.post__link:hover .post__arrow { transform: translateX(6px); }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--navy); color: #fff; padding-block: calc(var(--space-section) + 2rem) var(--space-section); }
.contact__line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: clamp(3rem, 7vw, 6rem); overflow: visible; }
.contact__info { grid-column: 1 / span 5; }
.ledger { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.ledger__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding-block: 1.25rem; border-top: 1px solid var(--line-navy); }
.ledger dt { font-family: var(--display); font-weight: 700; font-size: var(--step--1); letter-spacing: 0.04em; color: var(--green); padding-top: 0.2rem; }
.ledger dd { margin: 0; color: #e3e8ef; }
.ledger a { color: #fff; text-underline-offset: 4px; text-decoration-color: rgba(162, 210, 153, 0.6); }
.ledger a:hover { color: var(--green); }
.fax { color: var(--on-navy-muted); }
.ledger__row--people { grid-template-columns: minmax(0, 1fr); }
.people { display: grid; gap: 1.25rem; }
.people li { display: grid; gap: 0.1rem; }
.people strong { font-family: var(--display); font-size: var(--step-1); }
.people span { color: var(--on-navy-muted); font-size: var(--step--1); }
.people a { justify-self: start; min-height: 2rem; display: inline-flex; align-items: center; }

.form {
  grid-column: 7 / -1; align-self: start; background: #fff; color: var(--ink); border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem var(--col-gap);
}
.field { display: grid; gap: 0.4rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #b9c5be; border-radius: 0.6rem;
  padding: 0.8rem 0.95rem; min-height: 3rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgba(46, 107, 60, 0.2); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field__err { color: #b3261e; font-size: var(--step--1); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__done { color: var(--green-ink); font-weight: 600; }

/* ---------- Footer ---------- */
.foot { background: var(--navy-deep); color: var(--on-navy-muted); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; font-size: var(--step--1); }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 3rem; }
.foot__brand { grid-column: 1 / span 4; display: grid; gap: 1.5rem; align-content: start; }
.foot__logo { height: clamp(3rem, 2.4rem + 2vw, 4.5rem); width: auto; }
.foot__brand address { line-height: 1.8; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.foot__cols { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); }
.foot__h { font-family: var(--display); font-weight: 700; color: var(--green); margin-bottom: 0.75rem; font-size: var(--step-0); }
.foot__h a { color: var(--green); }
.foot__cols li a { display: inline-flex; align-items: center; min-height: 2.25rem; line-height: 1.3; }
.foot__legal { grid-column: 1 / -1; border-top: 1px solid var(--line-navy); padding-top: 2rem; display: grid; gap: 1rem; font-size: var(--step--2); line-height: 1.7; }
.foot__legal p { max-width: 110ch; }
.foot__sl { font-size: var(--step--1); color: #fff; }
.foot__sl a { color: var(--green); margin-left: 0.35rem; text-decoration: underline; text-underline-offset: 3px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; max-width: none !important; padding-top: 1rem; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 63.99rem) {
  .about__title, .about__text, .about__photo, .about__rbi,
  .industries__title, .committed__photos, .committed__copy,
  .articles__head, .posts, .contact__info, .form, .foot__brand, .foot__cols { grid-column: 1 / -1; }
  .about__text { margin-top: 1.5rem; padding-top: 0; }
  .about__rbi { margin-top: 2rem; }
  .index__name { grid-column: 1 / span 10; }
  .index__desc { grid-column: 1 / span 11; margin-top: 0.6rem; }
  .index__arrow { grid-row: 1; grid-column: 12; }
  .committed__copy { margin-top: 3rem; }
  .posts { margin-top: 2.5rem; }
  .form { margin-top: 3rem; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}
@media (max-width: 40rem) {
  .js .picker__list { columns: 1; }
  .js .picker__photo { aspect-ratio: 16 / 9; }
  .utility__note { font-size: var(--step--2); }
  .utility__tools { display: none; }
  .hero__actions .btn { width: 100%; }
  .post__link { grid-template-columns: minmax(0, 1fr) 6.5rem; }
  .post__arrow { display: none; }
  .post__title { font-size: var(--step-1); }
  .form { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; }
  .form .btn { width: 100%; }
  .ledger__row { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .committed__photos figure { aspect-ratio: 3 / 4; }
}

/* Motion setup: the hero title waits at most for the web font (2.5 s safety), then rises. */
.pre .hero__title { visibility: hidden; }
.split-line { overflow: clip; overflow-clip-margin: 0.2em; padding-bottom: 0.06em; margin-bottom: -0.06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html.lenis, html.lenis body { height: auto; }
}
