:root {
  --paper: #ead8aa;
  --paper-light: #f7edcc;
  --paper-deep: #c7a35a;
  --ink: #1e190f;
  --ink-soft: #4f4228;
  --gold: #8f6b22;
  --line: rgba(30, 25, 15, .82);
  --shadow: rgba(35, 25, 10, .28);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,250,230,.78), transparent 34%),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.20), transparent 28%),
    linear-gradient(145deg, #d8bd7a 0%, #f7ebc8 48%, #c29a52 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .075;
  background-image:
    linear-gradient(90deg, rgba(30,25,15,.08) 1px, transparent 1px),
    linear-gradient(rgba(30,25,15,.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mix-blend-mode: multiply;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
}

.label-card {
  width: min(1060px, 100%);
  min-height: min(860px, calc(100vh - 48px));
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(255,250,226,.94) 0%, rgba(247,237,204,.92) 34%, rgba(234,216,170,.88) 100%),
    linear-gradient(rgba(247,237,204,.965), rgba(234,216,170,.955)),
    url('../img/ceravolo-wine-label.jpg') center / cover no-repeat;
  border: 3px solid var(--line);
  box-shadow: 0 28px 70px var(--shadow);
}

.label-card::before,
.label-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px solid var(--line);
  pointer-events: none;
}

.label-card::after {
  inset: 24px;
  border-width: 1px;
  opacity: .75;
}

.label-watermark {
  position: absolute;
  inset: 0;
  background: url('../img/ceravolo-wine-label.jpg') center 46% / 38% auto no-repeat;
  opacity: .045;
  filter: sepia(1) contrast(.85) blur(.6px);
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 72px;
  height: 72px;
  z-index: 2;
  opacity: .78;
}

.corner::before,
.corner::after {
  content: "";
  position: absolute;
  border-color: var(--line);
  border-style: solid;
}

.corner::before {
  width: 50px;
  height: 50px;
  border-width: 3px 0 0 3px;
}

.corner::after {
  width: 24px;
  height: 24px;
  border-width: 2px;
  border-radius: 50% 0 50% 0;
  transform: rotate(45deg);
}

.corner-tl { top: 27px; left: 27px; }
.corner-tr { top: 27px; right: 27px; transform: rotate(90deg); }
.corner-br { bottom: 27px; right: 27px; transform: rotate(180deg); }
.corner-bl { bottom: 27px; left: 27px; transform: rotate(270deg); }

.hero,
.intro,
.project-grid,
.footer-note { position: relative; z-index: 3; }

.eyebrow {
  margin: 0 0 12px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(.78rem, 1.5vw, 1rem);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: .85;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.subtitle {
  margin: 24px auto 0;
  max-width: 760px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1rem, 2.2vw, 1.65rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.intro {
  margin: clamp(28px, 5vw, 46px) auto 0;
  max-width: 720px;
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  line-height: 1.35;
}

.intro p { margin: 0; }

.project-grid {
  width: min(780px, 100%);
  margin: clamp(34px, 5vw, 56px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project-link {
  display: grid;
  gap: 5px;
  min-height: 96px;
  align-content: center;
  padding: 16px 12px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255,248,225,.74);
  border: 1px solid rgba(30,25,15,.38);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.project-link:hover,
.project-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,248,225,.82);
  border-color: var(--ink);
  outline: none;
}

.project-link span {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(.95rem, 1.7vw, 1.12rem);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-link small {
  font-size: 1rem;
  color: var(--ink-soft);
}

.coming-soon {
  cursor: pointer;
}

.footer-note {
  margin-top: clamp(34px, 5vw, 54px);
  font-family: "Cinzel", Georgia, serif;
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-note p { margin: 0; }

.coming-page .label-card {
  min-height: min(760px, calc(100vh - 48px));
}

.coming-panel {
  position: relative;
  z-index: 3;
  max-width: 680px;
  margin: 0 auto;
}

.coming-panel h1 {
  font-size: clamp(3.2rem, 8vw, 6.6rem);
}

.coming-panel p {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.35;
}

.back-link {
  display: inline-block;
  margin-top: 28px;
  font-family: "Cinzel", Georgia, serif;
  color: var(--ink);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

@media (max-width: 760px) {
  .site-shell { padding: 12px; }

  .label-card {
    min-height: calc(100vh - 24px);
    padding: 54px 26px;
  }

  .label-card::before { inset: 11px; }
  .label-card::after { inset: 18px; }

  .corner {
    width: 48px;
    height: 48px;
  }

  .corner-tl { top: 18px; left: 18px; }
  .corner-tr { top: 18px; right: 18px; }
  .corner-br { bottom: 18px; right: 18px; }
  .corner-bl { bottom: 18px; left: 18px; }

  .project-grid { grid-template-columns: 1fr; }

  .project-link { min-height: 74px; }
}
