/* /contact, family FIRM "Material": SIGNAL. One hairline of light across the page, almost still; then the firm,
   plainly, and a short form. Spectrum colour lives only in the line; text is graphite. */

main { position: relative; }
h2 { font-weight: 400; }

/* ---------- hero ---------- */
.hero { padding: clamp(64px, 7vw, 104px) 0 0; }
.hero h1 {
  font: 400 clamp(52px, 7.4vw, 112px)/.98 var(--serif); letter-spacing: -.022em;
  margin: 0 0 28px; max-width: 9.6em; text-wrap: balance;
}
.hero .lede { font-size: 19px; line-height: 1.62; color: var(--ink-2); max-width: 32em; margin: 0; text-wrap: pretty; }

/* ---------- SIGNAL ---------- */
.signal {
  position: relative; height: 180px; margin: clamp(8px, 2vw, 28px) 0 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.sig { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.sig-p { display: none; }
.sig path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.sig-glow { stroke-width: 10; opacity: .3; filter: blur(8px); }
.sig-ch { stroke-width: 1.15; mix-blend-mode: multiply; }
.sig-c { stroke: #4FC3E8; opacity: .8; }
.sig-v { stroke: #9C7CF4; opacity: .55; }
.sig-r { stroke: #E07AB0; opacity: .7; }
.sig-core { stroke: var(--ink); stroke-width: .9; opacity: .62; }

/* ---------- reach: the record and the form ---------- */
.reach { padding: clamp(24px, 3vw, 40px) 0 clamp(96px, 10vw, 140px); }
.reach-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.record h2, .sheet h2 { font: 400 clamp(36px, 3.6vw, 52px)/1.02 var(--serif); letter-spacing: -.012em; margin: 0 0 28px; }

.ways { margin: 0; border-top: 3px double rgba(29, 33, 38, .78); }
.way { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.way dt { font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; }
.way dd { margin: 0; font: 400 clamp(26px, 2.3vw, 33px)/1.22 var(--serif); color: var(--ink); }
.way address { font-style: normal; }
.way a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.way a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.src { margin: 18px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); max-width: 30em; }

/* the form on a pale sheet: no colour, a polished top edge */
.sheet {
  position: relative; padding: clamp(30px, 3.4vw, 46px) clamp(24px, 3.4vw, 48px) clamp(26px, 3vw, 38px);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .5));
  box-shadow: inset 0 0 0 1px rgba(29, 33, 38, .1), inset 0 1px 0 #FFFFFF, 0 34px 60px -44px rgba(29, 33, 38, .4);
}
.sheet h2 { margin-bottom: 12px; }
.sheet-lede { margin: 0 0 28px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field-wide { grid-column: 1 / -1; }
.field { margin: 0; min-width: 0; }
.field > label, .who legend { display: block; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; padding: 0; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 6px;
  border: 1px solid rgba(29, 33, 38, .24); background: rgba(255, 255, 255, .86);
  font: 400 16.5px/1.4 var(--sans); color: var(--ink);
}
.field select { padding-right: 30px; cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 13px) 55%, calc(100% - 7px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.who { border: 0; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(29, 33, 38, .2);
  font: 500 15px/1.2 var(--sans); color: var(--ink); cursor: pointer;
}
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.opt:has(input:checked) { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--ink); }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 28px; }
.form-msg { margin: 0; font: 500 15px/1.4 var(--sans); color: var(--ink); }
.form-msg:not(:empty) { padding: 10px 14px; background: rgba(255, 255, 255, .92); box-shadow: inset 0 0 0 1px var(--line); border-radius: 4px; }
.fineprint { margin: 18px 0 0; font-size: 13px; color: var(--ink-3); }

/* ---------- paths: for people who already know their way ---------- */
.paths { border-top: 1px solid var(--line); padding: clamp(56px, 6vw, 84px) 0 clamp(80px, 8vw, 112px); }
.paths-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 96px); }
.paths-h { grid-row: 1 / span 2; margin: 0; font: 400 clamp(30px, 2.8vw, 40px)/1.08 var(--serif); }
.path {
  grid-column: 2; display: grid; grid-template-columns: 11rem minmax(0, 1fr) 18px; align-items: center; gap: 8px 24px;
  min-height: 76px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.path:first-of-type { border-top: 1px solid rgba(29, 33, 38, .7); }
.path-who { font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.path-what { font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); }
.path:hover .path-what { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.path-arrow { position: relative; width: 18px; height: 1px; background: currentColor; }
.path-arrow::after { content: ""; position: absolute; right: 0; inset-block-start: -3.5px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

/* ---------- tablet ---------- */
@media (max-width: 1020px) {
  .reach-in { grid-template-columns: 1fr; }
  .paths-in { grid-template-columns: 1fr; }
  .paths-h { grid-row: auto; margin-bottom: 22px; }
  .path { grid-column: 1; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(46px, 13vw, 58px); line-height: 1; margin-bottom: 20px; }
  .hero .lede { font-size: 17px; }
  .signal { height: 132px; margin-top: 8px; }
  .sig-d { display: none; }
  .sig-p { display: block; }
  .f-grid { grid-template-columns: 1fr; gap: 18px; }
  .opts { flex-direction: column; align-items: stretch; }
  .opt { border-radius: 10px; }
  .sheet { padding: 28px 18px 24px; }
  .path { grid-template-columns: minmax(0, 1fr) 18px; }
  .path-who { grid-column: 1; }
  .path-what { grid-column: 1; }
  .path-arrow { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 420px) {
  .way dd { font-size: 25px; }
}
