:root {
  --ink: #f8fafc;
  --muted: rgba(248, 250, 252, 0.72);
  --paper: #fffaf0;
  --dark: #09090b;
  --gold: #d5a642;
  --red: #c5162d;
  --green: #18623d;
  --line: rgba(255, 255, 255, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--dark);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(9, 9, 11, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}

nav {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  padding: 10px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.93rem;
}

nav a:hover,
.nav-button {
  color: #111827;
  background: var(--gold);
}

.hero {
  position: relative;
  display: flex;
  min-height: 840px;
  align-items: center;
  padding: 92px clamp(22px, 6vw, 76px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 7, 0.88), rgba(6, 6, 7, 0.6) 44%, rgba(6, 6, 7, 0.22)),
    linear-gradient(0deg, rgba(6, 6, 7, 0.42), rgba(6, 6, 7, 0.14)),
    url("assets/hero-digital-devices.png") center / cover no-repeat;
}

.hero > * {
  position: relative;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy .eyebrow {
  margin-top: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.7vw, 4.8rem);
}

h3 {
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.12rem;
}

.actions,
.subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .actions {
  flex-wrap: nowrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 950;
  white-space: nowrap;
}

.primary {
  color: #121212;
  background: var(--gold);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.secondary.dark {
  color: #111827;
  border-color: rgba(17, 24, 39, 0.22);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 28px);
  position: relative;
  z-index: 2;
}

.stats div {
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: var(--paper);
  color: #111827;
}

.stats div:first-child {
  border-radius: 12px 0 0 12px;
}

.stats div:last-child {
  border-radius: 0 12px 12px 0;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-size: 1.45rem;
}

.stats span {
  color: #5b6472;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px clamp(18px, 4vw, 28px);
}

.about,
.printed,
.article-submit,
.subscribe,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.about {
  align-items: center;
}

.about-copy p:not(.eyebrow) {
  max-width: 620px;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: min(100%, 470px);
  margin-left: auto;
  border: 1px solid rgba(213, 166, 66, 0.28);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.about-photo figcaption {
  max-width: 470px;
  margin: 12px 0 0 auto;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section-heading {
  max-width: 780px;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.printed-card,
.submit-card,
.contact-card,
.subscribe {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.laurel-awards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  align-items: stretch;
  max-width: 680px;
  margin-inline: auto;
}

.hero-awards {
  position: relative;
  z-index: 2;
  margin: 0 0 4px;
}

.laurel-awards article {
  position: relative;
  min-height: 86px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 17px 10px 12px;
  overflow: hidden;
  text-align: center;
  background: transparent;
}

.laurel-awards article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/laurel.png") center / contain no-repeat;
  filter: drop-shadow(0 0 10px rgba(213, 166, 66, 0.14));
}

.award-year {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 0 4px;
  color: #f8df86;
  font-weight: 950;
  font-size: 0.56rem;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(213, 166, 66, 0.18);
}

.laurel-awards h3 {
  position: relative;
  z-index: 1;
  max-width: 62px;
  margin: 0;
  color: #f8df86;
  line-height: 1.08;
  font-size: clamp(0.36rem, 0.42vw, 0.5rem);
  text-shadow: 0 0 12px rgba(213, 166, 66, 0.2);
}

.advertising {
  max-width: 1180px;
  margin-top: 96px;
  padding: 72px clamp(18px, 4vw, 28px);
}

.advertising .section-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.92), rgba(9, 9, 11, 0.75) 52%, rgba(9, 9, 11, 0.32)),
    url("assets/advertising-background.png") center / cover no-repeat;
}

.ad-copy {
  max-width: 760px;
}

.advertising .section-heading .actions {
  justify-content: flex-end;
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.ad-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    #111827;
}

.ad-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #111827;
  background: var(--gold);
  font-weight: 950;
  font-size: 0.84rem;
}

.ad-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ad-grid li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.ad-grid li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.ad-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(213, 166, 66, 0.4);
  border-radius: 12px;
  background: rgba(213, 166, 66, 0.12);
}

.ad-note p {
  max-width: 760px;
  margin: 0;
}

.printed {
  max-width: 1180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.92), rgba(9, 9, 11, 0.72) 48%, rgba(9, 9, 11, 0.24)),
    url("assets/vanish-cover-lineup.png") center / cover no-repeat;
}

.printed-card {
  padding: 28px;
  background: rgba(9, 9, 11, 0.68);
  backdrop-filter: blur(6px);
}

.article-submit {
  align-items: center;
}

.submit-card,
.contact-card {
  padding: 28px;
}

.submit-card img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 0;
  background: transparent;
}

.contact {
  padding-top: 58px;
}

.contact-card a:not(.button) {
  color: var(--gold);
  font-weight: 900;
}

.subscribe {
  max-width: 1180px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.92), rgba(9, 9, 11, 0.72) 48%, rgba(9, 9, 11, 0.24)),
    url("assets/magazine-coffee-spread.png") center / cover no-repeat;
}

.subscribe-actions {
  justify-content: flex-end;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(22px, 6vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer strong {
  color: var(--gold);
}

footer a {
  color: var(--gold);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .about,
  .printed,
  .article-submit,
  .contact,
  .subscribe {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 900px;
  }

  .stats,
  .award-grid,
  .ad-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: 0;
    padding: 0;
  }

  .stats div,
  .stats div:first-child,
  .stats div:last-child {
    border-radius: 0;
  }

  .laurel-awards article {
    min-height: auto;
  }

  .hero-awards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero .actions,
  .advertising .section-heading {
    grid-template-columns: 1fr;
  }

  .hero .actions {
    flex-wrap: wrap;
  }

  .advertising .section-heading .actions {
    justify-content: flex-start;
  }

  .subscribe-actions {
    justify-content: flex-start;
  }

  .about-photo img,
  .about-photo figcaption {
    margin-left: 0;
  }

  .ad-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 3.25rem;
  }

  nav {
    justify-content: flex-start;
  }

}
