/* Kai Gluska — site styles
   Type: Newsreader (display) / Inter (body) / IBM Plex Mono (utility)
   Palette: ink #12100D, parchment #EDE6D6, copper #C17A3D, ember #8C3229, brass #A68A5B
*/

:root {
  --ink: #12100d;
  --ink-2: #1a1712;
  --ink-3: #221e17;
  --parchment: #ede6d6;
  --parchment-dim: #c9c1ae;
  --copper: #c17a3d;
  --ember: #8c3229;
  --brass: #a68a5b;
  --line: rgba(237, 230, 214, 0.14);
  --line-strong: rgba(237, 230, 214, 0.28);

  --display: "Newsreader", ui-serif, Georgia, serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  margin: 0;
  color: var(--parchment);
}

h1 { font-size: clamp(3rem, 9vw, 6.5rem); line-height: 0.98; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-style: italic; font-weight: 400; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; color: var(--parchment); }
p.lead { font-size: 1.15rem; color: var(--parchment-dim); }

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

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: var(--ink-2);
  box-shadow: 0 1px 0 var(--line-strong), 0 12px 28px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a { padding-bottom: 4px; border-bottom: 1px solid transparent; opacity: 0.85; }
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--copper); opacity: 1; }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 78vw;
    max-width: 320px;
    background: var(--ink-2);
    border-left: 1px solid var(--line);
    flex-direction: column;
    gap: 26px;
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--line-strong);
    padding: 0;
    z-index: 60;
    position: relative;
  }
  .nav-toggle .bar {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--parchment);
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle.open .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open .bar:nth-child(2) { opacity: 0; }
  .nav-toggle.open .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.15) contrast(1.05);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,16,13,0.15) 0%, rgba(18,16,13,0.35) 55%, rgba(18,16,13,0.96) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 88px;
}
.hero h1 { margin-top: 14px; }
.hero .role {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--parchment-dim);
  margin-top: 18px;
  max-width: 34ch;
}

/* Pluck divider (signature element, used once) */
.string-divider {
  width: min(600px, 70vw);
  height: 26px;
  margin-top: 18px;
  overflow: visible;
}
.string-divider path {
  fill: none;
  stroke: var(--copper);
  stroke-width: 2;
}
.string-divider.static path { d: path("M0,13 L600,13"); }

/* ---------- Sections ---------- */
section { padding: 108px 0; }
section.tight { padding: 72px 0; }
.section-head { margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 10px; }

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
}

.frame { overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 13px 22px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn:hover { border-color: var(--copper); background: rgba(193, 122, 61, 0.08); }
.btn.solid {
  background: var(--copper);
  color: var(--ink);
  border-color: var(--copper);
}
.btn.solid:hover { background: #d6924f; }

/* ---------- Dates list ---------- */
.dates-list { list-style: none; margin: 0; padding: 0; }
.date-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.date-row:first-child { border-top: 1px solid var(--line); }
.date-row .d {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--copper);
  letter-spacing: 0.04em;
}
.date-row .venue { font-family: var(--display); font-size: 1.15rem; }
.date-row .city { color: var(--parchment-dim); font-size: 0.92rem; }
@media (max-width: 620px) {
  .date-row { grid-template-columns: 1fr; gap: 6px; }
}

.empty-state {
  border: 1px dashed var(--line-strong);
  padding: 48px 32px;
  text-align: center;
}
.empty-state p { color: var(--parchment-dim); margin: 0 0 18px; }

/* ---------- Press ---------- */
.press-list { list-style: none; margin: 0; padding: 0; }
.press-item {
  display: grid;
  grid-template-columns: 100px 160px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.press-item:first-child { border-top: 1px solid var(--line); }
.press-thumb {
  width: 100px;
  height: 100px;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.press-thumb img { width: 100%; height: 100%; object-fit: cover; }
.press-item .outlet {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}
.press-item .desc a { border-bottom: 1px solid var(--line-strong); }
.press-item .desc a:hover { border-color: var(--copper); color: var(--copper); }
@media (max-width: 620px) {
  .press-item { grid-template-columns: 76px 1fr; grid-template-areas: "thumb outlet" "thumb desc"; }
  .press-item .press-thumb { grid-area: thumb; width: 76px; height: 76px; }
  .press-item .outlet { grid-area: outlet; }
  .press-item .desc { grid-area: desc; }
}

/* ---------- Video grid (Watch) ---------- */
.video-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.video-short-wrap {
  margin-top: 20px;
  max-width: 280px;
}
.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.video-frame.landscape { aspect-ratio: 16 / 9; }
.video-frame.portrait { aspect-ratio: 9 / 16; }
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 620px) {
  .video-row { grid-template-columns: 1fr; }
}

/* ---------- Gallery strip ---------- */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.gallery-strip .frame { aspect-ratio: 3/4; }
@media (max-width: 760px) {
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mailing list ---------- */
.mail-block {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 56px 40px;
  text-align: center;
}
.mail-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 24px auto 0;
}
.mail-form input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--parchment);
  padding: 13px 16px;
  font-family: var(--body);
  font-size: 14px;
}
.mail-form input::placeholder { color: var(--parchment-dim); }
@media (max-width: 480px) {
  .mail-form { flex-direction: column; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.social-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.social-links a { opacity: 0.75; }
.social-links a:hover { opacity: 1; color: var(--copper); }
.copyright { font-family: var(--mono); font-size: 11px; color: var(--parchment-dim); }

/* ---------- Page hero (non-home) ---------- */
.page-hero {
  position: relative;
  height: 62vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  margin-top: 0;
  overflow: hidden;
}
.page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.05);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,16,13,0.2) 0%, rgba(18,16,13,0.9) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: 56px; }

.content-block { max-width: 68ch; }
.content-block p.lead { font-size: 1.25rem; font-family: var(--display); font-style: italic; color: var(--parchment); }

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