:root {
  --bg: #f5dea8;
  --bg-deep: #ebcf8f;
  --card: #fff0cc;
  --ink: #291f1a;
  --muted: #59473d;
  --gold: #b8945c;
  --gold-soft: #d1b885;
  --line: #c7a875;
  --cork: #c4a574;
  --spine-w: 5.5rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(255, 248, 220, 0.55), transparent 55%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-deep) 48%, #e6c788 100%);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
}

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

a {
  color: var(--gold);
}

.spine {
  display: none;
}

.page {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 5.5rem;
}

/* —— Hero: split asymmetric —— */
.hero {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  padding: 1rem 0 2.5rem;
}

.hero__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.4rem, 12vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero__tagline {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.2vw, 1.65rem);
  font-style: italic;
  color: var(--muted);
  max-width: 22ch;
}

.hero__lede {
  margin: 1rem 0 0;
  max-width: 36ch;
  color: var(--muted);
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.35rem;
}

.link-soft {
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.hero__visual {
  margin: 0;
  border-radius: 1.1rem 0.35rem 1.4rem 0.55rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(41, 31, 26, 0.18);
  border: 1px solid rgba(184, 148, 92, 0.35);
  transform: rotate(-1.2deg);
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* —— Section intros right-aligned —— */
.band {
  padding: 2.75rem 0 1rem;
}

.intro {
  margin-bottom: 1.5rem;
}

.intro--right {
  text-align: right;
  margin-left: auto;
  max-width: 28rem;
}

.intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
}

.intro p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

/* —— Cork notes —— */
.cork {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.08), transparent 45%),
    linear-gradient(135deg, #c9a87a, #b8925f 40%, #c4a574);
  box-shadow: inset 0 0 0 1px rgba(41, 31, 26, 0.12);
}

.note {
  position: relative;
  background: var(--card);
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 0.15rem 0.45rem 0.2rem 0.35rem;
  box-shadow: 0 8px 18px rgba(41, 31, 26, 0.14);
}

.note::before {
  content: "";
  position: absolute;
  top: -0.35rem;
  left: 50%;
  width: 0.85rem;
  height: 0.85rem;
  margin-left: -0.42rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8d5a8, var(--gold) 55%, #7a5a32);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.note h3 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.note--tilt-a { transform: rotate(-1.4deg); }
.note--tilt-b { transform: rotate(1.1deg); }
.note--tilt-c { transform: rotate(-0.6deg); }
.note--tilt-d { transform: rotate(1.6deg); }

/* —— Look gallery —— */
.look-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.look-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(184, 148, 92, 0.4);
  box-shadow: 0 10px 24px rgba(41, 31, 26, 0.12);
}

/* —— Screens mosaic —— */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mosaic figure {
  margin: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(184, 148, 92, 0.45);
  background: var(--card);
  box-shadow: 0 12px 28px rgba(41, 31, 26, 0.14);
}

.mosaic__large {
  grid-column: 1 / -1;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mosaic__large img {
  aspect-ratio: 9 / 16;
  max-height: 520px;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
}

.mosaic__small img {
  aspect-ratio: 9 / 16;
  max-height: 280px;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
}

/* —— Legal tabs —— */
.tabs {
  background: rgba(255, 240, 204, 0.72);
  border: 1px solid rgba(184, 148, 92, 0.4);
  border-radius: 1rem;
  padding: 1rem 1.1rem 1.35rem;
  box-shadow: 0 12px 30px rgba(41, 31, 26, 0.08);
}

.tabs__bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(184, 148, 92, 0.35);
  padding-bottom: 0.65rem;
}

.tabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  border-radius: 0.4rem;
}

.tabs__btn.is-active {
  color: var(--ink);
  background: rgba(184, 148, 92, 0.22);
}

.tabs__panel[hidden] {
  display: none;
}

.tabs__panel p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.tabs__panel .drop {
  color: var(--ink);
  font-weight: 500;
}

.mailto {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--gold);
}

.foot {
  padding: 2.5rem 0 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* —— Mobile bottom dock (companion to spine) —— */
.dock {
  position: fixed;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  background: rgba(41, 31, 26, 0.92);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(41, 31, 26, 0.35);
}

.dock a {
  color: #fff0cc;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.dock a:hover,
.dock a:focus-visible {
  background: rgba(184, 148, 92, 0.35);
  outline: none;
}

@media (min-width: 900px) {
  body {
    padding-left: var(--spine-w);
  }

  .spine {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: var(--spine-w);
    height: 100vh;
    padding: 1.5rem 0.65rem 1.75rem;
    border-right: 1px solid rgba(184, 148, 92, 0.45);
    background: linear-gradient(180deg, rgba(255, 240, 204, 0.55), rgba(245, 222, 168, 0.35));
    z-index: 30;
  }

  .spine__brand {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.08em;
  }

  .spine__nav {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: center;
  }

  .spine__nav a {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-decoration: none;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .spine__nav a:hover,
  .spine__nav a:focus-visible {
    color: var(--ink);
    outline: none;
  }

  .dock {
    display: none;
  }

  .page {
    padding: 2rem 2.5rem 3.5rem;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: center;
    min-height: 72vh;
  }

  .hero__copy {
    padding-bottom: 1.5rem;
  }

  .hero__visual {
    transform: rotate(-2deg) translateY(0.5rem);
  }

  .cork {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
    padding: 1.75rem;
  }

  .look-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mosaic {
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
  }

  .mosaic__large {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .mosaic__small:nth-child(2) { grid-column: 2; grid-row: 1; }
  .mosaic__small:nth-child(3) { grid-column: 3; grid-row: 1; }
  .mosaic__small:nth-child(4) { grid-column: 2; grid-row: 2; }
  .mosaic__small:nth-child(5) { grid-column: 3; grid-row: 2; }

  .mosaic__large img {
    max-height: none;
    height: 100%;
    width: 100%;
    aspect-ratio: auto;
  }

  .mosaic__small img {
    max-height: none;
    width: 100%;
    aspect-ratio: 9 / 16;
  }
}
