:root {
  --primary: #0b233d;
  --secondary: #ce9a2c;
  --ink: #0b233d;
  --muted: #516073;
  --paper: #f5f7fa;
  --paper-strong: #ffffff;
  --night: #0b233d;
  --line: rgba(11, 35, 61, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.page-shell {
  min-height: 100vh;
  background: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(11, 35, 61, 0.64) 0%, rgba(11, 35, 61, 0.24) 40%, rgba(11, 35, 61, 0) 64%),
    url("../img/home-bg.jpg") 72% center / cover no-repeat;
}

.hero__copy {
  align-self: end;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 clamp(56px, 9vh, 110px);
  transform: translateX(-24%);
}

.site-mark {
  width: 82px;
  height: auto;
  margin-bottom: 22px;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.34));
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-left: 3px solid var(--secondary);
  color: #f3d590;
  background: rgba(11, 35, 61, 0.46);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
}

h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(3.6rem, 7.8vw, 7.8rem);
  font-weight: 700;
  text-shadow: 0 24px 58px rgba(0, 0, 0, 0.62);
}

.stars {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.stars span {
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--secondary);
  border-left: 1px solid var(--secondary);
  transform: rotate(45deg) skew(-15deg, -15deg);
}

.editorial-section {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 84px;
}

.editorial-intro {
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  margin-bottom: 34px;
}

.editorial-intro__media {
  position: relative;
  justify-self: center;
  width: min(100%, 300px);
  aspect-ratio: 4 / 5;
}

.gold-frame {
  position: absolute;
  inset: 20px 20px -20px -20px;
  border: 1px solid var(--secondary);
}

.editorial-intro__media img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(11, 35, 61, 0.2);
}

.editorial-intro__copy {
  padding-top: 18px;
  border-top: 4px solid var(--secondary);
}

.editorial-intro__copy h2 {
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.4vw, 4.1rem);
}

.editorial-intro__copy p {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.editorial-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
  overflow: hidden;
}

.editorial-card {
  display: flex;
  min-height: 308px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.editorial-card:nth-child(1),
.editorial-card:nth-child(7) {
  grid-column: span 2;
}

.editorial-card:nth-child(1) {
  min-height: 260px;
  background: var(--primary);
  color: #ffffff;
}

.editorial-card:nth-child(1) h3,
.editorial-card:nth-child(1) p {
  color: #ffffff;
}

.editorial-card:nth-child(1) .editorial-card__icon {
  color: var(--secondary);
  border-color: rgba(206, 154, 44, 0.55);
  background: rgba(206, 154, 44, 0.14);
  box-shadow: inset 0 0 0 7px rgba(11, 35, 61, 0.32);
}

.editorial-card:nth-child(1) a {
  border-color: var(--secondary);
  color: var(--primary);
  background: var(--secondary);
}

.editorial-card:nth-child(7) {
  min-height: 260px;
  background: rgba(11, 35, 61, 0.06);
}

.editorial-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(206, 154, 44, 0.34);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(206, 154, 44, 0.12);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.62);
}

.editorial-card__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.editorial-card h3 {
  color: var(--ink);
  font-size: 1.8rem;
}

.editorial-card p {
  margin: 14px 0 24px;
  color: var(--muted);
  font-size: 0.96rem;
}

.editorial-card a,
.editorial-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid var(--ink);
  color: var(--paper-strong);
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.editorial-card a:hover,
.editorial-card a:focus-visible {
  border-color: var(--secondary);
  background: var(--secondary);
  color: var(--primary);
}

.editorial-status {
  border-color: rgba(11, 35, 61, 0.22);
  color: var(--muted);
  background: transparent;
}

.site-footer {
  padding: 34px 20px 42px;
  color: rgba(255, 255, 255, 0.8);
  background: var(--night);
  text-align: center;
}

.stars--footer {
  justify-content: center;
  margin: 0 0 18px;
}

.site-footer p {
  margin: 0;
  font-size: 0.86rem;
}

@media (max-width: 1120px) {
  .hero {
    background-position: 66% center;
  }

  .hero__copy {
    transform: translateX(-12%);
  }

  .editorial-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .hero {
    min-height: 92svh;
    background:
      linear-gradient(180deg, rgba(11, 35, 61, 0.06) 0%, rgba(11, 35, 61, 0.12) 35%, rgba(11, 35, 61, 0.82) 100%),
      url("../img/home-bg.jpg") 63% top / cover no-repeat;
  }

  .hero__copy {
    align-self: end;
    width: min(100% - 28px, 760px);
    padding: 240px 0 52px;
    transform: none;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.9rem);
  }

  .editorial-section {
    width: min(100% - 28px, 1180px);
    padding: 52px 0 64px;
  }

  .editorial-intro {
    grid-template-columns: 1fr;
  }

  .editorial-intro__media {
    min-height: 0;
    width: min(320px, 88vw);
  }

  .editorial-links {
    grid-template-columns: 1fr;
  }

  .editorial-card:nth-child(1),
  .editorial-card:nth-child(7) {
    grid-column: span 1;
  }

  .editorial-card {
    min-height: 244px;
  }
}
