/* BrazosWorks
   Gulf paper, sand, Brazos red, deep-water ink.
   Red means the river now. Sand means a course it has left. */

@font-face {
  font-family: 'Besley';
  src: url('./assets/fonts/besley-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Besley';
  src: url('./assets/fonts/besley-latin-wght-italic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Libre Franklin';
  src: url('./assets/fonts/libre-franklin-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #cfe0e0;
  --paper-soft: #e3eeed;
  --ink: #0f2f3a;
  --ink-soft: #33525b;
  --water: #215f70;
  --sand: #ead99a;
  --sand-deep: #cfb357;
  --sage: #9fc0b2;
  --red: #b5473f;
  --red-deep: #98372f;
  --coral: #f0a08a;
  --white: #fff;

  --serif: 'Besley', 'Clarendon', Georgia, serif;
  --sans: 'Libre Franklin', 'Franklin Gothic Medium', 'Helvetica Neue', Arial, sans-serif;

  --h1: clamp(2.6rem, 4.95vw, 5.6rem);
  --h2: clamp(2rem, 3.75vw, 3.5rem);
  --body: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  --small: 0.9375rem;

  --gutter: clamp(1.25rem, 4vw, 3.75rem);
  --band: clamp(4.5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(0.3, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--body) / 1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg, canvas { display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h1 { font-size: var(--h1); line-height: 1.01; }
h2 { font-size: var(--h2); line-height: 1.07; }
h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3em;
  line-height: 1.2;
  letter-spacing: -0.012em;
}

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

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 60;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
}
.skip:focus { top: 0.6rem; }

.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  padding: 1em 1.5em;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 140ms ease;
}
.btn:hover { background: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 0.72em 1.1em; font-size: var(--small); }

/* Header */
.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  transition: background-color 160ms ease;
}
.bar.at-top { background: transparent; }
.bar-in {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font: 600 1.375rem/1 var(--serif);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mark {
  width: 2.35rem;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.6;
  stroke-linecap: round;
  overflow: visible;
}
.mark-cut { stroke: var(--red); }
.menu {
  display: none;
  gap: 2rem;
  margin-left: auto;
  font-size: var(--small);
  font-weight: 500;
}
.menu a { text-decoration: none; padding-block: 0.4rem; }
.menu a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.bar .btn { margin-left: auto; }
@media (min-width: 860px) {
  .menu { display: flex; }
  .bar .btn { margin-left: 0; }
}

/* Hero: the plate, with its title block underneath */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(700px, 100svh, 1180px);
  margin-top: -4.5rem;
  overflow: hidden;
  isolation: isolate;
}
.plate {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: clamp(max(107vw, 1180px), calc((100svh - 18rem) * 2.75), 117vw);
  aspect-ratio: 2880 / 1400;
  transform: translate(-50%, calc(4.5rem - 13.5%));
}
.plate > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.plate path { fill: none; }
.water-name {
  font: italic 500 40px var(--serif);
  letter-spacing: 0.1em;
  fill: var(--ink);
  paint-order: stroke;
  stroke: #efe4b6;
  stroke-width: 9px;
  stroke-linejoin: round;
}
.towns circle { fill: var(--ink); stroke: var(--white); stroke-width: 3px; }
.towns text {
  font: 600 25px var(--sans);
  fill: var(--ink);
  paint-order: stroke;
  stroke: rgba(226, 236, 232, 0.92);
  stroke-width: 6px;
  stroke-linejoin: round;
}
.hero-copy {
  margin-top: auto;
  display: grid;
  gap: 1.75rem;
  padding-top: 24rem;
}
.hero-side { display: grid; gap: 1.5rem; justify-items: start; max-width: 34rem; }
@media (min-width: 1000px) {
  .hero-copy {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem);
    gap: 4.5rem;
    align-items: end;
    padding-top: 0;
  }
  .hero-side { padding-bottom: 0.5rem; }
}
.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.6rem;
  padding-block: 1.75rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
.legend ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.35rem; }
.legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend > p:first-of-type { font: italic 500 1rem/1.3 var(--serif); color: var(--ink); }
.north { width: 1.35rem; height: 1.9rem; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.sws { display: inline-flex; gap: 0.2rem; }
.sw { width: 1.5rem; height: 0.8rem; border-radius: 1rem; }
.sw-now { background: var(--white); border: 2px solid var(--ink); }
.sw-recent { background: var(--red); }
.sw-old { background: var(--sand-deep); }
.sw-oldest { background: var(--sage); }

/* Follow a job */
.job {
  overflow-x: clip;
  background: var(--ink);
  color: var(--white);
  padding-block: var(--band) calc(var(--band) * 0.9);
}
.job :focus-visible { outline-color: var(--sand); }
.job-head { display: grid; gap: 1.5rem 4.5rem; }
.job-head p { max-width: 52ch; color: #c6d8da; }
@media (min-width: 1000px) {
  .job-head { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; }
}

.tabs {
  display: flex;
  gap: 0.5rem;
  margin: clamp(2.25rem, 4.5vw, 3.75rem) calc(var(--gutter) * -1) 0;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none;
  padding: 0.75rem 1.15rem;
  border: 1.5px solid #3d606a;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  color: #d5e3e4;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.tabs button:hover { border-color: #86a5ab; color: var(--white); }
.tabs button[aria-selected='true'] {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
  font-weight: 600;
}

.reach { position: relative; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.reach-art { width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.stops li { position: absolute; }
.stops .was,
.stops .kept,
.stops .now { line-height: 1.28; }
.stops .kept { font-weight: 600; }
.stops .was { color: #f1e6ba; transition: color 200ms ease; }
.stops .now { color: var(--sand); font-weight: 600; opacity: 0; transition: opacity 240ms ease; }
.stops .is-cut .was { color: #86a3a9; text-decoration: line-through; text-decoration-color: #86a3a9; }
.stops .is-cut .now { opacity: 1; }

.reach:not(.is-tall) .stops li { width: var(--slot); margin-left: calc(var(--slot) / -2); text-align: center; padding-inline: 0.4rem; }
.reach:not(.is-tall) .stops span { display: block; font-size: 1rem; text-wrap: balance; }
.reach:not(.is-tall) .was { position: absolute; left: 0.4rem; right: 0.4rem; bottom: 0; }
.reach:not(.is-tall) .now,
.reach:not(.is-tall) .kept { position: absolute; left: 0.4rem; right: 0.4rem; top: 0; }
.reach.is-tall .stops li { right: 0; transform: translateY(-50%); }
.reach.is-tall .stops span { display: block; font-size: 1rem; }
.reach.is-tall .now { margin-top: 0.15rem; max-height: 0; overflow: hidden; transition: opacity 240ms ease, max-height 240ms ease; }
.reach.is-tall .is-cut .now { max-height: 4rem; }

.cutter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: 1.25rem clamp(1rem, 2vw, 1.75rem);
  background: #183f4b;
  border-radius: 6px;
}
.cutter-end { font-weight: 500; text-align: left; color: #d5e3e4; }
.cutter-end:last-of-type { text-align: right; }
.cutter-end:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.25em; }
.cutter input { grid-column: 1 / -1; grid-row: 2; }
.tally {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: var(--small);
  line-height: 1.25;
  color: #d5e3e4;
}
.tally output {
  font: 500 2.75rem/1 var(--serif);
  letter-spacing: -0.03em;
  color: var(--white);
  min-width: 0.65em;
  text-align: center;
  font-variant-numeric: tabular-nums lining-nums;
}
.tally span { max-width: 6em; }
@media (max-width: 859px) {
  .cutter {
    position: sticky;
    bottom: 0.75rem;
    z-index: 2;
    gap: 0.15rem 1rem;
    padding: 0.9rem 1rem 1rem;
    font-size: 0.9375rem;
    box-shadow: 0 0 0 0.75rem var(--ink);
  }
  .tally { grid-row: 1; justify-content: center; gap: 0.6rem; }
  .tally output { font-size: 2rem; }
  .tally span { max-width: none; }
  .cutter-end { grid-row: 3; }
}
@media (min-width: 860px) {
  .cutter { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 1.5rem; }
  .cutter input { grid-column: auto; grid-row: auto; }
  .tally { grid-column: auto; padding-left: 1.75rem; border-left: 1.5px solid #3d606a; margin-left: 0.25rem; }
}

input[type='range'] {
  --p: 0%;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 2.75rem;
  margin: 0;
  background: none;
  cursor: grab;
  touch-action: pan-y;
}
input[type='range']:active { cursor: grabbing; }
input[type='range']::-webkit-slider-runnable-track {
  height: 0.75rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, var(--white) var(--p), #3d606a var(--p));
}
input[type='range']::-moz-range-track { height: 0.75rem; border-radius: 1rem; background: #3d606a; }
input[type='range']::-moz-range-progress { height: 0.75rem; border-radius: 1rem; background: var(--white); }
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: -0.75rem;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--white);
}
input[type='range']::-moz-range-thumb {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--white);
}
input[type='range']:focus-visible { outline: none; }
input[type='range']:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--sand); outline-offset: 3px; }
input[type='range']:focus-visible::-moz-range-thumb { outline: 3px solid var(--sand); outline-offset: 3px; }

.area { margin-top: clamp(2.75rem, 5vw, 4.25rem); }
.area-panel { display: grid; gap: 2rem 4.5rem; }
.area-panel[hidden] { display: none; }
.area-lead p { margin-top: 0.75rem; color: #c6d8da; max-width: 46ch; }
.area dl { display: grid; gap: 1.5rem 2.5rem; }
.area dt { font-weight: 600; }
.area dd { margin-top: 0.3rem; color: #c6d8da; font-size: 0.95em; }
@media (min-width: 760px) { .area dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .area-panel { grid-template-columns: minmax(0, 0.95fr) minmax(0, 2fr); } }
.job-foot { margin-top: clamp(2.5rem, 4vw, 3.5rem); color: #c6d8da; max-width: 66ch; text-wrap: pretty; }
.job-foot a { color: var(--sand); font-weight: 600; }

/* What stays */
.keep { background: var(--sand); padding-block: var(--band); }
.keep .wrap { display: grid; gap: 2rem clamp(3rem, 6vw, 6rem); }
.keep h2 { font-size: clamp(2.1rem, 4.2vw, 4.2rem); line-height: 1.06; }
.keep h2 span { display: block; text-wrap: balance; }
.keep p { max-width: 46ch; color: #3d4232; }
@media (min-width: 1000px) {
  .keep .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); align-items: end; }
}

/* Process */
.process { background: var(--white); padding-block: var(--band); }
.process-grid { display: grid; gap: 3.5rem clamp(3rem, 7vw, 7rem); }
.steps { counter-reset: s; margin-top: clamp(2.25rem, 4vw, 3.5rem); display: grid; gap: 2.4rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); align-items: baseline; }
.steps li::before {
  content: counter(s);
  font: 500 2.5rem/1 var(--serif);
  letter-spacing: -0.03em;
  color: var(--red);
}
.steps p { grid-column: 2; margin-top: 0.55rem; max-width: 54ch; color: var(--ink-soft); }
.plan {
  background: var(--paper-soft);
  border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  align-self: start;
}
.plan figcaption { padding-bottom: 1.25rem; }
.plan figcaption strong { display: block; font: 600 1.6rem/1.2 var(--serif); letter-spacing: -0.015em; }
.plan figcaption span { display: block; margin-top: 0.3rem; color: var(--ink-soft); font-size: var(--small); }
.plan table { width: 100%; border-collapse: collapse; text-align: left; }
.plan thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.plan tbody th,
.plan tbody td { vertical-align: top; padding-block: 1.15rem; border-top: 1.5px solid #b3cbcc; }
.plan tbody th { font-weight: 600; width: 36%; padding-right: 1.25rem; line-height: 1.35; }
.plan td p { margin-top: 0.5rem; font-size: 0.95em; line-height: 1.45; color: var(--ink-soft); }
.call { display: inline-block; padding: 0.22em 0.7em; border-radius: 3px; font-weight: 600; font-size: var(--small); line-height: 1.4; }
.call-1 { background: var(--red); color: var(--white); }
.call-2 { background: var(--sand); }
.call-3 { background: var(--sage); }
.call-4 { box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (min-width: 1000px) {
  .process-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plan { position: sticky; top: 6.5rem; }
}
@media (max-width: 520px) {
  .plan tr { display: block; border-top: 1.5px solid #b3cbcc; padding-block: 1rem; }
  .plan tbody th, .plan tbody td { display: block; width: auto; border: 0; padding: 0; }
  .plan tbody td { margin-top: 0.4rem; }
}

/* Where */
.where { position: relative; background: var(--paper); overflow: hidden; }
.where-grid { display: grid; gap: 2.5rem; padding-block: var(--band) 0; }
.where-copy > p { margin-top: 1.4rem; max-width: 46ch; color: var(--ink-soft); }
.where-copy h3 { margin-top: 2.5rem; }
.where-copy h3 + p { margin-top: 0.5rem; }
.sectors { margin-top: 1rem; display: grid; gap: 0.3rem; font-weight: 500; }
.map { margin-inline: calc(var(--gutter) * -1); }
.map-sheet { position: relative; aspect-ratio: 1 / 1; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%); mask-image: linear-gradient(180deg, transparent, #000 12%); }
.map-sheet > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-sheet img { object-fit: cover; }
.bayous text {
  font: italic 500 21px var(--serif);
  letter-spacing: 0.02em;
  fill: var(--water);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 6px;
  stroke-linejoin: round;
}
.bayous .bay { font-size: 32px; letter-spacing: 0.05em; stroke: none; fill: #14505f; }
.map .towns text { font-size: 23px; stroke: var(--paper); }
@media (max-width: 700px) {
  .map-sheet { aspect-ratio: 4 / 5; }
  .map-sheet > * { left: -14%; width: 116%; }
  .bayous text { font-size: 27px; }
  .bayous .bay { font-size: 29px; transform: translate(-34px, 10px); }
  .bayous .wide-only { display: none; }
  .map .towns text { font-size: 33px; }
}
@media (min-width: 1000px) {
  .where-grid { grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 2rem; padding-block: 0; }
  .where-copy { padding-block: var(--band); position: relative; z-index: 1; }
  .map { margin: 0 calc(var(--gutter) * -1) 0 -3.5rem; position: relative; align-self: stretch; }
  .map-sheet {
    position: absolute;
    inset: 0;
    width: calc(100% + max(0px, (100vw - 1440px) / 2));
    aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 3%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 3%, #000 22%);
  }
}

/* Contact */
.contact { position: relative; overflow: hidden; isolation: isolate; background: var(--red); color: var(--white); padding-block: var(--band); }
.contact-mark {
  position: absolute;
  z-index: -1;
  left: -4vw;
  bottom: -5.5rem;
  width: min(54vw, 52rem);
  overflow: visible;
  fill: none;
  stroke: #a43e37;
  stroke-width: 3.2;
  stroke-linecap: round;
}
@media (max-width: 999px) { .contact-mark { display: none; } }
.contact :focus-visible { outline-color: var(--sand); }
.contact-grid { display: grid; gap: 3rem clamp(3rem, 7vw, 7rem); }
.contact-copy > p { margin-top: 1.5rem; max-width: 44ch; }
.contact .email { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.1rem; color: var(--white); }
.contact .email a { font: 500 clamp(1.25rem, 2vw, 1.6rem)/1.2 var(--serif); letter-spacing: -0.01em; }
.contact .email button { font-weight: 600; font-size: var(--small); text-decoration: underline; text-underline-offset: 0.25em; }
form { background: var(--white); color: var(--ink); border-radius: 6px; padding: clamp(1.5rem, 3vw, 2.75rem); display: grid; gap: 1.4rem; }
form :focus-visible { outline-color: var(--red) !important; }
legend, .field label { display: block; font-weight: 600; font-size: 1rem; padding: 0; margin-bottom: 0.5rem; }
.field small { font-weight: 400; font-size: 0.95em; color: var(--ink-soft); }
.jobs label { display: inline-block; margin: 0 0.4rem 0.5rem 0; }
.jobs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jobs span {
  display: block;
  padding: 0.6rem 0.95rem;
  border: 1.5px solid #9db4b8;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}
.jobs span:hover { border-color: var(--ink); }
.jobs input:checked + span { background: var(--sand); border-color: var(--ink); font-weight: 600; }
.jobs input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.pair { display: grid; gap: 1.4rem; }
.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid #8ba5aa;
  border-radius: 4px;
  background: var(--white);
  font-size: 1.0625rem;
  line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:user-invalid { border-color: var(--red); background: #fdf3f0; }
.send { display: grid; gap: 0.9rem; justify-items: start; }
.send p { font-size: var(--small); line-height: 1.4; color: var(--ink-soft); max-width: 34ch; }
.sent { background: var(--paper-soft); border-radius: 4px; padding: 1.1rem 1.25rem; display: grid; gap: 0.9rem; justify-items: start; font-size: 1rem; }
.sent[hidden] { display: none; }
@media (min-width: 600px) {
  .pair { grid-template-columns: 1fr 1fr; }
  .send { grid-template-columns: auto 1fr; align-items: center; gap: 1.25rem; }
}
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); } }

/* Footer */
.foot { background: var(--ink); color: #c6d8da; padding-block: 2.75rem; font-size: var(--small); }
.foot :focus-visible { outline-color: var(--sand); }
.foot-in { display: grid; gap: 1.5rem 3rem; }
.foot-brand { font: 600 1.375rem/1.2 var(--serif); letter-spacing: -0.02em; color: var(--white); }
.foot-brand span { display: block; margin-top: 0.3rem; font: 400 var(--small)/1.4 var(--sans); letter-spacing: 0; color: #c6d8da; }
.foot nav { display: grid; gap: 0.45rem; justify-items: start; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--white); text-decoration: underline; }
.foot-note { max-width: 52ch; line-height: 1.5; color: #a9c0c4; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1fr auto minmax(0, 26rem); gap: 5rem; } }

/* Small screens */
@media (min-width: 1900px) {
  .hero { min-height: max(100svh, 53vw); }
}
@media (min-width: 1000px) and (max-height: 820px) {
  .hero { min-height: max(620px, 100svh); }
  .hero h1 { font-size: clamp(2.6rem, 4.5vw, 4.4rem); }
  .hero-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); }
  .hero-side { gap: 1.1rem; font-size: 1.0625rem; line-height: 1.5; }
  .hero-side .btn { padding-block: 0.85em; }
  .plate { transform: translate(-50%, calc(4.5rem - 20.5%)); }
  .plate .towns text { font-size: 28px; }
  .legend { padding-block: 1.1rem 1rem; }
}
@media (max-width: 999px) {
  .hero h1 { font-size: clamp(2.6rem, 6.6vw, 4rem); }
  .plate { width: max(1400px, 150vw); transform: translate(-47%, calc(4.5rem - 8%)); }
}
@media (max-width: 620px) {
  .brand { font-size: 1.25rem; gap: 0.55rem; }
  .mark { width: 2rem; }
  .bar-in { height: 4rem; }
  .hero { margin-top: -4rem; }
  .plate { width: 1180px; transform: translate(-48.5%, calc(4rem - 10%)); }
  .hero-copy { padding-top: 26rem; }
  .towns text { font-size: 31px; }
  .water-name { font-size: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
