/* Onitt Solutions — landing page
   Palette: drop-cloth spruce, primed-wall grey, chalk, masking-tape amber.
   Type: Archivo (display, wide), Public Sans (body), IBM Plex Mono (spec labels). */

:root {
  --spruce:      #103A31;
  --spruce-deep: #0A241E;
  --spruce-lift: #1B5548;
  --primer:      #EFEEE9;
  --chalk:       #FBFAF7;
  --tape:        #E5A83C;
  --tape-deep:   #C88A1E;
  --ink:         #14181A;
  --slate:       #5D6764;
  --hair:        #D8D6CE;

  --shell: 1220px;
  --pad: clamp(20px, 5vw, 56px);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--primer);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 112%;
  line-height: .98;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

a { color: inherit; }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--tape);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--chalk);
  padding: 12px 18px; border-radius: 4px;
  font: 500 14px var(--f-body); text-decoration: none;
  transition: top .18s var(--ease);
}
.skip:focus { top: 16px; }

/* ---- shared bits ------------------------------------------------------- */

.eyebrow {
  font: 500 12px/1 var(--f-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
  /* block + fit-content, not inline-block: an inline-block sits on a text
     baseline and drags half-leading in above it, which knocks the hero copy
     9px out of line with the docket beside it. */
  display: block;
  width: fit-content;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--tape);
  margin-bottom: 26px;
}
.eyebrow--light { color: rgba(251, 250, 247, .72); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 15px/1 var(--f-body);
  letter-spacing: -.005em;
  padding: 17px 26px;
  border: 1.5px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--spruce); color: var(--chalk); }
.btn--solid:hover { background: var(--spruce-lift); }

.btn--tape { background: var(--tape); color: var(--ink); }
.btn--tape:hover { background: var(--tape-deep); }

/* Past the hero the masthead action switches to amber. Spruce on primer is
   quiet enough to sit under the hero; over the rest of the page the button
   has to be the loudest thing in the bar. */
.masthead.is-past-hero .btn--solid { background: var(--tape); color: var(--ink); }
.masthead.is-past-hero .btn--solid:hover { background: var(--tape-deep); }

.btn--ghost { background: transparent; color: var(--chalk); border-color: rgba(251,250,247,.4); }
.btn--ghost:hover { border-color: var(--chalk); background: rgba(251,250,247,.08); }

.btn--wide { width: 100%; padding-block: 20px; font-size: 16px; }

.tape-rule {
  height: 5px;
  background: var(--tape);
  display: none;
}

/* ---- masthead ---------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 238, 233, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 74px;
}

.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
/* The emblem is lifted straight out of the company logo; the wordmark beside it
   is set in Archivo so the name stays readable at 40px. */
.mark__logo { height: 40px; width: auto; flex: none; display: block; }

.mark__text { display: flex; flex-direction: column; line-height: 1; }
.mark__text strong {
  font-family: var(--f-display);
  font-weight: 800; font-stretch: 118%;
  font-size: 20px; letter-spacing: -.02em;
}
.mark__text span {
  font: 500 10px var(--f-mono);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--slate); margin-top: 3px;
}

.masthead__nav { display: flex; gap: 28px; }
.masthead__nav a {
  font: 500 14.5px var(--f-body);
  text-decoration: none;
  color: var(--ink);
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease);
}
.masthead__nav a:hover { border-bottom-color: var(--tape); }

.masthead__actions { display: flex; align-items: center; gap: 20px; }
.tel { font: 500 15px var(--f-mono); text-decoration: none; white-space: nowrap; }
.tel:hover { color: var(--spruce); }

@media (max-width: 900px) {
  .masthead__nav, .tel { display: none; }
}

/* ---- hero -------------------------------------------------------------- */

@property --cut {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 58%;
}

.hero {
  --cut: 58%;
  position: relative;
  background: var(--spruce-deep);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; overflow: hidden; }

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The footage is the UNPAINTED side of the line: flat, dull, unfinished. */
  filter: saturate(.42) contrast(.94) brightness(.6);
}

/* Settles the raw side down so the credentials panel stays legible on it. */
.hero__raw {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 100% 50%, transparent 30%, rgba(10,36,30,.5) 100%),
    linear-gradient(rgba(10,36,30,.28), rgba(10,36,30,.46));
}

/* ---- the cut line ------------------------------------------------------ */
/* The headline claims the edge is the whole job, so the hero is built out of
   one: everything left of the line is painted, everything right of it is not. */

.hero__paint {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--cut);
  background: var(--spruce);
  background-image:
    radial-gradient(90% 70% at 18% 6%, rgba(27,85,72,.85) 0%, transparent 62%),
    radial-gradient(70% 60% at 0% 100%, rgba(10,36,30,.7) 0%, transparent 58%);
}

.hero__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cut);
  width: 3px;
  margin-left: -3px;
  background: var(--tape);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: stretch;
  padding-block: clamp(56px, 7.5vw, 96px) clamp(56px, 8vw, 92px);
  color: var(--chalk);
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 900;
  font-stretch: 116%;
  letter-spacing: -.032em;
  line-height: .96;
  margin-bottom: 26px;
}
.hero h1 span { display: block; }
.hero h1 em {
  font-style: normal;
  color: var(--tape);
}

.hero__lede {
  max-width: 54ch;
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.62;
  color: rgba(251, 250, 247, .82);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .8s var(--ease) both; }
  .hero__copy > .eyebrow    { animation-delay: .50s; }
  .hero__copy > h1          { animation-delay: .58s; }
  .hero__copy > .hero__lede { animation-delay: .68s; }
  .hero__copy > .hero__cta  { animation-delay: .76s; }
  .credentials { animation: rise .8s var(--ease) .84s both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* Credentials panel — reads as a job docket, not a colour card. */
.credentials {
  /* Sized to its content and centred against the copy column beside it. */
  align-self: center;
  background: var(--chalk);
  color: var(--ink);
  /* 3px to match the cut edge — the same amber line, turned on its side. */
  border-top: 3px solid var(--tape);
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .55);
}
.credentials__head {
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--hair);
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 96%;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -.012em;
}
.credentials__spec {
  padding: 0 20px;
}
.credentials__spec > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid var(--hair);
}
.credentials__spec > div:last-child { border-bottom: 0; }

.credentials__foot {
  padding: 16px 20px 18px;
  border-top: 1px solid var(--hair);
  background: rgba(16, 58, 49, .04);
  font-size: 14px;
  color: var(--slate);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.credentials__foot a {
  font: 500 14.5px var(--f-mono);
  letter-spacing: .02em;
  color: var(--spruce);
  text-decoration: none;
  border-bottom: 2px solid var(--tape);
  padding-bottom: 1px;
}
.credentials__foot a:hover { color: var(--spruce-lift); }
.credentials__spec dt {
  font: 500 10.5px var(--f-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--slate);
}
.credentials__spec dd { font-size: 14.5px; font-weight: 500; text-align: right; }

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .credentials { max-width: 420px; }

  /* Not enough width for a vertical cut, so the paint takes the whole panel
     and the edge becomes the section boundary at the bottom. */
  .hero { --cut: 100%; }
  .hero__paint { background-color: rgba(16, 58, 49, .93); }
  .hero__edge { display: none; }
  .tape-rule { display: block; }

  @keyframes cut-in {
    from { --cut: 0%; }
    to   { --cut: 100%; }
  }
}

/* ---- surface rail ------------------------------------------------------ */

.work { background: var(--primer); padding-block: clamp(72px, 10vw, 124px) 0; }

.work__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.work__head h2 { font-size: clamp(30px, 4.1vw, 52px); margin-bottom: 16px; }
.work__note {
  font: 500 13px var(--f-mono);
  color: var(--slate);
  letter-spacing: .01em;
}

.rail {
  display: flex;
  gap: 3px;
  padding-inline: var(--pad);
  max-width: var(--shell);
  margin-inline: auto;
  padding-bottom: clamp(72px, 10vw, 124px);
}

/* The photograph of the real work sits on the item; the button on top of it
   is a wash of the surface colour. Hovering thins the wash out of the way. */
.rail__item {
  flex: 1 1 0;
  min-width: 0;
  transition: flex-grow .55s var(--ease);
  border-radius: 2px;
  overflow: hidden;
  background-color: var(--surface);
  background-image: var(--photo);
  background-size: cover;
  background-position: center;
}
.rail__item:hover, .rail__item:focus-within { flex-grow: 2.6; }

.rail__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: clamp(340px, 40vw, 440px);
  padding: 20px 18px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  background-color: color-mix(in srgb, var(--surface) 82%, transparent);
  /* A scrim at the foot keeps the title readable once the wash thins out. */
  background-image: linear-gradient(
    to top,
    color-mix(in srgb, var(--surface) 82%, transparent) 0%,
    transparent 46%);
  transition: background-color .55s var(--ease);
  color: var(--surface-ink);
  font-family: var(--f-body);
  overflow: hidden;
}

/* Crew and duration, where a paint chip would carry a colour code. */
.rail__meta {
  position: relative;
  font: 500 10.5px/1.5 var(--f-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .72;
  padding-bottom: 10px;
  border-bottom: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 26%, transparent);
}

/* Each panel is drawn as the substrate it gets painted, not as a colour. */
.rail__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  transition: opacity .55s var(--ease);
}

.rail__item:hover .rail__btn,
.rail__item:focus-within .rail__btn {
  background-color: color-mix(in srgb, var(--surface) 24%, transparent);
}
.rail__item:hover .rail__btn::before,
.rail__item:focus-within .rail__btn::before { opacity: .16; }
/* drywall — taped seam and a corner joint */
.rail--drywall .rail__btn::before {
  background:
    linear-gradient(rgba(0,0,0,.055), rgba(0,0,0,.055)) no-repeat 62% 0 / 1px 100%,
    linear-gradient(rgba(0,0,0,.045), rgba(0,0,0,.045)) no-repeat 0 22% / 100% 1px;
}
/* clapboard siding — horizontal courses with a shadow under each lap */
.rail--siding .rail__btn::before {
  background: repeating-linear-gradient(
    180deg,
    transparent 0 20px,
    rgba(0,0,0,.16) 20px 21px,
    rgba(255,255,255,.05) 21px 24px);
}
/* shaker millwork — a stile-and-rail panel */
.rail--millwork .rail__btn::before {
  background:
    linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.05)) no-repeat 14% 12% / 72% 1px,
    linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.05)) no-repeat 14% 62% / 72% 1px,
    linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.05)) no-repeat 14% 12% / 1px 50%,
    linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.05)) no-repeat 86% 12% / 1px 50%;
}
/* deck boards — planks running away from the viewer, with grain */
.rail--decking .rail__btn::before {
  background:
    repeating-linear-gradient(90deg,
      transparent 0 34px,
      rgba(0,0,0,.22) 34px 36px),
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.03) 0 3px,
      transparent 3px 9px);
}
/* concrete block — running-bond courses */
.rail--block .rail__btn::before {
  background:
    repeating-linear-gradient(180deg,
      transparent 0 30px,
      rgba(255,255,255,.09) 30px 31px),
    repeating-linear-gradient(90deg,
      transparent 0 60px,
      rgba(255,255,255,.07) 60px 61px);
}

.rail__body { position: relative; margin-top: auto; }

.rail__title {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 106%;
  font-size: 21px;
  line-height: 1.06;
  letter-spacing: -.02em;
}

.rail__detail {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  max-width: 40ch;
  opacity: 0;
  max-height: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), max-height .55s var(--ease);
}
.rail__item:hover .rail__detail,
.rail__item:focus-within .rail__detail {
  opacity: .88;
  max-height: 200px;
  transform: none;
  margin-top: 12px;
}

/* a masking-tape tab that peels down on hover — the "selected chip" cue */
.rail__btn::after {
  content: "Use this →";
  position: absolute;
  top: 0; right: 18px;
  background: var(--tape);
  color: var(--ink);
  font: 500 10.5px/1 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 10px 9px;
  transform: translateY(-100%);
  transition: transform .3s var(--ease);
}
.rail__item:hover .rail__btn::after,
.rail__item:focus-within .rail__btn::after { transform: none; }

.rail__item.is-picked .rail__btn::after { content: "Added ✓"; transform: none; }

/* Between 861 and 1180 the collapsed chips get narrow enough that a long
   single-word title like "Commercial" would clip. */
@media (min-width: 861px) and (max-width: 1180px) {
  .rail__btn { padding: 18px 14px; }
  .rail__title { font-size: 17px; }
  .rail__detail { font-size: 14px; }
  .rail__btn::after { right: 14px; }
}

@media (max-width: 860px) {
  .rail { flex-wrap: wrap; gap: 8px; }
  .rail__item { flex: 1 1 100%; }
  .rail__btn { height: auto; min-height: 0; }
  .rail__body { margin-top: 30px; }
  .rail__detail { opacity: .88; max-height: none; transform: none; margin-top: 10px; }
  .rail__btn::after { transform: none; }
}

/* ---- sectors ----------------------------------------------------------- */

.sectors { background: var(--chalk); padding-block: clamp(72px, 10vw, 124px); }
.sectors h2 { font-size: clamp(30px, 4.1vw, 52px); max-width: 18ch; }

.sectors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3px;
  margin-top: clamp(36px, 5vw, 56px);
}

.sector {
  background: var(--primer);
  padding: clamp(30px, 3.6vw, 46px);
  border-radius: 2px;
  border-top: 6px solid var(--spruce);
}
.sector h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 14px;
}
.sector > p { color: var(--slate); max-width: 46ch; }
.sector--dark {
  background: var(--spruce);
  color: var(--chalk);
  border-top-color: var(--tape);
}
.sector--dark > p { color: rgba(251,250,247,.78); }

.specs { margin-top: 28px; }
.specs > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
  border-top: 1px solid var(--hair);
}
.sector--dark .specs > div { border-top-color: rgba(251,250,247,.16); }
.specs dt {
  font: 500 10.5px var(--f-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .62;
  padding-top: 3px;
}
.specs dd { font-size: 15.5px; font-weight: 500; text-align: right; }

/* ---- process ----------------------------------------------------------- */

.process {
  background: var(--spruce-deep);
  color: var(--chalk);
  padding-block: clamp(72px, 10vw, 124px);
}
.process h2 {
  font-size: clamp(30px, 4.1vw, 52px);
  max-width: 20ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(251,250,247,.14);
  border-block: 1px solid rgba(251,250,247,.14);
}
.step { background: var(--spruce-deep); padding: 32px 26px 38px; }
.step__n {
  display: block;
  font: 500 12px var(--f-mono);
  letter-spacing: .16em;
  color: var(--tape);
  margin-bottom: 22px;
}
.step h3 { font-size: 22px; font-stretch: 100%; margin-bottom: 10px; }
.step p { color: rgba(251,250,247,.72); font-size: 15.5px; line-height: 1.6; }

/* ---- proof ------------------------------------------------------------- */

.proof { background: var(--chalk); padding-block: clamp(64px, 8vw, 96px); }
.proof__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.stats li {
  background: var(--chalk);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stats strong {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--spruce);
}
.stats span {
  font: 500 11px var(--f-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--slate);
}

.quote-card { margin: 0; padding-left: 26px; border-left: 6px solid var(--tape); }
.quote-card blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-stretch: 94%;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.32;
  letter-spacing: -.018em;
}
.quote-card figcaption {
  margin-top: 18px;
  font: 500 11.5px var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
}

@media (max-width: 860px) {
  .proof__inner { grid-template-columns: 1fr; }
}

/* ---- quote form -------------------------------------------------------- */

.quote { background: var(--primer); padding-block: clamp(72px, 10vw, 124px); }
.quote__inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}
.quote__intro { position: sticky; top: 106px; }
.quote__intro h2 { font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 18px; }
.quote__intro p { color: var(--slate); max-width: 40ch; }
.quote__alt { margin-top: 20px !important; font-size: 15px; }
.quote__alt a { color: var(--spruce); font-weight: 600; }

@media (max-width: 940px) {
  .quote__inner { grid-template-columns: 1fr; }
  .quote__intro { position: static; }
}

.form {
  background: var(--chalk);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: clamp(24px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.field label, .field .label {
  font: 500 11px var(--f-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
}
.opt { color: var(--slate); text-transform: none; letter-spacing: .04em; }

.field input, .field select, .field textarea {
  font: 400 16px var(--f-body);
  color: var(--ink);
  background: var(--chalk);
  border: 1.5px solid var(--hair);
  border-radius: 2px;
  padding: 13px 14px;
  width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.55; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235D6764' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--spruce);
  box-shadow: 0 0 0 3px rgba(16,58,49,.13);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #B23A2B;
  box-shadow: 0 0 0 3px rgba(178,58,43,.12);
}

.err { font-size: 13.5px; color: #B23A2B; display: none; }
.err.is-shown { display: block; }

/* dropzone */
.drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 34px 20px;
  text-align: center;
  border: 1.5px dashed var(--hair);
  border-radius: 2px;
  background: var(--primer);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.drop:hover { border-color: var(--spruce); }
.drop.is-over { border-color: var(--tape); background: rgba(229,168,60,.12); }

.drop__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.drop__input:focus-visible { outline-offset: -4px; }

.drop__icon {
  width: 42px; height: 34px;
  margin-bottom: 8px;
  fill: none;
  stroke: var(--spruce);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.drop__icon circle { fill: var(--tape); stroke: none; }
.drop__text { font-size: 15.5px; }
.drop__text strong { color: var(--spruce); }
.drop__hint { font: 400 12.5px var(--f-mono); color: var(--slate); }

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}
.thumbs:empty { display: none; }
.thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--hair);
  background: var(--primer);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__x {
  position: absolute;
  top: 5px; right: 5px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(20,24,26,.74);
  color: #fff;
  font: 500 14px/1 var(--f-body);
  cursor: pointer;
}
.thumb__x:hover { background: var(--ink); }
.thumb__size {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 4px 6px;
  font: 400 10px var(--f-mono);
  color: #fff;
  background: linear-gradient(transparent, rgba(20,24,26,.8));
}

.form__status { font: 500 14px var(--f-body); min-height: 0; }
.form__status.is-ok { color: var(--spruce); }
.form__status.is-bad { color: #B23A2B; }

.form__fine { font-size: 12.5px; color: var(--slate); }

#submit[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---- footer ------------------------------------------------------------ */

.foot {
  background: var(--spruce);
  color: var(--chalk);
  padding-block: clamp(48px, 6vw, 72px) 32px;
}
.foot__inner { display: grid; gap: 36px; }
.foot__brand { display: flex; align-items: center; gap: 16px; }
.foot__logo { height: 60px; width: auto; flex: none; display: block; }
.foot__brand p { font-size: 15px; line-height: 1.4; color: rgba(251,250,247,.72); }
.foot__brand strong { color: var(--chalk); font-size: 17px; }

.foot__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(251,250,247,.18);
}
.foot__cols dt {
  font: 500 10.5px var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(251,250,247,.55);
  margin-bottom: 7px;
}
.foot__cols dd { font-size: 15.5px; }
.foot__cols a { text-decoration: none; border-bottom: 1px solid rgba(251,250,247,.3); }
.foot__cols a:hover { border-bottom-color: var(--tape); color: var(--tape); }

.foot__legal { font-size: 13px; color: rgba(251,250,247,.5); }
