/* ==========================================================================
   WESTEND — WIRECUT INC.
   Base stylesheet. Monochrome, editorial, type-led.
   ========================================================================== */

:root {
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --paper: #ffffff;
  --grey-90: #111111;
  --grey-60: #6b6b6b;
  --grey-40: #9b9b9b;
  --grey-15: #e4e4e4;
  --grey-08: #f2f1ef;

  --sans: "Helvetica Neue", Helvetica, "Inter", "Segoe UI", Arial, sans-serif;
  --serif: "Times New Roman", Times, Georgia, serif;

  --gutter: clamp(20px, 5vw, 72px);
  --rule: 1px solid var(--grey-15);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------- type ---- */

.wordmark {
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  white-space: nowrap;
  /* letter-spacing adds trailing space; pull it back so it optically centres */
  text-indent: 0.42em;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey-60);
  margin: 0 0 20px;
}

.display {
  font-size: clamp(34px, 6.4vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 300;
}

.h2 {
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 300;
}

.h3 {
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--grey-90);
  font-weight: 300;
}

.muted { color: var(--grey-60); }
.small { font-size: 13px; line-height: 1.7; }

/* ------------------------------------------------------------- layout ---- */

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: 760px; }

.section { padding-block: clamp(64px, 9vw, 140px); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--paper { background: var(--grey-08); }

.rule { border: 0; border-top: var(--rule); margin: 0; }

/* --------------------------------------------------------------- nav ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.nav__brand {
  font-size: 17px;
  display: inline-flex;
  align-items: center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-60);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  margin-right: -10px;
  cursor: pointer;
  color: var(--ink);
}

.nav__toggle svg { display: block; }

@media (max-width: 860px) {
  .nav__toggle { display: block; }

  .nav__links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: var(--rule);
    padding: 8px var(--gutter) 28px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  }

  .nav__links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav__links li { width: 100%; border-bottom: var(--rule); }
  .nav__links li:last-child { border-bottom: 0; }
  .nav__links a { display: block; padding: 18px 0; font-size: 12px; }
  .nav__links a[aria-current="page"] { border-bottom-color: transparent; }
}

/* ------------------------------------------------------------- buttons --- */

.btn {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover { background: transparent; color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--invert { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--invert:hover { background: transparent; color: var(--paper); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  opacity: 0.78;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.1) 42%, rgba(0,0,0,0.72) 100%);
}

.hero__inner {
  position: relative;
  color: var(--paper);
  padding-block: clamp(48px, 8vw, 96px);
  max-width: 820px;
}

.hero .eyebrow { color: rgba(255, 255, 255, 0.7); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* --------------------------------------------------------------- grids --- */

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 32px);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- cards --- */

.card { display: block; }

.card__media {
  position: relative;
  overflow: hidden;
  background: var(--grey-08);
  aspect-ratio: 3 / 4;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.card:hover .card__media img { transform: scale(1.045); }

.card__body { padding-top: 16px; }

.card__title {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card__meta {
  font-size: 13px;
  color: var(--grey-60);
  margin-top: 4px;
}

/* --------------------------------------------------------------- split --- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}

.split--wide-left { grid-template-columns: 1.15fr 1fr; }

@media (max-width: 860px) {
  .split, .split--wide-left { grid-template-columns: 1fr; }
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* -------------------------------------------------------------- marquee -- */

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 2px;
}

.strip img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

@media (max-width: 860px) {
  .strip {
    grid-auto-columns: 62vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .strip img { scroll-snap-align: start; }
}

/* ---------------------------------------------------------------- list --- */

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--rule);
}

.facts li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: var(--rule);
}

.facts dt, .facts .facts__k {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-60);
}

@media (max-width: 620px) {
  .facts li { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------------------------------------------------------------- prose -- */

.prose h2 {
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 48px 0 14px;
}

.prose h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 28px 0 8px;
}

.prose h2:first-child { margin-top: 0; }

.prose ul { margin: 0 0 1.15em; padding-left: 20px; }
.prose li { margin-bottom: 6px; }

.prose a { border-bottom: 1px solid var(--grey-40); }
.prose a:hover { border-bottom-color: var(--ink); }

.prose__meta {
  font-size: 13px;
  color: var(--grey-60);
  padding-bottom: 28px;
  margin-bottom: 40px;
  border-bottom: var(--rule);
}

/* ---------------------------------------------------------------- form --- */

.form { display: grid; gap: 20px; }

.field { display: grid; gap: 8px; }

.field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-60);
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--grey-40);
  padding: 10px 0;
  border-radius: 0;
  transition: border-color 0.25s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.field textarea { resize: vertical; min-height: 120px; }

.form__consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--grey-60);
  line-height: 1.6;
}

.form__consent input { margin-top: 4px; accent-color: var(--ink); }
.form__consent a { border-bottom: 1px solid var(--grey-40); }

/* -------------------------------------------------------------- footer --- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(56px, 7vw, 88px) 32px;
}

.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--paper); }

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}

@media (max-width: 940px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand .wordmark { font-size: 18px; }

.footer__title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 18px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer__bottom {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------------ utilities -- */

.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: 44px; }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.credit {
  font-size: 11px;
  color: var(--grey-40);
  letter-spacing: 0.04em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 100;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.section--ink :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------------------------------------------------------------- table -- */

.table-scroll { overflow-x: auto; margin: 0 0 1.15em; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}

.table caption {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-60);
  padding-bottom: 12px;
}

.table th,
.table td {
  text-align: left;
  padding: 12px 16px 12px 0;
  border-bottom: var(--rule);
}

.table thead th {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-60);
  font-weight: 500;
  border-bottom-color: var(--grey-40);
}

.table tbody tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------ locations -- */

.locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

@media (max-width: 620px) { .locations { grid-template-columns: 1fr; } }

.location {
  border-top: 1px solid var(--grey-40);
  padding-top: 18px;
}

.location h3 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-60);
  margin: 0 0 12px;
}

.location address { font-style: normal; line-height: 1.7; }

.site-footer .location { border-top-color: rgba(255, 255, 255, 0.24); }
.site-footer .location h3 { color: rgba(255, 255, 255, 0.48); }

/* ---------------------------------------------------------------- faq ---- */

.faq { border-top: var(--rule); }

.faq details { border-bottom: var(--rule); }

.faq summary {
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-size: 16px;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 20px;
  font-size: 20px;
  color: var(--grey-60);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--grey-60); }

.faq .faq__a {
  padding: 0 40px 24px 0;
  color: var(--grey-60);
  max-width: 68ch;
}

/* ------------------------------------------------------- cookie notice --- */

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 22px clamp(20px, 3vw, 30px);
  display: none;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 940px;
  margin-inline: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.cookie.is-visible { display: flex; }

.cookie p { font-size: 13px; line-height: 1.6; margin: 0; max-width: 60ch; color: rgba(255, 255, 255, 0.8); }
.cookie a { color: var(--paper); border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie .btn {
  padding: 12px 22px;
  font-size: 10px;
}
