/* System fonts only: no requests to Google Fonts or other third parties (nDSG/GDPR friendly). */
:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --text: #1d1d1b;
  --muted: #6b675f;
  --line: #e2ddd4;
  --accent: #b5552f;
  --accent-text: #ffffff;
  --radius: 14px;
  --max: 1080px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161514;
    --surface: #201f1d;
    --text: #f1eee8;
    --muted: #a8a399;
    --line: #34322e;
    --accent: #e07a50;
    --accent-text: #161514;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.top nav { display: flex; gap: 20px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.top nav a:hover { color: var(--text); }

main { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section.hero { border-top: 0; padding-top: 48px; }

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

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 { margin: 0 0 8px; font-size: 1.6rem; letter-spacing: -0.01em; }
h2.follow { margin-top: 40px; }

.lead { max-width: 560px; font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }
.section-lead { color: var(--muted); margin: 0 0 24px; }

.button {
  display: inline-block;
  padding: 12px 22px;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.button:hover { filter: brightness(1.08); }

.showreel { padding-top: 0; border-top: 0; }
.showreel video { width: 100%; border-radius: var(--radius); display: block; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery figure { margin: 0; }

/* Hide the whole section until at least one photo exists */
.work:not(:has(figure)) { display: none; }

.gallery img,
.gallery video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--line);
  display: block;
}

.gallery figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.links a {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.15s;
}
.links a:hover { border-color: var(--accent); }
.links span { font-weight: 400; font-size: 0.9rem; color: var(--muted); }

.contact .mail { font-size: 1.3rem; font-weight: 600; color: var(--accent); }

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 16px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
footer p { margin: 4px 0; }

@media (max-width: 520px) {
  .top nav { gap: 14px; }
  section { padding: 40px 0; }
}
