@font-face {
  font-family: Cabin;
  src: url("/assets/fonts/cabin-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
}

:root {
  color-scheme: dark;
  --black: #090909;
  --surface: #121212;
  --line: #343434;
  --white: #f5f5f5;
  --muted: #b6b6b6;
  --red: #f33131;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-family: Cabin, "Helvetica Neue", Arial, sans-serif;
  color: var(--white);
  background: var(--black);
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, p, h1, h2, h3 { margin: 0; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
/* Let short pages fill the viewport while long pages keep normal document flow. */
body > main { flex: 1 0 auto; }
body > header, body > footer { flex-shrink: 0; }
body > .site-footer { margin-top: auto; }
a { color: inherit; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 5px; }
::selection { background: var(--red); color: var(--black); }
.shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -100px; background: var(--white); color: var(--black); padding: 12px; z-index: 5; }
.skip:focus { top: 12px; }

.mast { min-height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); }
.brand { display: block; justify-self: start; flex: 0 0 auto; }
.brand img { width: clamp(160px, 22vw, 235px); height: auto; }
.mast nav { display: flex; gap: clamp(15px, 3vw, 42px); }
.textlink { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 650; }
.textlink:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--red); color: #080808; border: 1px solid var(--red); padding: 11px 16px; min-height: 44px; text-decoration: none; font-size: .9rem; font-weight: 780; cursor: pointer; transition: background-color 160ms, color 160ms; }
.btn:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.outline { background: transparent; border-color: #606060; color: var(--white); }

h1, h2, h3 { font-weight: 720; letter-spacing: -.025em; line-height: 1; }
h1 { font-size: clamp(3.5rem, 7.6vw, 8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.3rem, 4.75vw, 4.75rem); }
h3 { font-size: clamp(1.35rem, 2.15vw, 2.1rem); }
h1 span { color: var(--red); }
h1 em { font-style: normal; }
.eyebrow, .estimate-head span, .estimate-scale, .sample > span {
  font: 650 .7rem/1.4 var(--mono);
  letter-spacing: .13em;
  color: var(--muted);
}
.eyebrow { margin-bottom: 20px; }
.eyebrow i { display: inline-block; width: 14px; height: 2px; margin-right: 8px; vertical-align: middle; background: var(--red); }
.lede { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 46ch; margin-block: 24px; }

.quick-estimate { border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.estimate-head, .estimate-link, .estimate-control, .estimate-scale { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.estimate-head, .estimate-link { padding: 16px clamp(16px, 3vw, 34px); }
.estimate-head { border-bottom: 1px solid var(--line); }
.estimate-head h2 { font-size: 1rem; letter-spacing: -.02em; }
.estimate-body { padding: 28px clamp(16px, 3vw, 34px); }
.estimate-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.estimate-value output { font-size: clamp(3rem, 6vw, 6.1rem); font-weight: 720; line-height: 1; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.estimate-value span, .estimate-note { color: var(--muted); font-size: .84rem; }
.estimate-note { margin-top: 10px; }
.estimate-control { margin-top: 32px; font-size: .85rem; font-weight: 680; }
.estimate-control output { font-variant-numeric: tabular-nums; }
#quick-principal { --progress: 37.5%; appearance: none; display: block; width: 100%; height: 26px; margin: 5px 0; background: linear-gradient(to right, var(--red) 0 var(--progress), #515151 var(--progress)) center / 100% 3px no-repeat; cursor: pointer; }
#quick-principal::-webkit-slider-thumb { appearance: none; width: 19px; height: 19px; border: 2px solid var(--black); border-radius: 50%; background: var(--red); }
#quick-principal::-moz-range-thumb { width: 16px; height: 16px; border: 2px solid var(--black); border-radius: 50%; background: var(--red); }
.estimate-scale { font-size: .63rem; letter-spacing: 0; }
.estimate-link { border-top: 1px solid var(--line); text-decoration: none; font-size: .88rem; font-weight: 650; }
.estimate-link:hover { background: #222; }
.estimate-link span { color: var(--red); }

.credentials { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; border-block: 1px solid var(--line); padding-block: 14px; }
.agent, .broker-inner { display: flex; align-items: center; gap: 14px; }
.agent { text-decoration: none; }
.agent:hover strong { text-decoration: underline; }
.agent img { width: 60px; height: 60px; object-fit: cover; object-position: center 18%; }
.agent small, .broker-inner p { display: block; color: var(--muted); font-size: .79rem; }
.broker-inner img { width: min(200px, 42vw); height: auto; max-height: 52px; object-fit: contain; }

.section { padding-block: clamp(52px, 8vw, 100px); }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(22px, 6vw, 80px); }
.night, .contact { background: var(--surface); border-block: 1px solid var(--line); }
.sample { display: block; padding: 23px; background: var(--black); border: 1px solid var(--line); text-decoration: none; }
.sample:hover { border-color: var(--red); }
.sample strong, .results output { display: block; font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1.1; font-weight: 700; letter-spacing: -.06em; margin-block: 12px; }
.sample p, .results p { color: var(--muted); }
.sample svg { width: 100%; display: block; margin-top: 16px; }
.about-photo { width: 100%; height: auto; aspect-ratio: 1.4; object-fit: cover; object-position: center 32%; }
.contactlinks a { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-block: 12px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contactlinks a:hover { text-decoration: underline; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 30px; font-size: .85rem; color: var(--muted); }

.toolintro { padding-bottom: 40px; }
.toolintro .textlink + .eyebrow { margin-top: 24px; }
.calc-section { padding-bottom: 55px; }
.calculator { display: grid; grid-template-columns: 1fr 1fr; margin-top: 25px; border: 1px solid var(--line); }
.fields, .results { padding: clamp(18px, 4vw, 38px); min-width: 0; }
.fields { background: var(--surface); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: start; }
.fields label { display: block; font-size: .83rem; font-weight: 700; }
.fields input:not([type=checkbox]), .fields select { display: block; margin-top: 6px; width: 100%; min-height: 44px; padding: 7px 10px; border: 1px solid #656565; background: var(--black); color: var(--white); }
.fields input[type=checkbox] { accent-color: var(--red); }
.results { border-left: 1px solid var(--line); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-block: 25px; }
.metrics div { border-top: 1px solid var(--line); padding-top: 12px; min-width: 0; }
.metrics dt, .chart-labels { color: var(--muted); font-size: .74rem; }
.metrics dd { margin: 4px 0 0; font-weight: 750; font-size: clamp(.85rem, 2vw, 1.3rem); overflow-wrap: anywhere; }
.results svg { display: block; width: 100%; }
.chart-labels { display: flex; justify-content: space-between; }
.calc-section details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.calc-section details p { max-width: 72ch; margin-top: 12px; }
.calc-section summary { cursor: pointer; font-weight: 750; }
.direct { margin-top: 24px; }
.trap { position: absolute; left: -9999px; }
.check, #lead-status { grid-column: 1 / -1; }
.check input { vertical-align: middle; margin-right: 5px; }
.prose { max-width: 64ch; margin-top: 32px; }
.prose h2 { font-size: 2rem; margin-block: 25px 10px; }
.prose p + p { margin-top: 12px; }

@media (max-width: 850px) {
  .shell { width: calc(100% - 48px); }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .shell { width: calc(100% - 32px); }
  .mast { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 12px; }
  .mast nav { order: 3; width: 100%; justify-content: space-between; padding-block: 6px 2px; }
  .mast .btn { padding-inline: 10px; }
  .feature, .calculator { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.05rem, 12vw, 4.9rem); }
  .credentials { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

.service-index {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: 26px;
}
.service-rows { border-top: 1px solid var(--line); }
.service-rows a {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 180ms ease;
}
.service-rows a:hover, .service-rows a:focus-visible { background: var(--surface); }
.service-number { font: .76rem var(--mono); color: var(--muted); }
.service-rows h3 { margin-bottom: 5px; }
.service-rows p { color: var(--muted); font-size: .9rem; }
.service-arrow {
  justify-self: end;
  color: var(--red);
  font-size: 1.3rem;
  transition: transform 180ms ease;
}
.service-rows a:hover .service-arrow { transform: translateX(3px); }

.prose-page { border-top: 1px solid var(--line); }
.prose-page h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); margin-bottom: 16px; }
.prose-page p { max-width: 68ch; color: var(--muted); margin-bottom: 12px; }
/* Homepage */
.home-opening { overflow: hidden; }
.opening-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 4vw, 68px);
  padding-block: clamp(64px, 8vw, 116px);
}
.opening-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  align-self: end;
  margin-bottom: clamp(-34px, -2.6vw, -16px);
  min-width: 0;
  pointer-events: none;
}
.opening-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -15% -12%;
  background: radial-gradient(circle, #bdbdbd .75px, transparent 1px) 0 0 / 12px 12px;
  opacity: .46;
  mask-image: radial-gradient(ellipse at center, #000 12%, transparent 71%);
}
.hero-plan { display: block; width: 100%; height: auto; }
.plan-guides { stroke: #777; opacity: .6; stroke-dasharray: 2 6; }
.plan-secondary { stroke: #777; stroke-width: 1; }
.plan-plane { fill: #151515; fill-opacity: .86; }
.plan-outline { stroke: #eee; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plan-point { stroke: var(--red); stroke-width: 2; }
.plan-marker { stroke: var(--red); stroke-width: 1; opacity: .6; }
.home-opening h1 {
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 700;
  -webkit-text-stroke: .012em currentColor;
  letter-spacing: -.025em;
  line-height: .82;
}
.opening-description {
  max-width: 32ch;
  margin-top: clamp(22px, 3vw, 36px);
  color: #d9d9d9;
  font-size: clamp(1.12rem, 1.7vw, 1.36rem);
}
.opening-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 25px; }
.home-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; text-decoration: none; font-weight: 680; }
.home-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-link span { color: var(--red); }

.home-profile, .home-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 7vw, 108px);
  padding-block: clamp(65px, 9vw, 125px);
}
.home-profile { border-top: 1px solid var(--line); }
.home-portrait { position: relative; isolation: isolate; background: #242424; overflow: hidden; border-radius: 3px; }
.home-portrait img { width: 100%; height: auto; aspect-ratio: 1.16; object-fit: cover; object-position: 50% 32%; }
.home-portrait::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #090909e8); pointer-events: none; }
.home-portrait figcaption { position: absolute; z-index: 1; inset: auto 24px 19px; font-size: 1.26rem; font-weight: 750; }
.home-portrait figcaption span { display: block; font-size: .85rem; font-weight: 500; color: #ddd; }
.home-profile-copy > p, .home-tools-copy > p { color: var(--muted); max-width: 40ch; font-size: clamp(1.08rem, 1.6vw, 1.24rem); margin-block: 20px 13px; }
.profile-broker { margin-top: clamp(25px, 4vw, 45px); padding-top: 24px; border-top: 1px solid var(--line); }
.profile-broker img { width: min(100%, 325px); height: auto; }
.profile-broker p { margin-top: 12px; font-size: .9rem; color: var(--muted); }

.home-services {
  padding-block: clamp(50px, 7vw, 94px);
  background: #f3f3f3;
  color: #101010;
}
.home-service-heading { display: flex; justify-content: space-between; align-items: end; gap: 22px; }
.home-service-heading p { max-width: 36ch; color: #444; font-size: 1.08rem; }
.home-service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(24px, 4vw, 48px);
  border-block: 1px solid #b7b7b7;
}
.home-service-list a {
  position: relative;
  display: block;
  min-height: 185px;
  padding: 24px clamp(20px, 3vw, 38px) 28px;
  text-decoration: none;
  transition: background-color 180ms ease;
}
.home-service-list a + a { border-left: 1px solid #b7b7b7; }
.home-service-list a:hover { background: #e6e6e6; }
.home-service-list a:focus-visible { outline: 2px solid #161616; outline-offset: -4px; }
.home-service-list small { display: block; margin-bottom: 16px; font: 650 .76rem/1.2 var(--mono); color: #595959; }
.home-service-list a p { color: #444; margin-top: 10px; max-width: 29ch; }
.home-service-list a > span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  top: 15px;
  right: 17px;
  border: 1px solid #aaa;
  border-radius: 50%;
}
.home-service-list a:hover > span { background: var(--red); border-color: var(--red); }
.home-tools { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.home-tools .quick-estimate { background: linear-gradient(145deg, #1b1b1b, #101010); border-radius: 6px; overflow: hidden; }
.runway-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-block: 1px solid var(--line); padding-block: 15px; margin-top: 26px; max-width: 385px; text-decoration: none; }
.runway-link:hover { border-color: var(--red); }
.runway-link small { display: block; color: var(--muted); font-size: .89rem; }
.runway-link > span:last-child { color: var(--red); }

.site-footer { background: #141414; border-top: 1px solid #353535; }
.footer-intro { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: clamp(35px, 6vw, 76px); border-bottom: 1px solid #3a3a3a; }
.footer-intro h2 { font-size: clamp(2.15rem, 5vw, 4.4rem); }
.footer-columns { display: grid; grid-template-columns: 1fr .85fr 1fr 1.35fr; gap: 28px; align-items: start; padding-block: 40px; }
.footer-brand { display: inline-block; justify-self: start; }
.footer-brand img { width: min(100%, 155px); height: auto; }
.footer-columns h3 { font-size: 1rem; letter-spacing: 0; margin-bottom: 12px; }
.footer-columns :is(nav, div) > a { display: block; width: fit-content; color: #d4d4d4; padding-block: 4px; text-decoration: none; overflow-wrap: anywhere; }
.footer-columns :is(nav, div) > a:hover { text-decoration: underline; }
.footer-broker img { width: min(100%, 275px); height: auto; }
.footer-broker p { color: #d4d4d4; font-size: .9rem; margin-top: 10px; }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 18px; border-top: 1px solid #3a3a3a; color: #b6b6b6; font-size: .85rem; }

@media (max-width: 820px) {
  .home-profile, .home-tools { gap: 28px; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-index { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .opening-inner { grid-template-columns: 1fr; gap: 8px; padding-block: 52px 16px; }
  .opening-art { width: min(100%, 420px); justify-self: center; margin-bottom: 0; }
  .home-opening h1 { font-size: clamp(3.4rem, 13.6vw, 5.75rem); }
  .home-service-heading { display: grid; gap: 14px; }
  .home-service-list a { min-height: 0; padding: 18px 54px 18px 0; }
  .home-service-list a + a { border-left: 0; border-top: 1px solid #b7b7b7; }
  .home-service-list small { margin-bottom: 8px; }
  .home-service-list a > span { right: 8px; }
  .home-profile, .home-tools, .home-service-list { grid-template-columns: 1fr; }
  .home-portrait img { aspect-ratio: 1.25; }
}
@media (max-width: 380px) {
  .footer-columns { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .plan-outline, .plan-windows {
    stroke-dasharray: 1 1;
    animation: draw-plan var(--draw-time) var(--draw-ease, linear) var(--draw-delay) backwards;
  }
  .plan-roof { --draw-time: 1.55s; --draw-delay: .24s; --draw-ease: cubic-bezier(.35, .12, .55, 1); }
  .plan-walls { --draw-time: 1.5s; --draw-delay: 1.65s; --draw-ease: cubic-bezier(.3, .15, .65, .95); }
  .plan-door { --draw-time: .75s; --draw-delay: 2.7s; }
  .plan-windows { --draw-time: 1.05s; --draw-delay: 3s; }
  .plan-guides, .plan-point, .plan-marker { animation: plan-fade 650ms ease-out backwards; }
  .plan-plane, .plan-secondary:not(.plan-windows) { animation: plan-fade 900ms ease-out 2s backwards; }
  .opening-copy > *, .opening-art::before {
    animation: home-enter 640ms cubic-bezier(.22, .65, .28, 1) var(--enter-delay, 0ms) backwards;
  }
  .opening-copy > h1 { --enter-delay: 80ms; }
  .opening-description { --enter-delay: 160ms; }
  .opening-actions { --enter-delay: 240ms; }


  .motion-ready {
    animation: var(--reveal-name, editorial-rise) var(--reveal-time, 540ms)
      cubic-bezier(.2, .65, .3, 1) var(--reveal-delay, 0ms) backwards paused;
  }
  .motion-reveal { animation-play-state: running; }
  :is(.home-service-list, .service-rows) > a {
    --reveal-name: row-slide;
    --reveal-time: 440ms;
  }
  :is(.quick-estimate, .calculator > *, .runway-panel, .runway-summary, .contact-form) {
    --reveal-name: panel-settle;
    --reveal-time: 560ms;
  }
  :is(.home-portrait, .about-photo) {
    --reveal-name: portrait-reveal;
    --reveal-time: 760ms;
  }
  :is(.footer-columns > *, .footer-base) { --reveal-name: plan-fade; }
  .opening-actions:focus-within, .motion-ready:focus-within { animation: none; }

  @keyframes editorial-rise { from { opacity: .2; transform: translateY(14px); } }
  @keyframes row-slide { from { opacity: .15; transform: translateX(-14px); } }
  @keyframes panel-settle { from { opacity: .25; transform: scale(.975); } }
  @keyframes portrait-reveal { from { opacity: .3; clip-path: inset(0 0 14%); } to { clip-path: inset(0); } }

  @keyframes draw-plan { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes plan-fade { from { opacity: 0; } }
  @keyframes home-enter { from { opacity: 0; transform: translateY(10px); } }
}
@media (prefers-reduced-motion: reduce) {
  .service-rows a, .service-arrow, .home-service-list a { transition: none; }
  .service-rows a:hover .service-arrow { transform: none; }
}

/* Mortgage calculator pages */
.tool-header {
  position: relative;
  isolation: isolate;
}
.tool-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 46%;
  background-image: radial-gradient(circle, #c4c4c4 0.75px, transparent 1px);
  background-size: 12px 12px;
  opacity: .26;
  mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 70%);
  pointer-events: none;
}
.tool-header-inner { padding-block: clamp(25px, 4vw, 48px) 22px; }
.tool-header h1 { font-size: clamp(2.65rem, 6vw, 5.5rem); }
.tool-header .lede { max-width: 66ch; margin: 13px 0 20px; }
.tool-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--black);
}
.tool-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 3px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.tool-switch a:hover { background: #242424; color: var(--white); }
.tool-switch a[aria-current="page"] { background: var(--white); color: var(--black); }
#payment .calculator { margin-top: 0; }
.payment-result-title { font-size: 1rem; letter-spacing: 0; }

.runway-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  gap: 20px;
  align-items: start;
}
#runway-form, .runway-results {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}
.runway-panel, .runway-summary { padding: clamp(16px, 2.3vw, 28px); }
#runway-form .runway-panel + .runway-panel { border-top: 1px solid var(--line); }
.runway-panel h2, .runway-chart figcaption {
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.runway-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.runway-grid p { color: var(--muted); font-size: .79rem; margin-top: 7px; }
.runway-grid label, .runway-savers legend { font-weight: 650; font-size: .88rem; }
.money-field, .segments {
  display: flex;
  align-items: center;
  margin-top: 6px;
  border: 1px solid #585858;
  border-radius: 4px;
  background: var(--black);
}
.money-field span { padding-left: 12px; color: var(--muted); }
.money-field input { min-width: 0; width: 100%; min-height: 44px; border: 0; padding: 8px; background: transparent; color: var(--white); }
.runway-savers { margin: 0; padding: 0; border: 0; min-width: 0; }
.runway-savers legend { padding: 0; }
.segments label { position: relative; flex: 1; cursor: pointer; text-align: center; }
.segments input { position: absolute; opacity: 0; }
.segments span { display: grid; place-items: center; min-height: 44px; padding: 4px; }
.segments input:checked + span { background: var(--red); color: var(--black); }
.segments input:focus-visible + span { outline: 2px solid white; outline-offset: -3px; }

.runway-summary { background: linear-gradient(145deg, #1b1b1b, var(--surface)); border-radius: 6px 6px 0 0; }
#timeline { font-weight: 750; letter-spacing: -.05em; font-size: clamp(1.75rem, 3.3vw, 3.25rem); line-height: 1.03; text-wrap: balance; }
#runway-target { margin-top: 10px; color: var(--muted); }
.runway-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; border-block: 1px solid var(--line); }
.runway-metrics div { padding: clamp(12px, 1.5vw, 19px); min-width: 0; }
.runway-metrics div + div { border-left: 1px solid var(--line); }
.runway-metrics dt { color: var(--muted); font-size: .78rem; font-weight: 650; }
.runway-metrics dd { margin: 4px 0 0; font-size: clamp(1.2rem, 2.6vw, 2rem); font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.runway-metrics .metric-detail { font-size: .77rem; color: var(--muted); font-weight: 400; }
.runway-chart { padding-bottom: 12px; }
.runway-chart figcaption { margin-bottom: 6px; }
.runway-chart svg { display: block; width: 100%; }
.chart-grid { stroke: #414141; }
.chart-axis { fill: var(--muted); font-size: 15px; }
.chart-area { fill: #f3313122; }
.chart-line { fill: none; stroke: var(--red); stroke-width: 2.5; }
.chart-target { fill: none; stroke: #d3d3d3; stroke-dasharray: 5 4; stroke-width: 1.5; }
.chart-target-label { fill: var(--white); font-size: 16px; font-weight: 650; }
.chart-point { fill: var(--red); }
.runway-notes { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 12px; max-width: 85ch; }
.runway-notes p { margin-top: 12px; color: var(--muted); }
.runway-notes strong { color: var(--white); }

@media (max-width: 870px) {
  .runway-layout { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .tool-switch { width: 100%; }
  .tool-switch a { flex: 1; justify-content: center; padding-inline: 5px; font-size: .8rem; }
  .runway-grid { grid-template-columns: 1fr; }
  .runway-metrics div { padding-inline: 8px; }
  .runway-metrics dd { font-size: 1.05rem; }
  .runway-chart { padding-inline: 8px; }
  .runway-chart figcaption { padding-inline: 8px; }
}
@media (min-width: 1120px) {
  .tool-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 20px;
  }
  .tool-header h1 { font-size: clamp(3.5rem, 5vw, 4.75rem); }
  .tool-header .lede { margin-bottom: 0; }
}

.logo-review h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); margin-block: 18px 36px; }
.logo-review h2 { font-size: 1.3rem; letter-spacing: -.02em; margin-block: 28px 12px; }
.logo-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.logo-options figure { display: grid; justify-items: center; gap: 24px; padding: 22px 12px 30px; border: 1px solid var(--line); }
.logo-options figcaption { color: var(--muted); font-size: .86rem; }
.logo-options img { height: auto; }

@media (min-width: 760px) {
  .logo-options-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.mast nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.mast nav a:hover, .mast nav a:focus-visible, .mast nav a[aria-current] {
  text-decoration-line: underline;
  text-decoration-color: var(--red);
}
.link-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  vertical-align: .12em;
}
.mast .mast-cta {
  position: relative;
  justify-self: end;
  min-height: 48px;
  gap: 14px;
  padding: 10px 16px 13px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black);
  transition: background-color 160ms, border-color 160ms, color 160ms;
}
.mast-cta::after {
  content: "";
  position: absolute;
  inset: auto 5px 5px;
  height: 3px;
  background: var(--red);
  pointer-events: none;
}
.mast .mast-cta:hover, .mast .mast-cta:focus-visible {
  background: var(--black);
  color: var(--white);
}
@media (max-width: 660px) {
  .mast nav { justify-content: space-around; gap: 12px; padding-block: 0; }
  .mast nav a { font-size: .93rem; }
  .mast .mast-cta { padding-inline: 11px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .mast .mast-cta { transition: none; }
}

.contact-page { align-items: start; }
.contact-form {
  background: #191919;
  border: 1px solid #737373;
  border-radius: 6px;
  color: var(--white);
}
.contact-form label { font-size: 1rem; }
.contact-form input:not([type=checkbox]), .contact-form textarea {
  background: #242424;
  border: 1px solid #aaa;
  color: var(--white);
}
.contact-form input:not([type=checkbox]) { min-height: 48px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible {
  border-color: var(--white);
  outline-offset: 2px;
}
.contact-message { grid-column: 1 / -1; }
.contact-form textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  margin-top: 6px;
  padding: 10px;
  resize: vertical;
  font: inherit;
}
.contact-form .btn { justify-self: start; }
.contact-form .btn:disabled {
  background: transparent;
  border-color: #aaa;
  color: var(--white);
  cursor: not-allowed;
}
.contact-note { color: #ddd; font-size: .92rem; }
#contact-status {
  padding: 10px 12px;
  background: #292929;
  border-left: 3px solid var(--red);
  color: var(--white);
  font-size: .92rem;
}
#contact-status:empty { display: none; }

/* Shared page rhythm */
.mast { position: relative; border-color: #2c2c2c; }
.site-footer { background: #111; }
.footer-intro { padding-block: clamp(32px, 5vw, 64px); }
.footer-columns { padding-block: clamp(27px, 4vw, 48px); }
.footer-columns :is(nav, div) > a { color: #e5e5e5; }
.contact-page h1, .about h1, .service-heading h1 { font-size: clamp(3.1rem, 6vw, 6.4rem); text-wrap: balance; }
.about-copy .lede { margin-block: 20px 14px; }
.about-copy > p:last-child { max-width: 45ch; }
.contact-form { padding: clamp(20px, 3.7vw, 44px); border-color: #626262; }
.contact-form input:not([type=checkbox]), .contact-form textarea { background: #101010; border-color: #858585; }
.contact-form :is(input, textarea):hover { border-color: #ddd; }

/* Service detail pages */
.service-hero { padding-block: 30px clamp(52px, 7vw, 94px); }
.service-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; color: #ccc; font-size: .85rem; margin-bottom: clamp(32px, 5vw, 65px); }
.service-breadcrumb a { text-underline-offset: 4px; }
.service-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 7vw, 96px); align-items: end; }
.service-hero h1 { font-size: clamp(3rem, 5.7vw, 5.8rem); max-width: 13ch; line-height: 1.02; text-wrap: balance; }
.service-hero .btn { margin-top: 30px; }
.service-intro { color: #e1e1e1; font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.65; }
.service-strategy { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 7vw, 96px); border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 90px); }
.strategy-heading h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1.06; max-width: 15ch; }
.strategy-heading p { margin-top: 22px; max-width: 35ch; color: #ccc; font-size: 1.08rem; }
.strategy-steps { list-style: none; counter-reset: strategy; padding: 0; margin: 0; }
.strategy-steps li { counter-increment: strategy; position: relative; padding: 24px 0 26px 48px; border-top: 1px solid var(--line); }
.strategy-steps li:first-child { padding-top: 0; border: 0; }
.strategy-steps li::before { content: counter(strategy, decimal-leading-zero); position: absolute; left: 0; top: 29px; font: 500 .75rem var(--mono); color: #aaa; }
.strategy-steps li:first-child::before { top: 6px; }
.strategy-steps h3 { font-size: 1.6rem; letter-spacing: -.02em; }
.strategy-steps p { margin-top: 12px; color: #d1d1d1; max-width: 57ch; }
.service-preparation { background: #f3f3f3; color: #111; padding-block: clamp(36px, 5vw, 64px); }
.preparation-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(24px, 7vw, 90px); }
.preparation-grid h2 { font-size: clamp(2rem, 3vw, 3rem); }
.preparation-grid p { margin-top: 16px; max-width: 55ch; color: #333; }
.service-tool { position: relative; display: block; padding: 24px 44px 24px 24px; border: 1px solid #aaa; text-decoration: none; }
.service-tool strong { display: block; font-size: 1.25rem; }
.service-tool > span { display: block; margin-top: 6px; }
.service-tool > span:last-child { position: absolute; right: 22px; top: 26px; }
.service-tool:hover { background: #e3e3e3; border-color: #111; }
.service-tool:focus-visible { outline-color: #111; }
.service-questions { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 7vw, 90px); padding-block: clamp(48px, 6vw, 80px); }
.service-questions h2 { font-size: clamp(2rem, 3.3vw, 3rem); max-width: 14ch; line-height: 1.1; }
.service-questions details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.service-questions details:first-child { padding-top: 0; }
.service-questions summary { cursor: pointer; font-size: 1.12rem; font-weight: 700; }
.service-questions details p { margin-top: 14px; color: #ccc; }
.service-related { padding-block: 0 64px; }
.service-related h2 { font-size: 1.3rem; margin-bottom: 18px; letter-spacing: 0; }
.service-related > div { display: flex; flex-wrap: wrap; gap: 10px; }
.service-related a { display: flex; align-items: center; gap: 20px; padding: 12px 16px; border: 1px solid #555; text-decoration: none; }
.service-related a:hover { border-color: var(--red); }
.all-services-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 24px; font-weight: 700; text-underline-offset: 5px; }
@media (max-width: 760px) {
  .service-hero-grid, .service-strategy, .preparation-grid, .service-questions { grid-template-columns: 1fr; }
  .service-hero h1 { max-width: 16ch; }
  .strategy-heading h2 { max-width: 20ch; }
}

/* Native service navigation disclosure */
.mast { z-index: 10; }
.nav-services { position: relative; }
.nav-services summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.nav-services summary::-webkit-details-marker { display: none; }
.nav-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-services[open] .nav-caret { transform: translateY(2px) rotate(225deg); }
.nav-services-active summary, .nav-services summary:hover {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.nav-services-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  min-width: 270px;
  padding: 10px;
  border: 1px solid #555;
  border-top: 3px solid var(--red);
  background: #161616;
  box-shadow: 0 16px 36px #0008;
}
.mast .nav-services-menu a { min-height: 44px; padding: 9px 12px; font-size: .94rem; font-weight: 600; text-decoration: none; }
.mast .nav-services-menu a:first-child { border-bottom: 1px solid #444; margin-bottom: 5px; padding-bottom: 14px; }
.mast .nav-services-menu a:hover, .mast .nav-services-menu a:focus-visible { background: #303030; color: #fff; }
.mast .nav-services-menu a[aria-current] { box-shadow: inset 3px 0 var(--red); background: #242424; }
@media (max-width: 660px) {
  .nav-services summary { font-size: .93rem; }
  .nav-services-menu { left: 0; min-width: min(270px, calc(100vw - 40px)); }
}

/* Keep the pointer inside the disclosure while crossing the visual gap. */
.nav-services-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}
.calculator-heading { font-size: clamp(1.6rem, 2.5vw, 2.3rem); margin-bottom: 12px; }
.calculator-description { max-width: 64ch; color: #ccc; margin-bottom: 24px; }

/* Calculator directory */
.calculator-landing-header .tool-header-inner { display: block; padding-bottom: 36px; }
.calculator-landing-header .lede { max-width: 52ch; }
.calculator-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: clamp(64px, 8vw, 112px); }
.calculator-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #454545; background: #141414; color: var(--white); text-decoration: none; transition: border-color .25s, box-shadow .25s; }
.calculator-card:hover, .calculator-card:focus-visible { border-color: var(--red); box-shadow: 0 14px 40px #0005; }
.calculator-card-art { height: 220px; position: relative; padding: 24px 32px; background: radial-gradient(circle, #fff2 .75px, transparent 1px) 0 0 / 12px 12px, #101010; border-bottom: 1px solid var(--line); overflow: hidden; }
.art-caption { position: absolute; left: 32px; bottom: 20px; font-size: .85rem; color: #ddd; }
.card-house { position: absolute; left: 32px; top: 8px; font: 110px/1.2 'Cabin', sans-serif; color: #fff; }
.payment-bars { position: absolute; right: 40px; top: 38px; height: 120px; width: 56%; display: flex; align-items: end; gap: 10px; }
.payment-bars i { flex: 1; height: 95%; background: #fff; opacity: .85; }
.payment-bars i:nth-child(2) { height: 78%; }.payment-bars i:nth-child(3) { height: 64%; }.payment-bars i:nth-child(4) { height: 50%; }.payment-bars i:nth-child(5) { height: 38%; background: var(--red); opacity: 1; }
.runway-art svg { display: block; width: 100%; height: 145px; }
.calculator-card-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(24px, 3vw, 38px); }
.calculator-card h2 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); letter-spacing: -.015em; line-height: 1.15; margin: 0 0 18px; }
.calculator-card p { color: #ddd; line-height: 1.65; margin: 0 0 32px; max-width: 46ch; }
.calculator-card-action { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.calculator-card-action .link-chevron { color: var(--red); transition: transform .25s; }
.calculator-card:hover .link-chevron { transform: translateX(4px) rotate(45deg); }
.calculator-directory-note { grid-column: 1 / -1; color: #ccc; margin: 8px 0 0; font-size: .95rem; }
.calculator-directory-note a { color: var(--white); text-underline-offset: 4px; }
@media (max-width: 700px) { .calculator-directory { grid-template-columns: 1fr; gap: 22px; }.calculator-card-art { height: 195px; }.payment-bars { height: 100px; } }
