:root {
  --bg: #111214;
  --bg-elev: #181a1d;
  --bg-alt: #16181b;
  --line: rgba(232, 228, 220, 0.1);
  --text: #e8e4dc;
  --muted: #9a958c;
  --faint: #6f6b64;
  --accent: #c4a574;
  --accent-soft: rgba(196, 165, 116, 0.16);
  --max: 72rem;
  --font: "Instrument Sans", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --space: clamp(4rem, 8vw, 7.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(196, 165, 116, 0.08), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: #111214;
  padding: 0.5rem 0.8rem;
  z-index: 100;
  font-weight: 600;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Motif: three dots */
.motif {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.motif i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.72;
  display: block;
}

.motif i:nth-child(2) {
  background: var(--accent);
  opacity: 1;
}

.motif-lg {
  gap: 0.42rem;
  margin-bottom: 1.25rem;
}

.motif-lg i {
  width: 0.48rem;
  height: 0.48rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(17, 18, 20, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.wordmark:hover { color: var(--text); }

.wordmark-text {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

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

/* Hero */
.hero {
  padding: var(--space) 0 calc(var(--space) * 0.95);
  border-bottom: 1px solid var(--line);
}

.hero-inner { max-width: 44rem; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.15rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 400;
  text-wrap: balance;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.lead, .section-lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 40rem;
}

.lead { margin: 1.4rem 0 0; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2.2rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  background: var(--accent);
  color: #1a1611;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
}

.btn:hover { color: #1a1611; filter: brightness(1.06); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover { color: var(--text); border-color: var(--muted); filter: none; }

/* Sections */
.section { padding: var(--space) 0; }

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-head { margin-bottom: 2.75rem; }
.section-lead { margin: 1rem 0 0; }

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.card {
  margin: 0;
  padding: 1.5rem 1.5rem 1.65rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.card-index {
  margin: 0 0 1.2rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.card h3 { margin-bottom: 0.55rem; }
.card p:last-child { margin: 0; color: var(--muted); }

.lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 3rem;
}

.line p { margin: 0.7rem 0 0; color: var(--muted); }

.contact-card {
  padding: 1.75rem 1.8rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 2px;
  max-width: 32rem;
}

.contact-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.hint {
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
}

.contact-value {
  margin: 0.55rem 0 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.2;
}

.contact-value a { text-decoration: none; color: var(--text); }
.contact-value a:hover { color: var(--accent); }

.contact-note {
  margin: 1.15rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--faint);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark-foot { color: var(--muted); }
.wordmark-foot .wordmark-text { font-size: 1.15rem; }
.footer-inner p { margin: 0; }

@media (max-width: 720px) {
  .nav { gap: 1rem; font-size: 0.86rem; }
  .cards, .lines { grid-template-columns: 1fr; }
  .header-inner { min-height: 3.8rem; }
  .contact-value { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
