:root {
  --bg: #f7f4ef;
  --ink: #17202a;
  --muted: #5f6b77;
  --card: rgba(255, 255, 255, .78);
  --line: rgba(23, 32, 42, .12);
  --accent: #b06a42;
  --accent-dark: #7b4529;
  --sage: #6e8171;
  --cream: #fffaf2;
  --shadow: 0 24px 80px rgba(23, 32, 42, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(176, 106, 66, .16), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(110, 129, 113, .2), transparent 32%),
    var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 244, 239, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), var(--sage));
  box-shadow: 0 12px 30px rgba(123, 69, 41, .18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--muted);
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.active { color: var(--ink); background: rgba(255,255,255,.72); }
.site-nav .nav-cta { color: white; background: var(--ink); }
.site-nav .nav-cta:hover,
.site-nav .nav-cta.active { color: white; background: var(--accent-dark); }

.nav-toggle { display: none; }

.section-padding { padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px); }
.compact { padding-top: clamp(40px, 6vw, 72px); }

.hero,
.about-hero,
.inquiry-hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .78rem;
  color: var(--accent-dark);
  font-weight: 800;
}

h1, h2, h3 { line-height: 1.03; margin: 0; letter-spacing: -.055em; }
h1 { font-size: clamp(3.1rem, 7vw, 6.8rem); max-width: 970px; }
h2 { font-size: clamp(2.1rem, 4vw, 4rem); }
h3 { font-size: 1.32rem; letter-spacing: -.035em; }
p { color: var(--muted); }

.hero-text,
.about-copy p,
.inquiry-copy p {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  max-width: 720px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 24px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: white; background: var(--ink); box-shadow: 0 18px 40px rgba(23, 32, 42, .18); }
.btn.primary:hover { background: var(--accent-dark); }
.btn.secondary { background: rgba(255,255,255,.78); color: var(--ink); border: 1px solid var(--line); }
.btn.full { width: 100%; }

.hero-card {
  min-height: 520px;
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(135deg, rgba(176,106,66,.18) 0%, rgba(110,129,113,.28) 50%, rgba(45,125,140,.22) 100%);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
}
.glass-card {
  position: relative;
  width: 100%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 28px;
}
.mini-label { margin: 0 0 6px; font-weight: 800; color: var(--accent-dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.glass-card h2 { font-size: clamp(1.6rem, 2.4vw, 2.5rem); }
.check-list { padding: 0; margin: 20px 0 0; list-style: none; display: grid; gap: 12px; color: var(--muted); }
.check-list li::before { content: "✓"; color: var(--sage); font-weight: 900; margin-right: 10px; }

.section-heading { max-width: 790px; margin-bottom: 34px; }
.service-grid,
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card,
.expertise-card,
.inquiry-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 40px rgba(23,32,42,.06);
}
.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--accent-dark);
  font-weight: 900;
  margin-bottom: 28px;
}

.split-section {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.image-panel {
  min-height: 420px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sage), var(--accent));
  display: flex;
  align-items: flex-end;
  padding: 24px;
  box-shadow: var(--shadow);
}
.quote-card {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 24px;
  padding: 28px;
}
.quote-card p { color: var(--ink); font-size: 1.25rem; font-weight: 700; margin-top: 0; }
.quote-card span { color: var(--muted); font-weight: 800; }
.text-link { display: inline-block; margin-top: 16px; color: var(--accent-dark); font-weight: 900; }

.about-portrait {
  border-radius: 42px;
  min-height: 560px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.9), rgba(255,255,255,.4)),
    linear-gradient(135deg, rgba(176,106,66,.2), rgba(110,129,113,.26));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.65);
  overflow: hidden;
}
.about-portrait img {
  width: min(78%, 390px);
  filter: drop-shadow(0 28px 36px rgba(23,32,42,.16));
}
.top-line { border-top: 1px solid var(--line); }
.expertise-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.timeline div {
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 900;
  margin-bottom: 24px;
}

.inquiry-hero { align-items: start; }
.inquiry-copy { position: sticky; top: 120px; }
.contact-strip {
  margin-top: 32px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
}
.contact-strip span { font-weight: 900; color: var(--accent-dark); }
.contact-strip p { margin-bottom: 0; }
.inquiry-form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; color: var(--ink); font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(176, 106, 66, .12);
}
.form-note { margin: 0; font-size: .9rem; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 0; }
.site-footer a { font-weight: 900; color: var(--accent-dark); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .28s; }

@media (max-width: 980px) {
  .hero,
  .about-hero,
  .inquiry-hero,
  .split-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-card { min-height: 470px; }
  .service-grid,
  .expertise-grid,
  .timeline { grid-template-columns: 1fr 1fr; }
  .inquiry-copy { position: static; }
}

@media (max-width: 720px) {
  .site-header { align-items: flex-start; }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.74);
    font-size: 1.2rem;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(247,244,239,.98);
    border-radius: 22px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav a { text-align: center; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.4rem); }
  .service-grid,
  .expertise-grid,
  .timeline { grid-template-columns: 1fr; }
  .hero-card { min-height: 420px; }
  .about-portrait { min-height: 440px; }
  .site-footer { flex-direction: column; }
}
