/* Vornorin Chamber Notes — style.css */
/* Design: Runway-inspired cinematic editorial system */

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

:root {
  --black: #000000;
  --white: #ffffff;
  --ink: #030303;
  --ink-soft: #1a1a1a;
  --graphite: #404040;
  --slate: #676f7b;
  --stone: #939393;
  --ash: #999999;
  --hairline: #e7eaf0;
  --hairline-soft: #c9ccd1;
  --surface-cool: #d0d4d4;
  --canvas: #ffffff;
  --scrim: #1a1a1a;
  --footer-bg: #030303;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: underline; }
a:hover { opacity: 0.65; }
img { max-width: 100%; height: auto; display: block; }

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo:hover { opacity: 0.7; }
.brand-logo svg { width: 28px; height: 28px; }
.brand-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: -0.2px; }
.brand-name span { display: block; font-size: 11px; font-weight: 400; color: var(--slate); letter-spacing: 0.2px; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 12px;
  letter-spacing: 0;
}
.site-nav a:hover { color: var(--ink); opacity: 1; }

.burger-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger-btn span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 5px 0; }

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  z-index: 99;
  padding: 16px 24px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; font-size: 15px; color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-weight: 400; }
.mobile-nav a:last-child { border-bottom: none; }

/* ========== LAYOUT ========== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 48px; }

/* ========== HERO ========== */
.hero {
  background: var(--scrim);
  color: var(--white);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

.hero-eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -1.2px;
  color: var(--white);
  max-width: 700px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-img-wrap {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-img-wrap img { width: 100%; max-height: 400px; object-fit: cover; }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.btn-primary:hover { opacity: 0.88; text-decoration: none; color: var(--black); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.65); opacity: 1; text-decoration: none; color: var(--white); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.btn-dark:hover { opacity: 0.8; text-decoration: none; color: var(--white); }

/* ========== SECTION HEADER ========== */
.section-eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.9px;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-lead { font-size: 16px; line-height: 1.5; color: var(--graphite); max-width: 580px; }

section { padding: 80px 0; }

/* ========== CARDS ========== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline-soft); border: 1px solid var(--hairline-soft); }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline-soft); border: 1px solid var(--hairline-soft); }

.card {
  background: var(--canvas);
  padding: 0;
}

.card-img { aspect-ratio: 16/9; background: var(--surface-cool); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 24px; }
.card-eyebrow { font-size: 11px; font-weight: 450; letter-spacing: 0.2px; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.card-title { font-size: 20px; font-weight: 400; color: var(--ink); line-height: 1.1; letter-spacing: -0.3px; margin-bottom: 10px; }
.card-excerpt { font-size: 15px; line-height: 1.55; color: var(--graphite); margin-bottom: 14px; }
.card-meta { font-size: 13px; color: var(--stone); display: flex; gap: 14px; flex-wrap: wrap; letter-spacing: -0.26px; }
.card-link { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 14px; display: inline-block; text-decoration: underline; }

/* ========== RESEARCH ROW ========== */
.research-row { display: grid; grid-template-columns: 5fr 7fr; gap: 0; border-bottom: 1px solid var(--hairline); padding: 32px 0; align-items: start; }
.research-row:first-child { padding-top: 0; }
.research-thumb { background: var(--surface-cool); border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; }
.research-thumb img { width: 100%; height: 100%; object-fit: cover; }
.research-text { padding-left: 32px; }
.research-text .card-eyebrow { margin-bottom: 10px; }
.research-text .card-title { font-size: 22px; }
.research-text .card-excerpt { font-size: 15px; }

/* ========== GALLERY ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; background: var(--surface-cool); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; }
.gallery-caption { font-size: 12px; color: var(--stone); padding: 8px 12px; background: var(--canvas); border: 1px solid var(--hairline); border-top: none; border-radius: 0 0 var(--radius-md) var(--radius-md); }

/* ========== ARTICLE ========== */
.article-header { padding: 56px 0 32px; border-bottom: 1px solid var(--hairline); }
.article-eyebrow { display: inline-block; font-size: 11px; font-weight: 450; letter-spacing: 0.2px; text-transform: uppercase; color: var(--slate); border: 1px solid var(--hairline-soft); border-radius: var(--radius-pill); padding: 3px 10px; margin-bottom: 16px; text-decoration: none; }
.article-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -1.2px;
  color: var(--ink);
  margin-bottom: 16px;
}
.article-summary { font-size: 20px; line-height: 1.5; color: var(--graphite); max-width: 680px; margin-bottom: 20px; }
.article-meta { font-size: 13px; color: var(--stone); display: flex; flex-wrap: wrap; gap: 16px; letter-spacing: -0.26px; }
.article-meta strong { color: var(--ink-soft); }
.reading-time { font-size: 12px; background: var(--hairline); border-radius: var(--radius-pill); padding: 3px 10px; color: var(--graphite); }

.article-body { padding: 40px 0; }
.article-body h2 { font-size: 28px; font-weight: 400; color: var(--ink); margin: 44px 0 14px; letter-spacing: -0.9px; }
.article-body h3 { font-size: 20px; font-weight: 400; color: var(--ink); margin: 32px 0 10px; letter-spacing: -0.3px; }
.article-body p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 18px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 18px; }
.article-body li { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 6px; }
.article-body strong { color: var(--ink); }

.article-img { border-radius: var(--radius-md); overflow: hidden; margin: 28px 0; }
.article-img img { width: 100%; object-fit: cover; }
.article-img figcaption { font-size: 13px; color: var(--stone); padding: 8px 0 0; letter-spacing: -0.26px; }

.toc {
  background: var(--hairline);
  padding: 22px 28px;
  margin: 28px 0;
}
.toc h4 { font-size: 11px; font-weight: 450; text-transform: uppercase; letter-spacing: 0.2px; color: var(--slate); margin-bottom: 12px; }
.toc ol { padding-left: 18px; }
.toc li { font-size: 14px; margin-bottom: 6px; }
.toc a { color: var(--ink); text-decoration: underline; }

.key-context {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  padding: 20px 24px;
  margin: 24px 0;
}
.key-context h4 { font-size: 11px; font-weight: 450; text-transform: uppercase; letter-spacing: 0.2px; color: var(--slate); margin-bottom: 12px; }
.key-context p { font-size: 15px; line-height: 1.65; color: var(--graphite); margin-bottom: 8px; }
.key-context p:last-child { margin-bottom: 0; }

.not-cover {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  padding: 20px 24px;
  margin: 24px 0;
}
.not-cover h4 { font-size: 11px; font-weight: 450; text-transform: uppercase; letter-spacing: 0.2px; color: var(--slate); margin-bottom: 12px; }
.not-cover ul { padding-left: 18px; }
.not-cover li { font-size: 14px; line-height: 1.6; color: var(--graphite); margin-bottom: 5px; }

/* ========== BREADCRUMB ========== */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--stone); letter-spacing: -0.26px; }
.breadcrumb a { color: var(--stone); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 8px; }

/* ========== RELATED ========== */
.related { padding: 48px 0; border-top: 1px solid var(--hairline); margin-top: 16px; }
.related h3 { font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: 28px; letter-spacing: -0.3px; }

/* ========== STATIC PAGES ========== */
.static-page { padding: 56px 0 96px; }
.static-page h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 400; color: var(--ink); margin-bottom: 12px; line-height: 1.0; letter-spacing: -1.2px; }
.static-page .page-lead { font-size: 20px; line-height: 1.5; color: var(--graphite); margin-bottom: 48px; max-width: 620px; }
.static-page h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin: 40px 0 12px; letter-spacing: -0.9px; }
.static-page h3 { font-size: 18px; font-weight: 400; color: var(--ink); margin: 28px 0 8px; }
.static-page p { font-size: 16px; line-height: 1.7; color: var(--graphite); margin-bottom: 16px; }
.static-page ul { padding-left: 20px; margin-bottom: 16px; }
.static-page li { font-size: 16px; line-height: 1.65; color: var(--graphite); margin-bottom: 6px; }

/* ========== CONTACT FORM ========== */
.contact-form-wrap { max-width: 540px; margin-top: 32px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 16px; font-weight: 400; color: var(--ink); margin-bottom: 6px; }
.form-row input,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
  border: none;
  border-bottom: 1px solid var(--hairline-soft);
  padding: 12px 0;
  outline: none;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus { border-bottom-color: var(--ink); }
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--stone); }
.form-confirm { display: none; padding: 16px; background: var(--hairline); font-size: 15px; color: var(--ink); margin-top: 16px; border-radius: var(--radius-lg); }
#cf-error { display: none; color: #6b0000; font-size: 13px; margin-bottom: 12px; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 64px 0 32px;
  margin-top: 96px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .footer-wordmark { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 10px; letter-spacing: -0.2px; }
.footer-brand p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.52); max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 500; letter-spacing: 0.35px; text-transform: uppercase; color: var(--stone); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--white); text-decoration: none; margin-bottom: 10px; opacity: 0.72; }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  max-width: 1280px;
  margin: 28px auto 0;
  padding: 20px 48px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  letter-spacing: -0.26px;
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); opacity: 1; }

/* ========== COOKIE BANNER ========== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--canvas);
  border-top: 1px solid var(--hairline-soft);
  padding: 14px 48px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--graphite);
}
#cookie-banner p { flex: 1; min-width: 220px; line-height: 1.5; }
#cookie-banner a { color: var(--ink); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cookie-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-soft);
  background: var(--canvas);
  color: var(--ink);
  cursor: pointer;
  height: 40px;
}
.cookie-btn.accept { background: var(--black); color: var(--white); border-color: var(--black); }
.cookie-btn-link { font-size: 13px; color: var(--slate); background: none; border: none; cursor: pointer; padding: 4px 0; text-decoration: underline; }

/* ========== INTERLUDE ========== */
.interlude {
  background: var(--scrim);
  border-radius: var(--radius-lg);
  padding: 64px;
  color: var(--white);
  margin: 0;
  position: relative;
  overflow: hidden;
}
.interlude img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; z-index: 0; }
.interlude-content { position: relative; z-index: 1; max-width: 560px; }
.interlude .section-eyebrow { color: rgba(255,255,255,0.6); }
.interlude .section-title { color: var(--white); }
.interlude .section-lead { color: rgba(255,255,255,0.72); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .container, .container-narrow { padding: 0 32px; }
  .header-inner { padding: 0 32px; }
  .footer-inner { padding: 0 32px; grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { padding: 20px 32px 0; }
  #cookie-banner { padding: 14px 32px; }
  .hero-inner { padding: 0 32px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .research-row { grid-template-columns: 1fr; }
  .research-text { padding-left: 0; margin-top: 16px; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero { padding: 64px 0; }
  .site-nav { display: none; }
  .burger-btn { display: block; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .interlude { padding: 40px 28px; }
  .container, .container-narrow { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .footer-inner { padding: 0 20px; }
  .footer-bottom { padding: 20px 20px 0; }
  #cookie-banner { padding: 14px 20px; }
  .hero-inner { padding: 0 20px; }
}
