@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700&family=Barlow:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
  background: #000;
  color: #fff;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ── Scroll margin for sticky nav ── */
section[id] { scroll-margin-top: 120px; }

/* ── Site Wrapper ── */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  border-bottom: 2px solid #fff;
}

.header-brand {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid #333;
}

.brand-link { display: inline-flex; align-items: center; }

.brand-logo { height: 40px; width: auto; }

.brand-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.header-tagline {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: #888;
  text-transform: uppercase;
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

nav ol li a {
  display: inline-block;
  padding: 0.75rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  border-right: 1px solid #222;
  transition: background 0.18s, color 0.18s;
  min-height: 44px;
  line-height: 1;
  display: flex;
  align-items: center;
}

nav ol li:first-child a { border-left: 1px solid #222; }

nav ol li a:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}

.header-contact a {
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #888;
  border: 1px solid #333;
  padding: 0.45rem 0.9rem;
  transition: border-color 0.18s, color 0.18s;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.header-contact a:hover { color: #fff; border-color: #fff; text-decoration: none; }

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  border-bottom: 2px solid #fff;
}

.hero-media {
  position: relative;
  background: #111;
  overflow: hidden;
}

.hero-media .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  top: 2rem;
  right: 1.5rem;
  background: #fff;
  color: #000;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 4rem 3rem 4rem 2rem;
  border-left: 2px solid #fff;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1.25rem;
}

.hero-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
  word-break: break-all;
}

.hero-desc {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  max-width: 28rem;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  background: #fff;
  color: #000;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 2px solid #fff;
  transition: background 0.18s, color 0.18s;
  min-height: 44px;
}

.hero-cta:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

/* ── Editorial Wrap ── */
.editorial-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-template-areas: "main aside";
  gap: 0;
  flex: 1;
  border-bottom: 2px solid #fff;
}

/* ── Main / Article ── */
.editorial-main {
  grid-area: main;
  border-right: 2px solid #fff;
}

.editorial-article {
  padding: 3rem 3rem 4rem 3rem;
}

.content-body {
  max-width: 72ch;
}

/* Content typography */
.content-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 3rem 0 1rem;
  padding-top: 2.5rem;
  border-top: 2px solid #fff;
}

.content-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin: 2rem 0 0.75rem;
}

.content-body h4 {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #ddd;
  margin: 1.5rem 0 0.5rem;
}

.content-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: #ccc;
  margin-bottom: 1.25rem;
}

/* Drop caps on first p of each section */
.content-body section > p:first-of-type::first-letter {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 0.8;
  float: left;
  margin-right: 0.1em;
  margin-top: 0.08em;
  color: #fff;
  text-transform: uppercase;
}

.content-body ul,
.content-body ol {
  margin: 0 0 1.25rem 1.5rem;
}

.content-body ul { list-style: disc; }
.content-body ol { list-style: decimal; }

.content-body li {
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 0.4rem;
}

.content-body a {
  color: #fff;
  border-bottom: 1px solid #555;
  transition: border-color 0.15s;
}

.content-body a:hover { border-color: #fff; text-decoration: none; }

.content-body blockquote {
  border-left: 4px solid #fff;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #fff;
  background: #111;
}

.content-body blockquote cite {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-top: 0.75rem;
}

.content-body figure {
  margin: 2rem 0;
  border: 1px solid #333;
}

.content-body figcaption {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #888;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid #333;
}

.content-body section {
  margin-bottom: 1rem;
}

/* small eyebrow before h2/h3 (injected by build2) */
.content-body small {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
  margin-top: 3rem;
  margin-bottom: 0.4rem;
}

/* ── Aside ── */
.editorial-aside {
  grid-area: aside;
  position: sticky;
  top: 120px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.aside-inner {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid #222;
}

.aside-eyebrow {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.5rem;
}

.aside-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #333;
}

.editorial-aside ul {
  margin-bottom: 2rem;
}

.editorial-aside ul li {
  border-bottom: 1px solid #1a1a1a;
}

.editorial-aside ul li a {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #aaa;
  padding: 0.65rem 0;
  transition: color 0.15s, padding-left 0.15s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.editorial-aside ul li a:hover {
  color: #fff;
  padding-left: 0.5rem;
  text-decoration: none;
}

/* Pull quote in aside */
.pull-quote blockquote {
  border-left: 3px solid #fff;
  padding: 0.75rem 1rem;
  margin: 0;
  background: #0a0a0a;
}

.pull-quote blockquote p {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.45;
  color: #ddd;
  margin: 0;
}

/* ── Footer ── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 2rem;
  border-top: 2px solid #fff;
  background: #000;
}

.footer-address {
  font-style: normal;
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #888;
}

.footer-address a {
  color: #888;
  transition: color 0.15s;
}

.footer-address a:hover { color: #fff; text-decoration: none; }

.footer-links {
  display: flex;
  gap: 0;
}

.footer-links li a {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  padding: 0.4rem 0.75rem;
  border: 1px solid #222;
  margin-left: -1px;
  transition: color 0.15s, border-color 0.15s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.footer-links li a:hover { color: #fff; border-color: #fff; text-decoration: none; }

.footer-copy {
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  color: #555;
  letter-spacing: 0.05em;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* stagger */
.stagger-list > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-list.visible > * { opacity: 1; transform: none; }
.stagger-list.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-list.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-list.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-list.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-list.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-list.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-list.visible > *:nth-child(7) { transition-delay: 0.35s; }

/* Hero parallax target */
.hero-media { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stagger-list > * { opacity: 1; transform: none; transition: none; }
  .hero-media { will-change: auto; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .editorial-wrap {
    grid-template-columns: 1fr 240px;
  }

  .editorial-article { padding: 2rem 2rem 3rem; }
}

@media (max-width: 768px) {
  html { font-size: 16px; }

  .site-header { position: sticky; top: 0; }

  section[id] { scroll-margin-top: 100px; }

  .header-brand {
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .brand-text { font-size: 1.5rem; }

  .header-nav-row { padding: 0 1rem; overflow-x: auto; }

  nav ol { flex-wrap: nowrap; overflow-x: auto; }

  nav ol li a {
    white-space: nowrap;
    padding: 0.7rem 0.75rem;
    font-size: 0.78rem;
  }

  .header-contact { display: none; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 50vh auto;
    min-height: auto;
  }

  .hero-copy {
    text-align: left;
    align-items: flex-start;
    border-left: none;
    border-top: 2px solid #fff;
    padding: 2rem 1.25rem;
  }

  .hero-h1 { font-size: clamp(2.2rem, 9vw, 3.5rem); }

  .editorial-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "aside"
      "main";
  }

  .editorial-main { border-right: none; border-top: 2px solid #fff; }

  .editorial-aside {
    position: static;
    max-height: none;
    border-bottom: 2px solid #fff;
  }

  .editorial-article { padding: 1.5rem 1.25rem 2.5rem; }

  .content-body { max-width: 100%; }

  .content-body h2 { font-size: 1.6rem; }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1rem;
    gap: 0.75rem;
  }

  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-media { min-height: 40vh; }

  nav ol { gap: 0; }

  nav ol li a { padding: 0.65rem 0.6rem; font-size: 0.72rem; }
}
