@charset "UTF-8";
/* ── Intake wrapper ──
   Was `max-width + margin: auto + padding: 10vw` — the exact anti-pattern
   the page-band mixin (_base.scss) exists to fix. body reserves
   --rail-total in its own padding-left, so an auto-margin container in here
   centred on a box that's already offset right, then added symmetric
   padding on top of that — stacking the rail gap onto the left only. That
   was the whole "form has left margin" bug.
   Hand-inlined rather than `@include page-band` because this file only
   imports the tokens partial, not base (same reason dark-island's values
   are hand-copied below instead of pulled in via base — see that comment).
   The custom properties themselves (--rail-total, --gutter, --measure-page)
   are plain runtime CSS vars main.css already sets at :root, so no Sass
   import is needed to reach them — only the mixin's math is reproduced.
   Same technique, same cap, as .page-body site-wide. */
.intake-wrapper {
  width: calc(100% + var(--rail-total, 0px));
  margin-left: calc(var(--rail-total, 0px) * -1);
  padding-inline: max(var(--gutter), (100% + var(--rail-total, 0px) - var(--measure-page)) / 2);
  padding-block: var(--space-8) var(--space-12);
  margin-top: var(--space-8);
}

/* ── Masthead ── */
.intake-masthead {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: var(--space-7);
  padding: var(--space-9) var(--space-10);
  background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(5, 5, 5, 0.9)), url("/assets/images/Marble.png");
  background-size: cover, 520px 520px;
  background-position: center, center;
  background-repeat: no-repeat, repeat;
  border: 1px solid var(--line-3);
  border-bottom: none;
  position: relative;
  overflow: hidden;
  --surface-1: #0c101a;
  --surface-2: #1a1d26;
  --surface-3: #22262f;
  --surface-4: #252831;
  --surface-5: #2b2f39;
  --shadow: #06080d;
  --line-1: #22262f;
  --line-2: #2b3038;
  --line-3: #30343e;
  --line-4: #3d424e;
  --ink-1: #999999;
  --ink-2: #B0AAA0;
  --ink-3: #E8E4DC;
  --ink-4: #FFFFFF;
  --mark: #b39f7b;
  --mark-dim: rgba(201, 168, 76, 0.35);
  --mark-ghost: rgba(201, 168, 76, 0.12);
  --mark-border: #b39f7b;
  --mark-strong: #c9b48d;
  --snake-opacity: 0.4;
  --snake-filter: none;
  --tick-soft-opacity: 0.55;
  --steel: #7F94A6;
  --steel-dim: rgba(127, 148, 166, 0.55);
  --steel-ghost: rgba(127, 148, 166, 0.12);
  --amethyst: #A284CA;
  --amethyst-dim: rgba(162, 132, 202, 0.35);
  --amethyst-ghost: rgba(162, 132, 202, 0.12);
  --sage: #6DA187;
  --sage-dim: rgba(109, 161, 135, 0.35);
  --sage-ghost: rgba(109, 161, 135, 0.12);
  --teal: #5DA19C;
  --teal-dim: rgba(93, 161, 156, 0.35);
  --teal-ghost: rgba(93, 161, 156, 0.12);
  --ruby: #ba6868;
  --claude: #E8640A;
  --accent-1: var(--mark);
  --accent-2: var(--amethyst);
  --accent-3: var(--sage);
  --accent-4: var(--teal);
  --accent-5: var(--steel);
  --sapphire: var(--steel);
  --emerald: var(--sage);
  --ls-optical: 0.006em;
  --fw-heading: var(--fw-4);
  color: var(--ink-3);
  color: var(--ink-3);
}

.intake-masthead::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: var(--radius-round);
  border: 30px solid rgba(201, 168, 76, 0.05);
  pointer-events: none;
}

.intake-masthead-title {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--ink-3);
  line-height: 1.1;
}

.intake-masthead-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-1);
  margin-top: var(--space-3);
}

.intake-masthead-meta {
  text-align: right;
}

.intake-masthead-name {
  font-family: "Lora", Georgia, serif;
  font-size: 0.95rem;
  color: var(--ink-3);
}

.intake-masthead-contact {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-1);
  margin-top: var(--space-2);
  line-height: 1.8;
}

.intake-masthead-rule {
  height: 2px;
  background: linear-gradient(90deg, var(--mark), transparent);
}

/* ── Form body ── */
.intake-body {
  background-color: var(--surface-2);
  border: 1px solid var(--line-3);
  border-top: none;
}

/* ── Confidential banner ── */
.intake-banner {
  padding: var(--space-5) var(--space-7);
  border-left: 2px solid var(--mark);
  background: var(--surface-3);
  font-size: 0.8rem;
  color: var(--ink-1);
  line-height: 1.7;
}
.intake-banner strong {
  color: var(--mark);
  font-weight: 500;
}

/* ── Sections ── */
.intake-section {
  padding: var(--space-9) var(--space-10) 0;
  animation: fadeUp 0.4s ease both;
}

.track-label {
  color: var(--line-3);
}

/* ── Service type cards ──
   minmax(0, 1fr), not bare 1fr: a plain `1fr` track carries an implicit
   minmax(auto, 1fr), so it won't shrink below its content's min-content
   width. On a laptop viewport — still 4 columns, less width than desktop —
   that pushed the row wider than .intake-wrapper and the cards overflowed
   the page. minmax(0, 1fr) removes that floor. */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

/* ⚠ .service-card IS a <label>, so the field-caption rule above it applies:
   0.68rem, 0.12em tracking, ALL CAPS. That treatment is right for a two-word
   caption and wrong for a card holding a serif title and a sentence of body
   copy — it rendered the descriptions as unreadable uppercase. The children
   already re-declare font-size, family and colour; only case and tracking
   inherit through, so only those need resetting. Scoped here rather than
   loosened on the label rule, because the short .check-item chips ("YES",
   "EMAIL ONLY") do want the caps. */
.service-card {
  cursor: pointer;
  display: block;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.service-card input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.service-card-inner {
  /* One definition, two consumers: the icon's own box and the width the
     title has to give up for it. They were independent numbers and drifted
     apart — see the padding-right rule below. */
  --card-icon-size: clamp(31px, 24.2%, 44px);
  --card-icon-inset: 1.2rem;
  border: 1px solid var(--line-3);
  background: var(--surface-3);
  padding: var(--space-card) var(--space-6);
  transition: border-color 0.2s, background 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

/* Corner icon: same treatment as the home services cards, sized down because
   this grid is four across. Two-class selectors so they beat the design
   package's bare .card-icon rules regardless of stylesheet order. */
.service-card-inner:has(.card-icon) {
  position: relative;
}

.service-card-inner .card-icon {
  position: absolute;
  top: 1.4rem; /* matches .service-card-inner padding */
  right: var(--card-icon-inset);
  width: var(--card-icon-size);
  margin-bottom: 0;
  font-size: 1.6rem;
  color: var(--mark);
}

/* Only the title sits beside the icon, so only the title gives up width. The
   min-height matches the icon box, which guarantees the description always
   starts below it and can stay full width.
   ⚠ The reservation must count the icon's inset as well as its width. It
   counted the width alone, so on the two cards with a long title the last
   word ran under the glyph. */
.service-card-inner:has(.card-icon) .service-card-title {
  padding-right: calc(var(--card-icon-size) + var(--card-icon-inset) + 0.6rem);
  min-height: var(--card-icon-size);
}

.service-card:hover .service-card-inner {
  border-color: var(--mark-dim);
}

.service-card input:checked + .service-card-inner {
  border-color: var(--mark);
  background: rgba(201, 168, 76, 0.04);
}

/* The radio itself is visually hidden — surface keyboard focus on the card */
.service-card input:focus-visible + .service-card-inner {
  outline: 2px solid var(--mark);
  outline-offset: 2px;
}

.service-card-icon {
  font-size: 1.3rem;
  color: var(--mark);
  opacity: 0.7;
}

.service-card input:checked + .service-card-inner .service-card-icon {
  opacity: 1;
}

.service-card-title {
  font-family: "Lora", Georgia, serif;
  font-size: 0.95rem;
  color: var(--ink-3);
  line-height: 1.2;
}

.service-card-desc {
  font-size: 0.72rem;
  color: var(--ink-1);
  line-height: 1.6;
  font-family: "Inter", sans-serif;
  font-weight: 300;
}

/* Both of these restate minmax(0, …) rather than writing a bare 1fr. A bare
   1fr is minmax(auto, 1fr), which puts back exactly the content-based floor
   the base rule at the top of this block removed — and it did: the card ran
   9px past the right edge at 320px. Any future override of this grid has to
   carry the 0 minimum too. */
@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .service-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
.intake-section-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line-3);
  margin-bottom: var(--space-8);
}

.intake-section-number {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--mark);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.intake-section-title {
  font-family: "Lora", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink-3);
}

.intake-divider {
  height: 1px;
  background: var(--line-3);
  margin: 0 var(--space-10);
  opacity: 0.6;
}

/* ── Note boxes ── */
.intake-note {
  background: var(--surface-3);
  border-left: 2px solid var(--line-3);
  padding: var(--space-5) var(--space-6);
  font-size: 0.82rem;
  color: var(--ink-1);
  line-height: 1.75;
  margin-bottom: var(--space-7);
}

.intake-note.warning {
  border-left-color: var(--mark);
  color: var(--ink-1);
}

/* ── Field layout ── */
.field-row {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.field-row.col-2 {
  grid-template-columns: 1fr 1fr;
}

.field-row.col-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ── Labels ── */
.intake-body label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Fieldsets group each radio/checkbox question with its options for
   assistive tech; render them exactly like the plain label rows. */
.intake-body fieldset {
  border: none;
  min-width: 0;
}

.intake-body legend {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

/* ── Inputs ── */
.intake-body input[type=text],
.intake-body input[type=email],
.intake-body input[type=tel],
.intake-body input[type=date],
.intake-body select,
.intake-body textarea {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-3);
  background: var(--surface-3);
  border: 1px solid var(--line-3);
  padding: var(--space-3) var(--space-5);
  /* Explicit, because <select> and <input> take different `normal`
     line-heights from the UA. Same padding and font-size still produced two
     different box heights, and the pair sitting side by side in the contact
     row made it obvious. */
  line-height: 1.5;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.intake-body input:focus,
.intake-body select:focus,
.intake-body textarea:focus {
  border-color: var(--mark-dim);
}

.intake-body textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.7;
}

.intake-body select {
  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' stroke='%237a7269' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-color: var(--surface-3);
  padding-right: var(--space-8);
  cursor: pointer;
  color: var(--ink-3);
}

/* ── Checkbox / radio groups ── */
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-1);
}

.check-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--line-3);
  background: var(--surface-3);
  font-size: 0.78rem;
  color: var(--ink-1);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  transition: border-color 0.2s, color 0.2s;
  user-select: none;
}

.check-item:hover {
  border-color: var(--mark-dim);
  color: var(--ink-3);
}

.check-item:has(input:checked) {
  border-color: var(--mark);
  color: var(--mark);
}

.check-item input[type=checkbox],
.check-item input[type=radio] {
  width: 13px;
  height: 13px;
  accent-color: var(--mark);
  cursor: pointer;
  flex-shrink: 0;
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
}

.check-item input:focus {
  box-shadow: none;
}

/* ── Acknowledgment ──
   The only required checkbox on the page, and a sentence rather than a chip.
   It borrowed .check-item, which centred a two-line sentence on a 13px box
   and uppercased it. Its own class: sentence case, top-aligned box, and the
   gold edge that marks it as the one thing that must be ticked. */
.intake-ack {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  cursor: pointer;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--mark-border);
  background: var(--surface-3);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.6;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s;
}
.intake-ack:hover {
  color: var(--ink-3);
}
.intake-ack:has(input:checked) {
  border-color: var(--mark);
}
.intake-ack input[type=checkbox] {
  width: 13px;
  height: 13px;
  /* Optical centring on the first line of text, not the first pixel. */
  margin-top: 0.28em;
  accent-color: var(--mark);
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Formspree result banners ──
   ⚠ Never add a `display` declaration here. Both banners carry the [hidden]
   attribute; the UA's display:none for it loses to any author display rule,
   and they would show on page load. */
.intake-banner {
  padding: var(--space-5) var(--space-10);
  background: var(--surface-3);
  border-left: 2px solid;
  font-size: 0.85rem;
  line-height: 1.6;
}

.intake-banner--ok {
  border-left-color: var(--mark);
  color: var(--mark);
}

.intake-banner--err {
  border-left-color: var(--alert);
  color: var(--alert);
}

/* ── Signature block ── */
.sig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-1);
}

.sig-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sig-line {
  border: none;
  border-bottom: 1px solid var(--line-3);
  height: 44px;
  background: transparent;
  padding: 0 var(--space-1);
  font-family: "Lora", Georgia, serif;
  font-size: 1rem;
  color: var(--ink-3);
  width: 100%;
  transition: border-color 0.2s;
}

.sig-line:focus-visible {
  outline: 2px solid var(--mark);
  outline-offset: 2px;
  border-color: var(--mark);
}

/* ── Submit area ── */
.intake-submit {
  padding: var(--space-9) var(--space-10) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.intake-submit-note {
  font-size: 0.78rem;
  color: var(--ink-1);
  max-width: 400px;
  line-height: 1.6;
}
.intake-submit-note a {
  color: var(--mark);
  text-decoration: none;
  border-bottom: 1px solid var(--mark-dim);
}
.intake-submit-note a:hover {
  border-color: var(--mark);
}

/* ── Doc footer ── */
.intake-doc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5);
}

/* ── Mobile / tablet responsive ── */
@media (max-width: 768px) {
  /* Horizontal padding no longer needs a local override: --gutter itself
     drops to max(6vw, --rail-total + --space-4) at this breakpoint (see
     _base.scss), which is what used to be hand-duplicated here. Only the
     bottom padding still shrinks for mobile rhythm. */
  .intake-wrapper {
    padding-block-end: var(--space-11);
  }
  /* Masthead: stack title over meta instead of the cramped 1fr/auto row that
     let the two columns visually collide. */
  .intake-masthead {
    grid-template-columns: minmax(0, 1fr);
    padding: var(--space-8) var(--space-card);
  }
  .intake-masthead-meta {
    text-align: left;
  }
  .intake-section,
  .intake-submit {
    padding-left: var(--space-card);
    padding-right: var(--space-card);
  }
  .intake-divider {
    margin-left: var(--space-card);
    margin-right: var(--space-card);
  }
  /* Two-up field pairs stack to one column so inputs get full width. */
  .field-row.col-2,
  .field-row.col-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Doc footer: stack the two confidentiality lines instead of colliding. */
  .intake-doc-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
}

/*# sourceMappingURL=intake.css.map */