@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --brand: #c82929;
  --brand-dark: #64131d;
  --ink: #1f1f1f;
  --muted: #686868;
  --line: #e4e4e4;
  --white: #fff;
  --shadow: 0 24px 70px rgb(49 10 15 / 15%);
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--ink);
  background: #f5f3f3;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #f5f3f3; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.is-hidden { display: none !important; }
.is-invisible { visibility: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 5; border-bottom: 1px solid rgb(0 0 0 / 7%); background: #fff; }
.header-inner { width: min(1180px, calc(100% - 40px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-logo { width: auto; height: 58px; object-fit: contain; }
.header-badge { border: 1px solid rgb(100 19 29 / 18%); border-radius: 999px; padding: 7px 13px; color: var(--brand-dark); background: rgb(100 19 29 / 5%); font-size: .8rem; font-weight: 800; }

.hero { width: min(1220px, calc(100% - 36px)); margin: 36px auto 28px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr); overflow: hidden; border: 1px solid rgb(0 0 0 / 7%); border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.hero-image-wrap { position: relative; min-height: 690px; overflow: hidden; background: var(--brand-dark); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(58 7 14 / 28%) 0%, rgb(65 9 16 / 88%) 100%); }
.opening-wrap { position: absolute; z-index: 1; inset: 42px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.opening-art { width: min(100%, 500px); margin: auto auto 25px; border-radius: 18px; box-shadow: 0 18px 50px rgb(0 0 0 / 22%); }
.opening-wrap > p { margin: 0; font-size: 1.05rem; line-height: 1.65; }
.hero-chip { align-self: flex-start; margin-top: 20px; border: 1px solid rgb(255 255 255 / 24%); border-radius: 999px; padding: 9px 14px; background: rgb(255 255 255 / 12%); font-size: .8rem; font-weight: 700; backdrop-filter: blur(8px); }

.eyebrow { margin: 0 0 10px; color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h2 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -.04em; }

.funnel-view { min-width: 0; padding: clamp(25px, 4vw, 50px); background: var(--white); }
.funnel-topbar { display: flex; min-height: 28px; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.back-button { border: 0; padding: 0; cursor: pointer; color: #595959; background: none; font-size: .88rem; font-weight: 700; }
.step-label { color: #777; font-size: .8rem; font-weight: 700; }
.progress-track { height: 5px; margin-bottom: 34px; overflow: hidden; border-radius: 999px; background: #eee6e7; }
.progress-bar { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-dark), var(--brand)); transition: width 260ms ease; }
.funnel-card { min-height: 550px; display: flex; align-items: center; }
.panel { width: 100%; animation: panel-in 260ms ease both; }
.panel-help { max-width: 48rem; margin: 14px 0 28px; color: var(--muted); font-size: 1rem; line-height: 1.65; }

.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.option-button { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #dedede; border-radius: 13px; padding: 14px 16px; cursor: pointer; color: var(--ink); background: #fff; text-align: left; font-size: .94rem; font-weight: 700; line-height: 1.35; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.option-button:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 10px 24px rgb(100 19 29 / 11%); }
.option-button.is-selected { border-color: var(--brand); background: #fff4f4; }
.option-check { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); opacity: 0; transform: scale(.75); transition: 160ms ease; }
.option-button.is-selected .option-check { opacity: 1; transform: scale(1); }

.field-group { margin-top: 18px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: block; margin-bottom: 7px; font-size: .88rem; font-weight: 800; }
input, select { width: 100%; min-height: 50px; border: 1px solid #d6d6d6; border-radius: 11px; padding: 13px 14px; color: var(--ink); background: #fff; transition: border-color 160ms ease, box-shadow 160ms ease; }
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(200 41 41 / 13%); }
input.has-error, select.has-error { border-color: #d64040; box-shadow: 0 0 0 3px rgb(214 64 64 / 10%); }

.appointment-box { margin-top: 24px; border: 1px solid rgb(200 41 41 / 18%); border-radius: 16px; padding: 20px; background: linear-gradient(135deg, #fff8f8, #fff); }
.appointment-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.appointment-heading h3 { margin: 0; font-size: 1.05rem; line-height: 1.4; }
.optional-badge { flex: 0 0 auto; border-radius: 999px; padding: 5px 10px; color: #fff; background: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.appointment-box > p:not(.field-error) { margin: 8px 0 2px; color: var(--muted); font-size: .88rem; line-height: 1.55; }

.consent-row { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 11px; margin: 22px 0 0; color: #535353; font-size: .9rem; font-weight: 500; line-height: 1.55; }
.consent-row input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brand); }
.consent-row a { color: var(--brand-dark); font-weight: 700; }
.field-error, .form-error { min-height: 1.1em; margin: 5px 0 0; color: #bd2525; font-size: .8rem; font-weight: 700; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; border: 0; border-radius: 11px; padding: 14px 24px; cursor: pointer; font-size: 1rem; font-weight: 800; transition: 160ms ease; }
.button-primary { width: 100%; margin-top: 12px; color: #fff; background: var(--brand); box-shadow: 0 12px 26px rgb(100 19 29 / 23%); }
.button-primary:hover { transform: translateY(-2px); background: var(--brand-dark); box-shadow: 0 16px 32px rgb(100 19 29 / 29%); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.submission-note { margin: 12px 0 0; color: #838383; font-size: .75rem; line-height: 1.5; text-align: center; }

.success-panel { text-align: center; }
.success-icon { display: grid; width: 68px; height: 68px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-size: 2rem; font-weight: 800; }
.success-panel .eyebrow, .success-panel .panel-help { text-align: center; margin-left: auto; margin-right: auto; }

.benefits { width: min(1160px, calc(100% - 40px)); margin: 0 auto 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.benefits article { border: 1px solid #e1dddd; border-radius: 16px; padding: 26px; background: #fff; }
.benefits article > span { display: grid; width: 42px; height: 42px; margin-bottom: 18px; place-items: center; border-radius: 12px; color: #fff; background: var(--brand-dark); font-size: 1.15rem; font-weight: 800; }
.benefits h3 { margin: 0; font-size: 1rem; }
.benefits p { margin: 7px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }

.brand-section { width: min(1160px, calc(100% - 40px)); margin: 0 auto 28px; padding: clamp(30px, 5vw, 56px); border: 1px solid #e1dddd; border-radius: 22px; background: #fff; text-align: center; }
.brand-section h2 { margin-bottom: 28px; }
.brand-section img { width: min(100%, 850px); margin: 0 auto; border-radius: 14px; }

.studio-section { width: min(1160px, calc(100% - 40px)); margin: 0 auto 48px; display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(28px, 5vw, 64px); overflow: hidden; border-radius: 22px; padding: clamp(30px, 5vw, 60px); color: #fff; background: var(--brand-dark); }
.studio-copy p:not(.eyebrow) { margin: 18px 0 0; color: rgb(255 255 255 / 82%); font-size: 1rem; line-height: 1.7; }
.studio-section .eyebrow { color: #ff7b7b; }
.studio-section img { width: min(100%, 560px); margin-left: auto; border-radius: 16px; box-shadow: 0 20px 50px rgb(0 0 0 / 25%); }

.site-footer { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 20px; padding: 22px max(20px, calc((100% - 1160px) / 2)); color: #e4dcdc; background: #3d0c13; font-size: .8rem; }
.site-footer nav { display: flex; gap: 8px; }
.site-footer a { color: #e4dcdc; }
.noscript-message, .fatal-error { padding: 30px; text-align: center; }

@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image-wrap { min-height: 500px; }
  .opening-art { width: min(80%, 520px); }
  .funnel-card { min-height: 0; }
  .funnel-view { padding: 36px; }
  .studio-section { grid-template-columns: 1fr; }
  .studio-section img { margin: 0 auto; }
}

@media (max-width: 640px) {
  .header-inner { width: min(100% - 28px, 1180px); min-height: 68px; }
  .site-logo { height: 48px; }
  .header-badge { display: none; }
  .hero { width: calc(100% - 18px); margin: 9px auto 20px; border-radius: 18px; }
  .hero-image-wrap { min-height: 430px; }
  .opening-wrap { inset: 24px; }
  .opening-art { width: 100%; margin-bottom: 20px; border-radius: 13px; }
  .opening-wrap > p { font-size: .94rem; }
  .hero-chip { margin-top: 15px; font-size: .72rem; }
  .funnel-view { padding: 28px 20px 32px; }
  .progress-track { margin-bottom: 28px; }
  .option-grid, .field-grid, .benefits { grid-template-columns: 1fr; }
  .appointment-heading { align-items: flex-start; }
  .option-button { min-height: 62px; }
  .benefits, .brand-section, .studio-section { width: calc(100% - 24px); }
  .brand-section, .studio-section { padding: 28px 20px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
