/* ==========================================================================
   DREAM CONSULT — Premium digital experience
   1. Variables  2. Reset  3. Typography  4. Layout
   5. Navigation  6. Hero  7. Sections  8. Components
   9. Forms  10. Modals  11. Animations  12. Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES
   -------------------------------------------------------------------------- */
:root {
  --ink: #111111;
  --ink-2: #1c1c1c;
  --ink-soft: #3a3834;
  --paper: #f5f3ee;
  --paper-2: #e8e6e1;
  --white: #fbfaf6;
  --bronze: #b08d57;
  --bronze-dim: #8c6e3f;
  --line: rgba(17, 17, 17, 0.12);
  --line-light: rgba(245, 243, 238, 0.18);

  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 88px;
  --gutter: clamp(1.25rem, 4.5vw, 5rem);
  --max: 1280px;
  --shadow: 0 28px 80px rgba(17, 17, 17, 0.18);

  --focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--bronze);
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.display--light {
  color: var(--paper);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1rem;
}

.eyebrow--on-dark {
  color: var(--bronze);
}

.lede {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: 1.1rem;
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.section-head {
  padding: 0 var(--gutter);
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  max-width: calc(var(--max) + var(--gutter) * 2);
}

.section-head--light .display {
  color: var(--paper);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.logo__dream {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.logo__consult {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.72;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn--accent {
  background: var(--bronze);
  color: var(--ink);
}

.btn--accent:hover {
  background: var(--bronze-dim);
  color: var(--paper);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--ink-2);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--white);
}

.btn--ghost {
  border-color: rgba(245, 243, 238, 0.45);
  color: var(--paper);
}

.btn--ghost:hover {
  background: rgba(245, 243, 238, 0.1);
}

.btn--ghost-dark {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost-dark:hover {
  background: var(--ink);
  color: var(--paper);
}

.icon-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.icon-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   5. NAVIGATION
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), height 0.4s var(--ease);
}

.nav.is-scrolled {
  --nav-h: 68px;
  background: rgba(17, 17, 17, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav.is-open {
  background: rgba(17, 17, 17, 0.96);
}

.nav__bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--paper);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.78;
  position: relative;
}

.nav__links a:hover,
.nav__links a.is-active {
  opacity: 1;
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1px;
  background: var(--bronze);
}

.nav__cta-mobile {
  display: none;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }

.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: hero-zoom 18s var(--ease) both;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.28) 0%, rgba(17, 17, 17, 0.55) 48%, rgba(17, 17, 17, 0.82) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 243, 238, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 238, 0.06) 1px, transparent 1px);
  background-size: 12.5% 20%;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  pointer-events: none;
}

.hero__line {
  position: absolute;
  top: 0;
  left: 18%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, var(--bronze), transparent);
  opacity: 0.55;
  animation: line-drop 1.8s var(--ease) both;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) 8rem;
  max-width: 58rem;
}

.hero__label {
  letter-spacing: 0.42em;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero__line-text {
  display: block;
}

.hero__dream {
  display: block;
  position: relative;
  margin-top: 0.15em;
  overflow: hidden;
}

.hero__dream-fr {
  font-style: italic;
  color: var(--paper);
  position: relative;
  z-index: 1;
}

.hero__dream-en {
  position: absolute;
  left: 0;
  top: -0.18em;
  font-size: 1.55em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 141, 87, 0.45);
  pointer-events: none;
  white-space: nowrap;
}

.hero__lead {
  max-width: 34rem;
  margin: 1.6rem 0 2rem;
  color: rgba(245, 243, 238, 0.78);
  font-weight: 300;
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.scroll-indicator {
  position: absolute;
  right: var(--gutter);
  bottom: 2.2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
}

.scroll-indicator__text {
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.scroll-indicator__stem {
  width: 1px;
  height: 52px;
  background: rgba(245, 243, 238, 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-indicator__stem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bronze);
  animation: scroll-stem 1.8s var(--ease) infinite;
}

/* --------------------------------------------------------------------------
   7. SECTIONS
   -------------------------------------------------------------------------- */
.journey {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  background: var(--paper);
  overflow: hidden;
}

.timeline-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline {
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter);
  position: relative;
}

.timeline__item {
  display: grid;
  grid-template-columns: 5.2rem 80px 1fr;
  gap: 0 1.6rem;
  align-items: start;
  padding: 2.4rem 0 2.8rem;
  border: 0;
  min-height: 0;
  position: relative;
}

.timeline__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: var(--bronze);
  line-height: 1;
  grid-row: 1 / 3;
}

.timeline__visual {
  width: 72px;
  height: 72px;
  color: var(--ink);
  opacity: 0.72;
  grid-row: 1 / 3;
}

.timeline__item h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline__item p {
  color: var(--ink-soft);
  max-width: 26rem;
}

.timeline__progress {
  position: absolute;
  left: calc(var(--gutter) + 2.4rem);
  top: 1.2rem;
  bottom: 1.2rem;
  width: 1px;
  background: var(--line);
  margin: 0;
}

.timeline__progress span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: var(--bronze);
  transition: height 0.4s linear;
}

.about {
  padding: 0 0 clamp(5rem, 10vw, 9rem);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding: 0 var(--gutter);
  max-width: calc(1400px + var(--gutter) * 2);
}

.about__media {
  position: relative;
  overflow: hidden;
}

.about__media img {
  width: 100%;
  height: min(82vh, 820px);
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.about__media:hover img {
  transform: scale(1.04);
}

.about__caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about__copy .display {
  margin-bottom: 1.4rem;
}

.about__statement {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 32rem;
  margin-bottom: 1.6rem;
}

.about__points {
  margin-bottom: 2rem;
}

.about__points li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

.about__points li:last-child {
  border-bottom: 1px solid var(--line);
}

.expertise {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 9vw, 8rem) 0 0;
}

.panels {
  display: flex;
  min-height: 78vh;
}

.panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  min-height: 620px;
  transition: flex 0.7s var(--ease);
}

.panel.is-active {
  flex: 1.85;
}

.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s var(--ease);
}

.panel.is-active img {
  transform: scale(1);
}

.panel__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.15), rgba(17, 17, 17, 0.78));
}

.panel__body {
  position: absolute;
  inset: auto 0 0;
  padding: 2.2rem 1.8rem 2.4rem;
}

.panel__num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--bronze);
  display: block;
  margin-bottom: 0.4rem;
}

.panel h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 500;
}

.panel__desc,
.panel__tags {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease);
}

.panel.is-active .panel__desc,
.panel.is-active .panel__tags {
  max-height: 12rem;
  opacity: 1;
}

.panel.is-active .panel__desc {
  margin: 0.9rem 0 1rem;
  color: rgba(245, 243, 238, 0.78);
}

.panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.panel__tags li {
  border: 1px solid rgba(245, 243, 238, 0.28);
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel__arrow {
  position: absolute;
  right: 1.6rem;
  top: 2.2rem;
  font-size: 1.4rem;
  opacity: 0.55;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.panel.is-active .panel__arrow {
  transform: rotate(45deg);
  opacity: 1;
  color: var(--bronze);
}

.showcase {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background: var(--paper);
}

.showcase__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding: 0 var(--gutter);
  margin-bottom: 2.5rem;
}

.carousel__nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.carousel {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 var(--gutter) 1.2rem;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.carousel.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.carousel::-webkit-scrollbar {
  height: 2px;
}

.carousel::-webkit-scrollbar-thumb {
  background: var(--bronze);
}

.project-card {
  flex: 0 0 min(78vw, 620px);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  min-height: 68vh;
  color: var(--paper);
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 1s var(--ease);
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(17, 17, 17, 0.82));
}

.project-card__meta {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 1;
}

.project-card__meta span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.project-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 500;
  margin: 0.35rem 0 0.2rem;
}

.immersion {
  padding: 0 var(--gutter) clamp(5rem, 9vw, 8rem);
}

.immersion__frame {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: var(--paper);
}

.immersion__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.immersion__veil {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.42);
}

.immersion__copy {
  position: relative;
  z-index: 1;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.immersion__copy p {
  max-width: 34rem;
  color: rgba(245, 243, 238, 0.8);
  margin: 1rem 0 2.2rem;
}

.cta-360 {
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  color: var(--paper);
}

.cta-360__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245, 243, 238, 0.45);
  border-radius: 50%;
  animation: pulse-ring 3.2s var(--ease) infinite;
}

.cta-360__label {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.immersion__badge {
  margin-top: 1.8rem !important;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze) !important;
}

.method {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--paper-2);
}

.method__track {
  padding: 0 var(--gutter);
  position: relative;
}

.method__line {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 2.4rem;
  height: 1px;
  background: var(--line);
}

.method__line span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--bronze);
}

.method__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.method__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.85;
  color: var(--ink);
  margin-bottom: 1.6rem;
}

.method__step h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.method__step p {
  color: var(--ink-soft);
  max-width: 18rem;
}

.explorer {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.explorer__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  padding: 0 var(--gutter);
  align-items: stretch;
}

.explorer__choices {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.explorer__choice {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  font-weight: 500;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), padding 0.3s var(--ease);
}

.explorer__choice.is-active,
.explorer__choice:hover {
  opacity: 1;
}

.explorer__icon {
  width: 42px;
  font-size: 1.2rem;
  color: var(--bronze);
}

.explorer__panel {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2rem, 4vw, 3.4rem);
  min-height: 100%;
}

.explorer__kicker {
  color: var(--bronze);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.explorer__panel h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.explorer__panel p {
  color: rgba(245, 243, 238, 0.72);
  max-width: 32rem;
}

.explorer__fields {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.explorer__fields div {
  border-top: 1px solid rgba(245, 243, 238, 0.14);
  padding-top: 0.85rem;
}

.explorer__fields dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}

.explorer__fields dd {
  margin: 0.2rem 0 0;
}

.consult {
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
  background: var(--white);
}

.consult__intro {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.wizard {
  max-width: 760px;
}

.wizard__steps {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 2.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
}

.wizard__steps li.is-active,
.wizard__steps li.is-done {
  color: var(--ink);
}

.wizard__steps li.is-done {
  color: var(--bronze);
}

.wizard__steps span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-right: 0.35rem;
}

.wizard__pane h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.wizard__actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.choice {
  border: 1px solid var(--line);
  min-height: 64px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice:has(input:checked),
.choice.is-checked,
.choice:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.estimate {
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
  background: var(--paper-2);
}

.estimate__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--max);
}

.estimate__form .btn {
  margin-top: 0.6rem;
}

.impact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5.5rem, 11vw, 9rem) var(--gutter);
  text-align: center;
}

.impact__note {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 3rem;
}

.impact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.impact__value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.impact__label {
  display: block;
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
}

.future {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--paper);
}

.future img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.future__veil {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.58);
}

.future__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem var(--gutter);
  max-width: 48rem;
}

.future__content p {
  margin: 1.3rem auto 2rem;
  color: rgba(245, 243, 238, 0.78);
}

.contact {
  padding: clamp(5rem, 10vw, 8.5rem) var(--gutter);
}

.contact__intro {
  margin-bottom: 3.2rem;
}

.contact__punch {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-style: italic;
  line-height: 1;
  margin-top: 0.4rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.contact__info p {
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 28rem;
}

.contact__info li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.contact__info li span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.25rem;
}

.contact__socials {
  display: flex;
  gap: 1rem;
}

.contact__socials a:hover {
  color: var(--bronze);
}

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) 1.6rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 243, 238, 0.12);
}

.footer__tag {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  margin-top: 0.8rem;
}

.footer__nav,
.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__nav a,
.footer__social a {
  opacity: 0.7;
}

.footer__nav a:hover,
.footer__social a:hover {
  opacity: 1;
  color: var(--bronze);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  font-size: 0.78rem;
  opacity: 0.5;
}

.footer__credit {
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   8. COMPONENTS
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader__inner {
  text-align: center;
}

.loader__brand {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  letter-spacing: 0.28em;
}

.loader__line {
  display: block;
  width: 0;
  height: 1px;
  margin: 0.8rem auto;
  background: var(--bronze);
  animation: load-line 1.1s var(--ease) forwards;
}

.loader__sub {
  font-size: 0.72rem;
  letter-spacing: 0.4em;
}

.fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 70;
}

.fab__toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.6rem;
  box-shadow: var(--shadow);
}

.fab.is-open .fab__toggle {
  background: var(--bronze);
  color: var(--ink);
}

.fab__menu {
  position: absolute;
  right: 0;
  bottom: 66px;
  background: var(--ink);
  color: var(--paper);
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.fab.is-open .fab__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.fab__menu a,
.fab__menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  color: var(--paper);
  text-align: left;
  font-size: 0.85rem;
}

.fab__menu a:hover,
.fab__menu button:hover {
  background: rgba(245, 243, 238, 0.06);
}

.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 5.4rem;
  z-index: 69;
  width: 44px;
  height: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 120;
  background: var(--ink);
  color: var(--paper);
  padding: 0.9rem 1.3rem;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   9. FORMS
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  border-radius: 0;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.field-error {
  color: #8a3a2a;
  font-size: 0.85rem;
  margin: 0 0 1rem;
}

/* --------------------------------------------------------------------------
   10. MODALS
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.62);
}

.modal__sheet {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  max-width: 720px;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: clamp(1.8rem, 4vw, 3rem);
}

.modal__sheet--project,
.modal__sheet--tour {
  max-width: min(1200px, 100%);
  width: 100%;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
}

.modal__sheet--success {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 5rem 2rem;
}

.modal__sheet--success .display,
.modal__sheet--success h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  margin: 0.6rem 0 1rem;
}

.modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  color: inherit;
  z-index: 2;
}

.project-modal {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 78vh;
}

.project-modal__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.project-modal__body {
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.project-modal__body h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.project-modal__facts {
  margin: 1.5rem 0 2rem;
}

.project-modal__facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(245, 243, 238, 0.14);
  font-size: 0.92rem;
}

.tour__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(245, 243, 238, 0.12);
}

.tour__badge {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
}

.tour__bar h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.tour__tools {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.tour__tools button {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid rgba(245, 243, 238, 0.2);
  color: var(--paper);
  padding: 0 0.7rem;
}

.tour__stage {
  position: relative;
  height: min(78vh, 820px);
  overflow: hidden;
  background: #0a0a0a;
}

.tour__demo,
.tour__pano {
  width: 100%;
  height: 100%;
}

.tour__pano {
  background-size: 220% 140%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  cursor: grab;
  transform-origin: center;
}

.tour__pano.is-dragging {
  cursor: grabbing;
}

.tour__hint {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  pointer-events: none;
}

#tour-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   11. ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: fade-up 0.9s var(--ease) forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.38s; }
.reveal-delay-4 { animation-delay: 0.52s; }
.reveal-delay-5 { animation-delay: 0.66s; }

.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js-reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-zoom {
  from { transform: scale(1.14); }
  to { transform: scale(1.02); }
}

@keyframes line-drop {
  from { transform: scaleY(0); transform-origin: top; }
  to { transform: scaleY(1); transform-origin: top; }
}

@keyframes scroll-stem {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.55; }
}

@keyframes load-line {
  to { width: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .js-reveal,
  .hero__media img {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .about__grid,
  .explorer__layout,
  .estimate__inner,
  .contact__grid,
  .project-modal,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .impact__grid,
  .method__list {
    grid-template-columns: 1fr 1fr;
  }

  .method__line {
    display: none;
  }

  .panels {
    flex-direction: column;
    min-height: 0;
  }

  .panel,
  .panel.is-active {
    flex: none;
    min-height: 220px;
  }

  .panel.is-active {
    min-height: 420px;
  }

  .about__media img {
    height: 62vh;
  }
}

@media (max-width: 860px) {
  .nav__cta {
    display: none;
  }

  .nav__cta-mobile {
    display: inline-flex;
    margin-top: 1.4rem;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    background: rgba(17, 17, 17, 0.96);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.6rem var(--gutter) 2.2rem;
    gap: 1.15rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }

  .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .timeline-wrap {
    max-width: none;
  }

  .timeline {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding-bottom: 1rem;
    max-width: none;
  }

  .timeline__item {
    flex: 0 0 min(78vw, 320px);
    scroll-snap-align: start;
    display: block;
    min-height: 18rem;
    padding: 0 1.4rem 1.6rem;
    border-left: 1px solid var(--line);
  }

  .timeline__num,
  .timeline__visual {
    grid-row: auto;
    margin-bottom: 1rem;
  }

  .timeline__progress {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: 1px;
    margin: 0 var(--gutter);
  }

  .timeline__progress span {
    width: 0;
    height: 100%;
    transition: width 0.4s linear;
  }

  .choice-grid,
  .form-grid,
  .impact__grid,
  .method__list {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-bottom: 6.5rem;
  }

  .hero__dream-en {
    font-size: 1.05em;
    letter-spacing: 0.08em;
  }

  .scroll-indicator {
    display: none;
  }

  .project-card {
    flex-basis: 86vw;
    min-height: 58vh;
  }

  .wizard__steps {
    gap: 0.8rem;
    font-size: 0.68rem;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .immersion__frame,
  .immersion__copy {
    min-height: 72vh;
  }

  .tour__bar {
    flex-wrap: wrap;
  }

  .tour__stage {
    height: 68vh;
  }
}

@media (max-width: 560px) {
  .hero__actions,
  .future__content .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .future__content .btn,
  .wizard .btn,
  .estimate .btn,
  .contact__form .btn,
  .explorer__panel .btn,
  .about__copy .btn {
    width: 100%;
  }

  .nav__cta-mobile {
    width: auto;
  }

  .carousel__nav {
    display: none;
  }

  .showcase__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
