/* Base: reset, typography, layout primitives, buttons, placeholders. */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--color-accent); color: var(--color-on-accent);
}
.skip-link:focus { top: 16px; }

[hidden] { display: none !important; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); border-top: 1px solid var(--color-line); }
.section--alt { background: var(--color-bg-alt); }
.section--flush { border-top: 0; }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* Type */
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--color-accent);
}
.display {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(52px, 7vw, 104px); line-height: 0.95;
}
.heading {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(38px, 4.4vw, 64px); line-height: 1.04;
}
.heading em, .display em { color: var(--color-accent-soft); }
.tagline { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--color-accent-soft); }
.lede { font-size: 16px; line-height: 1.85; color: var(--color-text-muted); max-width: 62ch; }
.rule { display: block; width: 64px; height: 1px; background: var(--color-accent); }
.strong { color: var(--color-text); font-weight: 500; }

/* Page header used by inner pages */
.page-head { padding-block: clamp(64px, 8vw, 96px) 56px; display: flex; flex-direction: column; gap: 22px; }
.page-head--split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 32px;
  background: var(--color-accent); color: var(--color-on-accent);
  border: 1px solid var(--color-accent); border-radius: 0;
  font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--color-text); border-color: var(--color-text); color: var(--color-on-accent); }
.btn--outline { background: transparent; color: var(--color-text); }
.btn--outline:hover { background: var(--color-accent); border-color: var(--color-accent); }
.btn--sm { min-height: 48px; padding: 0 20px; font-size: 11px; }
.btn--light { background: var(--color-bg); color: var(--color-text); border-color: var(--color-bg); }
.btn--light:hover { background: var(--color-surface); color: var(--color-accent); }

.link-line {
  align-self: flex-start; padding-bottom: 6px; border-bottom: 1px solid currentColor;
  font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; text-decoration: none;
}

/* Photo / video placeholders — swapped for <img>/<video> when media arrives */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: var(--color-placeholder); border: 1px solid var(--color-line-strong);
  overflow: hidden;
}
.ph > span, .ph__label {
  font-size: 11px; letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--color-text-dim); text-align: center; padding: 8px;
}
.ph--framed::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid var(--color-accent); opacity: 0.4; pointer-events: none;
}
.ph img, .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Content layered over a photo inside a .ph frame */
.ph > img ~ .play-dot { position: relative; z-index: 1; box-shadow: 0 6px 24px rgba(59, 36, 24, 0.25); }
.ph > img ~ .play-dot--sm { background: var(--color-surface); }
.ph > img ~ .ph__label { z-index: 1; background: var(--color-bg); color: var(--color-text); padding: 6px 12px; }
.ph--framed > img + *, .ph--framed::after { z-index: 1; }
