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

:root {
  color-scheme: dark;
  --ink-950: #121110;
  --ink-900: #191816;
  --ink-800: #252321;
  --ink-700: #35322f;
  --stone-100: #f1ede5;
  --stone-200: #e4ddd1;
  --stone-300: #c9beaa;
  --stone-400: #ab9a84;
  --ivory: #f7f3ec;
  --muted: #b4aa9a;
  --text-dark: #2d2925;
  --accent: #c5a16b;
  --accent-strong: #d4b07c;
  --border-light: rgba(44, 39, 33, 0.14);
  --border-dark: rgba(255, 248, 238, 0.16);
  --shadow-lg: 0 24px 70px rgba(14, 11, 8, 0.24);
  --shadow-md: 0 18px 48px rgba(18, 15, 12, 0.18);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --container: min(1200px, calc(100vw - 40px));
  --topbar-height: 42px;
  --header-height: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: calc(var(--topbar-height) + var(--header-height));
  background: var(--ink-900);
  color: var(--ivory);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

.page {
  position: relative;
  overflow: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(17, 16, 14, 0.96);
  border-bottom: 1px solid rgba(255, 248, 238, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.topbar-inner {
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-copy,
.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.72);
}

.topbar-links a {
  transition: color 0.2s ease;
}

.topbar-links a:hover {
  color: var(--accent-strong);
}

.header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: 55;
  background: rgba(23, 21, 19, 0.9);
  border-bottom: 1px solid rgba(255, 248, 238, 0.08);
  backdrop-filter: blur(16px);
  transition: top 0.35s ease, background 0.35s ease, min-height 0.35s ease;
}

body.is-scrolled .topbar {
  transform: translateY(-100%);
  opacity: 0;
}

body.is-scrolled .header {
  top: 0;
  background: rgba(18, 16, 14, 0.96);
}

.nav {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 176, 124, 0.45);
  color: var(--accent-strong);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo-type {
  display: grid;
  gap: 2px;
}

.logo-label,
.section-kicker,
.eyebrow,
.card-kicker {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.logo-label {
  color: rgba(247, 243, 236, 0.55);
}

.logo-name {
  font-family: "Dosis", Arial, sans-serif;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.nav-links a {
  position: relative;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.76);
  transition: color 0.2s ease;
}

.nav-links a + a::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ivory);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  border: 1px solid rgba(255, 248, 238, 0.18);
  padding: 10px 16px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  /* no lift — flip buttons handle their own motion */
}

.btn-primary {
  background: var(--accent);
  color: var(--ink-950);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  border-color: rgba(255, 248, 238, 0.22);
  color: var(--ivory);
}

.btn-ghost:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

.btn-text {
  padding: 0;
  min-height: auto;
  border: 0;
  justify-content: flex-start;
  color: inherit;
}

.btn-text::after {
  content: "\2192";
  transition: transform 0.25s ease;
}

.btn-text:hover::after {
  transform: translateX(4px);
}

.page-hero,
.section-image {
  position: relative;
  isolation: isolate;
}

.page-hero-overlay,
.section-image::before {
  position: absolute;
  inset: 0;
  content: "";
}

.page-hero-content,
.section-image > .container {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.card-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-strong);
}

.page-hero h1,
.section-heading h2,
.cta-copy h2,
.legal-card h2,
.legal-card h3 {
  font-family: "Dosis", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 110px) 0;
}

.section-light {
  background: var(--stone-100);
  color: var(--text-dark);
}

.section-dark {
  background: linear-gradient(180deg, #1b1917, #141311);
  color: var(--ivory);
}

.section-image {
  background: #141311;
  color: var(--ivory);
}

.section-image::before {
  background-image:
    linear-gradient(180deg, rgba(11, 10, 9, 0.62), rgba(11, 10, 9, 0.86)),
    var(--section-image);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.section-heading p,
.cta-copy p,
.legal-card p,
.legal-content li,
.timeline-item p,
.stat span {
  margin: 0;
  color: inherit;
}

.section-light .section-heading p,
.section-light .legal-card p,
.section-light .legal-content li,
.section-light .timeline-item p,
.section-light .stat span,
.section-light .footer-note {
  color: rgba(45, 41, 37, 0.76);
}

.section-dark .section-heading p,
.section-dark .legal-card p,
.section-dark .stat span,
.section-image .section-heading p,
.section-image .stat span {
  color: rgba(247, 243, 236, 0.76);
}

.editorial-grid,
.stack-grid,
.portfolio-grid,
.gallery-grid,
.process-grid {
  display: grid;
  gap: 22px;
}

.editorial-grid-3,
.stack-grid,
.gallery-grid,
.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-card,
.cta-copy h2,
.legal-card h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 16px;
}

.cta-panel {
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-lg);
}
.legal-card:hover,
.cta-panel:hover {
  transform: translateY(-4px);
}

.legal-card,
.legal-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-number {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: "Dosis", Arial, sans-serif;
  font-size: 2.7rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
}

.cta-copy h2,
.legal-card h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 16px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  gap: 28px;
  padding: clamp(28px, 4vw, 42px);
}

.cta-form,
.contact-form {
  display: grid;
  gap: 14px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer {
  background: linear-gradient(180deg, #13110f, #0f0e0d);
  color: rgba(247, 243, 236, 0.84);
  padding-top: 78px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(180px, 1fr));
  gap: 28px;
}

.footer-block h3 {
  margin: 0 0 14px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.footer-block p {
  margin: 0;
  color: rgba(247, 243, 236, 0.72);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(247, 243, 236, 0.72);
}

.footer-list a {
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: var(--accent-strong);
}

.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 20px 0 34px;
  border-top: 1px solid rgba(255, 248, 238, 0.08);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.5);
}

.page-hero {
  min-height: 640px;
  display: grid;
  align-items: end;
  background-image: var(--page-image);
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.26), rgba(11, 10, 9, 0.84)),
    linear-gradient(90deg, rgba(11, 10, 9, 0.72), rgba(11, 10, 9, 0.2));
}

.page-hero-content {
  padding: clamp(72px, 10vw, 118px) 0 54px;
  max-width: 760px;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.page-hero p {
  margin: 18px 0 0;
  max-width: 640px;
  color: rgba(247, 243, 236, 0.8);
}

.contact-list li {
  display: grid;
  gap: 4px;
}

.contact-list span {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(45, 41, 37, 0.55);
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(45, 41, 37, 0.12);
}

.timeline-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.timeline-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(197, 161, 107, 0.6);
  color: var(--accent);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.legal-meta-item {
  padding: 18px;
  border: 1px solid rgba(255, 248, 238, 0.12);
  background: rgba(17, 15, 13, 0.44);
  backdrop-filter: blur(10px);
}

.legal-meta-item span {
  display: block;
  margin-bottom: 6px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.legal-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.legal-card ul,
.legal-content ul,
.legal-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.legal-list {
  list-style: none;
  padding-left: 0;
}

.legal-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 10px;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (max-width: 1120px) {
  .nav {
    grid-template-columns: auto auto;
    grid-template-areas:
      "logo toggle"
      "nav nav"
      "actions actions";
    gap: 18px;
    padding: 18px 0;
  }

  .logo {
    grid-area: logo;
  }

  .mobile-toggle {
    grid-area: toggle;
    display: inline-flex;
    justify-self: end;
  }

  .nav-links {
    grid-area: nav;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 6px;
  }

  .nav-actions {
    grid-area: actions;
    justify-content: flex-start;
  }
  .portfolio-grid,
  .gallery-grid,
  .editorial-grid-3,
  .stack-grid,
  .process-grid,
  .footer-main,
  .legal-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-panel,
  .section-heading,
  .editorial-grid-2,
  

  .section-heading {
    align-items: start;
  }

  
}

@media (max-width: 820px) {
  :root {
    --topbar-height: 64px;
  }

  body {
    padding-top: calc(var(--topbar-height) + var(--header-height));
  }

  .topbar-inner {
    padding: 10px 0;
    align-items: flex-start;
  }

  .topbar-inner,
  .topbar-copy,
  .topbar-links {
    display: grid;
    gap: 8px;
  }

  .nav {
    min-height: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--topbar-height) + var(--header-height));
    left: 20px;
    right: 20px;
    padding: 18px;
    background: rgba(18, 16, 14, 0.98);
    border: 1px solid rgba(255, 248, 238, 0.12);
    box-shadow: var(--shadow-lg);
  }

  .nav-links a + a::before {
    display: none;
  }

  body.nav-open .nav-links {
    display: grid;
    gap: 14px;
  }

  body.is-scrolled .nav-links {
    top: var(--header-height);
  }

  .nav-actions {
    display: none;
  }

  .hero h1 {
    max-width: none;
  }
  .portfolio-grid,
  .gallery-grid,
  .editorial-grid-3,
  .stack-grid,
  .process-grid,
  .legal-meta {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-block.footer-brand {
    grid-column: 1 / -1;
  }

  .hero-content {
    padding-top: clamp(60px, 10vw, 96px);
    padding-bottom: clamp(32px, 5vw, 56px);
  }

  .page-hero-content {
    padding-top: clamp(48px, 8vw, 80px);
    padding-bottom: 40px;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: calc(var(--topbar-height) + var(--header-height));
  }

  .header {
    top: var(--topbar-height);
  }

  .logo-name {
    font-size: 1.3rem;
  }

  .hero-content {
    padding-top: 84px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-block.footer-brand {
    grid-column: auto;
  }

  .footer {
    padding-top: 48px;
  }

  .footer-note {
    flex-direction: column;
  }

  

  

  
}

@media (max-width: 480px) {
  .topbar {
    display: none;
  }

  body {
    padding-top: var(--header-height);
  }

  .header {
    top: 0;
  }
}

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

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Portal styles are self-contained in portal.html */

/* ─── Both / Combined view ──────────────────────────────────────── */

body.both-page {
  padding-top: 0;
}

.both-section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(36px, 5vw, 56px) 0 clamp(28px, 4vw, 44px);
}

.both-section-divider::before,
.both-section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 248, 238, 0.1);
}

.both-section-label {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-strong);
  white-space: nowrap;
}

.both-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 16, 14, 0.96);
  border-bottom: 1px solid rgba(255, 248, 238, 0.08);
  backdrop-filter: blur(14px);
}

.both-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  gap: 16px;
}

.both-nav-title {
  font-family: "Dosis", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.55);
}

.both-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.both-nav-links a {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.55);
  transition: color 0.2s ease;
}

.both-nav-links a:hover {
  color: var(--accent-strong);
}

/* ─── Motion additions (Prompt B) ─────────────────────────────────────── */

/* Form feedback messages */
.form-feedback {
  padding: 14px 20px;
  margin-bottom: 20px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-left: 3px solid;
}

.form-feedback--success {
  background: rgba(197, 161, 107, 0.08);
  border-color: var(--accent-strong);
  color: var(--ivory);
}

.form-feedback--error {
  background: rgba(220, 80, 80, 0.08);
  border-color: rgba(220, 80, 80, 0.7);
  color: rgba(247, 243, 236, 0.85);
}

/* Ken Burns — set initial background-size so GSAP can animate it */
.page-hero {
  background-size: 100%;
  will-change: background-size;
}

/* Magnetic button — prevent layout shift during translate */
.btn-primary {
  will-change: transform;
}

/* Process number accent color baseline */
.process-number {
  color: var(--accent-strong);
  will-change: color;
}

/* ── Laser etch process timeline ──────────────────────────────────── */
.laser-process {
  background: var(--ink-900);
  padding: clamp(72px, 10vw, 120px) 0;
  overflow: hidden;
}

.laser-process-header {
  margin-bottom: clamp(48px, 7vw, 80px);
}

.laser-process-header h2 {
  font-family: "Dosis", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--ivory);
  margin: 0;
  line-height: 1.05;
}

/* Track */
.laser-track-wrap {
  position: relative;
}

.laser-track {
  position: absolute;
  top: 35px; /* vertically center on the 72px node */
  left: 36px; /* start at center of first node */
  right: 36px; /* end at center of last node */
  height: 1px;
  background: rgba(197, 161, 107, 0.1);
  overflow: visible;
}

.laser-beam {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 0%;
  background: linear-gradient(
    90deg,
    rgba(197, 161, 107, 0.15) 0%,
    rgba(197, 161, 107, 0.6) 70%,
    rgba(212, 176, 124, 0.9) 100%
  );
  box-shadow: 0 0 4px rgba(197, 161, 107, 0.4);
}

.laser-tip {
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  box-shadow:
    0 0 4px 2px rgba(255, 255, 255, 0.9),
    0 0 10px 4px rgba(212, 176, 124, 0.8),
    0 0 22px 8px rgba(197, 161, 107, 0.4);
}

/* Steps */
.laser-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.laser-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Node */
.laser-node {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(197, 161, 107, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  background: var(--ink-900);
  position: relative;
  transition: border-color 0.3s ease, background 0.3s ease,
              box-shadow 0.3s ease;
}

/* Node activated state */
.laser-node.lit {
  border-color: var(--accent-strong);
  background: rgba(197, 161, 107, 0.05);
  box-shadow:
    0 0 0 1px rgba(197, 161, 107, 0.08),
    0 0 14px rgba(197, 161, 107, 0.12);
}

.laser-num {
  font-family: "Dosis", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(197, 161, 107, 0.25);
  transition: color 0.3s ease;
}

.laser-node.lit .laser-num {
  color: var(--accent-strong);
}

/* Step body */
.laser-body {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.laser-body.visible {
  opacity: 1;
  transform: translateY(0);
}

.laser-body h3 {
  font-family: "Dosis", Arial, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  margin: 0 0 10px;
}

.laser-body p {
  font-size: 0.84rem;
  color: rgba(247, 243, 236, 0.48);
  line-height: 1.72;
  max-width: 26ch;
  margin: 0 auto;
}

/* Mobile — vertical stack */
@media (max-width: 820px) {
  .laser-track {
    display: none;
  }

  .laser-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .laser-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 24px;
  }

  .laser-node {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .laser-body {
    opacity: 1;
    transform: none;
    padding-top: 14px;
  }

  .laser-body p {
    max-width: none;
    margin: 0;
  }

  .laser-node.lit {
    border-color: var(--accent-strong);
  }
}

@media (prefers-reduced-motion: reduce) {
  .laser-beam {
    width: 100% !important;
  }
  .laser-tip {
    display: none;
  }
  .laser-node {
    border-color: var(--accent-strong) !important;
  }
  .laser-num {
    color: var(--accent-strong) !important;
  }
  .laser-body {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Editorial redesign (anti-slop pass) ──────────────────────────── */

/* Logo — label removed, name only */
.logo-label {
  display: none;
}

.logo-type {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Section heading — editorial style */
.td-section-head {
  display: flex;
  align-items: baseline;
  gap: 28px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.td-section-eye {
  color: var(--accent-strong);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 6px;
  display: block;
  margin-bottom: 12px;
}

.td-section-head h2 {
  font-family: "Dosis", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: var(--ivory);
  margin: 0;
  line-height: 0.95;
}

/* View project button — slash style */
.td-btn-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-strong);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.td-btn-view::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-strong);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-btn-view:hover::before {
  width: 100%;
}

.td-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-btn-view:hover .td-arrow {
  transform: translateX(5px);
}

/* ── Furniture portfolio grid — asymmetric editorial ─────────────── */
.td-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 3px;
}

.td-pcard {
  overflow: hidden;
  position: relative;
  background: var(--ink-800);
}

/* Default: 4 columns wide */
.td-pcard:nth-child(1) { grid-column: span 7; }
.td-pcard:nth-child(2) { grid-column: span 5; }
.td-pcard:nth-child(3) { grid-column: span 5; }
.td-pcard:nth-child(4) { grid-column: span 7; }

.td-pcard-img {
  overflow: hidden;
  width: 100%;
}

.td-pcard-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-pcard--featured .td-pcard-img img {
  height: 420px;
}

.td-pcard--wide .td-pcard-img img {
  height: 380px;
}

.td-pcard:hover .td-pcard-img img {
  transform: scale(1.04);
}

.td-pcard-caption {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 248, 238, 0.06);
}

.td-pcard-cat {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.td-pcard-caption h3 {
  font-family: "Dosis", Arial, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory);
  margin: 0;
  line-height: 1.1;
}

.td-pcard-caption p {
  font-size: 0.8rem;
  color: rgba(247, 243, 236, 0.48);
  margin: 0 0 8px;
  line-height: 1.6;
}

/* ── Exhibits gallery grid — editorial mixed sizes ───────────────── */
.td-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
}

.td-gcard {
  overflow: hidden;
  position: relative;
  background: var(--ink-800);
  grid-column: span 4;
}

.td-gcard--wide {
  grid-column: span 8;
}

.td-gcard--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.td-gcard img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-gcard--tall img {
  height: 100%;
  min-height: 560px;
}

.td-gcard--wide img {
  height: 320px;
}

.td-gcard:hover img {
  transform: scale(1.04);
}

.td-gcap {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 248, 238, 0.06);
}

.td-gcap strong {
  font-family: "Dosis", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
  display: block;
}

.td-gcap p {
  font-size: 0.75rem;
  color: rgba(247, 243, 236, 0.45);
  margin: 0 0 8px;
  line-height: 1.5;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .td-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }

  .td-pcard,
  .td-pcard:nth-child(1),
  .td-pcard:nth-child(2),
  .td-pcard:nth-child(3),
  .td-pcard:nth-child(4) {
    grid-column: span 1;
  }

  .td-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .td-gcard,
  .td-gcard--wide,
  .td-gcard--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .td-gcard--tall img {
    height: 280px;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .td-portfolio-grid,
  .td-gallery-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .td-pcard,
  .td-pcard:nth-child(1),
  .td-pcard:nth-child(2),
  .td-pcard:nth-child(3),
  .td-pcard:nth-child(4),
  .td-gcard,
  .td-gcard--wide,
  .td-gcard--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ── TD Form — spec sheet style ─────────────────────────────────── */
.td-form {
  display: grid;
  gap: 0;
}

.td-field {
  position: relative;
  padding-top: 22px;
  margin-bottom: 32px;
}

.td-field--textarea {
  margin-bottom: 36px;
}

.td-label {
  display: block;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.td-optional {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: none;
}

.td-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(45, 41, 37, 0.22);
  padding: 8px 0 10px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
}

.td-input:focus {
  border-color: var(--accent);
}

.td-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.7;
}

.td-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-strong);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.td-field:focus-within .td-line {
  width: 100%;
}

.td-field:focus-within .td-label {
  color: var(--accent-strong);
}

/* Section light override for form inputs */
.section-light .td-input {
  color: var(--text-dark);
  border-bottom-color: rgba(45, 41, 37, 0.22);
}

.section-light .td-input:focus {
  border-color: var(--accent);
}

/* ── Flip button ─────────────────────────────────────────────────── */
.td-flip-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  background: var(--accent);
  color: var(--ink-900);
  border: none;
  cursor: pointer;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  perspective: 600px;
  transform-style: preserve-3d;
  overflow: hidden;
  will-change: transform;
  width: 100%;
  margin-top: 8px;
}

.td-flip-front,
.td-flip-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 32px;
}

.td-flip-back {
  background: var(--accent-strong);
  transform: rotateX(-90deg);
  transform-origin: center bottom;
}

.td-flip-front {
  transform: rotateX(0deg);
  transform-origin: center top;
}

.td-flip-btn:hover .td-flip-front {
  transform: rotateX(90deg);
}

.td-flip-btn:hover .td-flip-back {
  transform: rotateX(0deg);
}

/* Apply flip to all .btn-primary on hover as well */
.btn-primary {
  position: relative;
  overflow: hidden;
  perspective: 600px;
}

/* ── TD Modal — cinematic enlarged ──────────────────────────────── */
.td-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: rgba(8, 7, 6, 0.88);
  backdrop-filter: blur(10px);
}

.td-modal.active {
  display: flex;
}

.td-modal-content {
  width: min(1100px, 100%);
  background: #13110f;
  border: 1px solid rgba(197, 161, 107, 0.16);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto;
  box-shadow: 0 48px 120px rgba(0, 0, 0, 0.6);
}

.td-modal-img-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--ink-800);
}

.td-modal-img {
  width: 100%;
  height: clamp(300px, 48vh, 520px);
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.td-modal-info {
  padding: 28px 36px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 32px;
  align-items: start;
}

.td-modal-meta {
  grid-column: 1 / -1;
}

.td-modal-tags {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}

.td-modal-title {
  font-family: "Dosis", Arial, sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory);
  margin: 0;
  line-height: 1.02;
}

.td-modal-desc {
  font-size: 0.86rem;
  color: rgba(247, 243, 236, 0.52);
  margin: 0;
  line-height: 1.75;
  max-width: 52ch;
  grid-column: 1 / -1;
}

.td-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  border-top: 1px solid rgba(197, 161, 107, 0.08);
}

.td-modal-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.td-modal-prev,
.td-modal-next {
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(197, 161, 107, 0.2);
  color: var(--accent-strong);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.td-modal-prev:hover,
.td-modal-next:hover {
  border-color: var(--accent-strong);
  background: rgba(197, 161, 107, 0.06);
}

.td-modal-counter {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(247, 243, 236, 0.28);
  min-width: 40px;
  text-align: center;
}

.td-modal-close {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.38);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 8px 0;
}

.td-modal-close:hover {
  color: var(--ivory);
}

@media (max-width: 640px) {
  .td-modal-info {
    padding: 20px 20px 16px;
    grid-template-columns: 1fr;
  }

  .td-modal-bar {
    padding: 14px 20px;
  }

  .td-modal-img {
    height: 52vw;
    min-height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .td-flip-front,
  .td-flip-back {
    transition: none;
  }
}

/* ── TD Mosaic hero ─────────────────────────────────────────────── */
.td-mosaic-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.td-mosaic-grid {
  position: absolute;
  inset: -400%;
  width: 900%;
  height: 900%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 0;
  z-index: 0;
  transform-origin: center center;
  animation: tdMosaicIntro 5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

@keyframes tdMosaicIntro {
  0%   { transform: scale(1) translate(0, 0); }
  25%  { transform: scale(0.15) translate(0, 0); }
  100% { transform: scale(1) translate(0, 0); }
}

.td-mosaic-cell {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

.td-mosaic-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(11, 10, 9, 0.18) 0%,
      rgba(11, 10, 9, 0.48) 40%,
      rgba(11, 10, 9, 0.86) 100%),
    linear-gradient(90deg,
      rgba(11, 10, 9, 0.65) 0%,
      rgba(11, 10, 9, 0.18) 55%,
      rgba(11, 10, 9, 0.65) 100%);
  z-index: 1;
}

.td-mosaic-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: clamp(48px, 8vw, 80px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.td-mosaic-content h1 {
  font-family: "Dosis", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  color: var(--ivory);
  max-width: none;
}

.td-mosaic-content p {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(247, 243, 236, 0.78);
  margin: 0 0 32px;
  max-width: 52ch;
  text-align: center;
}

.td-mosaic-content .hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.td-mosaic-content .eyebrow {
  text-align: center;
}

@media (max-width: 640px) {
  .td-mosaic-hero {
    min-height: 520px;
  }

  .td-mosaic-content {
    padding-top: 72px;
  }

  .td-mosaic-grid {
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .td-mosaic-grid {
    animation: none;
  }
}

/* ── Industrial Preloader ───────────────────────────────────────── */
#td-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  background: transparent;
}

.tdpl-page-cover {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 2px;
  background: #121110;
  z-index: 0;
}

.tdpl-tile {
  background-color: #121110;
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 1, 1),
              opacity 0.5s ease-in;
  will-change: transform, opacity;
}

.tdpl-tile--fall {
  opacity: 0;
}

.tdpl-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 260px;
}

/* Level line */
.tdpl-level-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c5a16b, transparent);
  margin-bottom: 32px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tdpl-level-line.tdpl-line--in {
  width: 100%;
}

/* TD Mark — drops from above */
.tdpl-mark {
  width: 120px;
  height: auto;
  opacity: 0;
  transform: translateY(-60px);
  transition:
    transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
    opacity 0.25s ease;
  margin-bottom: 20px;
}

.tdpl-mark.tdpl-mark--in {
  opacity: 1;
  transform: translateY(0);
}

.tdpl-stroke {
  filter: drop-shadow(0 0 4px rgba(212, 176, 124, 0.5));
}

/* Wordmark — rises from below */
.tdpl-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
  margin-bottom: 36px;
}

.tdpl-wordmark.tdpl-wordmark--in {
  opacity: 1;
  transform: translateY(0);
}

.tdpl-name {
  font-family: 'Dosis', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #f7f3ec;
  text-transform: uppercase;
}

.tdpl-sub {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  color: rgba(197, 161, 107, 0.5);
  text-transform: uppercase;
}

/* Progress track */
.tdpl-progress-track {
  width: 100%;
  height: 1px;
  background: rgba(197, 161, 107, 0.12);
  position: relative;
  overflow: visible;
}

.tdpl-progress-bar {
  height: 1px;
  width: 0%;
  background: #c5a16b;
  box-shadow: 0 0 6px rgba(197, 161, 107, 0.5);
  position: relative;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.tdpl-progress-bar.tdpl-bar--fill {
  width: 100%;
}

.tdpl-progress-tip {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 4px 1px rgba(255, 255, 255, 0.9),
    0 0 10px 3px rgba(212, 176, 124, 0.8);
  opacity: 0;
  transition: opacity 0.1s ease;
}

.tdpl-bar--fill .tdpl-progress-tip {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #td-preloader {
    display: none;
  }
}

/* ── CTA Section ───────────────────────────────────────────────── */
.td-cta-section {
  position: relative;
  background: #121110;
  padding: clamp(80px, 12vw, 140px) 0;
  overflow: hidden;
}

.td-cta-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(8rem, 22vw, 18rem);
  letter-spacing: 0.06em;
  color: rgba(197, 161, 107, 0.04);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.td-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.td-cta-eye {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.td-cta-heading {
  font-family: "Dosis", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  color: var(--ivory);
  margin: 0 0 16px;
  line-height: 1.0;
}

.td-cta-sub {
  font-size: 0.88rem;
  color: rgba(247, 243, 236, 0.45);
  margin: 0;
  max-width: 40ch;
}

.td-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex-shrink: 0;
}

.td-cta-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 56px;
  background: var(--accent);
  color: #121110;
  text-decoration: none;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
  perspective: 800px;
  will-change: transform;
}

.td-cta-btn .td-flip-front,
.td-cta-btn .td-flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-cta-btn .td-flip-back {
  background: var(--accent-strong);
  transform: rotateX(-90deg);
  transform-origin: center bottom;
}

.td-cta-btn .td-flip-front {
  transform: rotateX(0deg);
  transform-origin: center top;
}

.td-cta-btn:hover .td-flip-front {
  transform: rotateX(90deg);
}

.td-cta-btn:hover .td-flip-back {
  transform: rotateX(0deg);
}

.td-cta-link {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.3);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.td-cta-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-cta-link:hover {
  color: var(--accent);
}

.td-cta-link:hover::after {
  width: 100%;
}

@media (max-width: 820px) {
  .td-cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .td-cta-action {
    align-items: flex-start;
  }

  .td-cta-btn {
    min-width: 200px;
  }
}

/* ── Logo wordmark (text fallback) ─────────────────────────────── */
.logo-wordmark {
  font-family: "Cormorant", serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.92;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.logo-wordmark:hover {
  opacity: 1;
}

/* ── Real logo image (kept for reference) ───────────────────────── */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  mix-blend-mode: lighten;
  opacity: 0.92;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.logo-img:hover {
  opacity: 1;
}

.logo-mark {
  display: none;
}