/* ==========================================================
   DT PROPERTY IMPROVEMENTS
   Public website styles (staff pages keep using style.css)
   ========================================================== */

/* ===== Tokens ===== */
:root {
  --black: #070707;
  --ink: #0e0e0e;
  --graphite: #171717;
  --line: rgba(255, 255, 255, 0.13);
  --line-dark: rgba(10, 10, 10, 0.16);
  --paper: #f3f0ea;
  --paper-2: #e9e5dc;
  --text: #0d0d0d;
  --text-muted: #5b5851;
  --white: #f6f4ef;
  --muted: rgba(246, 244, 239, 0.68);
  --red: #d3131b;
  --red-hot: #ff4a51;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading, body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.02; letter-spacing: -0.01em; }
em { font-style: italic; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }
section[id] { scroll-margin-top: 4.5rem; }

.skip {
  position: fixed; left: 1rem; top: -5rem; z-index: 300;
  background: var(--red); color: #fff; padding: 0.7rem 1rem; text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--red-hot);
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; flex: none; }

.section-light { background: var(--paper); color: var(--text); }
.section-light .eyebrow { color: var(--red); }
.section-light em { color: var(--red); }
.section-dark em { color: var(--red-hot); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem;
  padding: 1.05rem 1.8rem; border: 1px solid transparent; border-radius: 0;
  font: 600 0.74rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #ee1a23; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline-dark { border-color: rgba(10, 10, 10, 0.4); color: var(--text); background: transparent; }
.btn-outline-dark:hover { background: var(--text); color: #fff; }
.btn-sm { padding: 0.85rem 1.3rem; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* ===== Scroll reveal ===== */
.js .rv {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .rv.is-in { opacity: 1; transform: none; }

/* ===== Intro ===== */
.intro {
  position: fixed; inset: 0; z-index: 200; background: var(--black);
  display: grid; place-items: center;
  transition: transform 1.05s var(--ease), visibility 0s 1.05s;
}
.intro.is-done { transform: translateY(-100%); visibility: hidden; }
.intro.is-skipped { display: none; }
.intro-mark { display: grid; justify-items: center; gap: 1.2rem; text-align: center; }
.intro-dt {
  font-family: var(--serif); font-size: clamp(5.5rem, 17vw, 10rem); line-height: 0.85; color: #fff;
  opacity: 0; transform: translateY(26px); animation: introIn 1s 0.15s var(--ease) forwards;
}
.intro-sub {
  font-size: 0.7rem; letter-spacing: 0.42em; font-weight: 500; color: var(--muted);
  opacity: 0; animation: introFade 0.9s 0.6s ease forwards;
}
.intro-line {
  position: absolute; left: 50%; bottom: 24%; width: min(220px, 40vw); height: 1px; background: var(--red);
  transform: translateX(-50%) scaleX(0); transform-origin: left center;
  animation: introLine 1.2s 0.5s var(--ease) forwards;
}
@keyframes introIn { to { opacity: 1; transform: none; } }
@keyframes introFade { to { opacity: 1; } }
@keyframes introLine { to { transform: translateX(-50%) scaleX(1); } }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s, border-color 0.5s, transform 0.9s var(--ease), backdrop-filter 0.5s;
}
.js .site-header { transform: translateY(-100%); }
.js body.is-ready .site-header { transform: none; }
.site-header.is-solid {
  background: rgba(7, 7, 7, 0.88); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand-dt { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: #fff; }
.brand-text {
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; line-height: 1.55;
  color: var(--muted); border-left: 1px solid var(--red); padding-left: 0.85rem;
}
.main-nav { display: flex; align-items: center; gap: 2.4rem; margin-left: auto; }
.main-nav a {
  position: relative; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: rgba(255, 255, 255, 0.82); padding: 0.4rem 0; transition: color 0.3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red-hot);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }

.menu-btn {
  display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  margin-right: -0.5rem; z-index: 160;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 1px; background: #fff;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
body.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--black);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--gutter) 3rem;
  opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s 0.5s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s ease; }
.menu nav { display: grid; gap: 0.2rem; }
.menu nav a {
  font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.15; text-decoration: none;
  opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open nav a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open nav a:nth-child(4) { transition-delay: 0.15s; }
.menu.is-open nav a:nth-child(5) { transition-delay: 0.2s; }
.menu nav a:hover { color: var(--red-hot); }
.menu-foot { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; color: var(--muted); font-size: 0.95rem; }
.menu-foot a { text-decoration: none; color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; background: var(--black); }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.09); transition: opacity 1.8s ease, transform 9s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.6) 0%, rgba(7, 7, 7, 0.2) 38%, rgba(7, 7, 7, 0.86) 100%),
    linear-gradient(90deg, rgba(7, 7, 7, 0.72) 0%, rgba(7, 7, 7, 0) 72%);
}
.hero-inner { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 9rem var(--gutter) 3.2rem; }
.hero-title { font-size: clamp(3.1rem, 7.3vw, 7.2rem); line-height: 0.95; margin: 1.5rem 0 1.9rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .line > span { display: block; }
.hero-title .line-muted { color: rgba(255, 255, 255, 0.5); font-style: italic; }
.js .hero-title .line > span { transform: translateY(108%); transition: transform 1.2s var(--ease); }
.js body.is-ready .hero-title .line > span { transform: none; }
.js body.is-ready .hero-title .line:nth-child(2) > span { transition-delay: 0.14s; }
.hero-text { max-width: 36rem; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.js .hero-fade { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js body.is-ready .hero-fade { opacity: 1; transform: none; }
.hero-foot {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 1.3rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
  position: relative;
}
.hero-foot::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, 0.2); }
.hero-counter b { color: #fff; font-weight: 600; }
.hero-scroll { display: inline-flex; align-items: center; gap: 0.8rem; color: inherit; text-decoration: none; }
.hero-scroll i { display: block; width: 1px; height: 2.2rem; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--red-hot); animation: scrollCue 2.2s ease-in-out infinite; }
@keyframes scrollCue { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* ===== Trust strip ===== */
.trust { background: var(--ink); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list li { padding: 2rem var(--gutter) 2rem 1.6rem; border-left: 1px solid var(--line); }
.trust-list li:first-child { border-left: 0; padding-left: var(--gutter); }
.trust-list strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; color: #fff; margin-bottom: 0.3rem; }
.trust-list span { font-size: 0.86rem; color: var(--muted); line-height: 1.5; display: block; }

/* ===== Statement ===== */
.statement { background: var(--black); padding: clamp(6rem, 14vw, 12rem) 0; }
.statement-text {
  font-family: var(--serif); font-size: clamp(2.1rem, 5.2vw, 4.6rem); line-height: 1.1; max-width: 22em; margin-top: 2rem; letter-spacing: -0.015em;
}
.statement-text .w { opacity: 0.2; transition: opacity 0.4s ease; }
.statement-text .w.is-lit { opacity: 1; }

/* ===== Section headings ===== */
.section-head { max-width: 60rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head h2 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); margin: 1.4rem 0 1.4rem; }
.section-head .lead { font-size: 1.08rem; max-width: 36rem; }
.section-light .lead { color: var(--text-muted); }
.section-dark .lead { color: var(--muted); }

/* ===== Services ===== */
.services { padding: clamp(5rem, 11vw, 9rem) 0; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.service-row {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1.1fr) minmax(0, 1.2fr) 3rem; align-items: center; gap: 2rem;
  padding: 2.3rem 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; position: relative;
  transition: background-color 0.4s;
}
.service-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: rgba(211, 19, 27, 0.05);
  opacity: 0; transition: opacity 0.4s; z-index: 0; pointer-events: none;
}
.service-row > * { position: relative; z-index: 1; }
.service-num { font-size: 0.78rem; letter-spacing: 0.2em; font-weight: 600; color: var(--red); }
.service-row h3 { font-size: clamp(1.9rem, 3.2vw, 3rem); transition: transform 0.5s var(--ease), color 0.3s; }
.service-row p { color: var(--text-muted); max-width: 30rem; }
.service-go { justify-self: end; font-size: 1.5rem; color: var(--text); transition: transform 0.5s var(--ease), color 0.3s; }
.service-row:hover::before { opacity: 1; }
.service-row:hover h3 { transform: translateX(12px); color: var(--red); }
.service-row:hover .service-go { transform: translateX(6px); color: var(--red); }

/* ===== DT in action ===== */
.process { background: var(--ink); padding: clamp(5rem, 11vw, 9rem) 0; border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 18.2; border-radius: 40px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 7px #151515, 0 0 0 8px rgba(255, 255, 255, 0.14), 0 50px 100px -30px rgba(0, 0, 0, 0.9);
}
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.78) 100%); pointer-events: none; }
.reel-ui { position: absolute; inset: 0; padding: 1.1rem 1rem 1.1rem; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.reel-bars { display: flex; gap: 4px; }
.reel-bar { flex: 1; height: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; border-radius: 2px; }
.reel-bar i { display: block; height: 100%; width: 0; background: #fff; }
.reel-bar.is-done i { width: 100%; }
.reel-bar.is-active i { animation: reelFill var(--seg, 5s) linear forwards; }
@keyframes reelFill { from { width: 0; } to { width: 100%; } }
.reel-head { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.8rem; }
.reel-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--serif); font-size: 1rem; color: #fff; flex: none; }
.reel-head strong { display: block; font-size: 0.78rem; font-weight: 600; line-height: 1.2; }
.reel-head span { display: block; font-size: 0.68rem; opacity: 0.75; line-height: 1.2; }
.reel-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.reel-caption strong { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.15rem; }
.reel-caption span { font-size: 0.78rem; opacity: 0.88; line-height: 1.4; display: block; }
.reel-icons { display: grid; gap: 0.9rem; }
.reel-icons svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.6; }

.process-copy h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 1.4rem 0 1.4rem; }
.process-copy .lead { color: var(--muted); max-width: 32rem; margin-bottom: 2.4rem; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; transition: color 0.3s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--red-hot); transition: transform 0.5s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--red-hot); }
.accordion details > :not(summary) { padding: 0 2.5rem 1.5rem 0; color: var(--muted); max-width: 34rem; }

/* ===== Projects (before / after) ===== */
.projects { padding: clamp(5rem, 11vw, 9rem) 0; background: var(--paper-2); }
.cases { display: grid; gap: clamp(4.5rem, 9vw, 8rem); }
.case { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.case:nth-child(even) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.case:nth-child(even) .case-copy { order: 2; }
.case-type { font-size: 0.72rem; letter-spacing: 0.24em; font-weight: 600; text-transform: uppercase; color: var(--red); margin-bottom: 1.1rem; display: flex; gap: 0.8rem; align-items: center; }
.case-type b { color: var(--text-muted); font-weight: 600; }
.case h3 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin-bottom: 1.1rem; }
.case p { color: var(--text-muted); max-width: 26rem; }

.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag {
  position: absolute; top: 1rem; z-index: 2; padding: 0.45rem 0.8rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(7, 7, 7, 0.78); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ba-tag-before { left: 1rem; }
.ba-tag-after { right: 1rem; background: var(--red); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 3; pointer-events: none; box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); }
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: #fff; color: var(--text); display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; touch-action: pan-y; }
.ba:focus-within { outline: 2px solid var(--red); outline-offset: 4px; }
.ba-hint {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 2; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.5rem 0.9rem; background: rgba(7, 7, 7, 0.78); color: #fff; pointer-events: none; transition: opacity 0.5s;
}
.ba.is-touched .ba-hint { opacity: 0; }
.projects-cta { margin-top: clamp(3.5rem, 7vw, 6rem); text-align: center; }

/* ===== About ===== */
.about { padding: clamp(5rem, 11vw, 9rem) 0; background: var(--black); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.about-side { position: sticky; top: 7rem; }
.about-side h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); margin: 1.4rem 0 2rem; }
.about-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.3; color: var(--muted); border-left: 1px solid var(--red); padding-left: 1.4rem; max-width: 24rem; }
.about-body { display: grid; gap: 1.4rem; color: var(--muted); font-size: 1.04rem; }
.about-lead { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.2; color: #fff; margin-bottom: 0.6rem; }
.values { list-style: none; margin: 2.4rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.values .v-num { font-size: 0.78rem; letter-spacing: 0.2em; font-weight: 600; color: var(--red-hot); padding-top: 0.5rem; }
.values h3 { font-size: 1.8rem; color: #fff; margin-bottom: 0.4rem; }
.values p { font-size: 0.98rem; }

/* ===== Contact ===== */
.contact { padding: clamp(5rem, 11vw, 9rem) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact-copy h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); margin: 1.4rem 0 1.6rem; }
.contact-copy .lead { color: var(--text-muted); max-width: 30rem; margin-bottom: 2.2rem; }
.contact-points { list-style: none; margin: 0 0 2.4rem; padding: 0; border-top: 1px solid var(--line-dark); }
.contact-points li { padding: 0.9rem 0; border-bottom: 1px solid var(--line-dark); font-size: 0.95rem; display: flex; gap: 0.9rem; align-items: center; }
.contact-points li::before { content: ""; width: 6px; height: 6px; background: var(--red); flex: none; }
.direct { display: grid; gap: 0.3rem; }
.direct small { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 0.4rem; }
.direct a { font-family: var(--serif); font-size: 1.9rem; line-height: 1.25; text-decoration: none; transition: color 0.3s; }
.direct a span { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-right: 0.8rem; }
.direct a:hover { color: var(--red); }

.form-card { position: relative; background: var(--black); color: var(--white); padding: clamp(1.8rem, 4vw, 3.2rem); border-top: 2px solid var(--red); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5); }
.form-card h3 { font-size: 2rem; margin-bottom: 0.4rem; }
.form-card .form-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.8rem; }
.form-grid { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.field label small { text-transform: none; letter-spacing: 0.02em; font-weight: 400; opacity: 0.8; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff; background: transparent;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); border-radius: 0; padding: 0.7rem 0; transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 1.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ffffff' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.2rem center;
}
.field select option { background: #161616; color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red-hot); }
.field .invalid, .field input.invalid, .field select.invalid, .field textarea.invalid { border-bottom-color: var(--red-hot); }
.form-submit { margin-top: 0.4rem; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-success { padding: clamp(1rem, 3vw, 2rem) 0; }
.form-success .eyebrow { margin-bottom: 1.4rem; }
.form-success h3 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
.form-success h3 em { color: var(--red-hot); }
.form-success p { color: var(--muted); max-width: 26rem; }

/* ===== Footer ===== */
.footer { background: #050505; border-top: 1px solid var(--line); padding: clamp(4rem, 8vw, 7rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.footer-brand h2 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.98; }
.footer-brand h2 em { color: var(--red-hot); }
.footer-brand p { margin-top: 1.4rem; color: var(--muted); max-width: 26rem; font-size: 0.96rem; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 2rem; align-content: start; }
.footer-nav a { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 0.3rem 0; transition: color 0.3s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.82rem; color: rgba(246, 244, 239, 0.5); }
.footer-credit { margin-top: 1.4rem; text-align: center; font-size: 0.8rem; letter-spacing: 0.06em; color: rgba(246, 244, 239, 0.5); }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: #fff; }

/* ===== WhatsApp floating button ===== */
.wa {
  position: fixed; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: max(1rem, env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: grid; justify-items: end; gap: 0.7rem;
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.5s, transform 0.5s var(--ease);
}
.wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.2rem; background: #0e0e0e; color: #fff; border: 1px solid rgba(255, 255, 255, 0.22);
  font: 600 0.7rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; border-radius: 999px;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.7); transition: border-color 0.3s, background-color 0.3s;
}
.wa-btn:hover { border-color: #25d366; }
.wa-btn svg { width: 20px; height: 20px; stroke: #25d366; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wa-panel { background: #0e0e0e; border: 1px solid rgba(255, 255, 255, 0.18); border-top: 2px solid #25d366; padding: 1.1rem 1.2rem; min-width: 16rem; box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.8); }
.wa-panel p { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.wa-panel a { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.7rem 0; border-top: 1px solid var(--line); text-decoration: none; color: #fff; font-size: 1rem; transition: color 0.3s; }
.wa-panel a span { color: var(--muted); font-size: 0.86rem; }
.wa-panel a:hover { color: #25d366; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 250; background: rgba(0, 0, 0, 0.78); display: grid; place-items: center; padding: 1.25rem; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-box { width: min(100%, 440px); background: var(--black); color: #fff; padding: 2.2rem; border-top: 2px solid var(--red); border: 1px solid var(--line); border-top: 2px solid var(--red); }
.modal-box .eyebrow { margin-bottom: 1rem; }
.modal-box h3 { font-size: 2.1rem; margin-bottom: 0.8rem; }
.modal-box p { color: var(--muted); margin-bottom: 1.8rem; }

/* ===== Tablet ===== */
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .header-inner { height: 4.4rem; }
  .brand-dt { font-size: 2.2rem; }

  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list li { border-left: 0; padding: 1.5rem var(--gutter); border-top: 1px solid var(--line); }
  .trust-list li:nth-child(-n+2) { border-top: 0; }
  .trust-list li:nth-child(even) { border-left: 1px solid var(--line); }

  .service-row { grid-template-columns: 3rem minmax(0, 1fr) 2rem; gap: 0.4rem 1rem; padding: 1.8rem 0; }
  .service-row p { grid-column: 2 / 3; grid-row: 2; }
  .service-go { grid-column: 3; grid-row: 1; }

  .process-grid, .about-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .case, .case:nth-child(even) { grid-template-columns: 1fr; gap: 1.8rem; }
  .case:nth-child(even) .case-copy { order: 0; }
}

/* ===== Phone ===== */
@media (max-width: 640px) {
  .hero-inner { padding-top: 7.5rem; padding-bottom: 2.4rem; }
  .hero-title { line-height: 1.02; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-foot { font-size: 0.62rem; letter-spacing: 0.16em; }
  .hero-sectors { display: none; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li, .trust-list li:nth-child(even) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-list li:first-child { border-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .values li { grid-template-columns: 2.6rem 1fr; }
  .wa-btn span { display: none; }
  .wa-btn { padding: 0.95rem; }
  .ba { aspect-ratio: 1 / 1; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .rv, .js .hero-fade { opacity: 1; transform: none; }
  .js .hero-title .line > span { transform: none; }
  .hero-slide { transform: none; }
}