:root {
  color-scheme: light;
  --navy: #122331;
  --night: #0c1823;
  --ivory: #f8f4ec;
  --ink: #151b21;
  --gold: #f4c36c;
  --bronze: #795019;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #2975ab; outline-offset: 5px; }
.header a:focus-visible, .hero a:focus-visible, .meaning a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }
.wrap { width: min(90%, 76rem); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 3; padding: .5rem 1rem; background: var(--ivory); transform: translateY(-200%); }
.skip:focus { transform: none; }

.header { background: var(--navy); color: white; }
.header-inner { min-height: 4.6rem; display: flex; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; white-space: nowrap; }
.brand img { width: 5rem; height: auto; }
.brand span { font-size: 1.02rem; font-weight: 600; letter-spacing: .32em; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem clamp(.85rem, 3vw, 2.6rem); }
nav a { position: relative; display: inline-block; padding: .65rem 0; color: white; font-size: .92rem; text-decoration: none; }
nav a:hover { color: var(--gold); }
nav a:first-child::after { content: ""; position: absolute; inset: auto 0 .28rem; border-bottom: 2px solid var(--gold); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(29rem, 44vw, 40rem);
  overflow: hidden;
  color: white;
  background: var(--night);
}
.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: linear-gradient(90deg, #08141edb, #0d1924a8 52%, transparent), url("img/rocky-coast.webp") left bottom / 70% auto no-repeat;
}
.hero-art { position: absolute; inset: 0 0 0 42%; z-index: -1; mask-image: linear-gradient(90deg, transparent, black 23%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-copy { padding-block: 3.25rem; }
.eyebrow { margin: 0 0 .45rem; color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--serif); line-height: 1.06; letter-spacing: -.045em; }
h1 { color: #fffaf1; font-size: clamp(4rem, 8.1vw, 7.4rem); font-weight: 400; letter-spacing: -.04em; }
h1 span { color: var(--gold); }
h2 { font-size: clamp(2.2rem, 4.1vw, 4rem); }
.hero-subtitle { margin: .55rem 0 0; font: clamp(1.22rem, 2.35vw, 1.85rem)/1.35 var(--serif); }
.hero-verse { margin: .22rem 0 1.25rem; font-size: 1.16rem; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; min-height: 2.8rem; align-items: center; justify-content: center; gap: .6rem; padding: .6rem 1.15rem; border: 1px solid transparent; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.button span { font-size: 1.12rem; line-height: 1; }
.button-gold { color: #21170c; background: var(--gold); }
.button-gold:hover { background: #ffda92; }
.button-outline { border-color: #fff5e4; color: white; }
.button-outline:hover { background: #ffffff24; }

.featured { padding-block: clamp(2rem, 5vw, 4.8rem); }
.feature-grid, .meaning-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.product-figure { margin: 0; }
.product-figure img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: contain; background: #e4e1dc; }
.product-figure figcaption { margin-top: .55rem; color: #534c44; font-size: .82rem; text-align: center; }
.featured .eyebrow, .story .eyebrow { color: var(--bronze); }
.product-copy > p:not(.eyebrow) { max-width: 37ch; }
.product-verse { margin: .42rem 0; font-size: 1.18rem; font-weight: 650; }
.coming-soon { display: inline-block; margin: .2rem 0 1rem; padding: .38rem .85rem; border: 1px solid #a98042; background: #f9e9c9; color: #63420e; font-size: .82rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.thumbnails:not([hidden]) { display: flex; flex-wrap: wrap; gap: .6rem; }
.thumbnails button { width: 4.9rem; height: 4.15rem; padding: 2px; border: 2px solid transparent; background: transparent; cursor: pointer; }
.thumbnails button:hover, .thumbnails button[aria-pressed="true"] { border-color: var(--bronze); }
.thumbnails img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }

.meaning {
  padding-block: clamp(2.7rem, 6vw, 5.8rem);
  color: white;
  background: linear-gradient(90deg, #0b1723f7, #0b1723c9), url("img/rocky-coast.webp") center 62% / cover, var(--night);
}
.meaning h2 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); }
.meaning p { max-width: 47ch; }
blockquote { margin: 0; padding: 1.15rem 0; border-block: 1px solid #f4c36c9e; text-align: center; }
.quote-mark { display: block; height: 2.25rem; color: var(--gold); font: 4.6rem/.9 var(--serif); }
blockquote p { margin: .6rem auto 1rem; font: italic clamp(1.2rem, 2.25vw, 1.65rem)/1.45 var(--serif); }
blockquote footer { color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
blockquote footer span { color: white; font-weight: 400; letter-spacing: .06em; }

.story { padding-block: clamp(2rem, 4vw, 4rem); }
.story-intro { max-width: 42rem; margin: 0 auto 2rem; text-align: center; }
.story h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; text-align: center; }
.values li { padding: .6rem 1rem; }
.values li + li { border-left: 1px solid #ddcdb9; }
.values img { height: 3.1rem; width: auto; margin: 0 auto .55rem; mix-blend-mode: multiply; }
.values h3 { margin: 0; font-size: 1rem; }
.values p { max-width: 23ch; margin: .35rem auto 0; font-size: .9rem; }
.site-footer {
  padding: 2rem 1rem;
  background: linear-gradient(90deg, #0c1823e8, #0c1823b8 55%, #0c182358), url("img/sunset.webp") right 59% / cover, var(--night);
  color: white;
  text-align: center;
}
.footer-brand { flex-direction: column; }
.footer-brand img { width: 6rem; }
.footer-brand span { position: relative; font-size: 1.25rem; }
.footer-brand .trademark { position: absolute; top: .15em; left: 100%; font-size: .55em; letter-spacing: 0; }
.site-footer p { margin: .6rem 0 0; font-size: .8rem; font-weight: 700; letter-spacing: .26em; }

@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; gap: .05rem 1.4rem; padding-block: .65rem .3rem; }
  .hero { grid-template-rows: auto auto; min-height: 0; }
  .hero::before { background: linear-gradient(#0c1823cc, #0c1823f0), url("img/rocky-coast.webp") center / cover; }
  .hero-art { position: relative; inset: auto; grid-row: 2; width: 100%; mask-image: linear-gradient(transparent, black 17%); }
  .hero-art img { height: auto; max-height: 29rem; object-position: center 27%; }
  .hero-copy { grid-row: 1; padding-block: 2rem .75rem; }
  h1 { font-size: clamp(2.85rem, 11.5vw, 5.5rem); }
  .feature-grid, .meaning-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .values li:nth-child(odd) { border-left: 0; }
}
