/* ==========================================================================
   Light Astra — components
   Everything reusable across pages: buttons, star marks and dividers, cards,
   pillars, lists and chips, steps, project plates, the portrait, the jewel,
   the closing band, forms and the status panel, notices, tables, FAQ.
   Static looks only: transitions, hover lifts and keyframes are in
   animations.css; breakpoint changes in responsive.css.
   ========================================================================== */

/* ---- icons ------------------------------------------------------------------ */
.icon {
  width: 1.125em;
  height: 1.125em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--lg {
  width: 2.25rem;
  height: 2.25rem;
  stroke-width: 1.5;
}

/* ---- the star mark (the real asset, tinted through a mask) ------------------- */
.star-mark {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  flex: none;
  vertical-align: -0.1em;
  background-color: currentColor;
  -webkit-mask: url("../branding/star-96.webp") center / contain no-repeat;
  mask: url("../branding/star-96.webp") center / contain no-repeat;
}

.star-mark--sm {
  width: 0.65em;
  height: 0.65em;
}

.star-mark--lg {
  width: 1.5rem;
  height: 1.5rem;
}

.star-mark--xl {
  width: 2.5rem;
  height: 2.5rem;
}

/* ---- rules and dividers -------------------------------------------------------- */
.rule {
  height: 1px;
  background: var(--hairline);
}

/* A hairline with the star cut into its centre. Works on any surface: set --surface. */
.rule--star {
  position: relative;
  height: 1px;
  background: var(--hairline);
}

.rule--star::before,
.rule--star::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rule--star::before {
  width: 3rem;
  height: 1.5rem;
  background: var(--surface);
}

.rule--star::after {
  width: 1rem;
  height: 1rem;
  background-color: var(--ink);
  -webkit-mask: url("../branding/star-96.webp") center / contain no-repeat;
  mask: url("../branding/star-96.webp") center / contain no-repeat;
}

.theme-ink .rule--star::after {
  background-color: var(--milk);
}

/* A section divider: the rule plus breathing room; drop between two sections. */
.divider {
  padding-block: 0;
}

/* ---- buttons -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--milk);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.btn:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
  color: var(--milk);
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--paper);
  border-color: var(--ink);
  color: var(--ink);
}

/* On the ink band. */
.btn--light {
  background: var(--milk);
  border-color: var(--milk);
  color: var(--ink);
}

.btn--light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn--ghost-light {
  background: transparent;
  border-color: var(--hairline-on-ink-strong);
  color: var(--milk);
}

.btn--ghost-light:hover {
  background: rgb(246 242 234 / 0.08);
  border-color: var(--milk);
  color: var(--milk);
}

.btn--sm {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

.btn--lg {
  min-height: 3.5rem;
  padding: 0.9rem 1.9rem;
  font-size: 1rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn__icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn.is-copied {
  border-color: var(--accent);
  color: var(--accent);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
}

/* A text link with an arrow: "View all work →". */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--target);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.link-arrow .icon {
  width: 1.1em;
  height: 1.1em;
}

.link-arrow:hover {
  color: var(--accent);
}

/* ---- cards ---------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-md);
}

.card--pad {
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
}

.card--quiet {
  background: transparent;
}

.card--plate {
  box-shadow: var(--shadow-plate);
}

.card__num {
  margin-bottom: var(--space-5);
}

.card__title {
  font-size: var(--title);
}

.card__text {
  margin-top: var(--space-3);
  color: var(--ink-2);
}

.card__foot {
  margin-top: auto;
  padding-top: var(--space-5);
}

/* The whole card is the link: a stretched pseudo-element on the one <a> inside it. */
.card--link .card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card--link .card__link {
  color: inherit;
  text-decoration: none;
}

.card--link:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.card--link .card__link:focus-visible {
  outline: none;
}

/* ---- pillars (Build / Secure / Automate) ------------------------------------------ */
.pillars {
  display: grid;
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-block: var(--space-6);
  border-top: var(--border);
}

.pillar:first-child {
  border-top: 0;
}

.pillar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.pillar__icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.pillar__title {
  font-size: var(--display-3);
}

.pillar__text {
  flex: 1 0 auto;
  margin-top: var(--space-3);
  max-width: 36ch;
  color: var(--ink-2);
}

.pillar__cta {
  margin-top: var(--space-5);
}

/* Hover: the icon tile fills with ink and the arrow nudges (transitions in animations.css). */
.pillar:hover .pillar__icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--milk);
}

.pillar:hover .pillar__cta {
  color: var(--accent);
}

/* ---- lists ---------------------------------------------------------------------- */
.bullets li {
  position: relative;
  padding-left: 1.6rem;
}

.bullets li + li {
  margin-top: 0.5rem;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7em;
  height: 0.7em;
  background-color: var(--ink);
  -webkit-mask: url("../branding/star-96.webp") center / contain no-repeat;
  mask: url("../branding/star-96.webp") center / contain no-repeat;
}

.theme-ink .bullets li::before {
  background-color: var(--milk);
}

.dotlist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  color: var(--ink-2);
}

/* The separator belongs to the item before it, so a wrapped line never starts with a dot. */
.dotlist li:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--ink-4);
}

/* Specification rows: label left, value right, hairlines between. */
.spec {
  display: grid;
  border-top: var(--border);
}

.spec__row {
  display: grid;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-4);
  border-bottom: var(--border);
}

.spec__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 0.25rem;
}

.spec__value {
  color: var(--ink);
  font-weight: 500;
}

.chips,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips li,
.tags li,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  border: var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  background: transparent;
}

.tags li {
  min-height: 1.75rem;
  padding: 0.2rem 0.65rem;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-color: var(--hairline);
  color: var(--ink-3);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* The hero's fact strip: hairline cells. */
.facts {
  display: grid;
  border-top: var(--border);
}

.facts li {
  padding-block: var(--space-3);
  border-bottom: var(--border);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

/* ---- steps (how it works) ---------------------------------------------------------- */
.steps {
  display: grid;
  counter-reset: step;
}

.step {
  position: relative;
  padding-block: var(--space-5);
  border-top: var(--border);
}

.step__num {
  display: block;
  margin-bottom: var(--space-4);
}

.step__title {
  font-size: var(--title);
}

.step__text {
  margin-top: var(--space-3);
  max-width: 34ch;
  color: var(--ink-2);
}

/* ---- project plates ------------------------------------------------------------------- */
.project {
  display: grid;
  gap: var(--space-5);
}

.project__frame {
  padding: 4% 6% 10% 0;    /* room for the phone capture that hangs over the corner */
}

.project__plate {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: var(--border);
  box-shadow: var(--shadow-plate);
  overflow: visible;
}

.project__shot--desktop {
  width: 100%;
  border-radius: calc(var(--radius-md) - 1px);
}

.project__shot--mobile {
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: 24%;
  border-radius: 6px;
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-lift);
  background: var(--paper);
}

.project__body > * + * {
  margin-top: var(--space-3);
}

.project__title {
  font-size: var(--display-3);
}

.project__work {
  font-size: var(--text-sm);
  color: var(--ink-3);
}

.project__work strong {
  color: var(--ink);
}

.project__mark {
  width: 4rem;
  height: 4rem;
}

/* ---- the founder portrait ----------------------------------------------------------- */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: var(--border);
  background: var(--ink);
  box-shadow: var(--shadow-plate);
}

.portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.portrait--tall {
  aspect-ratio: 3 / 4;
}

.portrait__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgb(16 16 20 / 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--milk);
  font-size: var(--text-sm);
}

.portrait__caption strong {
  color: #fff;
}

/* ---- the jewel: one dragon emblem with a warm halo (hero, about) ------------------------- */
.jewel {
  position: relative;
  width: min(100%, 32rem);
  margin-inline: auto;
  aspect-ratio: 1;
  transform-style: preserve-3d;
}

.jewel__halo,
.jewel__ring,
.jewel__square,
.jewel__shadow {
  position: absolute;
  pointer-events: none;
}

.jewel__halo {
  inset: 6%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--halo-warm), rgb(255 206 160 / 0.25) 55%, transparent 100%),
    radial-gradient(closest-side at 62% 38%, var(--halo-cool), transparent 70%);
  filter: blur(18px);
  transform: translateZ(-60px);
}

.jewel__ring {
  inset: 2%;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  transform: translateZ(-40px);
}

.jewel__square {
  inset: 12%;
  border: 1px solid var(--hairline);
  transform: translateZ(-30px) rotate(8deg);
}

.jewel__shadow {
  left: 18%;
  right: 18%;
  bottom: 2%;
  height: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(16 16 20 / 0.28), transparent);
  filter: blur(6px);
  transform: translateZ(-20px);
}

.jewel__float {
  position: relative;
  padding: 7%;
}

.jewel__img {
  width: 100%;
  height: auto;
  transform: translateZ(30px);
}

/* ---- the closing band ------------------------------------------------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem);
}

.cta-band__inner {
  display: grid;
  gap: var(--space-6);
}

.cta-band__signature {
  width: min(100%, 19rem);
  height: auto;
  opacity: 0.95;
}

.cta-band__title {
  max-width: 14ch;
  font-size: var(--display-2);
  color: var(--milk);
}

.cta-band__text {
  max-width: 44ch;
  font-size: var(--text-lg);
  color: var(--on-ink-muted);
}

.cta-band__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--hairline-on-ink);
  font-size: var(--text-sm);
  color: var(--on-ink-muted);
}

.cta-band__contact a {
  color: var(--milk);
  font-weight: 600;
  text-decoration-color: var(--hairline-on-ink-strong);
}

.cta-band__contact a:hover {
  color: #fff;
}

.cta-band__glow {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 60vw;
  max-width: 50rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(120 100 220 / 0.22), transparent 70%);
  pointer-events: none;
}

/* ---- email line with a copy button ----------------------------------------------------------- */
.mailline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.mailline__address {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.theme-ink .mailline__address {
  color: var(--milk);
}

/* ---- forms ---------------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--space-5);
}

.form__grid {
  display: grid;
  gap: var(--space-4);
}

/* Conditional parts ([data-show-when], [data-mode-only]) start hidden once boot.js has marked the
   document, so the first paint already has the layout contact-form.js will decide on (it marks the
   active parts). Without scripts the mark is absent, and when a feature fails to start main.js adds
   js-degraded: in both cases every part is visible. */
html.js:not(.js-degraded) .form__part[data-show-when]:not(.is-active),
html.js:not(.js-degraded) .form__part[data-mode-only]:not(.is-active) {
  display: none;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}

.field__flag {
  margin-left: 0.35rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field__hint {
  font-size: var(--text-sm);
  color: var(--ink-3);
}

.field__control {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
}

.field__control::placeholder {
  color: var(--ink-4);
}

.field__control:hover {
  border-color: var(--ink-3);
}

.field__control:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--ink);
}

.field__control--select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 50%, calc(100% - 0.75rem) 50%;
  background-size: 0.36rem 0.36rem;
  background-repeat: no-repeat;
}

.field__control--area {
  min-height: 9rem;
  resize: vertical;
}

.field__control--short {
  min-height: 6rem;
}

.field.is-invalid .field__control,
.field__control[aria-invalid="true"] {
  border-color: var(--danger);
}

.field__error {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--danger);
}

.form__submit {
  display: grid;
  gap: var(--space-3);
}

.form__submit .btn {
  justify-self: start;
}

.fineprint {
  font-size: var(--text-sm);
  color: var(--ink-3);
}

/* Choice cards: the quote page's "Project quote / Book a consultation" switch. */
.choice {
  display: grid;
  gap: var(--space-3);
}

.choice__option {
  position: relative;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  cursor: pointer;
}

.choice__option input {
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: var(--ink);
}

.choice__option:has(input:checked) {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.choice__option:has(input:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.choice__title {
  font-weight: 700;
  color: var(--ink);
}

.choice__text {
  font-size: var(--text-sm);
  color: var(--ink-3);
}

.choice__option:has(input:checked) .choice__text {
  color: var(--ink-2);
}

/* The panel contact-form.js shows after a submit. */
.inquiry-status {
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
}

.inquiry-status__title {
  margin-top: var(--space-3);
}

.inquiry-status__text {
  margin-top: var(--space-3);
  color: var(--ink-2);
}

.inquiry-status__preview {
  margin-top: var(--space-4);
  max-height: 18rem;
  overflow: auto;
  padding: 1rem;
  border: var(--border);
  border-radius: var(--radius-sm);
  background: var(--milk);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.inquiry-status__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* ---- notices (the honest limits) ---------------------------------------------------------- */
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  padding: 1rem 1.1rem;
  border: var(--border-strong);
  border-left: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

.notice .star-mark {
  margin-top: 0.25rem;
}

.notice--gold {
  border-left-color: var(--gold);
}

/* ---- tables (pricing, legal summaries) ------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table th,
.table td {
  padding: 0.85rem 0.75rem;
  border-bottom: var(--border);
  text-align: left;
  vertical-align: top;
}

.table th {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-3);
}

.table tbody th {
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* A large typographic figure: "starting at $300", "$10 / month". */
.figure {
  font-family: var(--font-display);
  font-size: var(--display-2);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  color: var(--ink);
}

.figure small {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

/* ---- FAQ (details / summary) ------------------------------------------------------------------ */
.faq {
  border-top: var(--border);
}

.faq__item {
  border-bottom: var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--target);
  padding-block: 1.1rem;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  flex: none;
  width: 1.5rem;
  text-align: center;
  font-family: var(--font-mono);
  color: var(--ink-3);
}

.faq__item[open] .faq__question::after {
  content: "–";
}

.faq__answer {
  padding-bottom: 1.4rem;
  max-width: var(--container-text);
  color: var(--ink-2);
}

/* ---- the watermark star: faint, large, decorative ------------------------------------------- */
.watermark {
  position: absolute;
  z-index: 0;
  width: clamp(14rem, 30vw, 28rem);
  aspect-ratio: 1;
  opacity: 0.035;
  pointer-events: none;
  background-color: var(--ink);
  -webkit-mask: url("../branding/star-768.webp") center / contain no-repeat;
  mask: url("../branding/star-768.webp") center / contain no-repeat;
}

.watermark--tr {
  top: -6%;
  right: -4%;
}

.watermark--bl {
  bottom: -8%;
  left: -6%;
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* ---- the milk light (decorative background layer) ----------------------------------------------- */
.milk {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.milk__field {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  will-change: transform;
}

.milk__field--a {
  top: -20%;
  left: -10%;
  width: 70vw;
  max-width: 60rem;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.9), rgb(255 255 255 / 0) 100%);
}

.milk__field--b {
  top: 10%;
  right: -20%;
  width: 60vw;
  max-width: 54rem;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(255 224 196 / 0.55), rgb(255 224 196 / 0) 100%);
}

.milk__field--c {
  bottom: -30%;
  left: 20%;
  width: 55vw;
  max-width: 50rem;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(190 180 240 / 0.3), rgb(190 180 240 / 0) 100%);
}

/* The architectural plan grid behind a hero: hairline columns fading out. */
.plan-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(to right, var(--hairline) 0 1px, transparent 1px calc((100% - 1px) / 12));
  background-size: 100% 100%;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0.8), transparent 85%);
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0.8), transparent 85%);
}

/* A compact spec list in a hero aside (quote and support pages). */
.spec--compact {
  font-size: var(--text-sm);
}

.spec--compact .spec__value {
  font-weight: 500;
}

.spec--compact a {
  font-weight: 600;
}

/* ---- inquiry pages: form beside its aside (quote.html, support.html) ------------------- */
.form-layout {
  display: grid;
  gap: var(--space-8);
}

.form-layout__main {
  min-width: 0;
}

.form-layout__aside {
  display: grid;
  gap: var(--space-7);
  align-content: start;
  align-self: start;
}

.form-layout__block > * + * {
  margin-top: var(--space-4);
}

.form-layout__block-title {
  font-size: var(--title);
}

@media (min-width: 900px) {
  .form-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-8);
  }

  .form-layout__aside {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    max-height: calc(100vh - var(--header-h) - 3rem); /* a short viewport scrolls the aside instead of hiding its end */
    overflow-y: auto;
    padding-left: var(--space-6);
    border-left: var(--border);
  }
}

@media (min-width: 1200px) {
  .form-layout {
    gap: var(--space-9);
  }
}

/* A fieldset that groups controls without a frame: the request-type switch, a form section. */
.choice-set,
.form__group {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-set__legend,
.form__group-legend {
  padding: 0;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}

.form__group-legend {
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--title-sm);
}

.form__group + .form__group {
  margin-top: var(--space-6);
}

/* Numbered "what happens next" steps in an inquiry aside. */
.next {
  border-top: var(--border);
}

.next__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: var(--border);
  color: var(--ink-2);
}

.next__step .num {
  padding-top: 0.2rem;
  color: var(--ink);
}

/* Icon + link rows: Instagram, location. */
.contact-list {
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-list .icon {
  color: var(--ink-3);
}

.contact-list a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--accent);
}

/* The closing band's second door, for existing clients. */
.cta-band__alt {
  grid-column: 1 / -1;
  margin: 0;
  font-size: var(--text-sm);
  color: var(--on-ink-muted);
}

.cta-band__alt a {
  color: var(--milk);
  font-weight: 600;
  text-decoration-color: var(--hairline-on-ink-strong);
}

.cta-band__alt a:hover {
  color: #fff;
}
