:root {
  --ink: #0f0e0d;
  --paper: #f5f2ec;
  --soft: #fbfaf7;
  --steel: #172a3d;
  --orange: #d8752c;
  --orange-soft: #f7e3d2;
  --blue: #0d8dff;
  --muted: #777168;
  --rule: #ddd7ce;
  --white: #fff;
  --shadow: 0 22px 60px rgba(15, 14, 13, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}
a { color: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(245, 242, 236, .9);
  border-bottom: 1px solid rgba(221, 215, 206, .72);
  backdrop-filter: blur(16px);
  transition: padding .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(245, 242, 236, .97);
  box-shadow: 0 8px 30px rgba(15, 14, 13, .08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand-logo {
  width: 56px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(13, 141, 255, .22);
}
.brand strong {
  display: block;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.1;
}
.brand small {
  display: block;
  margin-top: 3px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s ease, transform .2s ease;
}
.main-nav a:not(.nav-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.main-nav a:hover { color: var(--steel); }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-button {
  padding: 10px 16px;
  color: var(--white) !important;
  background: var(--steel);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(23, 42, 61, .18);
}
.nav-button:hover {
  background: var(--orange);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--white);
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--steel);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 108px clamp(18px, 5vw, 64px) 64px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.hero h1,
.section-heading h2,
.newsletter h2,
.about h2,
.contact-cta h2 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  color: var(--steel);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}
.hero h1 {
  max-width: 620px;
  font-size: clamp(36px, 4.7vw, 62px);
}
.hero-subtitle {
  max-width: 520px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.button.primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 14px 32px rgba(216, 117, 44, .28);
}
.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(216, 117, 44, .38);
}
.button.ghost {
  color: var(--steel);
  background: transparent;
  border: 2px solid var(--steel);
}
.button.ghost:hover {
  color: var(--white);
  background: var(--steel);
  transform: translateY(-3px);
}
.button.muted {
  color: rgba(255, 255, 255, .78);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .25);
}
.button.muted:hover {
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.hero-media {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--steel);
  box-shadow: var(--shadow);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(23, 42, 61, .48), transparent 44%), linear-gradient(0deg, rgba(15, 14, 13, .54), transparent 55%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .8s ease;
}
.hero-media:hover img { transform: scale(1.07); }
.hero-panel {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(23, 42, 61, .78);
  backdrop-filter: blur(10px);
}
.hero-panel span {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: var(--orange);
  text-transform: uppercase;
}
.hero-panel strong {
  display: block;
  color: var(--white);
  font-size: 16px;
  line-height: 1.35;
}

.section-band {
  padding: 76px clamp(18px, 5vw, 64px);
  background: var(--white);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(260px, .7fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}
.section-heading h2,
.newsletter h2,
.about h2,
.contact-cta h2 {
  font-size: clamp(28px, 3.4vw, 44px);
}
.section-heading p:last-child,
.newsletter p,
.about p,
.contact-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}
.article-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  background: var(--white);
  overflow: hidden;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.article-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--orange), var(--blue));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s ease;
}
.article-card:hover {
  z-index: 1;
  transform: translateY(-8px);
  background: var(--orange-soft);
  box-shadow: 0 18px 44px rgba(15, 14, 13, .12);
}
.article-card:hover::before { transform: scaleY(1); }
.article-card span {
  display: block;
  margin-bottom: 24px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
}
.article-card h3 {
  margin: 0 0 14px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 22px;
  line-height: 1.22;
  color: var(--steel);
  font-weight: 400;
}
.article-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 28px;
}
.article-card a {
  position: absolute;
  left: 30px;
  bottom: 28px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--steel);
  text-decoration: none;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 82px clamp(18px, 5vw, 64px);
  background: var(--steel);
}
.newsletter h2,
.newsletter .eyebrow,
.contact-cta .eyebrow { color: var(--white); }
.newsletter .eyebrow::before,
.contact-cta .eyebrow::before { background: var(--blue); }
.newsletter p {
  max-width: 620px;
  color: rgba(255, 255, 255, .62);
}
.newsletter-box {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .18);
}
.newsletter-box span {
  display: block;
  margin-bottom: 16px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: var(--blue);
  text-transform: uppercase;
}
.newsletter-box h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 23px;
  line-height: 1.25;
}
.newsletter-box p { margin-bottom: 24px; }

.about {
  display: grid;
  grid-template-columns: minmax(240px, .62fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.about-logo {
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 5px solid var(--orange);
}
.about-logo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / .82;
  object-fit: cover;
}
.about-copy p {
  max-width: 650px;
  margin-top: 22px;
}
.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.focus-list span {
  padding: 9px 12px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: var(--steel);
  background: var(--soft);
}

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .46fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 70px clamp(18px, 5vw, 64px);
  background: var(--steel);
}
.contact-cta h2 { color: var(--white); }
.contact-cta p {
  max-width: 640px;
  color: rgba(255, 255, 255, .62);
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer {
  background: var(--paper);
  color: var(--steel);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(140px, .6fr));
  gap: 36px;
  padding: 44px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--rule);
}
.footer-brand img {
  width: 124px;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--rule);
  display: block;
  margin-bottom: 14px;
}
.footer-brand p {
  margin: 0;
  max-width: 260px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  margin: 0 0 8px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.footer-col a:hover {
  color: var(--steel);
  transform: translateX(3px);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 34px;
  padding: 8px clamp(18px, 5vw, 64px);
  background: var(--steel);
  color: rgba(255, 255, 255, .78);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 18px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; }
  .nav-button {
    margin-top: 8px;
    text-align: center;
  }
  .hero,
  .newsletter,
  .about,
  .section-heading,
  .contact-cta { grid-template-columns: 1fr; }
  .hero {
    min-height: auto;
    padding-top: 106px;
  }
  .hero-media,
  .hero-media img { min-height: 420px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 270px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .brand span:not(.brand-logo) { display: none; }
  .brand-logo {
    width: 50px;
    height: 46px;
  }
  .hero h1 { font-size: 34px; }
  .hero-actions,
  .button { width: 100%; }
  .hero-media,
  .hero-media img { min-height: 340px; }
  .section-band,
  .newsletter,
  .contact-cta {
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .article-card,
  .newsletter-box { padding: 24px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
