:root {
  --bg: #f7f4ef;
  --bg-soft: #fbfaf7;
  --ink: #13243a;
  --muted: #5e6876;
  --line: rgba(19, 36, 58, 0.14);
  --line-strong: rgba(19, 36, 58, 0.24);
  --accent: #52647c;
  --shadow: 0 20px 50px rgba(19, 36, 58, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.98) 0 15%, transparent 34%),
    radial-gradient(circle at 76% 18%, rgba(215, 205, 195, 0.35), transparent 30%),
    linear-gradient(135deg, #fbfaf7 0%, var(--bg) 55%, #ece7df 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.65) 28%, rgba(255,255,255,0.0) 58%),
    radial-gradient(circle at 7% 12%, rgba(19, 36, 58, 0.07), transparent 12%);
  opacity: 0.75;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1280px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: -0.08em;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-note {
  margin-left: 8px;
  color: var(--ink);
  opacity: 0.35;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

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

.nav-links a {
  color: #1f2630;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.nav-links a + a {
  position: relative;
}

.nav-links a + a::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 1px;
  height: 22px;
  background: var(--line);
  transform: translateY(-50%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button-primary {
  background: var(--ink);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent);
  color: white;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  max-width: 680px;
  margin: 80px auto 82px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 560px;
  margin: 28px auto 0;
  color: #2e3138;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 76px;
}

.expertise-card {
  min-height: 282px;
  padding: 42px 28px 28px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: center;
  text-align: center;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,0.75) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.expertise-card:hover,
.expertise-card:focus-visible {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  outline: none;
}

.card-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-label {
  display: block;
  margin-bottom: 14px;
  color: rgba(19, 36, 58, 0.35);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.card-title {
  margin-top: 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.38rem, 2.3vw, 1.7rem);
  line-height: 1.1;
}

.card-description {
  max-width: 240px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.card-indicator {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  transition: background-color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.expertise-card:hover .card-indicator,
.expertise-card:focus-visible .card-indicator {
  background: var(--accent);
  transform: scale(1.08);
  border-color: var(--accent);
}

.site-footer {
  margin-top: auto;
  padding: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.site-footer span {
  width: min(80px, 18vw);
  height: 1px;
  background: var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero {
    margin-top: 52px;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 28px, 1280px);
  }

  .site-header {
    padding: 22px 0;
  }

  .brand-name {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    right: 0;
    width: min(240px, 100%);
    padding: 18px;
    display: grid;
    gap: 14px;
    background: rgba(251, 250, 247, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a + a::before {
    display: none;
  }

  .nav-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    margin: 48px auto 54px;
  }

  .eyebrow {
    letter-spacing: 0.32em;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 54px;
  }

  .expertise-card {
    min-height: 215px;
    padding: 34px 24px 24px;
  }

  .card-title {
    margin-top: 22px;
  }

  .site-footer {
    gap: 14px;
  }

  .site-footer p {
    letter-spacing: 0.24em;
    text-align: center;
  }
}


.ai-transparency-section {
  margin-bottom: 56px;
}

.ai-transparency-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.ai-transparency-sticker-large {
  width: 320px;
  max-width: 30%;
  opacity: 0.75;
  filter: grayscale(100%);
}

.ai-transparency-copy {
  max-width: 650px;
}

.ai-transparency-copy h2 {
  margin-bottom: 12px;
}

.ai-transparency-copy p {
  color: #2e3138;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .ai-transparency-content {
    flex-direction: column;
    text-align: center;
  }

  .ai-transparency-sticker-large {
    max-width: 180px;
  }
}