:root {
  --bg: #f4f3ef;
  --ink: #111111;
  --muted: #6d6a64;
  --navy: #101828;
  --line: rgba(17, 17, 17, 0.1);
  --white: #fff;
  --sans: "Inter", system-ui, sans-serif;
  --display: "Oswald", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #c48a4a;
  outline-offset: 3px;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0;
  text-transform: none;
}
h1 { font-size: clamp(2.8rem, 6.4vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); }
h3 { margin: 0.8rem 0 0.4rem; font-size: 1.15rem; }
p { margin: 0; }

.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: 0.035;
  background-image: radial-gradient(rgba(0,0,0,0.4) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.util-bar {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 1.4rem;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #d8d4cc; background: #0c0c0c;
}
.util-bar p { margin: 0; }

.nav {
  position: sticky; top: 0; z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem; padding: 0.7rem 1.4rem;
  transition: background 0.35s ease, color 0.35s ease;
}
.book-btn { justify-self: end; }
.nav[data-theme="dark"] { color: #fff; background: transparent; }
.nav[data-theme="light"] { color: #111; background: rgba(244,243,239,0.92); backdrop-filter: blur(16px); }

.pill-nav {
  display: flex; align-items: center; gap: 0.15rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(18,18,18,0.72);
  color: #fff;
  backdrop-filter: blur(12px);
}
.nav[data-theme="light"] .pill-nav { background: #111; }
.pill-nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pill-nav a.is-active { background: #fff; color: #111; }
.home-dot { display: grid; place-items: center; width: 34px; padding: 0; }

.book-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  background: #fff; color: #111;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.nav[data-theme="light"] .book-btn { background: #111; color: #fff; }
.brand {
  display: none;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.menu-btn { display: none; width: 44px; height: 44px; }
.menu-btn span { display: block; height: 1px; margin: 7px 8px; background: currentColor; }

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  padding: 8vh 1.6rem 7.2rem;
  color: #fff;
  overflow: hidden;
}
.hero-photo, .book-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: 70% 40%;
}
.hero-photo {
  --hero-image: url("images/hero.jpg?v=web3-5");
  background-image:
    linear-gradient(90deg, rgba(8,8,8,0.5), rgba(8,8,8,0.16) 46%, transparent 72%),
    var(--hero-image);
  transition: filter 0.45s ease;
}
.hero-photo.is-swap { filter: brightness(1.16); }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.38), transparent 55%);
}
.hero h1 { position: relative; z-index: 2; max-width: 14ch; }
.hero h1 span { display: block; }
.hero-chips {
  position: absolute; left: 1.6rem; bottom: 1.4rem; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  max-width: calc(100% - 18rem);
}
.hero-chips button {
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.72rem;
}
.hero-chips button.is-on { background: #fff; color: #111; }

.job-card {
  position: absolute; right: 1.6rem; bottom: 1.4rem; z-index: 2;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: rgba(12,12,12,0.72);
  backdrop-filter: blur(10px);
  font-size: 0.74rem;
}
.job-card span { display: block; color: #c9c5bd; font-size: 0.66rem; }
.job-thumb {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover;
}

.section { padding: 5.5rem 1.6rem; }
.sec-label {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.2rem;
}
.about-copy {
  max-width: 22ch;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #9a968e;
  margin-left: auto;
}
.about-copy b { color: #111; font-weight: 600; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.stat small, .cert {
  display: block; margin-top: 0.45rem;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.cert { margin-top: 1.6rem; }

.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.sec-head .sec-label { grid-column: 1 / -1; margin: 0; }
.aside-note { max-width: 18rem; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.service-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  box-shadow: 0 14px 40px rgba(17,17,17,0.04);
  overflow: hidden;
}
.card-photo, .inspect-photo, .work-photo, .mini-photo {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  background-color: #d8d2c8;
}
.card-photo {
  width: 150px;
  height: 132px;
}
.service-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.service-card small { display: block; margin-top: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8a867e; }

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem 1.6rem;
  list-style: none; padding: 0; margin: 0 0 3rem;
}
.step-grid li {
  font-size: 0.95rem; line-height: 1.35;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.step-grid span {
  display: block; font-size: 0.68rem; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.25rem;
}
.process-title em {
  display: block;
  font-style: normal;
  color: #9a968e;
  font-weight: 500;
}

.inspect-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.4rem;
}
.inspect-photo {
  min-height: 280px;
  height: 320px;
}
.inspect-copy p { font-size: 1.2rem; line-height: 1.45; max-width: 28rem; }
.inspect-meta {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem;
  margin: 1.2rem 0 1.4rem;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.navy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--navy); color: #fff;
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.navy-btn.full { width: 100%; }

.accordion { border-top: 1px solid var(--line); }
.acc-row {
  width: 100%;
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 1.05rem;
}
.acc-row small { color: var(--muted); font-size: 0.78rem; }
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  color: var(--muted);
  max-width: 40rem;
  transition: grid-template-rows 0.35s ease, padding 0.35s ease;
}
.acc-body.is-open { grid-template-rows: 1fr; padding: 0 0 1rem; }
.acc-body p { overflow: hidden; }

.work-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 52vh;
}
.work-photo { min-height: 52vh; height: 52vh; }
.hotspot {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  z-index: 2;
}
.hs-1 { left: 28%; top: 58%; }
.hs-2 { left: 62%; top: 34%; }
.work-mini .hotspot { left: 50%; top: 46%; transform: translate(-50%, -50%); }
.tip {
  position: absolute; z-index: 3;
  width: 210px; padding: 0.7rem 0.8rem;
  background: #fff; color: #111;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.tip strong, .tip span { display: block; }
.tip span { margin-top: 0.25rem; color: var(--muted); font-size: 0.78rem; }
.tip-1 { left: 32%; top: 62%; }
.tip-2 { left: 66%; top: 18%; }
.work-hero:hover .tip-1, .hs-1:focus + .tip-1, .work-hero.is-tip-1 .tip-1,
.work-hero:hover .tip-2, .hs-2:focus + .tip-2, .work-hero.is-tip-2 .tip-2 { opacity: 1; transform: none; }
.work-caption {
  position: absolute; left: 1.1rem; bottom: 1.1rem; color: #fff; z-index: 2;
}
.work-caption span { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.78); }

.work-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.95fr;
  gap: 1rem;
  margin-top: 1rem;
}
.work-mini { position: relative; }
.mini-photo { min-height: 220px; height: 220px; border-radius: 18px; }
.work-mini p { margin-top: 0.55rem; font-size: 0.9rem; }
.work-mini span { display: block; color: var(--muted); font-size: 0.78rem; }
.quote-card {
  margin: 0;
  background: #fff;
  border-radius: 18px;
  padding: 1.4rem;
  font-size: 1.15rem;
  line-height: 1.4;
}
.quote-card cite { display: block; margin-top: 1rem; font-style: normal; color: var(--muted); font-size: 0.82rem; }

.book {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px);
  gap: 2rem;
  align-items: end;
  padding: 5rem 1.6rem 2rem;
  color: #fff;
  overflow: hidden;
}
.book-photo {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.45)),
    url("images/book.jpg?v=web3-5");
  background-size: cover;
  background-position: right center;
}
.book-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.35), transparent 60%); }
.book-copy, .quote-form { position: relative; z-index: 2; }
.book-copy p { margin: 0.8rem 0 1rem; color: rgba(255,255,255,0.78); }
.phone { font-size: 1.1rem; letter-spacing: 0.04em; }

.quote-form {
  background: rgba(255,255,255,0.92);
  color: #111;
  border-radius: 22px;
  padding: 1.2rem;
}
.quote-form h3 { margin: 0 0 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.quote-form label { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.55rem; }
.quote-form input {
  display: block; width: 100%; margin-top: 0.3rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  font-size: 1rem;
}
.form-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 0.9rem; }
.form-chips button {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.form-chips button.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.form-note { margin-top: 0.7rem; font-size: 0.75rem; color: var(--muted); }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 1.2rem 1.6rem 2rem;
}
.trust article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.badge {
  display: inline-grid; place-items: center;
  min-width: 36px; height: 22px; padding: 0 0.4rem;
  border-radius: 999px; background: #eceae4;
  font-size: 0.62rem; letter-spacing: 0.08em;
}
.trust strong { display: block; margin: 0.45rem 0 0.2rem; }
.trust small { color: var(--muted); }

.site-footer {
  position: relative;
  background: var(--navy);
  color: #f4f3ef;
  padding: 4.2rem 1.6rem 1.4rem;
  overflow: hidden;
}
.foot-top {
  display: flex; justify-content: space-between; gap: 2rem;
  position: relative; z-index: 2;
}
.foot-top nav { display: flex; flex-direction: column; gap: 0.45rem; }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.6rem 0 6rem;
  position: relative; z-index: 2;
}
.foot-grid h4 { margin: 0 0 0.4rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9aa3b2; }
.watermark {
  position: absolute; left: -2vw; bottom: 2.2rem;
  font-family: var(--display);
  font-size: clamp(5rem, 18vw, 14rem);
  letter-spacing: -0.04em;
  line-height: 0.8;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  text-transform: uppercase;
}
.copy { position: relative; z-index: 2; font-size: 0.72rem; color: #8b93a3; }

.form-ok { color: #1d6b3a; font-size: 0.86rem; margin-top: 0.6rem; }

@media (max-width: 980px) {
  html, body { -webkit-overflow-scrolling: touch; }
  body.nav-lock { overflow: hidden; }
  body { font-size: 16px; }
  h1, h2, h3 { text-wrap: balance; }
  h1 {
    font-size: clamp(2.15rem, 10.6vw, 2.75rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    font-weight: 600;
  }
  h2 {
    font-size: clamp(1.75rem, 8vw, 2.125rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    font-weight: 600;
  }
  h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; }

  .util-bar {
    flex-wrap: wrap;
    gap: 0.15rem 0.7rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
  .nav {
    padding: 0.45rem 0.9rem 0.55rem;
    grid-template-columns: 1fr auto;
  }
  .brand { display: block; }
  .pill-nav, .book-btn { display: none; }
  .menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }
  .nav[data-theme="dark"] {
    background: linear-gradient(180deg, rgba(0,0,0,0.62), rgba(0,0,0,0.12));
  }
  .nav.open,
  .nav.open[data-theme="light"] {
    background: rgba(12, 12, 12, 0.96);
    color: #fff;
  }
  .nav.open .pill-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.2rem;
    padding: 0.15rem 0.1rem;
    background: transparent;
    border-radius: 0;
  }
  .nav.open .pill-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.7rem 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }
  .nav.open .pill-nav a.is-active { background: transparent; color: #fff; }
  .nav.open .book-btn {
    display: inline-flex;
    position: static;
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
    margin: 0.8rem 0 0.25rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(100svh - 10.5rem);
    padding: 0.6rem 1rem 1rem;
    gap: 0.75rem;
  }
  .hero h1 {
    margin-top: 0.4rem;
    margin-bottom: auto;
    max-width: 12ch;
  }
  .hero-chips,
  .job-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
  }
  .hero-chips button,
  .form-chips button {
    min-height: 40px;
    padding: 0.45rem 0.8rem;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
  }
  .job-card { font-size: 0.875rem; }
  .job-card strong,
  .job-card span { overflow-wrap: anywhere; }
  .job-card span { font-size: 0.75rem; }
  .navy-btn, .book-btn { min-height: 44px; font-size: 0.9rem; letter-spacing: 0.02em; }
  .quote-form input { min-height: 44px; font-size: 16px; }

  .section { padding: 3.2rem 1rem; }
  .about-copy {
    margin-left: 0;
    max-width: 22ch;
    font-size: clamp(1.75rem, 7.2vw, 2.125rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #4a4742;
  }
  .sec-label { font-size: 0.75rem; letter-spacing: 0.1em; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.3rem 0.8rem; }
  .stat-num { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .sec-head,
  .inspect-grid,
  .service-grid,
  .work-row,
  .book,
  .trust,
  .foot-grid,
  .form-row { grid-template-columns: 1fr; }
  .sec-head { gap: 0.8rem; }
  .aside-note { max-width: none; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .service-card {
    grid-template-columns: 104px 1fr;
    gap: 0.75rem;
    padding: 0.55rem;
  }
  .card-photo { width: 104px; height: 104px; }
  .service-card h3 { margin-top: 0; }
  .service-card p, .aside-note { font-size: 0.94rem; line-height: 1.55; }
  .foot-grid h4 { font-size: 0.75rem; letter-spacing: 0.1em; }
  .foot-grid p, .foot-top nav a { font-size: 0.9rem; }
  .copy { font-size: 0.8rem; }
  .inspect-photo { height: 240px; min-height: 220px; }
  .inspect-copy p { font-size: 1.05rem; }
  .navy-btn { min-height: 44px; }
  .work-hero,
  .work-photo {
    min-height: 62vw;
    height: 72vw;
    max-height: 520px;
  }
  .hotspot { width: 44px; height: 44px; }
  .tip { width: min(220px, 72vw); }
  .tip-1 { left: 0.7rem; top: auto; bottom: 4.8rem; }
  .tip-2 { left: auto; right: 0.7rem; top: 0.8rem; }
  .work-caption { left: 0.8rem; right: 0.8rem; bottom: 0.8rem; }
  .mini-photo { height: 220px; min-height: 220px; }
  .book {
    min-height: auto;
    padding: 4.2rem 1rem 1.4rem;
    align-items: stretch;
  }
  .book-shade { background: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.62)); }
  .trust { padding: 1rem 1rem 1.6rem; }
  .site-footer { padding: 3rem 1rem 1.2rem; }
  .foot-top { flex-direction: column; }
  .foot-grid { margin-bottom: 4.5rem; }
  .watermark {
    font-size: clamp(3rem, 18vw, 5.5rem);
    left: 0;
    bottom: 2.6rem;
  }
  .copy { overflow-wrap: anywhere; }
}

@media (min-width: 768px) and (max-width: 980px) {
  h1 { font-size: clamp(2.75rem, 6.1vw, 3.25rem); }
  h2 { font-size: clamp(2rem, 4.6vw, 2.5rem); }
  .about-copy { font-size: clamp(2rem, 3.4vw, 2.35rem); max-width: 24ch; }
  .section { padding: 4.5rem 1.5rem; }
  .hero { padding-left: 1.5rem; padding-right: 1.5rem; min-height: min(86svh, 700px); }
  .service-grid, .work-row, .foot-grid, .step-grid { grid-template-columns: 1fr 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .card-photo { width: 100%; height: 160px; }
  .quote-card { grid-column: 1 / -1; }
  .inspect-grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
  .trust { grid-template-columns: 1fr 1fr; }
  .foot-grid { margin-bottom: 3rem; }
}

@media (min-width: 981px) and (max-width: 1100px) {
  h1 { font-size: clamp(3rem, 4.8vw, 3.5rem); line-height: 1.02; letter-spacing: -0.025em; }
  h2 { font-size: clamp(2rem, 3.3vw, 2.5rem); line-height: 1.06; letter-spacing: -0.02em; }
  .section { padding: 4.75rem 2rem; }
  .hero { padding-left: 2rem; padding-right: 2rem; }
}

@media (max-width: 980px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero h1 { margin-top: 0.4rem; margin-bottom: 0.8rem; }
}

@media (max-width: 640px) {
  .service-card { grid-template-columns: 1fr; }
  .card-photo { width: 100%; height: 180px; }
  .step-grid { grid-template-columns: 1fr; }
  .about-copy { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .acc-body, .hero-photo { transition: none; }
}
