
@font-face {
  font-family: "Rethink Sans";
  src: url("/assets/rethink-sans.woff2") format("woff2");
  font-weight: 400 750;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/source-sans-3.woff2") format("woff2");
  font-weight: 400 750;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #082757;
  --solar: #fabf46;
  --deep: #061b39;
  --navy-hover: #14396b;
  --solar-hover: #ffcf67;
  --paper: #ffffff;
  --white: #ffffff;
  --wash: #f3f6fb;
  --muted: #515f72;
  --line: #cfd9e7;
  --light-text: #e7edf6;
  --input-line: #7d899b;
  --mark: url("/assets/solar-express.webp");
  --display: "Rethink Sans", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --type-body: 1.0625rem;
  --type-control: .9375rem;
  --type-caption: .875rem;
  --semibold: 600;
  --strong: 700;
  --space: clamp(1rem, 5vw, 5.25rem);
  --section: clamp(2.75rem, 5vw, 4.75rem);
  --frame: clamp(.625rem, 2.3vw, 2rem);
  --radius: .65rem;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--navy); font: var(--type-body)/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a, summary, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
:is(.header, .hero, .case, .quote) :focus-visible { outline-color: var(--white); }
section[id] { scroll-margin-top: 1.25rem; }
[hidden] { display: none !important; }

.wrap { width: min(100% - var(--space) * 2, 1160px); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip-link { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .7rem 1rem; background: var(--solar); transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }

.header {
  position: absolute;
  top: var(--frame);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: min(100% - var(--frame) * 2, 1580px);
  color: var(--white);
  background: #08275752;
  border-bottom: 1px solid #ffffff30;
  border-radius: var(--radius) var(--radius) 0 0;
}
.header-inner { width: calc(100% - clamp(1.5rem, 5vw, 5rem)); min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.brand img { width: clamp(154px, 15vw, 220px); }
.header .brand { padding: .5rem .8rem; background: var(--white); border-radius: .25rem; }
.header .brand img { width: clamp(155px, 14vw, 200px); }
.nav { font-family: var(--display); display: flex; align-items: center; gap: clamp(.85rem, 2.55vw, 2.5rem); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--type-control); font-weight: var(--semibold); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--solar); text-underline-offset: .25em; }
.nav-short { display: none; }

.button { display: inline-flex; min-height: 48px; width: fit-content; align-items: center; justify-content: center; gap: 1.1rem; padding: .7rem 1.22rem; border: 1px solid transparent; border-radius: .3rem; font-size: var(--type-control); font-weight: var(--strong); text-decoration: none; cursor: pointer; transition: background-color .22s, color .22s, border-color .22s, transform .24s var(--ease-out), box-shadow .24s var(--ease-out); }
.button span, .text-link span { font-size: 1.16em; line-height: 1; }
.header-cta { min-height: 44px; background: transparent; color: var(--white); border-color: #ffffff99; }
.header-cta:hover { background: var(--solar); color: var(--navy); border-color: var(--solar); }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: var(--navy-hover); }
.button-solar { background: var(--solar); color: var(--deep); }
.button-solar:is(:hover, :focus-visible):not(:disabled) { background: #ffd16d; box-shadow: 0 3px 0 var(--navy); }
.button:disabled { opacity: .72; cursor: wait; }
.other-spaces { margin-top: 1rem; max-width: 72ch; }


.hero {
  width: min(100% - var(--frame) * 2, 1580px);
  margin: var(--frame) auto 0;
  color: var(--white);
  background: var(--deep);
  border-radius: var(--radius);
  overflow: clip;
}
.hero-grid {
  display: grid;
  isolation: isolate;
  align-items: center;
  position: relative;
  min-height: clamp(35rem, 45vw, 41rem);
}
.hero-copy {
  z-index: 1;
  position: relative;
  width: min(55%, 45rem);
  padding: 7.5rem 0 4.5rem clamp(2rem, 5vw, 5.3rem);
}


.eyebrow {
  display: flex; align-items: center; gap: .55rem;
  font-size: var(--type-caption); font-weight: var(--semibold); line-height: 1.25;
}
.hero-eyebrow { color: var(--light-text); margin-bottom: 1.3rem; }
.solar-mark {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.25rem;
  aspect-ratio: .94;
  background: var(--mark) left center / auto 100% no-repeat;
}

h1, h2, h3 { font-family: var(--display); font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5.1vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; }
.hero h1 { font-weight: 650; }
.hero h1 > * { display: block; }
.hero h1 em { font-style: normal; font-weight: 750; color: var(--solar); }
.hero h1 > :last-child { font-weight: 600; }
h2 { font-size: clamp(1.85rem, 2.9vw, 2.8rem); line-height: 1.1; letter-spacing: -.025em; }
h3 { font-size: clamp(1.15rem, 1.52vw, 1.5rem); line-height: 1.2; letter-spacing: -.018em; }

.hero-intro { max-width: 46ch; margin-block: 1.2rem 1.6rem; color: var(--light-text); font-size: 1.0625rem; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1.35rem; }
.hero-link { color: var(--white); }
.hero-figure { position: absolute; inset: 0; }
.hero-figure picture { position: absolute; inset: 0; }
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 66%;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #08275799, transparent 27%), linear-gradient(90deg, #061b39ef 0%, #061b39d6 32%, #061b3950 58%, transparent 78%);
}
.hero-figure figcaption {
  position: absolute; z-index: 1; bottom: .85rem; right: .85rem;
  color: var(--white); background: #061b39eb; padding: .3rem .6rem;
  font-size: var(--type-caption); border-radius: .3rem;
}
.hero-note {
  display: flex; justify-content: space-between; align-items: center;
  gap: .4rem 1.35rem; padding-block: .8rem; border-bottom: 1px solid var(--line); font-size: var(--type-control);
}

.hero-note p { color: var(--navy); display: flex; align-items: center; gap: .55rem; font-weight: var(--semibold); }
.hero-note .solar-mark { width: 1.05rem; }
.hero-note a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-weight: var(--semibold); text-underline-offset: .2em; text-decoration-color: var(--navy); }
.hero-note a:hover { text-decoration-thickness: 2px; }

.section-head { display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: clamp(1.65rem, 5vw, 4.6rem); margin-bottom: clamp(1.8rem, 3.6vw, 3.25rem); }
.section-head h2 { max-width: 16ch; }
.section-head > p, .material p, .quote-copy > p { max-width: 47ch; color: var(--muted); font-size: 1.0625rem; text-wrap: pretty; }
.place-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 1.6rem; }
.place { min-width: 0; }
.place img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .5rem; margin-bottom: 1rem; }
.place p { max-width: 44ch; color: var(--muted); font-size: var(--type-body); margin-top: .35rem; text-wrap: pretty; }

.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: .42rem; font-size: var(--type-control); font-weight: var(--semibold); text-decoration-color: var(--navy); text-underline-offset: .24em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero-link { text-decoration-color: var(--solar); }
.image-note, .material figcaption { margin-top: 1rem; color: var(--muted); font-size: var(--type-caption); }

.case { background: var(--navy); color: var(--white); padding-block: var(--section); overflow: hidden; }
.case-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 8vw, 8rem); align-items: center; }
.case .eyebrow { color: var(--solar); margin-bottom: 1.2rem; }
.case h2 { max-width: 16ch; font-size: clamp(1.9rem, 3vw, 2.9rem); }
.case-copy > p:not(.eyebrow) { max-width: 49ch; color: var(--white); margin-top: 1.35rem; }
.case-link { margin-top: .8rem; color: var(--white); text-decoration-color: var(--solar); }
.case-data { position: relative; isolation: isolate; display: grid; align-content: center; min-height: 14rem; padding: 1.4rem 0 1.4rem clamp(1.45rem, 5vw, 5rem); border-inline-start: 1px solid #ffffff70; }

.case-data::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 0;
  transform: translateY(-50%);
  width: clamp(7rem, 17vw, 16rem);
  aspect-ratio: .94;
  background: var(--mark) left center / auto 100% no-repeat;
  opacity: .15;
  z-index: -1;
}
.case-number { color: var(--solar); font: 700 clamp(4.5rem, 7vw, 6rem)/1 var(--display); letter-spacing: -.04em; }
.case-label { font: 600 clamp(1.05rem, 1.65vw, 1.5rem)/1.2 var(--display); margin-top: .9rem; }
.case-location { font-size: var(--type-caption); color: var(--white); margin-top: .9rem; }

.material { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.material img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: .75rem; }
.material p { margin-block: 1.15rem .55rem; }

.process { background: var(--white); border-block: 1px solid var(--line); }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.35rem, 4vw, 4rem); list-style: none; counter-reset: steps; padding: 0; margin: 2rem 0 0; }
.process-list li { counter-increment: steps; border-top: 1px solid var(--line); padding-top: .9rem; }
.process-list li::before { content: counter(steps, decimal-leading-zero); display: inline-block; color: var(--navy); font-weight: var(--strong); margin-bottom: .85rem; font-variant-numeric: tabular-nums; }
.process-list p { max-width: 35ch; color: var(--muted); margin-top: .55rem; }

.faq { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(2rem, 8vw, 8rem); }
.faq h2 { max-width: 13ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; min-height: 57px; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-weight: var(--semibold); padding-block: .75rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 1rem; height: 1rem; background: linear-gradient(currentColor,currentColor) center / 1rem 2px no-repeat, linear-gradient(currentColor,currentColor) center / 2px 1rem no-repeat; }
.faq details[open] summary::after { background-size: 1rem 2px, 0 0; }
.faq details p { max-width: 58ch; color: var(--muted); padding: 0 1.75rem 1rem 0; }

.quote { background: var(--navy); color: var(--white); padding-block: var(--section); }
.quote-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.quote-copy h2 { max-width: 12ch; font-size: clamp(1.95rem, 3.2vw, 3rem); }
.quote-copy > p { margin-top: 1.25rem; color: var(--light-text); }
.quote-form { background: var(--white); color: var(--navy); padding: clamp(1.25rem, 3vw, 2.6rem); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid label { min-width: 0; display: flex; flex-direction: column; gap: .32rem; font-size: var(--type-control); line-height: 1.35; font-weight: var(--semibold); }
.form-grid :is(input, select, textarea) { width: 100%; min-height: 44px; padding: .65rem .7rem; border: 1px solid var(--input-line); border-radius: .33rem; background: var(--white); color: var(--navy); font-size: 1rem; font-weight: 400; }
.form-grid textarea { min-height: 110px; resize: vertical; }
.form-grid :is(input, textarea)::placeholder { color: var(--muted); }
.full { grid-column: 1 / -1; }
.form-note { font-size: var(--type-caption); color: var(--muted); margin-bottom: .8rem; }
.form-preview-note { padding: .75rem .8rem; border-radius: .35rem; background: var(--wash); color: var(--navy); }
.privacy-note { margin-block: .95rem .8rem; }
.form-status { margin-top: 1rem; font-size: var(--type-control); font-weight: var(--strong); }
.form-status[data-state="error"] { color: #8a251a; }
.form-status[data-state="ok"] { color: #1d633b; }
.trap { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  background: var(--solar);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 4;
  pointer-events: none;
}
.hero-figure picture { overflow: clip; }
.hero-figure img {
  transform: translate3d(var(--image-x, 0px), var(--image-y, 0px), 0) scale(1.025);
  transition: transform .7s var(--ease-out);
}
.hero-light {
  position: absolute;
  width: 21rem;
  aspect-ratio: 1;
  inset: 0 auto auto 0;
  transform: translate3d(var(--light-x, 0px), var(--light-y, 0px), 0) translate(-50%, -50%);
  background: radial-gradient(circle, #fabf461f, #fabf4600 66%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.motion-enabled .hero[data-cursor-active] .hero-light { opacity: 1; }
.motion-toggle {
  position: absolute;
  inset: auto auto .65rem 1rem;
  min-height: 44px;
  padding: .45rem .7rem;
  background: #061b39bd;
  border: 1px solid #ffffff60;
  border-radius: .3rem;
  color: var(--white);
  font-size: var(--type-caption);
  cursor: pointer;
  z-index: 2;
  transition: background-color .2s, border-color .2s;
}
.motion-toggle:hover { background: var(--navy); border-color: var(--solar); }
.motion-toggle::before { content: "Ⅱ"; display: inline-block; width: .8rem; margin-inline-end: .4rem; }
.motion-toggle[aria-pressed="true"]::before { content: "▷"; }
.button span, .text-link span { display: inline-block; transition: transform .25s var(--ease-out); }
.button:hover span, .text-link:hover span { transform: translate(2px, -2px); }
.hero-link:hover span { transform: translateY(3px); }
.button:active { transform: translateY(1px) scale(.985); }
.button:disabled { transform: none; }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--solar); }
.place img { transition: transform .45s var(--ease-out); }
.place { border-radius: .5rem; }
.place h3 { transition: color .2s; }
.place:focus-within h3 { text-decoration: underline; text-underline-offset: .2em; }
.form-grid :is(input, select, textarea) { transition: border-color .2s, background-color .2s; }
.form-grid :is(input, select, textarea):focus { border-color: var(--navy); background: var(--wash); }
.quote .form-grid :focus-visible { outline-color: var(--navy); }
.faq summary::after { transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(180deg); }
.motion-enabled .hero.motion-in-view .solar-mark { animation: solar-turn 32s linear infinite; }
.motion-enabled .case.motion-in-view .case-data::after { animation: solar-watermark 40s linear infinite; }
.motion-paused *, .motion-paused *::after { animation-play-state: paused !important; }
.motion-stopped *, .motion-stopped *::after { transition: none !important; }
.motion-stopped :is(.hero-figure img, .button, .button span, .text-link span, .place img) { transform: none; }
@keyframes solar-turn { to { transform: rotate(360deg); } }
@keyframes solar-watermark { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes reading-progress { to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
  .motion-enabled .reading-progress {
    animation: reading-progress 1s linear both;
    animation-timeline: scroll(root);
  }
}
@media (hover: hover) and (pointer: fine) {
  .motion-enabled .button:is(:hover, :focus-visible):not(:disabled) { transform: translateY(-3px); }
  .motion-enabled .button:active { transform: translateY(0) scale(.985); }
  .motion-enabled .place:hover img { transform: scale(1.035); }
}

.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 99px; padding-block: 1rem; }
.footer .brand img { width: clamp(142px, 14vw, 184px); }
.footer p { font-size: var(--type-caption); color: var(--muted); }

.result { display: grid; min-height: 100vh; place-items: center; padding: 1.25rem; }
.result main { width: min(100%, 37rem); background: var(--white); border: 1px solid var(--line); border-radius: .85rem; padding: clamp(1.5rem, 5vw, 3.5rem); }
.result h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
.result p { margin-block: 1rem 1.5rem; }


@media (max-width: 1080px) {
  .nav { gap: .9rem; }
  .hero-copy { width: min(59%, 36rem); }
  .quote-inner { grid-template-columns: .77fr 1.23fr; gap: 2rem; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 70px; flex-wrap: wrap; column-gap: .7rem; row-gap: 0; padding-block: .48rem .18rem; }
  .header-cta { font-size: var(--type-caption); gap: .45rem; padding-inline: .8rem; }
  .nav { order: 1; flex-basis: 100%; justify-content: space-between; border-top: 1px solid #ffffff40; margin-top: .35rem; gap: .5rem; }
  .section-head, .material, .faq, .quote-inner { grid-template-columns: 1fr; gap: 1.35rem; }
  .material figure { order: 1; }
  .quote-copy h2, .faq h2 { max-width: 16ch; }
  .case-inner { gap: 1.75rem; }
  .case-data { min-height: 14rem; }
  .process-list { gap: 1.15rem; }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    align-items: center;
    gap: 1.5rem;
    padding: 5rem 1.5rem 3.6rem;
    min-height: 0;
  }
  .hero-copy {
    width: 100%;
    padding: 1.6rem 0;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 4.9vw, 3.35rem);
  }
  .hero-intro {
    max-width: 42ch;
    font-size: var(--type-body);
    margin-block: 1rem 1.25rem;
  }
  .hero-eyebrow { margin-bottom: 1rem; }
  .hero-figure {
    position: relative;
    inset: auto;
    align-self: stretch;
    min-width: 0;
    min-height: 24rem;
    border-radius: .5rem;
    overflow: clip;
  }
  .hero-figure img {
    object-fit: cover;
    object-position: 51% center;
    transform: none;
  }
  .hero-figure::after { display: none; }
  .hero-figure figcaption {
    inset: auto .5rem .5rem;
    width: fit-content;
    max-width: calc(100% - 1rem);
    font-size: .8125rem;
    padding: .25rem .4rem;
  }
  .hero-light { display: none; }
  .motion-toggle { inset-inline-start: 1.5rem; }
}

@media (max-width: 820px) {
  .hero-grid { padding-top: 7.35rem; gap: 1.1rem; }
}

@media (max-width: 640px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 7.25rem 0 3.6rem;
  }
  .hero-figure {
    order: -1;
    flex: none;
    aspect-ratio: 5 / 4;
    min-height: 16.25rem;
    border-radius: 0;
  }
  .hero-copy { padding: 1.35rem 1.2rem 1rem; }
  .hero h1 { font-size: clamp(2.05rem, 8vw, 3.15rem); }
  .hero-eyebrow { margin-bottom: .75rem; }
  .hero-intro { margin-block: .85rem 1rem; }
  .motion-toggle { inset-inline-start: 1.2rem; }
}

@media (max-width: 760px) {
  .place-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .nav-long { display: none; }
  .nav-short { display: inline; }
  .hero-note { align-items: flex-start; flex-direction: column; padding-block: .95rem .5rem; gap: .12rem; }
  .hero-note p { padding-inline-start: .2rem; }
  .hero-note a { min-height: 44px; line-height: 1.25; }
  .place img { aspect-ratio: 3 / 2; }
  .place h3 { font-size: 1.25rem; }
  .place .text-link { line-height: 1.25; }
  .case-inner, .process-list { grid-template-columns: 1fr; }
  .case-data { padding: 1.25rem 0 0; min-height: 0; border-inline-start: 0; border-top: 1px solid #ffffff70; }
  .case-data::after { inset-inline-end: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; column-gap: 1.2rem; row-gap: .15rem; }
  .footer p { flex-basis: 100%; order: 1; }
}

@media (max-width: 390px) {
  .header .brand img { width: 130px; }
  .header .brand { padding-inline: .45rem; }
  .hero-actions { gap: .2rem .85rem; }
  .hero-actions .button { padding-inline: .9rem; gap: .55rem; }
  .hero-actions .text-link { font-size: var(--type-caption); gap: .25rem; }
}

@media (max-width: 350px) {
  .header-inner { column-gap: .5rem; }
  .header-cta { padding-inline: .5rem; font-size: .8125rem; }
  .header .brand img { width: 120px; }
  .hero-actions { column-gap: .6rem; }
  .hero-actions .button { padding-inline: .65rem; gap: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-figure img, .button, .button span, .text-link span, .place img { transform: none !important; }
  .hero-light, .reading-progress { display: none; }
}
