/* True — site public. DA minimaliste noir & blanc. */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --fg: #f5f5f5;
  --fg-muted: #a3a3a3;
  --line: #2a2a2a;
  --white: #ffffff;
  --max: 1080px;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
}

a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover { opacity: 0.75; }

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

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.nav a {
  color: var(--fg-muted);
  text-decoration: none;
}
.nav a:hover { color: var(--fg); }

/* ——— Hero ——— */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero .lead {
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: var(--fg-muted);
  font-size: 1.125rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--fg);
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn-primary {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
}

/* ——— Sections ——— */
section { padding: 4rem 0; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--fg-muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

/* ——— Principles ——— */
.principles {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.principle {
  background: var(--bg);
  padding: 1.75rem 1.5rem;
}
.principle h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.principle p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}
@media (min-width: 720px) {
  .principles { grid-template-columns: repeat(3, 1fr); }
}

/* ——— Gallery ——— */
.gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-elevated);
  aspect-ratio: 1;
}
.gallery figure:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (min-width: 800px) {
  .gallery {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .gallery figure:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
    aspect-ratio: auto;
    min-height: 420px;
  }
  .gallery figure { aspect-ratio: auto; min-height: 200px; }
}

/* ——— How ——— */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--fg-muted);
  line-height: 1.4;
}
.steps h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.25rem; }
.steps p { color: var(--fg-muted); font-size: 0.95rem; }

/* ——— CTA ——— */
.cta {
  text-align: center;
  padding: 5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.cta p { color: var(--fg-muted); margin-bottom: 1.5rem; }

/* ——— Footer ——— */
.site-footer {
  padding: 2.5rem 0 3rem;
  color: var(--fg-muted);
  font-size: 0.85rem;
}
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer a {
  color: var(--fg-muted);
  text-decoration: none;
}
.site-footer a:hover { color: var(--fg); }

/* ——— Legal pages ——— */
.legal {
  padding: 3rem 0 5rem;
  max-width: 42rem;
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}
.legal .meta {
  color: var(--fg-muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  font-weight: 600;
}
.legal h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
  color: var(--fg);
}
.legal p, .legal li {
  color: var(--fg-muted);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}
.legal ul, .legal ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal strong { color: var(--fg); font-weight: 600; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}
.legal th, .legal td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.legal th {
  background: var(--bg-elevated);
  color: var(--fg);
  font-weight: 600;
}
.legal .note {
  border-left: 2px solid var(--fg);
  padding-left: 1rem;
  margin: 1.5rem 0;
}
