:root {
  --bg: #120b0d;
  --night: #1f1115;
  --card: #2a1720;
  --lifted: #381c24;
  --accent: #f21f3d;
  --accent2: #bc1645;
  --text: #ffffff;
  --muted: #947a85;
  --stroke: #532b36;
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.layout {
  display: grid;
  min-height: 100vh;
}

@media (min-width: 900px) {
  .layout {
    grid-template-columns: 11rem 1fr;
  }
}

.spine {
  background: var(--night);
  border-right: 1px solid var(--stroke);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.spine-brand {
  font-family: var(--font);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.spine-brand span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.spine nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.spine nav a {
  color: var(--muted);
  text-decoration: none;
}

.spine nav a:hover,
.spine nav a:focus-visible {
  color: var(--text);
}

.spine-contact {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--muted);
  word-break: break-all;
}

@media (max-width: 899px) {
  .spine {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid var(--stroke);
  }

  .spine nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .spine-contact {
    margin-top: 0;
    width: 100%;
  }
}

.main {
  padding: 2rem clamp(1.25rem, 4vw, 3.5rem) 4rem;
}

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

.section-intro h2 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.5rem;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-split {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 800px) {
  .hero-split {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-copy h1 {
  font-family: var(--font);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.hero-copy .lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 32ch;
  margin-bottom: 1.5rem;
}

.hero-visual {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-visual .gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.35rem;
  background: var(--card);
}

.hero-visual .gallery-strip img {
  aspect-ratio: 1;
  border-radius: 0.5rem;
}

.cork-board {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 220, 180, 0.08), transparent 45%),
    linear-gradient(145deg, #3d2818 0%, #2a1a12 100%);
  border: 1px solid #5c3d28;
  border-radius: 1rem;
  padding: 2rem 1.5rem 2.5rem;
  margin-bottom: 4rem;
  position: relative;
}

.cork-notes {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .cork-notes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.note {
  background: #f8f2e6;
  color: #2a1a12;
  padding: 1.25rem 1.1rem 1.5rem;
  border-radius: 2px;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.35);
  transform: rotate(var(--rot, -2deg));
  position: relative;
}

.note::before {
  content: "";
  position: absolute;
  top: -0.35rem;
  left: 50%;
  width: 0.65rem;
  height: 0.65rem;
  margin-left: -0.325rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.note h3 {
  font-family: var(--font);
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.note:nth-child(2) {
  --rot: 1.5deg;
}

.note:nth-child(3) {
  --rot: -1deg;
}

.mosaic {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 4rem;
}

@media (min-width: 720px) {
  .mosaic {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
  }

  .mosaic .shot-large {
    grid-row: span 2;
  }
}

.shot {
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--card);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 12rem;
}

.shot figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}

.legal-panel {
  background: var(--night);
  border: 1px solid var(--stroke);
  border-radius: 1rem;
  padding: 0;
  overflow: hidden;
}

.tab-bar {
  display: flex;
  border-bottom: 1px solid var(--stroke);
}

.tab-bar button {
  flex: 1;
  padding: 0.85rem 1rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.tab-bar button[aria-selected="true"] {
  color: var(--text);
  background: var(--lifted);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.tab-panel {
  display: none;
  padding: 1.5rem 1.25rem 2rem;
  font-size: 0.92rem;
  color: #e8dce0;
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  font-family: var(--font);
  margin-top: 0;
}

.tab-panel p {
  margin: 0 0 1rem;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stroke);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}
