@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #272c27;
  --muted: #525951;
  --green: #2d463a;
  --green-hover: #21362c;
  --line: #d6d8cf;
  --wash: #eeefe8;
  --white: #fdfcf8;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea, input::file-selector-button { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

h1, h2 {
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.85rem); }

.wrap {
  width: min(1200px, 100% - 88px);
  margin-inline: auto;
}

.wordmark {
  white-space: nowrap;
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -.045em;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 10px 18px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: .92rem;
  font-weight: 630;
  text-decoration: none;
}

.button:hover { background: var(--green-hover); }
.button:disabled { opacity: .6; cursor: wait; }
.button-outline { min-height: 40px; color: var(--green); background: transparent; }
.button-outline:hover { color: #fff; }

.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field > label, legend {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  font-size: .92rem;
  font-weight: 630;
}

input[type="email"], input[type="text"], textarea {
  display: block;
  width: 100%;
  border: 1px solid #adb6ab;
  border-radius: 4px;
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
}

textarea { resize: vertical; }
input[type="file"] { width: 100%; min-width: 0; }
textarea::placeholder { color: #62695f; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choices label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: .87rem;
  line-height: 1.35;
  cursor: pointer;
}
.choices label:hover { border-color: var(--green); }
.choices label:has(:checked) { background: #e9eee7; border-color: var(--green); }
.choices input, #include-architect { accent-color: var(--green); width: 16px; height: 16px; flex: none; margin: 0; }
#architect-option { margin: -9px 0 16px; }
#architect-option label { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; font-size: .87rem; }
#intake .contact-field { padding-top: 16px; border-top: 1px solid var(--line); }
#intake .intake-note { max-width: none; margin: 0 0 19px; }
.intake-note summary { width: fit-content; font-size: .86rem; color: var(--green); }
.intake-note label { display: block; margin: 12px 0 5px; font-size: .9rem; }
@media (max-width: 370px) {
  .choices label { gap: 6px; padding-inline: 7px; font-size: .8rem; }
}
.field-help { margin-top: 4px; font-size: .82rem; color: var(--muted); }
.drawing-help { margin: 0 0 10px; }
.contact-note { margin-top: 7px; }
#form-status { margin-top: 12px; padding: 8px 10px; border-radius: 4px; background: #e6eee1; font-size: .9rem; }
#form-status[data-kind="error"] { background: #f4e7df; }


.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .site-footer .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.header-inner { min-height: 76px; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.site-header nav a, .site-footer a { font-size: .93rem; text-decoration: none; }
.site-header nav a:hover, .site-footer a:hover { text-decoration: underline; }
.site-header .login-link { border: 1px solid #b8beb4; padding: 7px 17px; border-radius: 30px; }
.hero { padding-block: clamp(48px, 6vw, 90px) clamp(60px, 7vw, 104px); }
.hero-copy { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 6vw, 100px); align-items: end; margin-bottom: clamp(28px, 3.5vw, 52px); }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 5.45rem); line-height: 1.06; letter-spacing: -.045em; }
.hero-intro { max-width: 39ch; padding-bottom: 4px; }
.hero-intro p, .start-copy > p { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.16rem); }
.text-link { display: inline-block; margin-top: 15px; font-weight: 620; color: var(--green); }
.text-link span { display: inline-block; margin-left: .2em; }
.demo-preview { position: relative; isolation: isolate; overflow: hidden; border-radius: 6px; background: #d1c4b0; scroll-margin-block: 20px; }
.demo-preview video { display: block; width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.film-control {
  position: absolute; z-index: 2; top: 14px; right: 14px; min-height: 44px; min-width: 44px;
  padding: 7px 14px; border: 1px solid #cccac1; border-radius: 24px;
  background: #faf9f3ed; color: var(--green); font-size: .84rem; font-weight: 600;
}
.film-control:hover { background: white; }
.demo-preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(20deg, rgb(32 34 26 / 74%), rgb(35 35 30 / 4%) 25%, transparent 42%); pointer-events: none; }
.demo-launch { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; gap: 14px; padding: clamp(18px, 3vw, 38px); color: white; text-decoration: none; }
.demo-launch:focus-visible { outline-offset: -6px; outline-color: white; }
.demo-launch > span:last-child { display: grid; align-self: end; min-height: 52px; align-content: center; }
.launch-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--green); font-size: 1.55rem; }
.demo-launch strong, .demo-launch small { text-shadow: 0 1px 3px #35332b; }
.demo-launch strong { font-size: clamp(1.2rem, 2.1vw, 1.7rem); line-height: 1.16; letter-spacing: -.025em; }
.demo-launch small { font-size: .87rem; }
@media (prefers-reduced-motion: no-preference) {
  .demo-launch .launch-mark { transition: transform .18s ease-out; }
  .demo-launch:hover .launch-mark { transform: translate(2px, -2px); }
}
.journey-section { background: var(--wash); padding-block: clamp(54px, 7.3vw, 104px); }
.journey-grid, .start-grid { display: grid; align-items: center; grid-template-columns: 1fr 1.06fr; gap: clamp(34px, 8.7vw, 130px); }
.journey-steps { margin: 30px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.journey-steps li { align-content: start; counter-increment: steps; display: grid; grid-template-columns: 2rem 1fr; gap: 3px 14px; }

.journey-steps li::before { content: counter(steps); grid-row: span 2; display: grid; place-items: center; align-self: start; width: 30px; height: 30px; border: 1px solid #b9c2b4; border-radius: 50%; color: var(--green); font-size: .85rem; }
.journey-steps li + li { margin-top: 24px; }
.journey-steps h3 { font-size: 1.06rem; font-weight: 640; }
.journey-steps p, .price-block p:not(.price), details p { color: var(--muted); }
.project-image img { width: 100%; border-radius: 4px; }
.project-image figcaption { color: var(--muted); font-size: .84rem; margin-top: 10px; }
.section-study { border-top: 1px solid var(--line); padding-block: clamp(38px, 5vw, 70px) clamp(50px, 7vw, 96px); }
.section-intro { color: var(--muted); max-width: 58ch; margin-top: 12px; }
.section-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 28px); margin-block: 24px; }
.section-pair figure { min-width: 0; }
.section-pair a { display: block; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; cursor: zoom-in; }
.section-pair img { width: 100%; }
.section-pair figcaption { font-weight: 650; margin-top: 8px; }
.section-pair small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.start-section { padding-block: clamp(58px, 8vw, 116px); }
.start-grid { align-items: start; }
.start-copy > p { margin-block: 14px 32px; }
.price-block { border-block: 1px solid var(--line); padding-block: 22px; max-width: 43ch; }
.price-block h3 { font-size: .92rem; font-weight: 600; }
.price { font-size: clamp(2rem, 3.2vw, 3.15rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.15; margin-block: 4px 10px; }
details { margin-top: 18px; max-width: 43ch; }
summary { cursor: pointer; font-size: .95rem; font-weight: 600; }
details p { margin-top: 8px; }
#intake { min-width: 0; padding: clamp(20px, 3vw, 38px); border-radius: 6px; border: 1px solid var(--line); background: var(--white); }
#intake .field { margin-bottom: 19px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 24px; }
.site-footer .wordmark { font-size: 1.15rem; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 62px; }
  .site-header nav a:first-child { display: none; }
  .hero-copy, .journey-grid, .start-grid { grid-template-columns: 1fr; }
  .hero-copy { gap: 20px; }
  .hero-intro { max-width: 42ch; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(2.05rem, 10.45vw, 3.15rem); }

  .journey-steps { max-width: 44ch; }
  .section-pair figcaption { font-size: .88rem; }
  .start-grid, .journey-grid { gap: 30px; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 32px); }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: .85rem; }
}

@media (max-width: 650px) {
  .demo-preview video { aspect-ratio: 1.24; }
  .demo-preview::after { background: linear-gradient(10deg, rgb(29 30 24 / 74%), transparent 36%); }
  .film-control { top: 10px; right: 10px; }
}
