:root {
  color-scheme: light;
  --navy: #0b273b;
  --navy-deep: #081f30;
  --ink: #142e41;
  --muted: #536675;
  --line: #dce4e9;
  --orange: #ef8b4a;
  --error: #a12b27;
  --success: #1b6a4c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy-deep); color: var(--ink); font: 400 1rem/1.55 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a, input, summary, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button, a, summary, input, textarea { outline-offset: 4px; }
:focus-visible { outline: 3px solid #df752e; }
h1, h2, p { margin: 0; }
a { color: inherit; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend { padding: 0; }
::selection { background: #f3b589; color: var(--navy-deep); }
.site-shell { min-height: 100vh; overflow-x: clip; position: relative; isolation: isolate; }
.site-shell::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: #bda58c var(--project-background) center center / cover no-repeat; }
.site-shell { --project-background: url('/project-enquiry/assets/haosen-home-background-900.webp'); }
@media (min-width: 801px) { .site-shell { --project-background: url('/project-enquiry/assets/haosen-home-background-1254.webp'); } }
.site-shell::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(8,31,48,.82) 0%, rgba(8,31,48,.68) 43%, rgba(8,31,48,.45) 100%); }
.site-header { max-width: 1440px; min-height: 104px; padding: 24px 56px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: white; border-bottom: 1px solid #ffffff1a; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; letter-spacing: .12em; font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
.brand-caption { display: block; margin-top: 6px; font-size: .625rem; font-weight: 400; letter-spacing: .2em; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 36px; height: 38px; gap: 5px; }
.brand-mark span { display: block; width: 5px; height: 29px; background: var(--orange); }
.brand-mark span:nth-child(2) { height: 18px; transform: rotate(90deg); margin-inline: 1px; }
.header-caption { font-size: .875rem; color: #c2d0d9; }
.preview-notice { padding: 12px 24px; text-align: center; font-size: .875rem; background: #fff1de; color: #713d17; border-bottom: 1px solid #edccaa; }
.main-layout { max-width: 1280px; margin: 0 auto; padding: 64px 32px 72px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 72px; }
.intro { color: #fff; padding-top: 35px; text-shadow: 0 2px 14px #081f3080; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .75rem; line-height: 1.4; font-weight: 700; letter-spacing: .13em; color: #f6b383; margin-bottom: 28px; }
.eyebrow > span { width: 20px; height: 2px; background: var(--orange); flex: 0 0 auto; }
h1 { font-size: clamp(2.7rem, 4.5vw, 4.3rem); line-height: 1.085; letter-spacing: -.045em; font-weight: 500; }
h1 span { color: #f0a26c; }
.intro-description { color: #b8c9d5; max-width: 360px; margin-top: 25px; font-size: 1.0625rem; line-height: 1.7; }
.project-context { margin-top: 40px; padding-left: 20px; border-left: 2px solid var(--orange); }
.context-label { display: block; font-size: .6875rem; letter-spacing: .13em; color: #91a9b9; margin-bottom: 8px; }
.project-context strong { display: block; font-size: 1.25rem; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.context-city { display: block; font-size: 1rem; margin-top: 4px; color: #bacbd6; }
.intro-notes { display: grid; gap: 11px; margin-top: 38px; font-size: 1rem; color: #c7d6df; }
.intro-notes p { display: flex; gap: 11px; align-items: flex-start; }
.intro-notes p > span { color: #f1a16c; flex-shrink: 0; }
.form-panel { background: white; padding: 34px 36px 30px; border-radius: 12px; box-shadow: 0 20px 70px #00000016; min-width: 0; }
.form-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .75rem; letter-spacing: .08em; font-weight: 700; color: #596f80; }
.form-topline > span:last-child { font-weight: 400; letter-spacing: 0; font-size: .875rem; }
.progress-track { display: flex; gap: 6px; margin-top: 15px; margin-bottom: 34px; }
.progress-track > span { height: 4px; background: #e8edf1; flex: 1; border-radius: 5px; transition: background .2s ease; }
.progress-track > span.complete { background: var(--orange); }
.step-content { animation: enter-step .2s ease-out; }
.step-eyebrow { display: flex; align-items: center; gap: 10px; font-size: .75rem; color: #6b7e8c; text-transform: uppercase; font-weight: 700; letter-spacing: .09em; margin-bottom: 9px; }
.optional-tag { text-transform: none; background: #eff3f6; font-size: .75rem; font-weight: 400; letter-spacing: 0; padding: 2px 7px; border-radius: 4px; }
.step-title { font-size: clamp(1.6rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; color: var(--ink); }
.step-title:focus { outline: none; }
.step-description { font-size: 1rem; line-height: 1.6; color: var(--muted); margin-top: 13px; margin-bottom: 26px; }
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: flex; align-items: flex-start; gap: 13px; min-height: 58px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; background: white; transition: border-color .15s ease, background .15s ease; }
.choice:hover { border-color: #8ba3b4; background: #f8fafc; }
.choice:has(input:focus-visible) { outline: 3px solid #df752e; outline-offset: 3px; }
.choice[data-selected="true"] { border-color: #183d57; background: #f1f6fa; box-shadow: inset 0 0 0 1px #183d57; }
.choice input { flex: 0 0 auto; width: 19px; height: 19px; margin: 3px 0 0; accent-color: #173e58; cursor: pointer; }
.choice input:focus-visible { outline: none; }
.choice-copy { min-width: 0; display: block; }
.choice-label { display: block; font-size: 1rem; font-weight: 500; line-height: 1.4; }
.choice-description { display: block; margin-top: 4px; color: #617480; font-size: 1rem; line-height: 1.45; }
fieldset:disabled .choice { opacity: .7; cursor: wait; }
.text-label { display: block; margin-top: 24px; margin-bottom: 9px; font-weight: 500; font-size: 1rem; }
.text-label > span { font-weight: 400; color: #6b7c88; font-size: .875rem; }
textarea { width: 100%; max-width: 100%; display: block; resize: vertical; min-height: 112px; color: var(--ink); background: white; border: 1px solid #c8d3dc; border-radius: 6px; padding: 13px 14px; font-size: 1rem; line-height: 1.55; }
textarea::placeholder { color: #73838f; opacity: 1; }
.field-error { color: var(--error); margin-top: 10px; font-size: 1rem; line-height: 1.5; }
.submission-section { border-top: 1px solid #e4eaee; margin-top: 26px; padding-top: 22px; }
.optional-button { width: 100%; text-align: left; border: 1px solid #dce5eb; background: #f5f8fa; padding: 13px 15px; border-radius: 6px; color: #244960; font-size: 1rem; font-weight: 500; margin-bottom: 22px; }
.optional-button:hover { background: #edf3f7; border-color: #a0b4c3; }
.optional-button > span { display: block; color: #637887; font-size: .8125rem; font-weight: 400; margin-top: 1px; }
.privacy-notice { color: #586f80; margin-bottom: 17px; font-size: 1rem; }
.privacy-notice summary { cursor: pointer; width: fit-content; text-decoration: underline; text-underline-offset: 3px; }
.privacy-notice > div { background: #f4f7f9; padding: 15px 16px; margin-top: 12px; border-radius: 6px; font-size: 1rem; line-height: 1.6; }
.privacy-notice p + p { margin-top: 12px; }
.consent-label { display: flex; gap: 11px; align-items: flex-start; color: #546a7a; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.consent-label input { flex: 0 0 auto; width: 19px; height: 19px; margin: 3px 0 0; accent-color: #173e58; }
.consent-label.has-error { color: var(--error); }
.measurement-choice { margin-bottom: 1.35rem; font-size: .875rem; }
.measurement-choice small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; min-height: 51px; font-size: 1rem; line-height: 1.3; font-weight: 600; border-radius: 6px; text-decoration: none; border: 1px solid transparent; text-align: center; transition: background .15s ease, box-shadow .15s ease; }
.button.primary { background: var(--orange); color: #192f3d; border-color: var(--orange); }
.button.primary:hover { background: #f29c62; border-color: #f29c62; }
.button.primary:active { background: #df793b; }
.button.secondary { background: white; color: #39596f; border-color: #cad6df; padding-inline: 20px; font-weight: 500; }
.button.secondary:hover { background: #f2f6f9; }
.button:disabled, .optional-button:disabled { opacity: .65; }
.required-note { font-size: .8125rem; color: #70818e; max-width: 140px; }
.handoff-note { color: #6a7e8b; text-align: center; font-size: .8125rem; line-height: 1.5; margin-top: 18px; }
.submit-error { background: #fff3f1; border: 1px solid #e7b7b1; color: #8c2b27; padding: 16px; margin-top: 24px; border-radius: 6px; font-size: 1rem; }
.submit-error strong { font-weight: 600; }
.submit-error p { margin-top: 5px; }
.pending-message { display: flex; gap: 10px; align-items: center; font-size: 1rem; margin-top: 22px; color: #365b73; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid #cbd8e1; border-top-color: #275777; border-radius: 50%; animation: spin .7s linear infinite; flex-shrink: 0; }
.loading-state { padding: 48px 6px; min-height: 400px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; }
.loading-state h2 { font-size: 1.75rem; line-height: 1.25; letter-spacing: -.025em; font-weight: 500; }
.loading-state p { color: var(--muted); font-size: 1rem; }
.result-content { padding: 10px 0 4px; animation: enter-step .25s ease-out; }
.state-symbol { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: #edf3f7; border: 1px solid #cfdee8; border-radius: 50%; color: #41637a; font-size: 1.375rem; font-weight: 500; margin-bottom: 25px; }
.state-symbol.success { background: #eaf5ee; border-color: #bed9c9; color: var(--success); }
.reference-label { border-top: 1px solid #e4eaee; padding-top: 20px; font-size: .8125rem; color: #687f8e; }
.reference-label strong { display: block; color: #284c64; font-size: 1rem; font-weight: 500; margin-top: 4px; overflow-wrap: anywhere; }
.enquiry-summary { margin: 25px 0; display: grid; gap: 17px; }
.enquiry-summary > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; }
.enquiry-summary dt { font-size: .875rem; color: #6b808e; }
.enquiry-summary dd { margin: 0; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; color: #26495f; }
.preserve-lines { white-space: pre-wrap; }
.whatsapp-handoff { border-top: 1px solid #e4eaee; padding-top: 23px; }
.whatsapp-link { width: 100%; }
.whatsapp-handoff > p { color: #637986; font-size: 1rem; line-height: 1.55; margin-top: 12px; }
.text-button { color: #3a5e76; background: transparent; border: 0; padding: 12px 0; min-height: 44px; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; margin-top: 14px; }
.neutral-notice { border-left: 2px solid #8ba8bc; color: #4f6b7f; background: #f2f6f9; padding: 15px 16px; font-size: 1rem; line-height: 1.6; margin-bottom: 26px; }
.site-footer { max-width: 1280px; margin: 0 auto; padding: 24px 32px 35px; border-top: 1px solid #ffffff13; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #829bad; font-size: .75rem; }
.site-footer > span:first-child { color: #a0b3c0; font-weight: 700; letter-spacing: .1em; }
.site-footer p { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.honeypot { position: absolute; width: 1px; height: 1px; left: -10000px; overflow: hidden; }
.site-header, .site-footer { background-color: rgba(8,31,48,.94); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes enter-step { from { opacity: .4; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { .main-layout { padding-top: 90px; padding-bottom: 90px; } }
@media (max-width: 1100px) {
  .site-header { padding-inline: 32px; }
  .main-layout { gap: 40px; padding-inline: 32px; }
  .form-panel { padding: 30px 28px; }
  h1 { font-size: 3.3rem; }
  .form-actions { gap: 12px; }
  .button { padding-inline: 20px; }
}
@media (max-width: 800px) {
  .site-header { min-height: 84px; padding: 20px 24px; }
  .main-layout { grid-template-columns: 1fr; gap: 30px; padding: 34px 24px 40px; max-width: 660px; }
  .intro { padding-top: 0; }
  .eyebrow { margin-bottom: 16px; font-size: .6875rem; }
  h1 { font-size: 2.7rem; line-height: 1.08; }
  h1 br { display: none; }
  .intro-description { margin-top: 17px; font-size: 1rem; max-width: none; }
  .project-context { margin-top: 23px; padding-left: 15px; }
  .context-label { margin-bottom: 5px; }
  .project-context strong { font-size: 1.125rem; }
  .context-city { font-size: 1rem; }
  .intro-notes { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 21px; font-size: 1rem; }
  .intro-notes p { gap: 7px; }
  .form-panel { padding: 28px; }
  .site-footer { margin-inline: 24px; padding: 22px 0 28px; align-items: flex-start; }
  .site-footer p { max-width: 220px; text-align: right; }
  .site-footer > span:last-child { display: none; }
}
@media (max-width: 480px) {
  .site-header { padding: 14px 20px; min-height: 64px; }
  .brand { font-size: 1.25rem; gap: 9px; }
  .brand-mark { width: 30px; }
  .brand-mark span { height: 26px; width: 4px; }
  .brand-mark span:nth-child(2) { height: 15px; }
  .brand-caption { font-size: .55rem; }
  .header-caption { font-size: .75rem; }
  .preview-notice { font-size: .8125rem; padding: 10px 20px; text-align: left; }
  .main-layout { padding: 20px 16px 32px; gap: 20px; }
  .intro { padding-inline: 5px; }
  h1 { font-size: 1.85rem; line-height: 1.12; }
  .intro-description { display: none; }
  .eyebrow { font-size: .75rem; letter-spacing: .08em; gap: 8px; margin-bottom: 10px; }
  .eyebrow > span { width: 15px; }
  .project-context { margin-top: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; }
  .project-context .context-label { display: none; }
  .context-city { margin-top: 0; }
  .intro-notes { display: none; }
  .form-panel { border-radius: 9px; padding: 25px 20px 24px; }
  .form-topline { font-size: .6875rem; }
  .form-topline > span:last-child { font-size: .8125rem; }
  .progress-track { margin-bottom: 28px; }
  .step-title { font-size: 1.7rem; }
  .step-description { margin-top: 12px; margin-bottom: 23px; }
  .choice { padding: 14px 13px; gap: 11px; }
  .form-actions { align-items: stretch; flex-wrap: wrap; }
  .form-actions .primary { flex: 1; min-width: 0; padding-inline: 14px; }
  .form-actions .secondary { padding-inline: 16px; }
  .required-note { width: 100%; max-width: none; font-size: .8125rem; }
  .form-actions:has(.required-note) .primary { width: 100%; }
  .enquiry-summary > div { grid-template-columns: 1fr; gap: 3px; }
  .reference-label { margin-top: 4px; }
  .loading-state { min-height: 360px; padding-inline: 0; }
  .site-footer { margin-inline: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.building-fields { margin-top: 24px; }
.building-fields legend { margin-bottom: 10px; font-size: 1rem; font-weight: 600; }
.project-input { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; box-sizing: border-box; border: 1px solid #a9bac6; border-radius: 6px; padding: 11px 12px; background: white; color: var(--ink); font: inherit; font-size: 1rem; }
select.project-input { padding-right: 38px; appearance: none; background: linear-gradient(45deg, transparent 50%, #486072 50%) right 20px center / 6px 6px no-repeat, linear-gradient(135deg, #486072 50%, transparent 50%) right 14px center / 6px 6px no-repeat, white; }
.project-input:focus-visible { outline: 2px solid #244c63; outline-offset: 2px; }
.visit-request { border: 1px solid #c0cfd8; background: #f2f6f8; padding: 15px; border-radius: 7px; margin-bottom: 22px; }
.visit-choice { font-weight: 600; color: #24475c; }
.visit-choice small { font-weight: 400; color: #526978; }
.visit-request fieldset { min-width: 0; margin-top: 14px; }
.visit-request fieldset p { color: #4e6575; }
.visit-request .text-label { margin-top: 14px; }
.visit-request .field-error { color: var(--error); }

.scope-tip, .other-materials, .survey-only { margin-top: 14px; }
.scope-tip, .other-materials summary { color: var(--muted); font-size: 1rem; }
.other-materials summary { cursor: pointer; }
.other-materials .choices { margin-top: 12px; }
.design-request { border: 1px solid #c0cfd8; background: #f5f8fa; border-radius: 7px; padding: 16px; margin-top: 18px; }
.design-terms { margin-top: 18px; min-width: 0; }
.design-terms legend { font-size: 1.125rem; font-weight: 600; }
.design-terms p { margin: 8px 0 12px; line-height: 1.5; color: #36556a; }
.whatsapp-handoff + .reference-label { margin-top: 22px; }

.team-chooser { display: grid; gap: 10px; }
.team-chooser h3 { margin: 12px 0 0; font-size: 1rem; }
.team-chooser a { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; text-decoration: none; }
.team-chooser a:hover, .team-chooser a:focus-visible { border-color: var(--orange); text-decoration: underline; }
