/* Red River Spray-On Ltd. — site
   Display: Barlow Condensed. Body: Barlow. System fallbacks. */

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #163a9a;
  --blue: #2a55d4;
  --blue-ink: #1c3fb0;
  --cream: #f4f8ff;
  --cream-2: #eaf1fc;
  --ink: #10204a;
  --muted: #4a5878;
  --hair: rgba(22, 58, 154, 0.16);
  --hair-light: rgba(22, 58, 154, 0.12);
  --display: "Barlow Condensed", "Arial Narrow", "Franklin Gothic Medium", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Barlow", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad-x: clamp(1.15rem, 4.2vw, 4.5rem);
  --pad-y: clamp(3.5rem, 9vw, 7.5rem);
  --max: 88rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: #eef3fb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, cite, li { overflow-wrap: break-word; }
.path-copy, .path-photo, .fact, .quote, .fields, .field, .gallery, .person, .prose-inner { min-width: 0; }
a { color: inherit; }
section[id] { scroll-margin-top: 5.25rem; }
button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cream);
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

/* ——— NAV ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  padding: 0.75rem var(--pad-x);
  color: var(--navy);
  background: rgba(244, 249, 255, 0.94);
  border-bottom: 1px solid var(--hair);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  text-decoration: none;
  opacity: 0.88;
}
.nav-links a:hover { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.78rem 1.15rem;
  border-radius: 2px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}
.btn-solid {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-solid:hover { background: var(--blue-ink); border-color: var(--blue-ink); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  border-color: rgba(22, 58, 154, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.85); }
.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--blue); border-color: var(--blue); }

.nav-cta { flex-shrink: 0; }

/* ——— HERO ——— */
.hero {
  position: relative;
  min-height: calc(100vh - 3.75rem);
  min-height: calc(100svh - 3.75rem);
  display: flex;
  align-items: flex-end;
  color: var(--ink);
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 48%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(236, 244, 255, 0.28) 0%, rgba(236, 244, 255, 0.04) 32%, rgba(236, 244, 255, 0.18) 62%, rgba(236, 244, 255, 0.55) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0) 100%);
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.2rem, 8vw, 6.5rem) var(--pad-x) clamp(2.4rem, 5vw, 4.2rem);
}

.kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.78;
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55), 0 8px 28px rgba(236,244,255,0.55);
  font-size: clamp(2.85rem, 11.4vw, 8.15rem);
  line-height: 0.86;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
  max-width: 11.5ch;
}
.hero h1 span { display: block; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  max-width: 34rem;
  margin: 0 0 1.6rem;
  color: var(--ink);
  opacity: 0.88;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ——— WHY (still dark, under hero) ——— */
.why {
  background: #e4eefb;
  color: var(--ink);
  padding: 0 0 var(--pad-y);
}
.why-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--hair-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.fact {
  padding: 1.7rem 1.35rem 1.1rem 0;
  border-right: 1px solid var(--hair-light);
}
.fact:nth-child(2n) { border-right: 0; padding-right: 0; }
.fact:nth-child(-n+2) { border-bottom: 1px solid var(--hair-light); }
.num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin: 0 0 0.55rem;
}
.why .num,
.rigs .num { color: var(--blue); }
.fact h2,
.fact h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
}
.fact p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 22rem;
}

/* ——— WORK / SERVICES cream flip ——— */
.work {
  background: var(--cream);
  color: var(--ink);
  padding: var(--pad-y) 0 0;
}
.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(2rem, 4vw, 3.2rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 5.4rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}
.section-head p {
  margin: 0;
  max-width: 22rem;
  color: var(--muted);
}

.path {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border-top: 1px solid var(--hair);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  align-items: stretch;
}
.path:last-of-type { border-bottom: 1px solid var(--hair); }
.path-alt { grid-template-columns: 0.95fr 1.05fr; }
.path-alt .path-copy { order: 2; }
.path-alt .path-photo { order: 1; }

.path-photo {
  min-height: clamp(16rem, 38vw, 28rem);
  padding: clamp(1.2rem, 2.4vw, 2rem) 0;
}
.path-alt .path-photo { padding-right: clamp(1.4rem, 3vw, 2.6rem); }
.path:not(.path-alt) .path-photo { padding-left: clamp(1.4rem, 3vw, 2.6rem); }
.path-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.path-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
}
.path:not(.path-alt) .path-copy { padding-right: clamp(1.5rem, 3vw, 2.8rem); }
.path-alt .path-copy { padding-left: clamp(1.5rem, 3vw, 2.8rem); }

.path-copy h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}
.path-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

/* ——— REVIEWS ——— */
.reviews {
  background: var(--cream-2);
  color: var(--ink);
  padding: var(--pad-y) 0;
  border-top: 1px solid var(--hair);
}
.reviews-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.quote {
  padding: 1.6rem 1.8rem 1.6rem 0;
  border-top: 1px solid var(--hair);
}
.quote:nth-child(even) {
  padding-left: 1.8rem;
  padding-right: 0;
  border-left: 1px solid var(--hair);
}
.quote p {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--ink);
}
.quote cite {
  font-style: normal;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--display);
  font-weight: 600;
  color: var(--muted);
}

/* ——— RIGS band ——— */
.rigs {
  background: #d9e6f8;
  color: var(--ink);
  padding: var(--pad-y) var(--pad-x);
}
.rigs-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: end;
}
.rigs h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.6vw, 4.6rem);
  line-height: 0.88;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
  max-width: 14ch;
}
.rigs p {
  margin: 0 0 1.4rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
}

/* ——— CONTACT ——— */
.contact {
  background: var(--cream);
  color: var(--ink);
  padding: var(--pad-y) 0;
}
.contact-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}
.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-details li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--hair);
  font-size: 1.02rem;
}
.contact-details li:last-child { border-bottom: 1px solid var(--hair); }
.contact-details span {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.2rem;
}
.contact-details a { text-decoration: none; }
.contact-details a:hover { color: var(--blue); }

.quote-form {
  background: var(--cream-2);
  border: 1px solid var(--hair);
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
}
.quote-form h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}
.form-note {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.field { display: flex; flex-direction: column; gap: 0.28rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 0.7rem 0.75rem;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23080838' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px 8px;
  padding-right: 2rem;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.quote-form .btn { margin-top: 0.9rem; width: 100%; border: 0; }

/* ——— FOOTER ——— */
.foot {
  background: #d9e6f8;
  color: var(--navy);
  padding: 1.15rem var(--pad-x);
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}
.foot a { text-decoration: none; }
.foot a:hover { opacity: 1; color: var(--blue); }

/* ——— MOBILE 390 ——— */
@media (max-width: 860px) {
  .nav {
    padding: 0.65rem var(--pad-x) 0.5rem;
  }
  .nav-links {
    width: 100%;
    order: 3;
    gap: 0.35rem 1rem;
    padding: 0.45rem 0 0.15rem;
    border-top: 1px solid var(--hair-light);
    font-size: 0.82rem;
  }
  .logo img { height: 34px; }
  .hero { min-height: 82vh; min-height: 82svh; }
  .hero-inner { padding-top: 2.4rem; }
  .path-photo { order: -1; }
  .hero h1 { max-width: none; font-size: clamp(2.45rem, 12.6vw, 4.2rem); }
  .path-copy h3 { font-size: clamp(1.85rem, 9.5vw, 2.6rem); }
  .section-head h2 { font-size: clamp(2.15rem, 11vw, 3.4rem); }
  .rigs h2 { max-width: none; }
  .why-inner { grid-template-columns: 1fr; }
  .fact {
    padding: 1.25rem 0 1.1rem;
    border-right: 0;
  }
  .fact:nth-child(-n+2) { border-bottom: 0; }
  .fact + .fact { border-top: 1px solid var(--hair-light); }
  .path,
  .path-alt { grid-template-columns: 1fr; }
  .path-photo {
    min-height: 14.5rem;
    padding: 1.1rem 0 0 !important;
  }
  .path-copy { padding: 1.25rem 0 1.6rem !important; }
  .reviews-grid { grid-template-columns: 1fr; }
  .quote,
  .quote:nth-child(even) {
    padding: 1.3rem 0;
    border-left: 0;
  }
  .rigs-inner,
  .contact-grid { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .nav-cta { margin-left: auto; }
  .btn { padding: 0.72rem 0.9rem; font-size: 0.88rem; }
}

@media (min-width: 1100px) {
  .why-inner { grid-template-columns: repeat(4, 1fr); }
  .fact { padding: 1.7rem 1.35rem 0.4rem 0; }
  .fact:nth-child(-n+2) { border-bottom: 0; }
  .fact:nth-child(2n) { border-right: 1px solid var(--hair-light); padding-right: 1.35rem; }
  .fact:last-child { border-right: 0; padding-right: 0; }
}

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

/* ——— INNER PAGES ——— */
.nav-links a[aria-current="page"] {
  opacity: 1;
  box-shadow: inset 0 -2px 0 var(--navy);
}

.page-hero {
  position: relative;
  min-height: 52vh;
  min-height: 52svh;
  display: flex;
  align-items: flex-end;
  color: var(--ink);
  isolation: isolate;
}
.page-hero .hero-inner {
  padding-top: clamp(2.2rem, 5.5vw, 4rem);
  padding-bottom: clamp(1.8rem, 4vw, 3rem);
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55), 0 8px 28px rgba(236,244,255,0.55);
  font-size: clamp(2.4rem, 9.2vw, 6.4rem);
  line-height: 0.86;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  margin: 0 0 1.05rem;
  max-width: 14ch;
}
.page-hero h1 span { display: block; }

.path-copy h3 a {
  color: inherit;
  text-decoration: none;
}
.path-copy h3 a:hover { color: var(--blue); }

.more {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
}
.more:hover { color: var(--blue-ink); }

.prose {
  background: var(--cream);
  color: var(--ink);
  padding: var(--pad-y) 0;
}
.prose-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  min-width: 0;
}
.prose h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.8vw, 4.8rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}
.prose .lead {
  font-size: 1.12rem;
  max-width: 40rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
}
.prose h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 1.5rem 0 0.5rem;
}
.prose p {
  max-width: 42rem;
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 1.05rem;
}
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--blue); }

.spec-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  max-width: 36rem;
}
.spec-list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--hair);
  color: var(--ink);
}
.spec-list li:last-child { border-bottom: 1px solid var(--hair); }

.prose-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.prose-photo { min-width: 0; }
.prose-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.team-block {
  background: var(--cream-2);
  color: var(--ink);
  padding: var(--pad-y) 0;
  border-top: 1px solid var(--hair);
}
.team {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
}
.person {
  min-width: 0;
  padding: 1.6rem 1.25rem 1.7rem 0;
  border-right: 1px solid var(--hair);
}
.person + .person { padding-left: 1.25rem; }
.person:last-child { border-right: 0; padding-right: 0; }
.person img {
  width: min(100%, 11rem);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 0.95rem;
}
.person h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}
.person p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-block {
  background: var(--cream);
  padding: var(--pad-y) 0;
}
.work .gallery {
  padding-top: clamp(1.1rem, 2.2vw, 1.8rem);
  padding-bottom: var(--pad-y);
}
.gallery {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.gallery figure {
  margin: 0;
  min-width: 0;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery--two {
  grid-template-columns: 1fr 1fr;
}
.gallery--two img { aspect-ratio: 5 / 4; }

.work.continue { padding-top: 0; }
.prose.tight { padding-top: 0; }
.prose a { color: var(--blue); }
.prose a:hover { color: var(--blue-ink); }

.rigs .btn-ghost { margin-left: 0; }
.rigs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

@media (max-width: 860px) {
  .page-hero { min-height: 52vh; min-height: 52svh; }
  .page-hero h1 { max-width: none; font-size: clamp(2.2rem, 12vw, 3.6rem); }
  .prose-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .person { padding: 1.3rem 0.9rem 1.3rem 0; }
  .person + .person { padding-left: 0.9rem; }
  .person:nth-child(2n) { border-right: 0; padding-right: 0; }
  .person:nth-child(2n-1) { padding-right: 0.9rem; padding-left: 0; }
  .person:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery--two { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .team { grid-template-columns: 1fr; }
  .person,
  .person:nth-child(2n-1),
  .person + .person {
    padding: 1.2rem 0;
    border-right: 0;
  }
  .person + .person { border-top: 1px solid var(--hair); }
  .person:nth-child(-n+2) { border-bottom: 0; }
  .gallery { grid-template-columns: 1fr; }
}

.page-hero + .why { padding-top: 0.25rem; }
.path-copy .more { align-self: flex-start; }

.why a {
  color: #c9d2f8;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.gallery-block .section-head { padding-top: var(--pad-y); }
