/* Trend Home — main stylesheet */

/* ─── Tokens ─── */
:root {
  /* Warm residential palette (default) */
  --th-cream: #f6f1e8;
  --th-cream-2: #efe8da;
  --th-sand: #e8ddc9;
  --th-clay: #c97b5a;
  --th-clay-deep: #a85d40;
  --th-ink: #1c1a17;
  --th-ink-soft: #6b665d;
  --th-ink-mute: #9a9388;
  --th-line: rgba(28, 26, 23, 0.10);
  --th-line-strong: rgba(28, 26, 23, 0.22);
  --th-teal: #1aa39a;
  --th-teal-deep: #0d7a73;

  /* Surfaces */
  --th-surface: #faf6ee;
  --th-surface-2: #ffffff;

  /* Building elevation */
  --th-sky-1: #e8ddc9;
  --th-sky-2: #f6f1e8;
  --th-floor-available: #f0e7d4;
  --th-floor-reserved: #e8d2b8;
  --th-floor-sold: #d8cdb8;
  --th-window-on: #1aa39a;
  --th-window-warn: #c97b5a;
  --th-window-off: rgba(28, 26, 23, 0.35);

  /* Type */
  --th-serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --th-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --th-mono: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --th-radius: 14px;
  --th-radius-sm: 8px;
  --th-radius-lg: 22px;
}

/* Theme: Teal (modern tech) */
[data-theme="teal"] {
  --th-cream: #f4faf9;
  --th-cream-2: #e8f4f2;
  --th-sand: #cce8e5;
  --th-clay: #1aa39a;
  --th-clay-deep: #0d7a73;
  --th-ink: #0a1f1d;
  --th-ink-soft: #4a6663;
  --th-ink-mute: #7a8c89;
  --th-line: rgba(10, 31, 29, 0.10);
  --th-line-strong: rgba(10, 31, 29, 0.22);
  --th-teal: #1aa39a;
  --th-surface: #ffffff;
  --th-surface-2: #f4faf9;
  --th-sky-1: #cce8e5;
  --th-sky-2: #f4faf9;
  --th-floor-available: #d6ecea;
  --th-floor-reserved: #f3d9c5;
  --th-floor-sold: #d8e0df;
}

/* Theme: Dark */
[data-theme="dark"] {
  --th-cream: #0f1310;
  --th-cream-2: #161b18;
  --th-sand: #1f2622;
  --th-clay: #d68a6c;
  --th-clay-deep: #b56b4f;
  --th-ink: #f5efe2;
  --th-ink-soft: #b3ac9d;
  --th-ink-mute: #7a7468;
  --th-line: rgba(245, 239, 226, 0.10);
  --th-line-strong: rgba(245, 239, 226, 0.22);
  --th-teal: #2dc7bd;
  --th-teal-deep: #1aa39a;
  --th-surface: #14181530;
  --th-surface-2: #1a1f1c;
  --th-sky-1: #1a201d;
  --th-sky-2: #0f1310;
  --th-floor-available: #2a3531;
  --th-floor-reserved: #3d2e25;
  --th-floor-sold: #1f2622;
  --th-window-on: #2dc7bd;
  --th-window-off: rgba(245, 239, 226, 0.18);
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--th-sans);
  background: var(--th-cream);
  color: var(--th-ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }

em { font-style: italic; font-weight: 400; }

.th-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--th-ink-soft);
}
.th-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--th-teal);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--th-teal) 18%, transparent);
}

.th-h2 {
  font-family: var(--th-serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 14px 0 18px;
  color: var(--th-ink);
}
.th-section__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--th-ink-soft);
  max-width: 56ch;
  margin: 0;
}

/* ─── Buttons ─── */
.th-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: all .18s ease;
  background: transparent;
}
.th-btn--lg { padding: 14px 22px; font-size: 15px; }
.th-btn--solid {
  background: var(--th-ink);
  color: var(--th-cream);
}
.th-btn--solid:hover { background: var(--th-clay-deep); transform: translateY(-1px); }
.th-btn--solid:disabled { background: var(--th-ink-mute); cursor: not-allowed; transform: none; }
.th-btn--ghost {
  background: transparent;
  color: var(--th-ink);
  border-color: var(--th-line-strong);
}
.th-btn--ghost:hover { background: var(--th-cream-2); border-color: var(--th-ink); }

/* ─── Nav ─── */
.th-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 14px 0;
  transition: all .25s ease;
}
.th-nav__inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
  padding: 10px 32px;
  background: color-mix(in oklab, var(--th-cream) 70%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--th-line);
  border-radius: 100px;
  transition: all .25s ease;
}
.th-nav--scrolled .th-nav__inner {
  background: color-mix(in oklab, var(--th-cream) 88%, transparent);
  box-shadow: 0 8px 30px rgba(28,26,23,0.08);
}
.th-nav__logo { display: block; text-decoration: none; }
.th-nav__links { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 4px; }
.th-nav__links button {
  background: none; border: none; padding: 8px 14px; border-radius: 100px;
  font-size: 14px; font-weight: 500; color: var(--th-ink); transition: all .15s;
}
.th-nav__links button:hover { background: var(--th-cream-2); }
.th-nav__right { display: flex; align-items: center; gap: 14px; }
.th-nav__phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--th-ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.th-nav__phone svg { color: var(--th-teal); }

/* ─── Hero ─── */
.th-hero {
  min-height: 100vh;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}
.th-hero__grid {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 60px; align-items: center;
  min-height: calc(100vh - 200px);
}
.th-hero__copy { animation: fadeUp 1s ease; }
.th-display {
  font-family: var(--th-serif);
  font-weight: 400;
  font-size: clamp(56px, 7.5vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 24px 0 28px;
}
.th-lede {
  font-size: 19px; line-height: 1.5;
  color: var(--th-ink-soft);
  max-width: 48ch;
  margin: 0 0 36px;
}
.th-hero__ctas { display: flex; gap: 12px; margin-bottom: 56px; }
.th-hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--th-line);
}
.th-hero__stats > div { display: flex; flex-direction: column; gap: 4px; }
.th-hero__stats dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--th-ink-mute); margin: 0; }
.th-hero__stats dd {
  margin: 0;
  font-family: var(--th-serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.th-hero__media {
  position: relative;
  height: 78vh;
  border-radius: var(--th-radius-lg);
  overflow: hidden;
  background: var(--th-sand);
  animation: fadeUp 1s ease 0.1s backwards;
}
.th-hero__image {
  position: absolute; inset: -40px -10px;
  transition: transform .1s linear;
}
.th-hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.th-hero__chip {
  position: absolute;
  background: color-mix(in oklab, var(--th-cream) 92%, transparent);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius);
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.th-hero__chip--tl { top: 24px; left: 24px; }
.th-hero__chip--br { bottom: 24px; right: 24px; padding: 18px 20px; }
.th-chip-eyebrow { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--th-teal); font-weight: 700; }
.th-chip-title { font-size: 14px; font-weight: 600; }
.th-chip-stat { display: flex; align-items: center; gap: 12px; }
.th-chip-stat strong { font-family: var(--th-serif); font-size: 48px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; color: var(--th-clay); }
.th-chip-stat span { font-size: 11px; line-height: 1.2; color: var(--th-ink-soft); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

.th-hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  background: none; border: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--th-ink-soft); font-weight: 600;
  animation: bounce 2s infinite ease-in-out;
}

/* ─── Marquee ─── */
.th-marquee {
  border-top: 1px solid var(--th-line);
  border-bottom: 1px solid var(--th-line);
  padding: 18px 0;
  overflow: hidden;
  background: var(--th-cream-2);
}
.th-marquee__track {
  display: flex; gap: 40px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
}
.th-marquee__item {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--th-ink-soft);
  font-weight: 600;
}

/* ─── Sections ─── */
.th-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 32px;
}
.th-section__head { max-width: 720px; margin-bottom: 64px; }

/* ─── Complex grid ─── */
.th-complex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.th-complex {
  background: var(--th-surface);
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all .3s ease;
  display: flex; flex-direction: column;
  animation: fadeUp .8s ease backwards;
}
.th-complex:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -10px rgba(28,26,23,0.15);
  border-color: var(--th-ink);
}
.th-complex--active {
  border: 2px solid var(--th-ink);
  box-shadow: 0 20px 50px -10px rgba(28,26,23,0.2);
}
.th-complex__media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--th-sand);
}
.th-complex__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.th-complex:hover .th-complex__media img { transform: scale(1.06); }
.th-complex__status {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px; border-radius: 100px;
  background: color-mix(in oklab, var(--th-cream) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--th-ink);
}
.th-complex__body {
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.th-complex__loc { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--th-teal); font-weight: 700; }
.th-complex__name {
  font-family: var(--th-serif);
  font-size: 32px; line-height: 1; letter-spacing: -0.02em;
  margin: 0; font-weight: 400;
}
.th-complex__tag {
  font-size: 14px; line-height: 1.5; color: var(--th-ink-soft);
  margin: 0; flex: 1;
}
.th-complex__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; padding: 14px 0;
  border-top: 1px solid var(--th-line);
  margin: 8px 0 0;
}
.th-complex__stats dt { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--th-ink-mute); margin: 0; }
.th-complex__stats dd { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.th-complex__cta {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  padding-top: 4px;
}

/* ─── Floor selector ─── */
.th-browser {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: flex-start;
  margin-top: 48px;
}
.th-elev {
  background: var(--th-surface);
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.th-elev__caption h4 {
  font-family: var(--th-serif); font-size: 28px; font-weight: 400;
  letter-spacing: -0.02em; margin: 12px 0 6px;
}
.th-elev__caption p { font-size: 13px; color: var(--th-ink-soft); margin: 0 0 20px; line-height: 1.5; }
.th-elev__svg { width: 100%; height: auto; display: block; }
.th-elev__legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--th-line);
  font-size: 12px; color: var(--th-ink-soft);
}
.th-elev__legend > div { display: flex; align-items: center; gap: 6px; }
.th-swatch { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--th-line-strong); }

/* ─── Unit grid ─── */
.th-units__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 24px; gap: 24px; flex-wrap: wrap;
}
.th-units__head h4 {
  font-family: var(--th-serif); font-size: 28px; font-weight: 400;
  letter-spacing: -0.02em; margin: 8px 0 0;
}
.th-units__filter { display: flex; gap: 8px; }
.th-pill {
  padding: 8px 14px; border-radius: 100px;
  background: transparent; border: 1px solid var(--th-line-strong);
  font-size: 13px; color: var(--th-ink);
}
.th-pill--active { background: var(--th-ink); color: var(--th-cream); border-color: var(--th-ink); }
.th-units__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.th-unit {
  background: var(--th-surface);
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius);
  padding: 18px;
  text-align: left;
  display: flex; flex-direction: column; gap: 10px;
  transition: all .2s ease;
  animation: fadeUp .5s ease backwards;
  position: relative;
}
.th-unit--available { cursor: pointer; }
.th-unit--available:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px rgba(28,26,23,0.15);
  border-color: var(--th-ink);
}
.th-unit--reserved, .th-unit--sold {
  cursor: not-allowed;
  opacity: 0.55;
}
.th-unit--selected { border: 2px solid var(--th-ink); }
.th-unit__top { display: flex; justify-content: space-between; align-items: center; }
.th-unit__id { font-family: var(--th-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--th-ink-soft); }
.th-unit__badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 8px; border-radius: 100px;
  text-transform: uppercase;
}
.th-unit__badge--available { background: color-mix(in oklab, var(--th-teal) 18%, transparent); color: var(--th-teal-deep); }
.th-unit__badge--reserved { background: color-mix(in oklab, var(--th-clay) 22%, transparent); color: var(--th-clay-deep); }
.th-unit__badge--sold { background: color-mix(in oklab, var(--th-ink) 12%, transparent); color: var(--th-ink-soft); }
.th-unit__type {
  font-family: var(--th-serif);
  font-size: 36px; font-weight: 400; letter-spacing: -0.02em;
  line-height: 1; margin-top: 4px;
}
.th-unit__m2 { font-size: 14px; color: var(--th-ink-soft); font-variant-numeric: tabular-nums; }
.th-unit__meta {
  display: flex; gap: 14px;
  font-size: 12px; color: var(--th-ink-soft);
  padding-top: 8px; border-top: 1px solid var(--th-line);
}
.th-unit__price {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}
.th-unit__priceMuted { color: var(--th-ink-mute); text-decoration: line-through; font-weight: 500; font-size: 18px; }
.th-unit__cta {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--th-teal-deep);
  margin-top: 4px;
}

/* ─── Detail overlay ─── */
.th-detail {
  position: fixed; inset: 0;
  z-index: 80;
  display: flex; justify-content: flex-end;
  animation: fadeIn .25s ease;
}
.th-detail__backdrop {
  position: absolute; inset: 0;
  background: rgba(28, 26, 23, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.th-detail__panel {
  position: relative;
  width: 720px; max-width: 100%;
  background: var(--th-cream);
  height: 100%;
  overflow-y: auto;
  display: flex; flex-direction: column;
  animation: slideRight .4s cubic-bezier(.2,.8,.2,1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.2);
}
.th-detail__head {
  padding: 32px 36px 20px;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px;
  border-bottom: 1px solid var(--th-line);
}
.th-detail__title {
  font-family: var(--th-serif); font-size: 44px; font-weight: 400;
  letter-spacing: -0.02em; line-height: 1; margin: 10px 0 4px;
}
.th-detail__sub { font-size: 14px; color: var(--th-ink-soft); margin: 0; }
.th-detail__close {
  background: transparent; border: 1px solid var(--th-line-strong);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  transition: all .15s;
  flex-shrink: 0;
}
.th-detail__close:hover { background: var(--th-ink); color: var(--th-cream); border-color: var(--th-ink); }

.th-detail__price {
  padding: 28px 36px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  background: var(--th-cream-2);
}
.th-detail__priceMain {
  font-family: var(--th-serif); font-size: 44px; font-weight: 400;
  letter-spacing: -0.02em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.th-detail__pricePer { font-size: 13px; color: var(--th-ink-soft); margin-top: 4px; }
.th-detail__keyfacts {
  display: grid; grid-template-columns: repeat(4, auto);
  gap: 24px;
}
.th-detail__keyfacts > div { display: flex; flex-direction: column; }
.th-detail__keyfacts strong {
  font-family: var(--th-serif); font-size: 26px; font-weight: 400;
  letter-spacing: -0.01em; line-height: 1;
}
.th-detail__keyfacts span { font-size: 11px; color: var(--th-ink-soft); margin-top: 4px; letter-spacing: 0.04em; }

.th-detail__tabs {
  display: flex; gap: 4px;
  padding: 0 36px;
  border-bottom: 1px solid var(--th-line);
  background: var(--th-cream);
  position: sticky; top: 0; z-index: 1;
}
.th-tab {
  background: none; border: none;
  padding: 16px 4px; margin-right: 28px;
  font-size: 14px; font-weight: 500;
  color: var(--th-ink-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.th-tab--active { color: var(--th-ink); border-bottom-color: var(--th-ink); }

.th-detail__body { padding: 28px 36px; flex: 1; }

.th-detail__plan { display: grid; grid-template-columns: 1fr 220px; gap: 24px; }
.th-detail__planImg {
  position: relative;
  background: var(--th-cream-2);
  border-radius: var(--th-radius);
  overflow: hidden;
  border: 1px solid var(--th-line);
}
.th-detail__planImg img { width: 100%; height: auto; display: block; }
.th-detail__planTag {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px; border-radius: 100px;
  background: var(--th-ink); color: var(--th-cream);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
}
.th-detail__planFacts { display: flex; flex-direction: column; gap: 0; }
.th-fact {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--th-line);
  font-size: 13px;
}
.th-fact span { color: var(--th-ink-soft); }
.th-fact strong { font-weight: 600; }

.th-detail__gallery { display: flex; flex-direction: column; gap: 12px; }
.th-detail__galleryMain {
  aspect-ratio: 16 / 10;
  border-radius: var(--th-radius);
  overflow: hidden;
  background: var(--th-sand);
}
.th-detail__galleryMain img { width: 100%; height: 100%; object-fit: cover; }
.th-detail__galleryThumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.th-thumb {
  background: none; border: 2px solid transparent;
  border-radius: var(--th-radius-sm);
  overflow: hidden; padding: 0;
  aspect-ratio: 16 / 10;
  transition: all .15s;
}
.th-thumb img { width: 100%; height: 100%; object-fit: cover; }
.th-thumb--active { border-color: var(--th-ink); }

.th-detail__rooms { list-style: none; padding: 0; margin: 0; }
.th-detail__rooms li {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 12px; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--th-line);
  font-size: 15px;
}
.th-detail__roomDots {
  border-bottom: 1px dotted var(--th-line-strong);
  height: 1px;
}
.th-detail__rooms strong { font-variant-numeric: tabular-nums; font-weight: 600; }

.th-detail__amenities {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}
.th-detail__amenities li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.th-detail__amenities svg { color: var(--th-teal); flex-shrink: 0; }

.th-detail__foot {
  padding: 24px 36px;
  border-top: 1px solid var(--th-line);
  display: flex; justify-content: space-between; gap: 16px;
  background: var(--th-cream);
  position: sticky; bottom: 0;
}

/* ─── Contact ─── */
.th-contact { padding-bottom: 80px; }
.th-contact__grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 80px; align-items: flex-start;
}
.th-contact__channels {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 36px;
}
.th-contact__channels a {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--th-line);
  text-decoration: none; color: var(--th-ink);
  transition: all .15s;
}
.th-contact__channels a:hover { padding-left: 8px; }
.th-contact__channels a > svg { color: var(--th-teal); flex-shrink: 0; }
.th-contact__channels a > div { display: flex; flex-direction: column; gap: 2px; }
.th-contact__channels span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--th-ink-mute); font-weight: 600; }
.th-contact__channels strong { font-size: 16px; font-weight: 600; }

.th-contact__form {
  background: var(--th-surface);
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius-lg);
  padding: 36px;
}
.th-contact__steps {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  font-size: 13px;
}
.th-step {
  display: flex; align-items: center; gap: 8px;
  color: var(--th-ink-mute);
  font-weight: 500;
}
.th-step span {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--th-line); color: var(--th-ink-mute);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
}
.th-step--active { color: var(--th-ink); }
.th-step--active span { background: var(--th-ink); color: var(--th-cream); }
.th-step__line { flex: 1; height: 1px; background: var(--th-line); }

.th-contact__step { display: flex; flex-direction: column; gap: 18px; animation: fadeUp .4s ease; }
.th-field { display: flex; flex-direction: column; gap: 6px; }
.th-field > span { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--th-ink); }
.th-field input, .th-field select, .th-field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  background: var(--th-cream);
  border: 1px solid var(--th-line-strong);
  border-radius: var(--th-radius-sm);
  color: var(--th-ink);
  transition: all .15s;
  font-size: 15px;
}
.th-field input:focus, .th-field select:focus, .th-field textarea:focus {
  outline: none;
  border-color: var(--th-ink);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--th-teal) 20%, transparent);
}
.th-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.th-radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.th-radio {
  padding: 10px 16px; border-radius: 100px;
  border: 1px solid var(--th-line-strong);
  font-size: 13px; cursor: pointer;
  transition: all .15s;
}
.th-radio input { display: none; }
.th-radio--on { background: var(--th-ink); color: var(--th-cream); border-color: var(--th-ink); }

.th-contact__next { align-self: flex-end; }
.th-contact__actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.th-contact__fine { font-size: 11px; color: var(--th-ink-mute); margin: 4px 0 0; }

.th-contact__sent { text-align: center; padding: 30px 10px; animation: fadeUp .5s ease; }
.th-contact__sentIcon {
  width: 64px; height: 64px; border-radius: 50%;
  background: color-mix(in oklab, var(--th-teal) 20%, transparent);
  color: var(--th-teal-deep);
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.th-contact__sent h3 { font-family: var(--th-serif); font-size: 36px; font-weight: 400; letter-spacing: -0.02em; margin: 0 0 12px; }
.th-contact__sent p { color: var(--th-ink-soft); font-size: 15px; line-height: 1.55; margin: 0 auto 24px; max-width: 42ch; }

/* ─── Footer ─── */
.th-foot {
  background: var(--th-ink);
  color: var(--th-cream);
  padding: 64px 32px 32px;
  margin-top: 0;
}
.th-foot__inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.th-foot__brand h4 { font-family: var(--th-serif); font-size: 32px; font-weight: 400; letter-spacing: -0.02em; margin: 16px 0 8px; }
.th-foot__brand p { font-size: 14px; color: rgba(245,239,226,0.65); max-width: 36ch; line-height: 1.5; }
.th-foot__col h5 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,239,226,0.65); font-weight: 600; margin: 0 0 18px; }
.th-foot__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.th-foot__col a { color: var(--th-cream); text-decoration: none; font-size: 14px; opacity: 0.85; transition: opacity .15s; }
.th-foot__col a:hover { opacity: 1; }
.th-foot__legal {
  max-width: 1320px; margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(245,239,226,0.12);
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(245,239,226,0.5);
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Reveal-on-scroll utility */
.th-reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s ease; }
.th-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .th-hero__grid, .th-complex-grid, .th-browser, .th-contact__grid, .th-foot__inner { grid-template-columns: 1fr; gap: 32px; }
  .th-elev { position: static; }
  .th-detail__plan { grid-template-columns: 1fr; }
  .th-nav__links { display: none; }
}
