/* Self-hosted fonts (SIL Open Font License, files in /fonts) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }

:root {
  --beige: #ece4d6;
  --beige-deep: #ddd2bf;
  --ink: #111111;
  --ink-soft: #4a4640;
  --line: rgba(17,17,17,.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--beige);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 48px); }

/* Nav */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(236,228,214,.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
nav { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; letter-spacing: .01em; }
.logo em { font-style: italic; font-weight: 400; }
nav ul { display: flex; gap: clamp(16px, 3vw, 40px); list-style: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
nav ul a { position: relative; padding-bottom: 4px; }
nav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--ink); transition: width .3s ease; }
nav ul a:hover::after { width: 100%; }

/* Hero */
.hero { min-height: calc(100vh - 72px); display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 96px; }
.eyebrow { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 32px; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 9vw, 7.5rem); line-height: .98; letter-spacing: -.02em;
  max-width: 11ch;
}
.hero h1 em { font-style: italic; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--ink); }
.hero-foot p { max-width: 42ch; color: var(--ink-soft); }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--beige);
  padding: 16px 28px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  transition: gap .3s ease, background .3s ease;
}
.btn:hover { gap: 20px; background: #000; }

/* Sections */
section { padding: clamp(80px, 12vw, 140px) 0; }
.label { font-weight: inherit; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.lead { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; font-weight: 400; }
.lead em { font-style: italic; }

.dark { background: var(--ink); color: var(--beige); }
.dark .label { color: rgba(236,228,214,.6); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid rgba(236,228,214,.25); }
.service { padding: 40px 32px 8px 0; }
.service + .service { padding-left: 32px; border-left: 1px solid rgba(236,228,214,.25); }
.service .num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; opacity: .6; }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 16px 0 12px; }
.service p { color: rgba(236,228,214,.72); font-size: .95rem; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 64px; }
.principle { padding: 36px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; }
.principle:nth-child(odd) { padding-right: 40px; }
.principle:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--line); }
.principle .num { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.principle h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 6px; }
.principle p { color: var(--ink-soft); font-size: .95rem; }

.contact { background: var(--beige-deep); text-align: center; }
.contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.05; margin: 24px 0 40px; }
.contact h2 em { font-style: italic; }
.mail { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.9rem); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

footer { background: var(--ink); color: rgba(236,228,214,.6); font-size: .78rem; letter-spacing: .08em; }
footer .wrap { display: flex; justify-content: space-between; padding-top: 32px; padding-bottom: 32px; gap: 16px; flex-wrap: wrap; }
footer .logo { color: var(--beige); font-size: 1.2rem; letter-spacing: 0; }

/* Reveal (only hidden when JavaScript runs, so the page works without it) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 760px) {
  nav ul { display: none; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 32px 0 8px; border-left: 0; }
  .service + .service { border-top: 1px solid rgba(236,228,214,.25); }
  .principles { grid-template-columns: 1fr; }
  .principle:nth-child(odd), .principle:nth-child(even) { padding: 28px 0; border-left: 0; }
}
