/* Roster · Contact (contact.html). Light, calm, one column on phones.
   Page layer on top of brand.css + site.css (both read-only). */

:root {
  --grad-word: linear-gradient(100deg, #E8502C 0%, #FF7A4F 32%, #E0739B 66%, #9C7BE0 100%);
  --err: #A8361B;          /* 6:1 on cream, readable at 13px */
  --ok: #3F9A72;
}
*, ::before, ::after { box-sizing: border-box; }
html { background: var(--paper); }
body, h1, h2, h3, p, ul, figure, pre { margin: 0; }
button, input, select, textarea { font: inherit; }
body { overflow-x: clip; }
main, footer { overflow-x: clip; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px) { .wrap { padding-left: 28px; padding-right: 28px; } }
section { scroll-margin-top: 88px; position: relative; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 10px; }

.display em { background: var(--grad-word); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--ember);
  padding: .02em .1em .18em .03em; margin: 0 -.1em -.18em -.03em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
/* R8: the eyebrow dot is retired (brand.css hides .pip) */

.ct-amb { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.amb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: amb-drift 26s ease-in-out infinite alternate; }
@keyframes amb-drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(4%, -3%, 0) scale(1.08); } 100% { transform: translate3d(-3%, 4%, 0) scale(.96); } }

/* ================= layout ================= */
.ct { isolation: isolate; padding: 116px 0 88px; }
@media (min-width: 1024px) { .ct { padding: 152px 0 128px; } }
.ct-grid { display: grid; gap: 32px; grid-template-areas: "intro" "card" "more"; }
@media (min-width: 1024px) {
  .ct-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 64px; row-gap: 40px;
    grid-template-areas: "intro card" "more card"; align-items: start; }
}
.ct-intro { grid-area: intro; }
.ct-card { grid-area: card; scroll-margin-top: 96px; }
.ct-more { grid-area: more; }

.ct-h1 { margin-top: 20px; font-size: clamp(48px, 7.4vw, 104px); }
.ct-lede { margin-top: 22px; max-width: 34ch; }

/* ================= card + form ================= */
.ct-card { position: relative; border-radius: 28px; background: rgba(251,249,244,.9); border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 40px 90px -60px rgba(20,18,16,.45), 0 2px 6px -2px rgba(20,18,16,.06);
  padding: 22px 18px 24px; }
@media (min-width: 640px) { .ct-card { padding: 34px 34px 32px; } }
@media (min-width: 1024px) { .ct-card { padding: 40px 40px 36px; } }

.ct-form { display: grid; gap: 18px; }
.ct-form[hidden] { display: none; }
.ct-row-2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .ct-row-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ct-f { display: grid; gap: 8px; min-width: 0; }
.ct-l { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 550; color: var(--ink); letter-spacing: -.005em; }
.ct-opt { font-size: 13px; font-weight: 450; color: var(--mute); }
.ct-form .field { padding: 14px 16px; border-radius: 14px; }
.ct-form textarea.field { min-height: 148px; resize: vertical; line-height: 1.5; }
@media (pointer: coarse) { .ct-form textarea.field { resize: none; } }
.ct-sel { position: relative; }
.ct-sel select.field { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.ct-sel select.field:invalid { color: #8C857A; }
.ct-sel option { color: var(--ink); }
.ct-caret { position: absolute; right: 16px; top: 50%; width: 12px; height: 12px; margin-top: -6px; color: var(--ink-2); pointer-events: none; }

.field[aria-invalid="true"] { border-color: var(--err); }
.field[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(168,54,27,.12); }
.ct-err { font-size: 13.5px; line-height: 1.4; color: var(--err); }
.ct-err:empty { display: none; }
.ct-count { font-size: 12.5px; color: var(--mute); text-align: right; }

/* the honeypot: out of sight and out of the tab order, not display:none (some bots skip hidden fields) */
.ct-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.ct-ts { min-height: 65px; }
.ct-ts[hidden] { display: none; }

.ct-send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 6px; }
.ct-submit { position: relative; min-width: 180px; }
.ct-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(246,243,236,.35); border-top-color: var(--paper); animation: ct-spin .8s linear infinite; }
.ct-submit[aria-busy="true"] { cursor: progress; }
.ct-submit[aria-busy="true"] .ct-spin { display: inline-block; }
@keyframes ct-spin { to { transform: rotate(360deg); } }
.ct-alt { font-size: 13.5px; color: var(--mute); }
.ct-addr { color: var(--ink-2); user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.ct-noscript { font-size: 15px; color: var(--ink-2); }
.ct-noscript a { color: var(--ink); }

/* ================= states ================= */
.ct-state { outline: none; }
.ct-state[hidden] { display: none; }
.ct-state:not([hidden]) { animation: ct-in .6s var(--ease-out) both; }
@keyframes ct-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.ct-state-h { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.04; }
.ct-check + .ct-state-h { margin-top: 22px; }
.ct-state-p { margin-top: 14px; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.ct-state-p + .ct-state-p { margin-top: 8px; }
.ct-b { font-weight: 550; color: var(--ink); overflow-wrap: anywhere; }
.ct-again { margin-top: 28px; }

.ct-fb-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.ct-fb-addr { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); }
.ct-fb-k { font-size: 13px; color: var(--mute); }
.ct-fb-v { flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 550; color: var(--ink); user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.ct-copy { flex: none; border: 1px solid var(--line-2); background: var(--cream); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: background-color .3s var(--ease-spring), border-color .3s var(--ease-spring), transform var(--dur-press) ease-out; }
.ct-copy:hover { background: #fff; border-color: rgba(20,18,16,.3); }
.ct-copy:active { transform: scale(.97); }
[data-copied] [data-copy-l] { color: var(--ok); }
.ct-fb-pre { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.ct-fb-pre summary { cursor: pointer; width: fit-content; font-weight: 500; padding: 4px 0; }
.ct-fb-pre pre { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: rgba(20,18,16,.04); white-space: pre-wrap; overflow-wrap: anywhere; font: 13.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; max-height: 260px; overflow: auto; }
.ct-back { margin-top: 22px; border: 0; background: none; padding: 4px 0; font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.ct-back:hover { color: var(--ink); }

/* ================= other routes ================= */
.ct-more { display: grid; border-top: 1px solid var(--line-2); }
@media (min-width: 1024px) { .ct-more { max-width: 440px; } }
.ct-route { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; transition: background-color .3s var(--ease-spring); }
.ct-route-dot { width: 10px; height: 10px; border-radius: 99px; background: linear-gradient(135deg, var(--a0), var(--a1)); }
.ct-route-t { display: grid; gap: 3px; }
.ct-route-t b { font-weight: 600; font-size: 15.5px; letter-spacing: -.005em; }
.ct-route-t span { font-size: 14.5px; line-height: 1.45; color: var(--mute); }
.ct-route-go { width: 16px; height: 16px; color: var(--ink-2); opacity: .55; transition: opacity .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ct-route:hover .ct-route-go { opacity: 1; } .ct-route:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; } }

@media (prefers-reduced-motion: reduce) { .ct-state:not([hidden]) { animation: none; } .ct-spin { animation-duration: 1.6s !important; animation-iteration-count: infinite !important; } }

/* ================= R8: page start (same on every page: brand.css --hero-top / --hero-eb-gap) ================= */
.ct { padding-top: var(--hero-top); }
.ct-h1 { margin-top: var(--hero-eb-gap); }
