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

:root {
  /* Brand constants — used by the always-dark hero, footer, and red CTA */
  --black: #0A0A0A;
  --white: #F5F3EE;
  --warm:  #E8E4DB;
  --dim:   #9A9690;
  --red:   #D4401A;
  --dm:    'DM Sans', sans-serif;
  --pf:    'Playfair Display', serif;

  /* Theme tokens — default (light). Overridden by [data-theme="dark"] below. */
  --bg:        #F5F3EE;
  --fg:        #0A0A0A;
  --fg-soft:   #555555;
  --fg-dim:    #9A9690;
  --line:      rgba(0,0,0,0.10);
  --line-soft: rgba(0,0,0,0.08);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg:        #0A0A0A;
  --fg:        #F5F3EE;
  --fg-soft:   rgba(245,243,238,0.72);
  --fg-dim:    #8C8884;
  --line:      rgba(255,255,255,0.14);
  --line-soft: rgba(255,255,255,0.08);
  color-scheme: dark;
}

::selection { background: var(--red); color: var(--white); }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--dm);
  font-size: 16px;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  mix-blend-mode: difference;
}

.logo {
  font-family: var(--dm);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.nav-link:hover { opacity: 1; }

/* ── THEME TOGGLE (sun / moon) ── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.3s ease;
}

.theme-toggle:hover {
  border-color: var(--white);
  transform: rotate(-18deg);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Light mode → show moon (click to go dark). Dark mode → show sun. */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-bg-x {
  position: absolute;
  top: -10%;
  right: -8%;
  font-family: var(--dm);
  font-weight: 700;
  font-size: 55vw;
  line-height: 1;
  color: rgba(255,255,255,0.025);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}

.hero-top-label {
  position: absolute;
  top: 50%;
  right: 2.5rem;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

.hero-headline {
  font-family: var(--dm);
  font-size: clamp(5rem, 13vw, 13rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
  padding: 0 2.5rem;
  position: relative;
  z-index: 1;
}

.hero-headline .line-2 {
  display: block;
  padding-left: 8vw;
}

.hero-headline .line-3 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 3rem 2.5rem 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
}

.hero-desc {
  max-width: 36ch;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 1rem 1.75rem;
  transition: border-color 0.2s, background 0.2s;
}

.hero-cta:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--bg);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding-right: 4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.marquee-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION UTILITY ── */
.s-rule {
  width: 100%;
  height: 1px;
  background: var(--line);
}

/* ── INTRO ── */
.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 50vh;
}

.intro-left {
  border-right: 1px solid var(--line);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-index {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.intro-tagline {
  font-family: var(--pf);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.4;
  color: var(--fg);
  font-weight: 400;
}

.intro-right {
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
}

.intro-body {
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--fg-soft);
  font-weight: 300;
}

.intro-body strong {
  color: var(--fg);
  font-weight: 700;
}

/* ── STATEMENT ── */
.statement {
  padding: 10rem 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 1100px;
  margin: 0 auto;
}

.statement-text {
  font-family: var(--dm);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
}

.statement-text .accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}

/* ── SERVICES ── */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.service {
  padding: 3.5rem 2.5rem;
  border-right: 1px solid var(--line);
  position: relative;
}

.service:last-child { border-right: none; }

.service-num {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 3rem;
}

.service-name {
  font-family: var(--dm);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--fg-soft);
  font-weight: 300;
}

.service-price {
  margin-top: 2.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-price::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--red);
}

/* ── LOCATION ── */
.location-strip {
  background: var(--black);
  padding: 3rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.location-text {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.location-name {
  color: rgba(255,255,255,0.8);
}

/* ── CTA ── */
.cta-block {
  background: var(--red);
  padding: 7rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 440px);
  align-items: start;
  gap: 4rem;
}

.cta-text {
  font-family: var(--dm);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
}

.cta-text em {
  font-family: var(--pf);
  font-style: italic;
  font-weight: 400;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

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

.cta-form label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.cta-form label .opt { font-weight: 400; opacity: 0.6; }

.cta-form input,
.cta-form textarea {
  font-family: var(--dm);
  font-size: 0.95rem;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding: 0.5rem 0;
  width: 100%;
  border-radius: 0;
  transition: border-color 0.2s;
}

.cta-form textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(255,255,255,0.4); }

.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--white);
}

/* Honeypot — hidden from real users, catches bots */
.cta-form .hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.cta-submit {
  align-self: flex-start;
  margin-top: 0.25rem;
  font-family: var(--dm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 1rem 2rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.cta-submit:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.cta-submit:disabled { opacity: 0.55; cursor: default; }

.form-status {
  font-size: 0.8rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.6);
}

.form-status.success { color: var(--white); font-weight: 500; }
.form-status.error   { color: var(--black); font-weight: 500; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  font-family: var(--dm);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  .hero-headline { padding: 0 1.5rem; font-size: clamp(3.5rem, 15vw, 6rem); }
  .hero-foot { padding: 2rem 1.5rem 0; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .hero-top-label { display: none; }
  .intro { grid-template-columns: 1fr; }
  .intro-left { border-right: none; border-bottom: 1px solid var(--line); padding: 3rem 1.5rem; }
  .intro-right { padding: 3rem 1.5rem; }
  .statement { padding: 6rem 1.5rem; }
  .services { grid-template-columns: 1fr; }
  .service { border-right: none; border-bottom: 1px solid var(--line); padding: 2.5rem 1.5rem; }
  .cta-block { grid-template-columns: 1fr; padding: 5rem 1.5rem; }
  .location-strip { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  footer { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
