:root {
  --ink: #084e50;
  --paper: #fff2c9;
  --surface: #fffaf0;
  --accent: #f68d70;
  --peach: #f68d70;
  --line: #084e50;
  --soft-line: rgba(8, 78, 80, .28);
  --brand-heading: Arial, "Helvetica Neue", sans-serif;
  --body-font: Arial, "Helvetica Neue", sans-serif;
  --utility-font: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --panel-shadow: 8px 8px 0 var(--ink);
  --panel-radius: 0;
  --page-grid: rgba(8, 78, 80, .075);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font: 18px/1.56 var(--body-font);
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
p { margin: 0 0 18px; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--brand-heading); font-weight: 700; }
h1 {
  max-width: 10ch;
  margin-bottom: clamp(38px, 4.4vw, 62px);
  font-size: clamp(58px, 8.6vw, 124px);
  line-height: .84;
  letter-spacing: -.065em;
}
h1 em { font-style: inherit; }
h2 { font-size: clamp(36px, 5.1vw, 68px); line-height: .92; letter-spacing: -.045em; }
h3 { margin: 0 0 10px; font: 700 17px/1.35 var(--body-font); }
.wrap { width: min(100%, 1320px); margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  min-height: 84px;
  margin-top: 18px;
  padding: 0;
  border-block: 2px solid var(--line);
  background: transparent;
}
.masthead > a:not(.brand-home) { display: flex; align-items: center; padding: 16px 22px; font-weight: 800; text-decoration: none; }
.masthead > span { display: flex; align-items: center; padding: 16px 22px; border-left: 2px solid var(--line); font: 700 13px/1.2 var(--utility-font); text-transform: uppercase; }
.masthead img { display: block; object-fit: contain; }
.masthead nav { display: flex; align-items: stretch; margin-left: auto; border-left: 2px solid var(--line); }
.masthead nav a {
  display: flex;
  align-items: center;
  padding: 14px clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--soft-line);
  font: 700 13px/1.15 var(--utility-font);
  letter-spacing: -.02em;
  text-decoration: none;
  text-transform: uppercase;
}
.masthead nav a:first-child { border-left: 0; }
.masthead nav a:hover, .masthead nav a:focus-visible { background: var(--ink); color: var(--paper); }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(270px, 27vw, 360px);
  align-items: start;
  gap: clamp(46px, 6vw, 92px);
  padding-block: clamp(34px, 5vw, 70px) clamp(58px, 7vw, 96px);
}

.intro-copy { position: relative; max-width: 900px; padding: clamp(12px, 2vw, 24px) 0; }
.intro-copy::before, .intro-copy::after, .section > h2::before, .section > h2::after {
  display: none;
}
.intro-copy::before { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.intro-copy::after { right: 0; bottom: 0; border-right: 1px solid; border-bottom: 1px solid; }
.byline {
  display: inline-block;
  margin-bottom: 24px;
  padding: 0 0 5px;
  border-bottom: 3px solid var(--accent);
  font: 700 12px/1.25 var(--utility-font);
  letter-spacing: .035em;
  text-transform: uppercase;
}
.lead { max-width: 44ch; margin-bottom: clamp(26px, 3vw, 38px); font-size: clamp(22px, 2.1vw, 29px); font-weight: 700; line-height: 1.23; letter-spacing: -.025em; }
.hero-status { display: inline-grid; vertical-align: baseline; white-space: nowrap; }
.hero-status-word { grid-area: 1 / 1; width: max-content; color: var(--ink); background: linear-gradient(105deg, color-mix(in srgb, var(--ink) 68%, var(--accent)) 20%, var(--accent) 50%, color-mix(in srgb, var(--ink) 68%, var(--accent)) 80%); background-size: 240% 100%; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-status-word--stuck { animation: hero-shimmer 3s linear infinite, hero-stuck 8s ease-in-out infinite; }
.hero-status-word--frustrated { opacity: 0; animation: hero-shimmer 3s linear infinite, hero-frustrated 8s ease-in-out infinite; }
.hero-status-word--seeking { opacity: 0; }
.hero-answer { display: block; }
.hero-status.is-settled .hero-status-word { opacity: 0; animation: none; }
.hero-status.is-settled .hero-status-word--seeking { opacity: 1; background: none; -webkit-text-fill-color: var(--ink); }
@keyframes hero-shimmer { from { background-position: 180% 50%; } to { background-position: -80% 50%; } }
@keyframes hero-stuck { 0%, 43%, 100% { opacity: 1; transform: translateY(0); } 50%, 93% { opacity: 0; transform: translateY(-.12em); } }
@keyframes hero-frustrated { 0%, 43%, 100% { opacity: 0; transform: translateY(.12em); } 50%, 93% { opacity: 1; transform: translateY(0); } }
.intro-copy > p:not(.byline, .lead, .service-line) { max-width: 60ch; margin-bottom: 30px; }
.person {
  min-width: 0;
  max-width: 360px;
  padding-top: clamp(8px, 2vw, 24px);
}
.portrait-stage {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 1;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.portrait-stage::before, .portrait-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  background: var(--soft-line);
}
.portrait-stage::before { top: 50%; left: -5%; width: 110%; height: 1px; }
.portrait-stage::after { top: -5%; left: 50%; width: 1px; height: 110%; }
.portrait-track {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: portrait-orbit 22s linear infinite;
}
.portrait-track::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 8deg, var(--accent) 0 13%, transparent 13% 27%, var(--ink) 27% 47%, transparent 47% 68%, var(--accent) 68% 76%, transparent 76% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
}
.portrait-track::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 20px;
  height: 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  transform: translateX(-50%);
}
.portrait-frame {
  position: absolute;
  inset: 10%;
  z-index: 2;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--accent);
}
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }
.person-copy { padding-top: 26px; border-top: 1px solid var(--soft-line); }
.person h2 { margin-bottom: 18px; font-size: clamp(28px, 3vw, 36px); }
.person p { font-size: 16px; }
.person .small { margin-bottom: 0; padding-top: 16px; border-top: 1px solid var(--soft-line); font: 13px/1.5 var(--utility-font); }

@keyframes portrait-orbit { to { transform: rotate(1turn); } }

.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--panel-radius);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 var(--accent);
  font: 800 15px/1.35 var(--body-font);
  cursor: pointer;
  text-decoration: none;
}
button:disabled { opacity: .55; cursor: not-allowed; }
.button:hover, button:hover:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--accent); }
.service-line { margin: 18px 0 0; font: 12px/1.45 var(--utility-font); }

.section { position: relative; padding-block: clamp(60px, 8vw, 104px); border-top: 2px solid var(--line); }
.section::before { display: none; }
.section > h2 { position: relative; padding: 0; }
.section > h2::before { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.section > h2::after { right: 0; bottom: 0; border-right: 1px solid; border-bottom: 1px solid; }

.process { display: grid; grid-template-columns: 1fr; gap: 44px; }
.process > h2 { max-width: 12ch; }
.process ol { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: steps; }
.process li {
  counter-increment: steps;
  position: relative;
  display: grid;
  grid-template-columns: clamp(66px, 8vw, 112px) minmax(0, 1fr);
  column-gap: clamp(18px, 4vw, 54px);
  min-height: 0;
  margin: 0;
  padding: 28px 0 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.process li::before {
  content: "0" counter(steps);
  grid-row: 1 / 3;
  color: var(--accent);
  font: 800 clamp(32px, 4vw, 54px)/.9 var(--brand-heading);
  letter-spacing: -.06em;
}
.process li::after { display: none; }
.process h3 { max-width: 28ch; font-size: clamp(21px, 2vw, 27px); line-height: 1.08; letter-spacing: -.03em; }
.process p { max-width: 64ch; margin: 10px 0 0; font-size: 15px; }

.intake { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); column-gap: clamp(34px, 5vw, 72px); row-gap: clamp(30px, 4vw, 52px); align-items: start; }
.intake-intro { grid-column: 1 / -1; max-width: 900px; }
.intake-intro h2 { max-width: 17ch; margin-bottom: 20px; }
.intake-intro > p { max-width: 65ch; margin-bottom: 0; font-size: 17px; }
.after { padding: 4px 0 4px 22px; border: 0; border-left: 6px solid var(--accent); background: transparent; color: var(--ink); }
.after::before { display: none; }
.after h3 { margin-bottom: 16px; font-size: 20px; }
.after p { max-width: 38ch; margin-bottom: 16px; font-size: 15px; }
.after .retention-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--soft-line); font-size: 13px; line-height: 1.55; }
.intake-body { min-width: 0; padding: 26px; border: 2px solid var(--line); background: var(--surface); box-shadow: var(--panel-shadow); }
.intake-body::before { content: "Your private request"; display: block; margin: -26px -26px 28px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink); font: 700 14px/1.3 var(--body-font); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 24px; }
label { display: block; margin-bottom: 7px; font: 700 14px/1.4 var(--utility-font); }
label span { font-weight: 400; }
.field { margin-top: 30px; }
.field-title { font: 800 18px/1.35 var(--body-font); }
input, textarea, select {
  width: 100%;
  min-height: 50px;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: color-mix(in srgb, var(--paper) 72%, white);
  color: var(--ink);
  font: 16px/1.5 var(--body-font);
}
textarea { display: block; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.help { margin: 10px 0 16px; font: 12px/1.55 var(--utility-font); }
.counter { margin: 6px 0 0; font: 12px/1.3 var(--utility-font); text-align: right; }
.counter.over { font-weight: 800; text-decoration: underline; }
[aria-invalid=true] { border: 3px solid var(--ink); }
.check { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font: 14px/1.5 var(--body-font); }
.check input { flex: 0 0 20px; width: 20px; min-height: 20px; margin-top: 2px; accent-color: var(--ink); }
.access-policy { margin: 28px 0 24px; padding: 20px; border: 1px solid var(--line); background: var(--paper); }
.access-policy p { margin-bottom: 10px; font-size: 14px; }
.notice { padding: 14px 18px; border: 2px solid var(--line); border-left: 10px solid var(--accent); background: var(--paper); font-size: 15px; }
.service-availability { margin: 0 0 22px; padding: 14px 16px; border-left: 4px solid var(--accent); background: var(--paper); font-size: 14px; line-height: 1.5; }
.status-line { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; }
.status-line h3 { margin: 0; }
.text-button { min-height: 36px; padding: 6px 0; border: 0; background: none; color: var(--ink); box-shadow: none; font: 600 13px/1.3 var(--utility-font); text-align: left; text-decoration: underline; text-underline-offset: 4px; text-transform: none; }
.text-button:hover:not(:disabled) { transform: none; box-shadow: none; text-decoration-thickness: 3px; }
/* Email return access and compact provider choices. */
.return-access { margin: 0 0 24px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.return-access summary { font-size: 15px; }
.return-access form { margin-top: 18px; }
.return-access input { margin-bottom: 16px; }
#signin-code { max-width: 240px; letter-spacing: .18em; font: 600 20px/1.4 var(--utility-font); }
.session-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: -10px; }
.provider-buttons, .provider-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.provider-buttons button { min-height: 44px; padding: 10px 16px; font-size: 14px; text-transform: none; }
.provider-buttons button[aria-expanded=true] { background: var(--ink); color: var(--paper); }
.provider-panel { margin-top: 14px; }
.provider-panel .provider-form { margin: 0; }
.provider-actions button { font-size: 13px; }
.request-choices { display: grid; gap: 12px; margin-bottom: 24px; }
.request-choices button { text-align: left; text-transform: none; font-size: 15px; }
#signin-again { display: block; margin-top: 12px; }
.preserve { overflow-wrap: anywhere; white-space: pre-wrap; font-size: 16px; }
#shared-links { padding-left: 20px; overflow-wrap: anywhere; font-size: 14px; }
#approved, #scheduling, #confirmation { margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--line); }
#approved p { font-size: 15px; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 20px; }
.slots > p { grid-column: 1 / -1; }
.slots button { background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 500; text-transform: none; }
.slots button[aria-pressed=true] { background: var(--ink); color: var(--paper); }

.questions { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.5fr); gap: clamp(34px, 6vw, 84px); }
.questions h2 { font-size: clamp(42px, 5vw, 64px); }
details { padding: 18px 0; border-bottom: 2px solid var(--line); }
details:first-child { padding-top: 0; }
summary { cursor: pointer; font-weight: 800; font-size: 16px; }
summary::marker { font-family: var(--utility-font); }
details p { margin: 14px 0 0; font-size: 15px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 26px; border-top: 2px solid var(--line); font: 11px/1.4 var(--utility-font); text-transform: uppercase; }
.honeypot { position: absolute; top: auto; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; z-index: 10; top: -80px; left: 12px; padding: 12px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.admin { padding-block: 38px; }
.admin h1 { max-width: none; font-size: clamp(48px, 7vw, 88px); }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 36px; }
.admin-card { margin-bottom: 22px; padding: 24px; border: 2px solid var(--line); background: var(--surface); }
.admin-card h2 { margin-bottom: 18px; font-size: 32px; }
.admin-card h3 { margin: 22px 0 8px; }
.admin-card p, .admin-card li { overflow-wrap: anywhere; font-size: 15px; }
.admin-card textarea { margin-bottom: 12px; }
.admin-card button { margin: 4px 8px 4px 0; }
.admin label { margin-top: 12px; }
.admin small { font-size: 13px; }
.admin .danger { background: transparent; color: var(--ink); }

.project-connections { margin-top: 28px; padding-top: 22px; border-top: 2px solid var(--line); }
.provider-form { margin: 20px 0; padding: 18px; border: 1px solid var(--line); background: var(--paper); }
.provider-form button { min-height: 42px; font-size: 13px; }
.provider-form .help { margin-bottom: 12px; }
.project-connections details p { font-size: 14px; }
.connection-item { margin: 14px 0; padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.connection-item > p:first-child { margin-bottom: 5px; font-weight: 700; }
.connection-item > a { display: block; font-size: 14px; }
.connection-item .help { font-weight: 400; }
.connection-policy { margin-top: 18px; }
.admin-card code { overflow-wrap: anywhere; font-size: 12px; }
.admin .check { margin-block: 14px; }
.admin-connections { margin: 20px 0; }
.project-viewer { min-width: 0; max-width: 100%; margin-top: 15px; padding: 16px; border: 2px solid var(--line); }
.project-viewer h4 { margin: 16px 0; overflow-wrap: anywhere; font-size: 16px; }
.project-viewer pre { max-height: 520px; overflow: auto; padding: 14px; background: var(--paper); font: 13px/1.5 var(--utility-font); tab-size: 2; }
.project-viewer pre code { overflow-wrap: normal; font: inherit; }
.project-viewer .repository-list { padding-left: 0; list-style: none; }
.project-viewer .repository-list li { margin: 0; border-bottom: 1px solid var(--line); }
.project-viewer .repository-list .text-button { max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.figma-tree { padding-left: 14px; border-left: 1px solid var(--line); }
.figma-tree p { margin: 8px 0; font-size: 13px; }
.project-viewer details { padding: 10px 0; }
.admin-layout > section, .intake-body { min-width: 0; }
input:disabled { opacity: .65; }
.provider-form input:disabled { cursor: not-allowed; }
.email-preferences { margin: 20px 0; }
.email-preferences summary { font-size: 15px; }
#ashley-reply, #material-requests { margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--line); }
.admin-card > section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.admin-card > section label { margin-top: 12px; }
.admin-card > section .text-button { display: flex; }

@media (max-width: 900px) {
  .wrap { padding-inline: 22px; }
  .masthead { min-height: 72px; margin-top: 12px; }
  .masthead nav { overflow-x: auto; }
  .masthead nav a { min-width: max-content; padding-inline: 14px; }
  .intro, .intake, .questions, .admin-layout { grid-template-columns: 1fr; gap: 34px; }
  .intro { padding-block: 30px 64px; }
  .person { display: grid; grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 58px); max-width: 780px; padding-top: 34px; border-top: 1px solid var(--soft-line); }
  .portrait-stage { width: 100%; margin: 0; }
  .person-copy { padding-top: 0; border-top: 0; }
  .process ol { grid-template-columns: 1fr; }
  .process li { min-height: 0; }
  .intake-intro { max-width: 680px; }
  .after { grid-column: 1; }
  .questions h2 { max-width: 12ch; }
  .status-line { align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding-inline: 16px; }
  .masthead nav { max-width: calc(100vw - 138px); }
  .masthead nav a:last-child { display: none; }
  .intro { gap: 28px; }
  .intro-copy { padding-top: 8px; }
  .person { grid-template-columns: 1fr; gap: 30px; overflow: clip; }
  .portrait-stage { width: min(78vw, 260px); margin-inline: auto; }
  .person-copy { padding-top: 24px; border-top: 1px solid var(--soft-line); }

  h1 { margin-bottom: 38px; font-size: clamp(50px, 14.8vw, 62px); }
  .lead { font-size: 22px; }
  .intake-body { box-shadow: 4px 4px 0 var(--ink); }
  .section { padding-block: 58px; }
  .process { gap: 30px; }
  .process ol { gap: 12px; }
  .process li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding-block: 22px; }
  .intake-body { padding: 20px; }
  .intake-body::before { margin: -20px -20px 22px; }
  .fields, .slots { grid-template-columns: 1fr; }
  .fields { gap: 16px; }
  .button, button { max-width: 100%; }
  .status-line { flex-wrap: wrap; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 380px) {
  .masthead nav { min-width: 0; max-width: calc(100vw - 136px); }
  .masthead nav a { padding-inline: 4px; font-size: 9px; white-space: nowrap; }
  h1 { font-size: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover, button:hover:not(:disabled) { transform: none; }
  .portrait-track { animation: none; }
  .hero-status-word { animation: none; background: none; -webkit-text-fill-color: var(--ink); }
  .hero-status-word--frustrated, .hero-status-word--seeking { opacity: 0; }
  .hero-status.is-settled .hero-status-word--seeking { opacity: 1; }
}

/* The three setup offers share each theme's existing color and type tokens. */
.setup-offers > h2 { max-width: 16ch; margin-bottom: 24px; }
.offers-intro { max-width: 60ch; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.offer-grid article { display: flex; flex-direction: column; border-top: 3px solid var(--accent); padding-top: 22px; min-width: 0; }
.offer-grid h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.offer-grid p { font-size: 16px; }
.offer-grid a { margin-top: auto; font-weight: 700; font-size: 16px; }
.jev-proof { margin-top: 36px; padding: 24px; border: 1px solid var(--soft-line); background: var(--surface); }
.jev-proof p { max-width: 85ch; }
.jev-proof p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; gap: 32px; } }

.hours-window { margin: 18px 0; padding: 16px; border: 1px solid var(--soft-line); min-width: 0; }
.hours-days { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.hours-days .check { display: flex; gap: 5px; margin: 0; }
.hours-days input { width: auto; }
.hours-window input[type=time] { display: block; width: 100%; }

.preparation { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--soft-line); }
#prep-messages p { padding: 12px; border-left: 3px solid var(--soft-line); }
