/* Chris Tranchina portfolio. One accent, set once in :root. */
:root {
  --ground: #F2F4F0;
  --ink: #14201C;
  --ink-soft: #36443E;
  --muted: #4F5D57;
  --line: #CBD2CB;
  --panel: #FFFFFF;
  --accent: #B02A58;
  --accent-light: #E7B8C8;
  --night: #14201C;
  --night-field: #1C2B26;
  --night-line: #5C6B65;
  --night-text: #C5CFC9;

  --tone-sage: #D8E3DA;
  --tone-sky: #D6E4EA;
  --tone-dusk: #DCD9E8;
  --tone-blush: #EBDADF;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: 24px;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 24px; }

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

img { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 10;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius);
}
.skip:focus { top: 16px; }

h1, h2, h3 { text-wrap: balance; }

/* ---------- Header ---------- */
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 28px; padding-bottom: 28px;
}
.brand {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800;
  font-size: 18px; letter-spacing: -0.01em; text-decoration: none;
}
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; }
.nav__contact { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
  padding-top: 48px; padding-bottom: 88px;
}
.hero__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__reel { flex: 1 1 460px; min-width: 0; }

.eyebrow {
  margin: 0; font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
h1 {
  margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.025em;
}
.lede { margin: 0; max-width: 520px; font-size: 18px; color: var(--ink-soft); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  border-radius: var(--radius); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; border: 0; }
.btn--primary:hover { color: #fff; filter: brightness(0.92); }
.btn--ghost { border: 1.5px solid var(--ink); }

/* Reel placeholder and embed */
.reel {
  position: relative; aspect-ratio: 16 / 9; background: var(--night); color: var(--ground);
  border-radius: var(--radius); overflow: hidden;
}
.reel__safe { position: absolute; inset: 8%; border: 1px dashed rgba(242, 244, 240, 0.35); }
.reel__tc, .reel__spec {
  position: absolute; top: 16px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em;
}
.reel__tc { left: 20px; color: var(--accent-light); }
.reel__spec { right: 20px; color: var(--night-text); }
.reel__body {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 0 12%;
}
.reel__title {
  margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(20px, 2.6vw, 30px); line-height: 1.1;
}
.reel__note { margin: 0; font-size: 14px; color: var(--night-text); }
.reel__bar { position: absolute; left: 20px; right: 20px; bottom: 18px; height: 3px; background: rgba(242, 244, 240, 0.2); }
.reel__bar span { display: block; width: 4%; height: 100%; background: var(--accent); }

.reel-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--night); }
.reel-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.reel-caption { margin: 12px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px; padding-top: 40px; padding-bottom: 40px;
}
.services__title {
  margin: 0 0 6px; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 18px;
}
.services__grid p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-top: 88px; padding-bottom: 32px; }
.section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 36px;
}
.section__title {
  margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1.1;
}
#case-studies .section__title { margin-bottom: 24px; }

/* ---------- Work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 44px; padding: 0 20px; border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.filter.is-active { background: var(--ink); color: var(--ground); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.tile[hidden] { display: none; }
.tile { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile__media {
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 14px 16px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
.tile__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 20px; }
.tile__kind { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.tile__title { margin: 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 19px; line-height: 1.2; }
.tile__meta { margin: 0; font-size: 14px; color: var(--muted); }

.tone-sage { background: var(--tone-sage); }
.tone-sky { background: var(--tone-sky); }
.tone-dusk { background: var(--tone-dusk); }
.tone-blush { background: var(--tone-blush); }

/* ---------- Case studies ---------- */
.case {
  display: flex; flex-wrap: wrap; gap: 20px 56px; padding: 36px 0; border-top: 1px solid var(--line);
}
.case--first { border-top: 1.5px solid var(--ink); }
.case--last { border-bottom: 1px solid var(--line); }
.case__head { flex: 1 1 280px; min-width: 0; }
.case__head h3 { margin: 0 0 8px; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 26px; line-height: 1.15; }
.case__role { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.case__facts { flex: 2 1 420px; min-width: 0; margin: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px 20px; }
.case__facts dt { padding-top: 3px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.case__facts dd { margin: 0; }

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; gap: 48px; padding-bottom: 88px; }
.about__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.portrait {
  aspect-ratio: 4 / 5; display: flex; align-items: flex-end; padding: 16px; border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.about__text { flex: 2 1 460px; min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: 20px; font-size: 18px; color: #26332E; }
.about__text p { margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--night); color: var(--ground); }
.contact__inner { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.contact__copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__lede { margin: 0; max-width: 440px; font-size: 18px; color: var(--night-text); }
.contact__email { margin: 0; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em; }
.contact a { color: var(--accent-light); }
.contact a:hover { color: #fff; }
.contact__where { margin: 0; font-size: 14px; color: var(--night-text); }

.form { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--night-line); border-radius: var(--radius);
  background: var(--night-field); color: var(--ground); font: inherit; font-size: 16px; padding: 12px 14px;
}
.field input { min-height: 48px; padding-top: 0; padding-bottom: 0; }
.field textarea { resize: vertical; }
.form .btn { align-self: flex-start; padding: 0 28px; font-size: 16px; }
.contact :focus-visible { outline-color: var(--accent-light); }

/* ---------- Footer ---------- */
.site-footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Sub pages (case studies) ---------- */
.nav a[aria-current="page"] { color: var(--accent); }

.breadcrumb { padding-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.page-head { display: flex; flex-direction: column; gap: 20px; max-width: 860px; padding-top: 40px; padding-bottom: 40px; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); }
.page-head .lede { max-width: 680px; }

.facts-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 32px;
  margin: 0; padding: 24px 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line);
}
.facts-strip dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.facts-strip dd { margin: 4px 0 0; }

.hero-figure { margin: 40px 0 0; }
.hero-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.hero-figure figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }

.article { display: flex; flex-wrap: wrap; gap: 20px 56px; padding: 48px 0; border-top: 1px solid var(--line); }
.article:first-of-type { margin-top: 40px; }
.article h2 { flex: 1 1 240px; min-width: 0; margin: 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 26px; line-height: 1.15; }
.article__body { flex: 2 1 460px; min-width: 0; max-width: 680px; font-size: 18px; color: #26332E; }
.article__body p { margin: 0 0 16px; }
.article__body ul { margin: 0; padding-left: 1.1em; }
.article__body li { margin-bottom: 12px; }
.article--stack { flex-direction: column; flex-wrap: nowrap; }
.article--stack h2 { flex: 0 0 auto; }
.article__note { margin: -8px 0 0; font-size: 14px; color: var(--muted); }

.notice {
  margin: 48px 0; padding: 18px 20px; background: var(--panel);
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  font-size: 14px; color: var(--ink-soft);
}
.notice p { margin: 0; }

.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 40px 0; border-top: 1.5px solid var(--ink);
}
.cta__title { margin: 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 26px; line-height: 1.15; }
.back-link { margin: 0 0 72px; font-weight: 600; }

.case-list { padding-bottom: 24px; }
.case__head h2 { margin: 0 0 8px; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 26px; line-height: 1.15; }
.case__credit { flex: 1 1 100%; margin: 0; font-size: 13px; color: var(--muted); }

.more-link { margin: 24px 0 0; font-weight: 600; }

.tile__media--label { aspect-ratio: 16 / 5; }

/* ---------- Events page ---------- */
.season {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  margin: 0 0 24px; padding: 36px 32px; background: var(--night); color: var(--ground); border-radius: var(--radius);
}
.season__copy { flex: 1 1 420px; min-width: 0; max-width: 700px; display: flex; flex-direction: column; gap: 12px; }
.season__copy p { margin: 0; color: var(--night-text); }
.season__copy .season__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-light); }
.season__title { margin: 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; color: var(--ground); }

.cover-grid { padding: 0; }
.cover-grid > div { min-width: 0; }

.offers { flex: 0 0 auto; align-items: start; align-content: start; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.offer { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.offer p { margin: 0; }
.offer__kind { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.offer__price { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; }
.offer__meta { font-size: 14px; color: var(--muted); }
.offer ul { margin: 6px 0 0; padding-left: 1.1em; font-size: 15px; }
.offer li { margin-bottom: 6px; }
.offer--addons { background: transparent; border-style: dashed; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
.steps li { position: relative; padding-left: 46px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px;
  display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%;
  font-family: var(--font-mono); font-size: 13px;
}

.faq details { padding: 16px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }

/* Tiles with an image: size the media box to the image so padding is even on all sides */
.tile__media:has(img) { aspect-ratio: auto; }
