/* ============================================================
   ATTICUS — Interim Site · Shared Brand Stylesheet
   Locked identity v1.0. Tokens, type scale, primitives.
   ============================================================ */

:root {
  /* Palette — locked */
  --black:    #0B0D10;  /* Brand Black — primary bg + text   */
  --navy:     #17202A;  /* Charcoal Navy — panels / footer    */
  --offwhite: #F3F0E8;  /* Off-White — light ground / text    */
  --cyan:     #6FA8B8;  /* Muted Cyan — labels, fine rules    */
  --amber:    #C98A4A;  /* Amber — pull quotes, emphasis      */

  /* Derived neutrals (off-white at reduced strength on dark) */
  --ow-90: rgba(243,240,232,0.90);
  --ow-60: rgba(243,240,232,0.60);
  --ow-45: rgba(243,240,232,0.45);
  --ow-30: rgba(243,240,232,0.30);
  --ow-14: rgba(243,240,232,0.14);
  --ow-08: rgba(243,240,232,0.08);

  /* Type families */
  --display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --sans:    'DM Sans', system-ui, sans-serif;

  /* Spatial rhythm */
  --gutter: clamp(24px, 6vw, 120px);
  --section-gap: clamp(96px, 14vh, 200px);
}

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

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--black);
  color: var(--offwhite);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Type scale — locked ---------- */
.t-display {
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.0;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.t-h1 {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.t-h2 {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.1;
  letter-spacing: 0.06em;
  font-weight: 400;
}
.t-body {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
}
.t-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.t-caption {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}

.accent-cyan  { color: var(--cyan); }
.accent-amber { color: var(--amber); }

/* ---------- Layout helpers ---------- */
.wrap { padding-inline: var(--gutter); }
.rule { height: 1px; background: var(--ow-14); border: 0; }

/* ---------- Wordmark clear space ---------- */
.wordmark { height: auto; width: auto; }

/* ---------- Striped placeholder (stills / video poster) ---------- */
.ph {
  position: relative;
  background-color: var(--navy);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(243,240,232,0.035) 0px,
    rgba(243,240,232,0.035) 1px,
    transparent 1px,
    transparent 11px
  );
  overflow: hidden;
}
.ph::after {
  content: attr(data-ph);
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ow-30);
  text-transform: lowercase;
}

/* Play affordance for click-to-play posters */
.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  /* soft radial scrim keeps the control legible over any poster (bright or dark) */
  background:
    radial-gradient(42% 52% at 50% 50%, rgba(11,13,16,0.34), rgba(11,13,16,0.10) 62%, rgba(11,13,16,0) 100%),
    linear-gradient(to top, rgba(11,13,16,0.42) 0%, rgba(11,13,16,0) 34%);
  transition: background 0.4s ease, opacity 0.4s ease;
}
.play:hover {
  background:
    radial-gradient(42% 52% at 50% 50%, rgba(11,13,16,0.20), rgba(11,13,16,0.05) 62%, rgba(11,13,16,0) 100%),
    linear-gradient(to top, rgba(11,13,16,0.30) 0%, rgba(11,13,16,0) 34%);
}
.play-ring {
  width: clamp(64px, 7vw, 96px);
  aspect-ratio: 1;
  border: 1px solid var(--ow-90);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 26px rgba(11,13,16,0.40);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.play:hover .play-ring { border-color: var(--offwhite); transform: scale(1.04); }
.play-ring::before {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--offwhite);
  margin-left: 4px;
  filter: drop-shadow(0 1px 6px rgba(11,13,16,0.5));
}
.play-label {
  position: absolute;
  bottom: clamp(16px, 4vh, 36px);
  left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  text-shadow: 0 1px 14px rgba(11,13,16,0.7);
}

/* ---------- Fade-in on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s cubic-bezier(.22,.61,.36,1),
              transform 1.1s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Footer (shared) ---------- */
.site-footer {
  background: var(--navy);
  padding-block: clamp(48px, 8vh, 88px);
}
.site-footer .foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: flex-end;
  justify-content: space-between;
}
.site-footer .foot-icon { height: 34px; width: auto; opacity: 0.92; }
.site-footer a.email {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0.04em;
  color: var(--offwhite);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.site-footer a.email:hover { border-color: var(--cyan); color: var(--cyan); }
.site-footer .foot-meta { color: var(--ow-45); }
.site-footer .foot-meta span { display: block; }

/* Footer policy links (shared across pages) */
.site-footer .foot-links {
  display: flex; flex-direction: column; gap: 11px;
}
.site-footer .foot-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--ow-60);
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.site-footer .foot-links a:hover { color: var(--cyan); border-color: var(--cyan); }
