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

:root {
  --bg:      #F5EFE6;
  --border:  #DDD3C2;
  --rust:    #A85530;
  --text:    #000000;
  --text-2:  #555555;
  --muted:   #999999;
  --dark:    #1A2535;
  --on-dark: #EDE5D8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  height: 76px; padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--bg);
  transition: transform 0.35s ease;
}

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

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  position: relative; transition: color 0.18s;
}

.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--text);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover            { color: var(--text); }
.nav-link:hover::after     { transform: scaleX(1); }
.nav-link--active          { color: var(--text); }
.nav-link--active::after   { transform: scaleX(1); }

.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  justify-self: center;
}

.nav-logo b { color: var(--text); font-weight: 700; }

/* ── PAGE CONTENT OFFSET (below fixed nav) ───────────── */
.page-body { padding-top: 76px; }

/* ── HERO ────────────────────────────────────────────── */
#hero { height: 200vh; }

.hero-sticky {
  position: sticky; top: 0;
  height: 100vh; padding-top: 76px;
  display: flex;
  background: var(--bg);
}

.hero-photo-side {
  flex: 0 0 52%; display: flex;
  padding: 3vh 2vw 5vh 4vw;
}

.hero-photo-container {
  flex: 1; position: relative;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 16px 64px rgba(26,20,16,0.2);
}

.hero-photo-frame { position: absolute; inset: 0; }

.hero-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform-origin: center;
}

#photo-before img { object-position: center 18%; }
#photo-after  img { object-position: center 80%; }
#photo-after      { opacity: 0; }

.hero-text-side {
  flex: 1; position: relative;
  display: flex; align-items: center;
}

.hero-text-block {
  position: absolute; left: 0; right: 0;
  padding: 0 5vw 0 4vw;
}

#text-after { opacity: 0; }

.ht-words { display: flex; flex-direction: column; gap: 18px; width: 100%; }

[data-fit] { white-space: nowrap; display: block; }

.ht-sans {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; line-height: 0.88;
  letter-spacing: -0.01em; text-transform: uppercase;
  color: var(--text);
}

.ht-serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-style: italic;
  line-height: 0.92; color: var(--rust);
}

/* ── SCROLL HINT ─────────────────────────────────────── */
.scroll-hint {
  position: absolute; bottom: 3.5vh; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  pointer-events: none; transition: opacity 0.3s;
}

.scroll-hint-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--muted);
  animation: dotBounce 1.8s ease-in-out infinite;
}

.scroll-hint span {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}

@keyframes dotBounce {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50%       { transform: translateY(4px); opacity: 1; }
}

/* ── HOME TITLE ──────────────────────────────────────── */
.home-title {
  padding: 36vh 40px 19vh;
  text-align: center;
}

.home-title h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 64px);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.2;
}

/* ── PROCESS ─────────────────────────────────────────── */
#process { border-top: 1px solid var(--border); }

.process-intro {
  padding: 180px 56px 140px;
  max-width: 1400px;
  margin: 0 auto;
}

.process-eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 40px;
}

.process-intro-text {
  font-family: 'Space Mono', monospace;
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 700;
  color: var(--text); line-height: 1.65;
}

.process-intro-text strong { font-weight: 700; }

.serif-accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--rust);
}

.process-photo-row {
  width: 100%; height: 60vh;
  overflow: hidden; background: var(--border);
}

.process-photo-row img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.process-text-row {
  padding: 96px 56px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.process-text-row:first-of-type { padding-top: 180px; }
.process-text-row:last-of-type { padding-bottom: 200px; }

.process-step-left {
  display: flex;
  flex-direction: column;
}

.process-step-num {
  font-family: 'Space Mono', monospace;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 400; color: var(--text); line-height: 1.1;
  margin-bottom: 10px;
}

.process-step-name {
  font-family: 'Space Mono', monospace;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 700; color: var(--text); line-height: 1.1;
}

.process-step-text {
  font-family: 'Space Mono', monospace;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 700;
  color: var(--text); line-height: 1.9;
  padding-top: 6px;
}

/* ── TESTIMONIALS (hidden until real quotes available) ── */
/*
#testimonials { padding: 80px 0 96px; }

.t-heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 32px);
  text-align: center;
  color: var(--text);
  padding: 0 56px 64px;
}

.t-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 56px 96px;
}

.t-item {
  padding: 32px 48px 32px 0;
  border-top: 1px solid var(--border);
}

.t-item:nth-child(even) {
  padding-left: 48px;
  padding-right: 0;
  border-left: 1px solid var(--border);
}

.t-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.t-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.t-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--muted);
}

.t-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}
*/

/* ── CONTACT ─────────────────────────────────────────── */
#contact {
    padding-top: 40px;
}

.contact-phone {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: 0.06em; color: var(--text);
  text-align: center;
  padding: 200px 40px 50px;
}

.contact-body {
    padding: 120px 56px 160px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px; max-width: 840px;
  margin: 0 auto; align-items: start;
}

.contact-photo {
  width: 300px; height: 400px;
  border-radius: 16px; overflow: hidden;
}

.contact-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block;
}

.contact-right {
  display: flex; flex-direction: column; align-items: flex-end;
}

.contact-right h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 700; font-style: normal; line-height: 1.1;
  color: var(--text); margin-bottom: 24px;
  text-align: right; width: 100%;
}

.contact-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 56px;
  display: block; text-align: right; width: 100%;
}

.contact-guarantee {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--text-2); line-height: 1.9;
  text-align: right; margin-bottom: 0; margin-top: 40px;
  max-width: 320px;
}

.contact-guarantee strong { color: var(--text); font-weight: 600; }

.btn-contact {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark); background: var(--rust);
  padding: 13px 32px; text-decoration: none;
  display: inline-block; border-radius: 100px;
  transition: background 0.18s;
}

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

/* ── FOOTER ──────────────────────────────────────────── */
footer {
    padding: 52px 40px 224px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}

.footer-links { display: flex; align-items: center; justify-content: center; }

.footer-link {
  font-family: 'Space Mono', monospace;
  font-size: 15px; letter-spacing: 0.02em;
  color: var(--text); text-decoration: underline;
  text-underline-offset: 4px; transition: color 0.18s;
}

.footer-link:hover { color: var(--rust); }

.footer-sep {
  font-family: 'Space Mono', monospace;
  font-size: 15px; font-weight: 400; color: var(--text);
  padding: 0 6px; user-select: none;
}

.footer-phone {
  font-family: 'Oswald', sans-serif;
  font-size: 15px; letter-spacing: 0.02em;
  color: var(--text);
}

.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
}

/* ── MOBILE ──────────────────────────────────────────── */
.mobile-state-2 { display: none; }

@media (max-width: 768px) {
  nav { padding: 0 20px; grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-logo { justify-self: center; }

  #hero { height: auto; }
  .hero-sticky {
    position: relative; height: auto;
    flex-direction: column; padding-top: 76px; gap: 0;
  }
  .hero-photo-side { flex: 0 0 auto; height: 78vw; padding: 4vw 4vw 3vw; }
  .hero-text-side  { flex: 0 0 auto; padding: 6vw 6vw 10vw; min-height: 48vw; }
  .hero-text-block {
    position: relative; left: auto; right: auto; padding: 0;
    opacity: 1 !important; transform: none !important;
  }
  #photo-after { display: none; }
  #text-after  { display: none; }
  .scroll-hint { display: none; }
  .mobile-state-2 { display: flex; flex-direction: column; border-top: 1px solid var(--border); }

  .home-title { padding: 52px 24px 64px; }

  .process-intro { padding: 72px 24px 64px; }
  .process-text-row {
    padding: 64px 24px;
    grid-template-columns: 1fr; gap: 24px 0;
  }
  .process-step-num,
  .process-step-name { font-size: clamp(22px, 6vw, 30px); }

  #contact { padding-top: 60px; }
  .contact-phone { padding: 60px 24px 60px; font-size: clamp(28px, 8vw, 52px); }
  .contact-body { padding: 56px 24px 120px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-photo { width: 100%; height: 280px; }
  .contact-right { align-items: flex-start; }
  .contact-right h2 { text-align: left; }
  .contact-role { text-align: left; }
  .contact-guarantee { text-align: left; }

  footer { padding: 40px 20px 224px; }
}
