/* ARM Builders homepage
   Built from Dylan's Stellar design "The framed showcase" (design-a-desktop-and-mobile-homepage.stellar).
   Desktop rules come from the Home · Desktop frame, phone rules from the Home · Mobile (390) frame. */

:root {
  --primary-2: #FFFFFF;
  --primary-3: #F5F3F0;
  --secondary: #151515;
  --accent: #294E75; /* ARM logo blue */
  --accent-2: #1F3D5E;
  --bg: #F0EEEA;
  --surface: #FFFFFF;
  --ink: #111111;
  --muted: #66635E;
  --line: #E4E1DC;
  --on-dark: #F5F4F2;
  --on-dark-muted: #A6A39E;
  --on-dark-body: #C9C6C0;
  --line-dark: rgba(245, 244, 242, 0.14);
  --ph: #D9D5CE;
  --ph-dark: #5B5750;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --fs-display: 68px;
  --fs-h2: 46px;
  --fs-h3: 28px;
  --fs-lead: 19px;
  --fs-body: 17px;
  --fs-small: 14px;

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --gutter: 24px;
  --pad: 56px;
  --gap: 24px;
}

@media (max-width: 1100px) {
  :root { --fs-display: 56px; --fs-h2: 40px; --pad: 40px; }
}

@media (max-width: 760px) {
  :root {
    --fs-display: 38px; --fs-h2: 32px; --fs-h3: 22px; --fs-lead: 17px; --fs-body: 16px;
    --r-xl: 22px; --r-lg: 18px; --gutter: 12px; --pad: 24px; --gap: 12px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { background: var(--bg); color: var(--ink); }
body { margin: 0; font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .fadv__dark :focus-visible, .fproc__panel :focus-visible, .ffoot__panel :focus-visible { outline-color: #FFFFFF; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--surface); padding: 10px 16px; border-radius: 999px; font-weight: 500; }
.skip:focus { top: 12px; }

/* Header and hero run edge to edge with an even gutter at any width;
   the sections below stay capped at 1680px and centered. */
.page { margin: 0 auto; }
.block, .ffoot { max-width: 1680px; margin-left: auto; margin-right: auto; }

/* Type */
.t-display, .t-h2, .t-h3 { font-family: var(--font-display); font-weight: 500; font-stretch: 125%; margin: 0; }
.t-display { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.t-h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.t-h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; }
.t-lead { font-size: var(--fs-lead); line-height: 1.5; margin: 0; text-wrap: pretty; }
.t-body { font-size: var(--fs-body); line-height: 1.6; color: var(--muted); margin: 0; text-wrap: pretty; }
.t-label { font-size: var(--fs-small); font-weight: 500; line-height: 1.3; color: var(--muted); }

/* Pills and small parts */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font: 500 16px/1 var(--font-text); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; }
.pill img { width: 18px; height: 18px; }
.pill--dark { background: var(--accent); color: #FFFFFF; }
.pill--dark:hover { background: var(--accent-2); }
.pill--light { background: #FFFFFF; color: var(--ink); }
.pill--light:hover { background: var(--primary-3); }
.pill--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.pill--line:hover { background: var(--surface); }
.pill--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.chip { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--primary-3); font: 500 15px/1 var(--font-text); color: var(--ink); white-space: nowrap; }
.well { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--primary-3); flex-shrink: 0; }
.well img { width: 20px; height: 20px; }
.ph { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ph); }
.ph--dark { background: var(--ph-dark); }
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fill { background: #E7E3DA; color: var(--ink); border-radius: 4px; padding: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.block { padding: var(--gap) var(--gutter) 0; }

/* Header */
.fh { padding: var(--gutter) var(--gutter) 0; position: relative; z-index: 20; }
.fh__bar { height: 76px; padding: 0 16px; border-radius: var(--r-lg); background: var(--surface); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.fh__mark img { display: block; height: 44px; width: auto; }
.ffoot__mark img { display: block; height: 72px; width: auto; filter: brightness(0) invert(1); }
.fh__mark { display: block; line-height: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; font-size: 21px; letter-spacing: -.03em; color: var(--ink); text-decoration: none; justify-self: start; }
.fh__nav { display: flex; gap: 34px; }
.fh__nav a { font: 500 15px/1 var(--font-text); color: var(--ink); text-decoration: none; }
.fh__nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.fh__right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.fh__tel { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--font-text); color: var(--ink); text-decoration: none; }
.fh__tel img { width: 16px; height: 16px; }
.fh__menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--primary-3); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.fh__menu img { width: 20px; height: 20px; }
.fh__drop { display: none; }

@media (max-width: 1100px) {
  .fh__bar { grid-template-columns: 1fr auto; }
  .fh__nav { display: none; }
  .fh__menu { display: inline-flex; }
  .fh__drop { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); padding: 12px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 12px 32px rgba(17,17,17,.12); }
  .fh__drop[data-open="true"] { display: block; }
  .fh__drop a { display: block; padding: 14px 16px; border-radius: var(--r-md); font: 500 17px/1.2 var(--font-text); text-decoration: none; }
  .fh__drop a:hover { background: var(--primary-3); }
}
@media (max-width: 760px) {
  .fh__bar { height: 60px; padding: 0 12px; }
  .fh__mark { font-size: 18px; }
  .fh__mark img { height: 34px; }
  .fh__tel, .fh__right .pill { display: none; }
}

/* Hero */
/* Desktop: header + hero fill the window, with the same 24px gap above the
   header, between header and hero, below the hero, and at the sides.
   148px = 24 top + 76 header + 24 between + 24 bottom. */
.fhero { padding: var(--gutter) var(--gutter) 0; }
.fhero__frame { height: max(560px, calc(100vh - 148px)); height: max(560px, calc(100svh - 148px)); }
.fhero .photo { object-position: 58% center; }
.fhero__copy { position: absolute; left: var(--pad); top: var(--pad); right: var(--pad); max-width: 860px; }
.fhero__copy .t-lead { margin-top: 24px; max-width: 31em; color: #2A2926; }
.fhero__call { margin-top: 28px; }
.fhero__bar { position: absolute; left: 24px; right: 24px; bottom: 24px; min-height: 104px; padding: 16px 20px 16px 32px; border-radius: 24px; background: var(--surface); box-shadow: 0 12px 32px rgba(17,17,17,.08); display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; margin: 0; }
.fhero__f { position: relative; display: flex; align-items: center; gap: 14px; padding-right: 20px; min-width: 0; }
.fhero__f + .fhero__f { padding-left: 28px; border-left: 1px solid var(--line); }
.fhero__k { display: block; font: 500 13px/1.2 var(--font-text); color: var(--muted); }
.fhero__select { display: block; width: 100%; margin-top: 5px; padding: 0 22px 0 0; border: 0; background: transparent url("assets/i-down.svg") no-repeat right center / 16px; font: 600 16px/1.2 var(--font-text); color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; }
.fhero__select:focus-visible { outline-offset: 6px; }
.fhero__f label { min-width: 0; flex: 1; }
.fhero__bar .pill { height: 64px; padding: 0 32px; font-size: 17px; }
.mbar { display: none; }

@media (max-width: 1100px) {
  .fhero__bar { grid-template-columns: 1fr 1fr 1fr; row-gap: 16px; padding: 20px 24px; }
  .fhero__bar .pill { grid-column: 1 / -1; height: 56px; }
  .fhero__f + .fhero__f { padding-left: 20px; }
}
@media (max-width: 760px) {
  .fhero { padding-top: 8px; }
  .fhero__frame { height: clamp(520px, calc(100svh - 160px), 668px); }
  .fhero .photo { object-position: 50% center; }
  .fhero__copy { left: 24px; right: 24px; top: 24px; }
  .fhero__copy .t-lead { margin-top: 14px; }
  .fhero__call, .fhero__bar { display: none; }
  /* Sticky Call / Book bar on phones */
  .mbar { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 8px; border-radius: 999px; background: var(--surface); box-shadow: 0 8px 24px rgba(17,17,17,.16); display: grid; grid-template-columns: auto 1fr; gap: 8px; }
  .mbar .pill { height: 52px; padding: 0 18px; font-size: 15px; }
  .mbar__call { background: var(--primary-3); color: var(--ink); }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* In-house advantage */
.fadv__top { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); min-height: 700px; }
.fadv__dark { border-radius: var(--r-xl); background: var(--secondary); color: var(--on-dark); padding: var(--pad); display: flex; flex-direction: column; }
.fadv__dark .t-label { color: var(--on-dark-muted); }
.fadv__dark .t-h2 { margin-top: 20px; }
.fadv__list { margin: auto 0 0; padding: 40px 0 0; list-style: none; }
.fadv__list li { padding: 22px 0; border-top: 1px solid var(--line-dark); }
.fadv__list li:last-child { padding-bottom: 0; }
.fadv__list h3 { font-family: var(--font-display); font-stretch: 125%; font-weight: 500; font-size: 20px; letter-spacing: -.015em; margin: 0 0 6px; }
.fadv__list p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--on-dark-body); }
.fadv__img { min-height: 420px; }
.fadv__chain { margin-top: var(--gap); border-radius: var(--r-xl); background: var(--surface); padding: 44px var(--pad); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 72px; }
.fadv__chain p { margin: 0; font-size: 17px; line-height: 1.4; color: var(--muted); }
.fadv__steps { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fadv__steps li { font-family: var(--font-display); font-stretch: 125%; font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.fadv__steps img { display: block; width: 22px; height: 22px; opacity: .35; }

@media (max-width: 1100px) {
  .fadv__chain { grid-template-columns: 1fr; gap: 20px; padding: 36px var(--pad); }
  .fadv__steps li { font-size: 24px; }
}
@media (max-width: 760px) {
  .fadv__top { grid-template-columns: 1fr; min-height: 0; }
  .fadv__dark { padding: 32px 24px 28px; }
  .fadv__dark .t-h2 { margin-top: 14px; }
  .fadv__list { padding-top: 28px; margin: 0; }
  .fadv__list li { padding: 18px 0; }
  .fadv__list h3 { font-size: 18px; }
  .fadv__list p { font-size: 15px; }
  .fadv__img { min-height: 0; height: 420px; }
  .fadv__chain { padding: 28px 24px 10px; gap: 14px; }
  .fadv__chain p { font-size: 15px; }
  .fadv__chain p br { display: none; }
  .fadv__steps { display: block; }
  .fadv__steps li { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--line); font-size: 22px; }
  .fadv__steps li.arrow { display: none; }
  .fadv__steps li .down { display: block; width: 20px; height: 20px; }
}
.fadv__steps .down { display: none; opacity: .35; }

/* Selected homes */
.fhomes__panel { border-radius: var(--r-xl); background: var(--surface); padding: 24px; }
.fhomes__head { padding: 32px 32px 40px; }
.fhomes__head .t-body { margin-top: 10px; }
.fhomes__feature { height: 600px; border-radius: var(--r-lg); }
.fhomes__cap { display: flex; align-items: baseline; gap: 16px; padding: 22px 32px 0; }
.fhomes__cap b { font-family: var(--font-display); font-stretch: 125%; font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.fhomes__cap span { font-size: 15px; color: var(--muted); }
.fhomes__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.fhomes__row figure { margin: 0; }
.fhomes__img { height: 320px; border-radius: var(--r-lg); }
.fhomes__row figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 32px 8px; }
.fhomes__row figcaption b { font-family: var(--font-display); font-stretch: 125%; font-weight: 500; font-size: 18px; letter-spacing: -.015em; }
.fhomes__row figcaption span { font-size: 15px; color: var(--muted); white-space: nowrap; }

@media (max-width: 1100px) {
  .fhomes__feature { height: 480px; }
  .fhomes__img { height: 260px; }
  .fhomes__row figcaption { padding: 16px 12px 8px; }
}
@media (max-width: 760px) {
  .fhomes__panel { padding: 12px 12px 8px; }
  .fhomes__head { padding: 20px 12px 24px; }
  .fhomes__head .t-body { margin-top: 8px; }
  .fhomes__feature { height: 440px; }
  .fhomes__cap { display: block; padding: 16px 12px 0; }
  .fhomes__cap b { display: block; font-size: 20px; line-height: 1.2; }
  .fhomes__cap span { display: block; margin-top: 4px; font-size: 14px; }
  .fhomes__row { grid-template-columns: 1fr; margin-top: 32px; }
  .fhomes__img { height: 280px; }
  .fhomes__row figcaption { padding: 14px 12px 8px; }
  .fhomes__row figcaption b { font-size: 17px; }
  .fhomes__row figcaption span { font-size: 14px; }
}

/* Process */
.fproc__panel { border-radius: var(--r-xl); background: var(--secondary); color: var(--on-dark); padding: 64px var(--pad) 48px; }
.fproc__head, .fproc__track { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 40px; }
.fproc__head { align-items: end; }
.fproc__head .t-h2 { grid-column: 1 / span 2; }
.fproc__head .t-lead { grid-column: 3 / span 2; max-width: 22em; color: var(--on-dark-body); text-wrap: balance; }
.fproc__track { position: relative; grid-template-rows: auto auto; margin: 88px 0 0; padding: 0; list-style: none; }
.fproc__track::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: rgba(245,244,242,.26); }
.fproc__step { position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 16px; padding-top: 52px; }
.fproc__step::before { content: ""; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 999px; background: var(--secondary); border: 1.5px solid var(--on-dark); }
.fproc__step:first-child::before { background: var(--on-dark); }
.fproc__step h3 { align-self: end; margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 500; font-size: 30px; line-height: 1.1; letter-spacing: -.03em; }
.fproc__step p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--on-dark-body); }
.fproc__foot { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fproc__foot p { margin: 0; font-size: 19px; line-height: 1.4; }

@media (max-width: 1100px) {
  .fproc__head { display: block; }
  .fproc__head .t-lead { margin-top: 12px; }
  .fproc__track { column-gap: 24px; }
  .fproc__step h3 { font-size: 22px; }
  .fproc__step p { font-size: 16px; }
}
@media (max-width: 860px) {
  .fproc__panel { padding: 36px 24px 24px; }
  .fproc__track { display: block; margin-top: 40px; }
  .fproc__track::before { display: none; }
  .fproc__step { display: block; padding: 0 0 32px 44px; }
  .fproc__step:last-child { padding-bottom: 0; }
  .fproc__step::before { top: 4px; }
  .fproc__step:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 21px; bottom: -4px; width: 1px; background: rgba(245,244,242,.26); }
  .fproc__step h3 { margin-bottom: 10px; font-size: 24px; }
  .fproc__foot { display: block; margin-top: 36px; padding-top: 24px; }
  .fproc__foot p { font-size: 17px; }
  .fproc__foot .pill { margin-top: 16px; }
}
@media (max-width: 760px) {
  .fproc__foot .pill { width: 100%; }
}

/* Land paths */
.fland__panel { border-radius: var(--r-xl); background: var(--surface); padding: 24px; }
.fland__head { padding: 32px 32px 40px; }
.fland__head .t-body { margin-top: 10px; }
.fland__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fland__col { display: flex; flex-direction: column; }
.fland__img { height: 460px; border-radius: var(--r-lg); }
.fland__img .photo { object-position: 50% 30%; }
.fland__text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 32px 32px 16px; }
.fland__text .t-h3 { font-size: 30px; }
.fland__text .t-body { margin: 12px 0 28px; max-width: 30em; }
.fland__text .pill { margin-top: auto; }

@media (max-width: 1100px) {
  .fland__img { height: 360px; }
  .fland__text { padding: 24px 12px 8px; }
  .fland__text .t-h3 { font-size: 24px; }
}
@media (max-width: 760px) {
  .fland__panel { padding: 12px 12px 16px; }
  .fland__head { padding: 20px 12px 24px; }
  .fland__head .t-body { margin-top: 8px; }
  .fland__grid { grid-template-columns: 1fr; gap: 32px; }
  .fland__img { height: 340px; }
  .fland__text { padding: 20px 12px 0; }
  .fland__text .t-h3 { font-size: var(--fs-h3); }
  .fland__text .t-body { margin: 10px 0 20px; font-size: 15px; }
  .fland__text .pill { width: 100%; }
}

/* About */
.fabout__panel { border-radius: var(--r-xl); background: var(--surface); padding: 24px; display: grid; grid-template-columns: 5fr 7fr; gap: 24px; }
.fabout__photo { min-height: 640px; border-radius: var(--r-lg); background: var(--ph); }
.fabout__text { padding: 32px 32px 0; display: flex; flex-direction: column; }
.fabout__text .t-h2 { margin-top: 16px; font-size: min(42px, var(--fs-h2)); }
.fabout__name { margin: 28px 0 0; font: 600 16px/1.3 var(--font-text); }
.fabout__text .t-lead { margin-top: 28px; color: #2A2926; max-width: 30em; }
.fabout__lic { margin-top: auto; border-radius: var(--r-lg); background: var(--primary-3); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; }
.fabout__lic b { display: block; margin-top: 6px; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; font-size: 32px; letter-spacing: -.03em; line-height: 1; }
.fabout__verify { display: inline-flex; align-items: center; gap: 6px; font: 500 15px/1 var(--font-text); color: var(--ink); }
.fabout__verify img { width: 16px; height: 16px; }

@media (max-width: 960px) {
  .fabout__panel { grid-template-columns: 1fr; }
  .fabout__photo { min-height: 0; height: 380px; }
  .fabout__text { padding: 12px 12px 0; }
  .fabout__lic { margin-top: 32px; }
}
@media (max-width: 760px) {
  .fabout__panel { padding: 12px 12px 24px; }
  .fabout__photo { height: 340px; }
  .fabout__text { padding-top: 16px; }
  .fabout__text .t-h2 { margin-top: 12px; }
  .fabout__name { margin-top: 20px; font-size: 15px; }
  .fabout__text .t-lead { margin-top: 20px; }
  .fabout__lic { display: block; margin-top: 28px; padding: 20px; }
  .fabout__lic b { font-size: 26px; }
  .fabout__verify { margin-top: 14px; }
}

/* Where we build */
.farea__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.farea__text { border-radius: var(--r-xl); background: var(--surface); padding: var(--pad); display: flex; flex-direction: column; }
.farea__text .t-body { margin-top: 14px; }
.farea__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.farea__foot { margin-top: auto; padding-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.farea__foot .t-body { margin: 0; }
.farea__img { min-height: 600px; }

@media (max-width: 960px) {
  .farea__grid { grid-template-columns: 1fr; }
  .farea__img { min-height: 0; height: 360px; }
}
@media (max-width: 760px) {
  .farea__text { padding: 32px 24px 24px; }
  .farea__text .t-body { margin-top: 10px; }
  .farea__chips { gap: 8px; margin-top: 24px; }
  .chip { height: 38px; padding: 0 14px; font-size: 14px; }
  .farea__foot { display: block; padding-top: 24px; }
  .farea__foot .pill { width: 100%; margin-top: 12px; }
  .farea__img { height: 300px; }
}

/* Consultation form */
.fform__frame { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 540px); gap: 24px; padding: 24px; border-radius: var(--r-xl); overflow: hidden; background: var(--ph-dark); }
.fform__media { position: absolute; inset: 0; border-radius: 0; }
.fform__media .photo { object-position: 48% center; filter: brightness(.65); }
.fform__copy { position: absolute; left: var(--pad); bottom: var(--pad); max-width: 480px; color: #FFFFFF; }
.fform__frame > .fform__copy-space { min-height: 1px; }
.fform__copy .t-lead { margin-top: 18px; color: rgba(255,255,255,.88); }
.fform__copy .pill { margin-top: 28px; }
.fform__card { position: relative; grid-column: 2; padding: 40px; border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.fform__card .t-h3 { margin-bottom: 6px; }
.fform__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { font: 500 14px/1 var(--font-text); color: var(--muted); padding: 0; }
.input { width: 100%; height: 52px; border-radius: var(--r-md); background: var(--primary-3); border: 1px solid transparent; padding: 0 16px; font: 400 16px/1.2 var(--font-text); color: var(--ink); }
.input:hover { border-color: var(--line); }
.input:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
select.input { appearance: none; -webkit-appearance: none; background: var(--primary-3) url("assets/i-down.svg") no-repeat right 16px center / 18px; padding-right: 44px; cursor: pointer; }
select.input:focus { background-color: var(--surface); }
textarea.input { height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.fform__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fform__opts input { position: absolute; opacity: 0; pointer-events: none; }
.fform__opts label { height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); font: 500 15px/1 var(--font-text); cursor: pointer; }
.fform__opts input:checked + label { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.fform__opts input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.fform__card .pill--dark { width: 100%; height: 56px; margin-top: 6px; font-size: 16px; }
.fform__note { margin: -4px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.fform__status { margin: 0; padding: 14px 16px; border-radius: var(--r-md); background: #EAEFF5; color: var(--accent); font-size: 15px; line-height: 1.45; }
.fform__status[hidden] { display: none; }

@media (max-width: 960px) {
  .fform__frame { display: block; padding: 0; overflow: visible; background: none; border-radius: 0; }
  .fform__media { position: relative; inset: auto; height: 440px; border-radius: var(--r-xl); }
  .fform__media .photo { object-position: 30% center; filter: brightness(.7); }
  .fform__copy { left: 24px; right: 24px; bottom: 28px; }
  .fform__copy .pill { display: none; }
  .fform__card { margin-top: var(--gap); border-radius: var(--r-xl); }
}
@media (max-width: 760px) {
  .fform__copy .t-lead { margin-top: 16px; }
  .fform__card { padding: 28px 24px; gap: 20px; }
  .fform__two { grid-template-columns: 1fr; gap: 20px; }
  textarea.input { height: 112px; }
}

/* Footer */
.ffoot { padding: var(--gap) var(--gutter) var(--gutter); }
.ffoot__panel { border-radius: var(--r-xl); background: var(--secondary); color: var(--on-dark); padding: 56px var(--pad) 32px; }
.ffoot__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.ffoot__mark { font-family: var(--font-display); font-stretch: 125%; font-weight: 600; font-size: 40px; letter-spacing: -.035em; line-height: 1; }
.ffoot__mark + p { margin: 14px 0 0; color: var(--on-dark-muted); font-size: 16px; max-width: 24em; }
.ffoot__cols { display: grid; grid-template-columns: repeat(2, auto); gap: 64px; }
.ffoot__col .t-label { display: block; color: var(--on-dark-muted); margin-bottom: 12px; }
.ffoot__col p { margin: 0; font-size: 16px; line-height: 1.6; }
.ffoot__col a { color: inherit; text-underline-offset: 4px; }
.ffoot__note { margin: 20px 0 0; color: var(--on-dark-muted); font-size: 12px; line-height: 1.5; }
.ffoot__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; font-size: 14px; color: var(--on-dark-muted); }
.ffoot__nav { display: flex; flex-wrap: wrap; gap: 28px; }
.ffoot__nav a { color: inherit; text-decoration: none; }
.ffoot__nav a:hover { color: var(--on-dark); }

@media (max-width: 1100px) {
  .ffoot__top { flex-direction: column; }
  .ffoot__cols { gap: 40px; }
}
@media (max-width: 760px) {
  .ffoot__panel { padding: 36px 24px 24px; }
  .ffoot__top { gap: 28px; padding-bottom: 0; border-bottom: 0; }
  .ffoot__mark { font-size: 26px; }
  .ffoot__mark img { height: 56px; }
  .ffoot__mark + p { font-size: 15px; }
  .ffoot__cols { display: block; width: 100%; }
  .ffoot__col { padding: 16px 0; border-top: 1px solid var(--line-dark); }
  .ffoot__col .t-label { margin-bottom: 6px; }
  .ffoot__col p { font-size: 15px; }
  .ffoot__base { display: block; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: 13px; }
  .ffoot__nav { display: none; }
}

/* Tablet refinements */
@media (max-width: 900px) {
  .fhero__bar .well { display: none; }
  .fhero__f { padding-right: 12px; }
  .fhero__f + .fhero__f { padding-left: 16px; }
  .fadv__top { grid-template-columns: 1fr; min-height: 0; }
  .fadv__list { margin: 0; }
  .fadv__img { min-height: 0; height: 420px; }
}

/* Legend lines up with the field labels beside it */
fieldset.field { display: block; }
fieldset.field > legend { float: left; width: 100%; margin: 0 0 8px; line-height: 1; }
fieldset.field > .fform__opts { clear: both; }

/* Bigger tap areas for small text links */
.fabout__verify, .ffoot__col a { display: inline-flex; align-items: center; min-height: 44px; }
.ffoot__col p { line-height: 1.6; }

@media (max-width: 760px) { .ffoot__note { margin-bottom: 16px; } }
