:root {
  color-scheme: dark;
  --graphite: #111315;
  --charcoal: #1b1f22;
  --green: #7ed957;
  --lime: #9be870;
  --platinum: #f5f7f7;
  --grey: #a7b0b7;
  --line: #424a4e;
  font-family: Inter, system-ui, sans-serif;
  color: var(--platinum);
  background: var(--graphite);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
a { color: var(--lime); text-underline-offset: .22em; }
a:hover { color: var(--platinum); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.skip { position: fixed; top: 12px; left: 12px; translate: 0 -250%; }
.skip:focus { translate: 0; z-index: 2; background: var(--graphite); padding: 10px; }
.masthead, main, footer { max-width: 1216px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 52px); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 92px; border-bottom: 1px solid var(--line); }
.masthead img { display: block; max-width: 100%; height: auto; }
nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); font-size: .94rem; }
nav a { color: var(--platinum); }
.masthead .quote-discuss { text-align: center; max-width: none; border-color: #6e9364; }
.masthead .quote-nav-tiqa { text-align: center; }
@media (max-width: 390px) {
  .masthead nav { flex-wrap: wrap; gap: 5px; }
  .masthead .quote-discuss, .masthead .quote-nav-tiqa { font-size: .75rem; }
}
.preview { display: inline-flex; gap: 8px; align-items: center; color: var(--grey); font-size: .84rem; margin-top: 32px; }
.preview-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.intro { margin-block: 27px 42px; max-width: 730px; }
.intro h1 { font: 700 clamp(2.35rem, 5.5vw, 4.3rem)/1.03 'General Sans', Inter, system-ui, sans-serif; letter-spacing: -.05em; margin: 0; }
.intro h1 span { display: block; color: var(--green); }
.intro p { font-size: clamp(1rem, 2vw, 1.22rem); }
.hero { margin-block: 54px 54px; }
.columns, .routes { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel, dialog { background: var(--charcoal); border: 1px solid var(--line); border-radius: 20px; padding: clamp(17px, 3vw, 27px); }
.step { margin: 0 0 22px; min-width: 0; padding-top: 13px; }
legend { font-size: 1.16rem; font-weight: 700; padding: 0 8px; }
.choice { display: flex; gap: 14px; align-items: start; padding: 12px 12px; border-radius: 10px; margin-block: 3px; cursor: pointer; border: 1px solid transparent; }
.choice:has(input:checked) { background: #202a21; border-color: #77916e; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--green); }
.choice small { display: block; line-height: 1.5; margin-top: 4px; color: var(--grey); }
h2 { letter-spacing: -.025em; margin: 0 0 12px; }
p { line-height: 1.58; color: var(--grey); }
.estimate .amount { margin-block: 4px 3px; color: var(--green); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.2; font-weight: 760; }
.estimate #scope { font-size: .94rem; }
.estimate ul { padding: 0; margin-block: 14px; list-style: none; }
.estimate li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-block: 10px; border-top: 1px solid var(--line); color: var(--grey); font-size: .93rem; }
.estimate li strong { color: var(--platinum); white-space: nowrap; }
.action, .quiet-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; min-height: 44px; border-radius: 9px; border: 1px solid transparent; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; }
.action { background: var(--green); color: var(--graphite); }
.action:hover { background: var(--lime); color: var(--graphite); }
.action.secondary, .quiet-action { border-color: #636e73; background: transparent; color: var(--platinum); }
.action.secondary:hover, .quiet-action:hover { border-color: var(--green); color: var(--lime); }
#estimate-actions, #saved, form:not(#review-form):not(#tiqa-form) { display: grid; gap: 10px; }
#estimate-actions, #saved { margin-top: 16px; }
#saved { border-top: 1px solid var(--line); padding-top: 16px; }
#saved h3, #saved p { margin: 0; }
#saved #link-expiry { font-size: 0.88rem; }
.field-error { color: #ffb6aa; font-size: 0.88rem; }
.field-error:empty { display: none; }
#quote-enquiry { width: min(590px, calc(100% - 28px)); padding: 16px; max-height: calc(100dvh - 28px); }
.quote-enquiry-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.quote-enquiry-heading h2 { margin: 0; font-size: clamp(1.1rem, 4vw, 1.5rem); }
#quote-enquiry iframe { display: block; width: 100%; height: min(65dvh, 560px); border: 0; }
label[for] { font-weight: 600; }
input:not([type=radio]):not([type=checkbox]), textarea { background: var(--graphite); color: var(--platinum); border: 1px solid #667279; border-radius: 8px; padding: 10px 12px; min-height: 44px; width: 100%; min-width: 0; font: inherit; }
.form { max-width: 620px; }
.form button { justify-self: start; }
.status { margin-block: 12px 0; }
.status:empty, #tiqa-status:empty { display: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { font-size: .88rem; }
footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 58px; padding-block: 25px; color: var(--grey); border-top: 1px solid var(--line); }
dialog { width: min(490px, calc(100% - 28px)); color: var(--platinum); }
dialog::backdrop { background: #060808d9; }
#review-form input { margin-block: 8px 14px; }
.close { float: right; font-size: 1.25rem; padding-inline: 12px; }
@media (max-width: 730px) {
  .masthead { min-height: 76px; }
  .masthead img { width: 125px; }
  nav { justify-content: end; gap: 9px; font-size: .82rem; }
  nav a { max-width: 11ch; }
  nav .quiet-action { padding: 6px 8px; }
  .columns, .routes { grid-template-columns: minmax(0, 1fr); }
  .builder { display: contents; }
  .step { margin-bottom: 0; }
}
@media (min-width: 731px) {
  .builder { grid-column: 1; grid-row: 1; }
  .builder .step:last-child { margin-bottom: 0; }
  .estimate { grid-column: 2; grid-row: 1; }
}
:root {
  --brand-green: var(--green);
  --brand-platinum: var(--platinum);
  --brand-grey: var(--grey);
  --brand-graphite: var(--graphite);
  --brand-lime: var(--lime);
  --brand-charcoal: var(--charcoal);
}

#start .studio-hero {
  min-height: clamp(430px, 64vh, 690px);
  margin: 20px calc(clamp(18px, 4vw, 52px) * -1) 20px;
  border: 1px solid #313b35;
  border-radius: 27px;
  overflow: hidden;
}
#start .studio-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  max-width: 19ch;
  margin-inline: auto;
}
#start .studio-hero__description { margin-inline: auto; }
#start .studio-hero__actions { justify-content: center; }
#start .studio-hero__copy { text-align: center; }
#start .studio-hero__accent { display: block; }
#start .routes { margin-top: 32px; }
.route { background: linear-gradient(145deg, #232d25, #1b1f22 64%); }
#quotation .intro { padding-block: 17px 26px; border-bottom: 1px solid #39453c; margin-bottom: 28px; }
#quotation .step-note { margin: 4px 12px; font-size: .92rem; }
.feature-options summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; min-height: 44px; padding-block: 5px; font-weight: 650; }
.feature-options summary::-webkit-details-marker { display: none; }
.feature-chevron { width: .65rem; height: .65rem; margin-right: .3rem; transform: rotate(45deg) translate(-.08rem, -.08rem); border: solid var(--green); border-width: 0 2px 2px 0; }
.feature-options[open] .feature-chevron { transform: rotate(225deg); }
@media (prefers-reduced-motion: no-preference) {
  .feature-options:not([open]) .feature-chevron { animation: feature-prompt 1.6s ease-in-out infinite; }
  @keyframes feature-prompt { 50% { transform: rotate(45deg) translate(.14rem, .14rem); } }
}
.feature-options > p { margin: 4px 0 6px; }
.estimate { border-color: #55714a; background: radial-gradient(ellipse at 88% 0%, #243229, var(--charcoal) 60%); }
#inclusions { display: grid; gap: 8px; margin-block: 18px; }
#inclusions div { border-left: 2px solid #58704f; padding-left: 10px; }
#inclusions h3 { font-size: .95rem; margin: 0 0 2px; }
#inclusions p { margin: 0; font-size: .88rem; }
#price-breakdown { margin-block: 18px; padding: 13px 12px 4px; border: 1px solid #46574a; border-radius: 10px; }
#price-breakdown h3 { margin: 0; font-size: .96rem; }
.feature-options summary small { color: var(--grey); font-weight: 500; margin-left: 5px; }
#price-breakdown ul { margin-block: 2px 5px; }
#price-breakdown li:first-child { border-top: 0; }
.tiqa-mark { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-inline: 6px; color: var(--green); border: 1px solid #719562; border-radius: 50%; font-size: .9rem; }
.mobile-estimate { display: none; }
@media (max-width: 730px) {
  #start .studio-hero { margin-inline: 0; }
  #start .studio-hero__copy { width: calc(100% - 28px); }
  #start .studio-hero__actions { display: grid; }
  .mobile-estimate {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 12px;
    gap: 10px;
    text-align: left;
    background: #202a22;
    border: 1px solid #596f51;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  .mobile-estimate span { color: var(--grey); font-size: .78rem; }
  .mobile-estimate strong { display: block; color: var(--green); font-size: 1.16rem; }
  #summary-heading { scroll-margin-top: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::after, *::before { scroll-behavior: auto !important; }
}

.quotation-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.quotation-page .masthead, .quotation-page main { width: 100%; }
.quotation-page main { overflow: auto; padding-bottom: 20px; }
.quotation-page footer { display: none; }
.assistant-dock { border-top: 1px solid #353f37; background: #151a17; }
.assistant-dock > div {
  display: grid;
  justify-items: end;
  gap: 7px;
  max-width: 1216px;
  margin-inline: auto;
  padding: 7px clamp(18px, 4vw, 52px) calc(7px + env(safe-area-inset-bottom));
}
#tiqa-launcher { grid-row: 2; }
.tiqa-heading { display: flex; align-items: center; gap: 10px; }
.tiqa-heading h2 { margin-bottom: 2px; }
.tiqa-heading > div span { color: var(--grey); font-size: .84rem; }
.tiqa-heading .close { margin-left: auto; flex-shrink: 0; }
#assistant {
  position: static;
  grid-row: 1;
  width: min(510px, 100%);
  max-height: min(51dvh, 500px);
  margin: 0;
  padding: clamp(12px, 2vw, 22px);
  overflow: auto;
}
#assistant[open] { display: flex; flex-direction: column; }
#assistant > :not(.tiqa-transcript) { flex-shrink: 0; }
#assistant .pills { margin-block: 6px 8px; }
#tiqa-intro { margin-block: 8px; }
.tiqa-suggestions summary { cursor: pointer; padding-block: 5px; font-weight: 650; }
.tiqa-turn { font-size: .94rem; line-height: 1.4; }
.tiqa-transcript { min-height: 66px; max-height: 240px; overflow: auto; border-block: 1px solid var(--line); padding: 8px; }
.tiqa-turn { margin: 8px 0; padding: 8px 10px; background: #242c26; border-radius: 9px; }
.tiqa-turn p { margin: 4px 0; line-height: 1.45; color: var(--platinum); white-space: pre-line; overflow-wrap: anywhere; }
.tiqa-turn small { color: var(--grey); }
.tiqa-turn.visitor { background: var(--graphite); }
.tiqa-input { display: flex; gap: 8px; margin-block: 6px 8px; }
.tiqa-human { display: inline-flex; align-items: center; min-height: 44px; align-self: start; }
#mobile-first { display: block; color: var(--grey); font-size: .75rem; }
@media (max-width: 730px) {
  .assistant-dock > div { padding-inline: 14px; }
  .mobile-estimate { scroll-margin-top: 0; margin-top: 12px; }
  #assistant .tiqa-mark { margin-inline: 1px; }
  .mobile-estimate a { flex-shrink: 0; white-space: nowrap; padding-inline: 10px; }
}

@media (min-width: 1160px) {
  .quotation-page:has(#assistant[open]) {
    grid-template-columns: minmax(0, 1fr) 420px;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .quotation-page:has(#assistant[open]) .masthead { grid-column: 1 / -1; }
  .quotation-page:has(#assistant[open]) main { grid-column: 1; grid-row: 2; }
  .quotation-page:has(#assistant[open]) .assistant-dock {
    grid-column: 2;
    grid-row: 2;
    border-top: 0;
    border-left: 1px solid #353f37;
    display: flex;
    align-items: end;
  }
  .quotation-page:has(#assistant[open]) .assistant-dock > div { width: 100%; padding: 12px; }
  #assistant { max-height: min(78dvh, 700px); }
}

#review-contact { display: grid; }
#review-form .quote-privacy { margin: 6px 0 12px; font-size: .88rem; }
#review-form button[type=submit] { margin-right: 5px; }
#price-breakdown .milestone-condition { margin: 3px 0 0; font-size: .84rem; }
@media (max-width: 730px) {
  #assistant { max-height: min(43dvh, 390px); padding: 10px 12px; }
  #tiqa-intro { margin-block: 4px; font-size: .86rem; line-height: 1.32; }
  .tiqa-heading h2 { font-size: 1.12rem; }
  .tiqa-heading > div span { font-size: .76rem; }
  .tiqa-suggestions summary { font-size: .86rem; }
  .tiqa-transcript { min-height: 65px; }
  .tiqa-human { min-height: 32px; font-size: .88rem; }
  .assistant-dock > div { gap: 3px; padding-block-start: 4px; }
  .assistant-dock:has(#assistant[open]) #tiqa-launcher { display: none; }
}
.assistant-dock .tiqa-portrait {
  flex: none;
  width: 4.25rem;
  height: 2.83rem;
  object-fit: contain;
  border-radius: .45rem;
}
