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

:root {
  --text: #111;
  --muted: #888;
  --accent: #111;
  --bg: #fff;
  --max: 680px;
  --gap: 2.8rem;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
header, main, footer {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
}

/* ── Header ── */
header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2rem 0 1.6rem;
  gap: 1rem;
}

.brand {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover { color: var(--text); }

.dot { color: var(--muted); user-select: none; }

/* ── Hero ── */
.hero {
  padding: 3rem 0 var(--gap);
  border-top: 1px solid #e8e8e8;
  text-align: center;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--text);
}

h1 .dim { color: #aaa; font-weight: 400; }
h1 strong { color: var(--text); font-weight: 600; }

.sub {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
}

p.lead {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

p {
  margin: 0 0 0.9rem;
  color: #333;
}

.pillars-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  margin-top: 1.6rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.pillars-row a {
  color: var(--muted);
  text-decoration: none;
}

.pillars-row a:hover { color: var(--text); }

.pillars-row a.underline-accent {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Sections ── */
.block {
  padding: var(--gap) 0;
  border-top: 1px solid #e8e8e8;
}

.label {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 1.6rem;
}

.group-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 1.4rem 0 0.5rem;
}

ul {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
  color: #333;
}

li { margin-bottom: 0.3rem; }

/* ── Pillar list ── */
.pillar-list {
  display: grid;
  gap: 0;
}

.pillar {
  padding: 1rem 0;
  border-top: 1px solid #e8e8e8;
}

.pillar:first-child { border-top: none; }

h3 {
  font-size: 0.97rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: var(--text);
}

h3 + p { margin: 0; color: #555; font-size: 0.92rem; }

/* ── Principles ── */
.principle-list { display: grid; gap: 0; }

.principle {
  padding: 1rem 0;
  border-top: 1px solid #e8e8e8;
}

.principle:first-child { border-top: none; }

/* ── Services ── */
.service-list { display: grid; gap: 0; }

.service {
  padding: 1.6rem 0;
  border-top: 1px solid #e8e8e8;
}

.service:first-child { border-top: none; }

.svc-no {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin: 0 0 0.4rem;
}

.svc-meta {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

/* ── Contact ── */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.contact-links a {
  font-size: 0.97rem;
  color: var(--text);
  text-decoration: none;
}

.contact-links a:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid #e8e8e8;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: var(--gap);
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 540px) {
  header {
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.4rem 0 1.2rem;
  }

  h1 { font-size: 1.55rem; }
}
