/* Siesta Studio — landing page */

:root {
  --paper: #f3eee6;
  --paper-deep: #e8e0d4;
  --ink: #2a221b;
  --ink-soft: #5c534a;
  --ink-faint: #8a7f74;
  --clay: #8c5a3c;
  --clay-deep: #6f4630;
  --gold: #b8956a;
  --line: rgba(42, 34, 27, 0.14);
  --white: #faf7f2;
  --hero-veil: rgba(28, 21, 16, 0.38);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 38rem;
  --page: min(1120px, calc(100% - 2.5rem));
  --space: clamp(3.5rem, 8vw, 7.5rem);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

figure {
  margin: 0;
}

a {
  color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--clay-deep);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Age gate -------------------------------------------------- */

html.age-pending,
html.age-left {
  overflow: hidden;
}

#age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(22, 16, 12, 0.55), rgba(22, 16, 12, 0.7)),
    url("images/terrace.jpg") center / cover no-repeat;
  color: var(--white);
}

html.age-pending #age-gate,
html.age-left #age-gate {
  display: flex;
}

html.age-pending #site,
html.age-left #site {
  visibility: hidden;
  pointer-events: none;
}

html.age-left #age-card,
html.age-left #age-enter-copy {
  display: none;
}

#age-exit {
  display: none;
  max-width: 28rem;
  text-align: center;
}

html.age-left #age-exit {
  display: block;
}

.age-card {
  width: min(28rem, 100%);
  background: var(--paper);
  color: var(--ink);
  padding: 2.5rem 2rem 2.15rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.age-mark {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 1.25rem;
}

.age-card h2 {
  font-size: 1.85rem;
  margin-bottom: 0.65rem;
}

.age-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 1.6rem;
}

.age-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  appearance: none;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1;
}

.btn:hover {
  background: var(--clay-deep);
  border-color: var(--clay-deep);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

#age-exit h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

#age-exit p {
  color: rgba(250, 247, 242, 0.8);
  font-weight: 300;
}

/* Header ---------------------------------------------------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--page);
  margin: 0 auto;
  padding: 1.4rem 0;
  color: var(--white);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}

.wordmark:hover {
  color: inherit;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
}

.site-nav a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
  color: inherit;
}

/* Hero ------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media picture,
.band-media picture,
.hero-media img,
.band-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero-media img {
  object-position: center 38%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 14, 10, 0.45) 0%, rgba(20, 14, 10, 0.28) 42%, rgba(20, 14, 10, 0.4) 100%);
}

.hero-inner {
  width: var(--page);
  padding: 8.25rem 0 4.5rem;
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.hero-rule {
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto 1.4rem;
  border: 0;
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  max-width: 22em;
  margin: 0 auto;
  letter-spacing: 0.01em;
  color: rgba(250, 247, 242, 0.92);
}

/* Sections -------------------------------------------------- */

.section {
  padding: var(--space) 0;
}

.wrap {
  width: var(--page);
  margin: 0 auto;
}

.kicker {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 0.85rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split-text {
  max-width: var(--measure);
}

.frame {
  overflow: hidden;
  background: var(--paper-deep);
}

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

.frame.portrait img {
  aspect-ratio: 3 / 4;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

/* Band / coastline ----------------------------------------- */

.band {
  position: relative;
  min-height: min(72vh, 40rem);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.band-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.band-media img {
  object-position: center;
}

.band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 10, 0.05) 20%, rgba(20, 14, 10, 0.55) 100%);
}

.band-caption {
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 2.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  letter-spacing: 0.01em;
}

/* Principles ------------------------------------------------ */

.principles {
  background: var(--paper-deep);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 2.4rem;
}

.principle h3 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.principle p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Membership ------------------------------------------------ */

.membership {
  text-align: center;
}

.membership .kicker,
.membership h2 {
  /* inherit */
}

.membership p {
  max-width: 34rem;
  margin: 1.1rem auto 0;
  color: var(--ink-soft);
}

/* Contact --------------------------------------------------- */

.contact-panel {
  background: #1c1612;
  color: var(--white);
}

.contact-panel .kicker {
  color: var(--gold);
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel p {
  color: rgba(250, 247, 242, 0.8);
}

.contact-inner {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-inner h2 {
  margin-bottom: 0.85rem;
}


.email-link {
  display: inline-block;
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-style: italic;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.12em;
}

.email-link:hover {
  color: var(--paper);
}

.contact-split .frame {
  background: #2a221b;
}

/* Footer ---------------------------------------------------- */

.site-footer {
  padding: 2.4rem 0 2.6rem;
  background: #1c1612;
  color: rgba(250, 247, 242, 0.72);
  border-top: 1px solid rgba(250, 247, 242, 0.08);
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.legal-line {
  margin: 0;
}

.copyright {
  margin: 0;
}

/* Responsive ------------------------------------------------ */

@media (max-width: 800px) {
  :root {
    --page: min(1120px, calc(100% - 1.75rem));
  }

  .site-nav {
    gap: 0.9rem;
  }

  .split,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .split-text {
    max-width: none;
  }

  .frame img {
    aspect-ratio: 16 / 11;
  }

  .split.reverse-mobile .frame {
    order: -1;
  }

  .hero-inner {
    padding: 7.25rem 0 3.5rem;
  }

  .site-header {
    padding: 1.1rem 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (max-width: 520px) {
  .site-nav a:not(.nav-contact) {
    display: none;
  }

  .age-card {
    padding: 2rem 1.35rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
