:root {
  --bg: #ffffff;
  --fg: #0d0d0d;
  --muted: #666666;
  --line: rgba(13, 13, 13, 0.12);
  --line-strong: rgba(13, 13, 13, 0.24);
  --soft: #f5f5f5;
  --max: 1160px;
  --radius: 26px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

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

.page-frame {
  position: fixed;
  inset: 18px;
  border: 1px solid rgba(13, 13, 13, 0.08);
  pointer-events: none;
  z-index: 1;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section { padding: 104px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(13, 13, 13, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 20px;
}

.brand-logo { height: 50px; width: auto; }
.footer-logo { height: 58px; width: auto; margin-bottom: 16px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.96rem;
}

.site-nav a,
.footer-links a {
  position: relative;
}

.site-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.footer-links a:hover::after { transform: scaleX(1); }
.menu-toggle, .mobile-menu { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--fg);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-solid { background: var(--fg); color: var(--bg); }
.button-outline,
.button-ghost:hover { background: transparent; color: var(--fg); }
.button-ghost { border-color: rgba(13, 13, 13, 0.16); }

.hero {
  padding-top: 112px;
  position: relative;
  overflow: clip;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: 20px;
  width: 700px;
  height: 700px;
  background: url('images/logo.png') no-repeat center;
  background-size: contain;
  opacity: 0.03;
  pointer-events: none;
}

.hero-grid,
.intro-grid,
.split-heading,
.why-layout,
.footer-wrap,
.cta-card {
  display: grid;
  gap: 36px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: end;
}

.eyebrow,
.section-kicker,
.card-number,
.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2.9rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 10ch;
  margin-bottom: 22px;
}

h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.36rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.hero-lead,
.intro-copy,
.section-sidecopy,
.why-copy p,
.cta-card p,
.detail-card p,
.service-card p {
  font-size: 1.06rem;
  color: #222;
}
.hero-context,
.footer-line,
.service-card li { color: var(--muted); }

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-visual {
  display: grid;
  gap: 20px;
}

.visual-card,
.service-card,
.detail-card,
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  box-shadow: var(--shadow);
}

.logo-card {
  min-height: 420px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: min(100%, 520px);
}

.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  min-height: 132px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.stat-card.inverted {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.stat-card.inverted .stat-label { color: rgba(255,255,255,0.6); }

.intro-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.75fr);
  align-items: start;
}
.intro-block {
  padding-top: 48px;
  border-top: 1px solid var(--line-strong);
}

.band-section { padding: 0 0 30px; }
.band-inner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--muted);
}
.band-inner span {
  width: 40px;
  height: 1px;
  background: var(--line-strong);
}

.split-heading {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
}
.section-sidecopy { margin-bottom: 8px; }

.approach-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.95fr;
  gap: 22px;
}

.service-card,
.detail-card { padding: 30px; }
.service-card ul { margin: 20px 0 0; padding-left: 18px; }
.service-card li + li { margin-top: 10px; }
.emphasis-card { min-height: 100%; }
.dark-card {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.dark-card p,
.dark-card li,
.dark-card .card-number { color: rgba(255,255,255,0.78); }
.dark-card h3 { color: #fff; }

.card-grid {
  display: grid;
  gap: 22px;
}
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.detail-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: stretch;
}
.why-visual-stack {
  display: grid;
  grid-template-rows: 1.15fr 0.85fr;
  gap: 20px;
}
.quote-card,
.lines-card {
  padding: 30px;
}
.quote-card {
  background: var(--fg);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.quote-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 6rem;
  line-height: 0.8;
  margin-bottom: 10px;
}
.quote-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  max-width: 10ch;
  margin-bottom: 0;
}
.lines-card {
  display: grid;
  gap: 18px;
  align-content: center;
}
.lines-card div {
  height: 1px;
  background: var(--line-strong);
}
.lines-card div:nth-child(2) { width: 72%; }
.lines-card div:nth-child(3) { width: 48%; }

.sector-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.sector-tile {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  background: #fff;
}

.cta-card {
  padding: 42px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.site-footer {
  padding: 0 0 52px;
}
.footer-wrap {
  grid-template-columns: 1fr auto;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .site-nav,
  .desktop-cta { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #fff;
    font: inherit;
  }
  .mobile-menu {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid rgba(13, 13, 13, 0.06);
    background: rgba(255, 255, 255, 0.98);
  }
  .mobile-menu.open {
    display: grid;
    gap: 14px;
  }
  .mobile-button { margin-top: 6px; }

  .hero-grid,
  .intro-grid,
  .split-heading,
  .approach-layout,
  .why-layout,
  .cta-card,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .hero::after { right: -260px; width: 560px; height: 560px; }
  .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .section { padding: 78px 0; }
  .page-frame { inset: 12px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand-logo { height: 40px; }
  h1 { max-width: 11ch; }
  h2 { max-width: 12ch; }
  .logo-card { min-height: 260px; padding: 18px; }
  .hero-stat-row,
  .two-up,
  .sector-grid { grid-template-columns: 1fr; }
  .band-inner {
    gap: 12px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    flex-wrap: wrap;
  }
  .cta-card { padding: 30px; }
  .footer-links { gap: 16px; }
}
