/* Good Vibes Studios, LLC — gvibesstudios.com
   Plain CSS, no build step. System fonts only (no web-font dependency). */

/* ---------- Tokens ---------- */

:root {
  --paper: #F5F0E6;
  --paper-deep: #ECE5D7;
  --ink: #1E1C19;
  --ink-soft: #4E4940;
  --ink-mute: #6A6358;
  --rule: #D8CFBE;

  /* Venture accents (all ≥ 4.5:1 on both paper tones) */
  --art: #1B5A61;        /* deep teal from the sea in the painting */
  --prompts: #9E4A36;    /* terracotta from the My Prompts interface */
  --passport: #2A4470;   /* stamp navy from the Passport artwork */
  --accent: var(--ink);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 76rem;
  --section: clamp(4.5rem, 6.7vw, 6rem);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p { margin: 0; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

[id] { scroll-margin-top: 5rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9375rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Shared type ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 1.25rem;
  max-width: 18ch;
  text-wrap: balance;
}

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

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.1rem;
}

.wordmark {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
}
.site-nav a:hover { color: var(--ink); text-decoration: underline; }

@media (min-width: 45em) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
  }
}

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

.hero {
  padding-block: clamp(4rem, 12vw, 10rem) clamp(4rem, 9vw, 7.5rem);
  border-bottom: 1px solid var(--rule);
}

.hero__inner {
  display: grid;
  gap: 3.5rem;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 1.4rem + 5.6vw, 6.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 11ch;
}

.hero__tagline {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.375rem, 1rem + 1.5vw, 2.125rem);
  line-height: 1.25;
  color: var(--ink-soft);
}

.hero__intro {
  margin-top: 2rem;
  max-width: 36ch;
}

.hero__index ol {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.hero__index li { border-bottom: 1px solid var(--rule); }
.hero__index a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.9rem;
  padding-block: 0.9rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  text-decoration: none;
}
.hero__index a:hover .hero__kind { color: var(--ink); }
.hero__num {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.hero__kind {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--ink-mute);
}

@media (min-width: 60em) {
  .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: end;
  }
}

/* ---------- Ventures ---------- */

.ventures__intro { padding-block: var(--section) clamp(1rem, 3vw, 2rem); }

/* Group heading: framing for the ventures, ~70–80% of the venture-heading size. */
.ventures__intro .section-title {
  font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
  max-width: none;
}

.venture { padding-block: var(--section); }

.venture--art      { --accent: var(--art); }
.venture--prompts  { --accent: var(--prompts); background: var(--paper-deep); }
.venture--passport { --accent: var(--passport); }

.venture__grid {
  display: grid;
  grid-template-areas:
    "head"
    "media"
    "body";
  gap: 2rem;
}
.venture__head  { grid-area: head; }
.venture__media { grid-area: media; }
.venture__body  { grid-area: body; }

.venture__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3.125rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.venture__title .kicker { margin-bottom: 1.25rem; }

.venture__body { max-width: 34rem; }
.venture__body > * + * { margin-top: 1.25rem; }

.venture__link {
  display: inline-block;
  font-weight: 600;
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.venture__link:hover { color: var(--accent); }

/* SivertsenArt: the full painting, no frame. */
.venture--art .venture__media img {
  width: 100%;
  max-width: 34rem;
}

/* My Prompts: two same-format screens; library ~55%, detail ~45%, small stagger. */
.shots {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  align-items: start;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  max-width: 40rem;
}
.shot {
  width: 100%;
  border-radius: clamp(10px, 1.6vw, 18px);
  border: 1px solid rgb(30 28 25 / 0.1);
  box-shadow:
    0 1px 2px rgb(30 28 25 / 0.05),
    0 18px 40px -20px rgb(30 28 25 / 0.28);
}
.shot--support { margin-top: 10%; }

/* Passport: the title card, intact. */
.passport-media { max-width: 37.5rem; }
.passport-card {
  width: 100%;
  border: 1px solid var(--rule);
}

@media (min-width: 56em) {
  /* The intro is the group header for the ventures: keep venture 01 attached to it. */
  .ventures__intro { padding-bottom: 0; }
  .ventures__intro + .venture { padding-top: 3rem; }

  .venture__grid {
    column-gap: clamp(3rem, 7vw, 7rem);
    row-gap: 2rem;
    align-items: start;
  }

  /* Media left, text right */
  .venture--art .venture__grid,
  .venture--passport .venture__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      "media ."
      "media head"
      "media body"
      "media .";
  }

  /* Text left, media right */
  .venture--prompts .venture__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      ". media"
      "head media"
      "body media"
      ". media";
  }
  .venture--prompts .venture__media { justify-self: end; width: 100%; }
  .shots { max-width: 36rem; }
  .shot--support { margin-top: 14%; }

  /* Passport: one top-aligned row — image top meets the section label. */
  .venture--passport .venture__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "media head"
      "media body";
  }
}

/* ---------- About ---------- */

.about {
  padding-block: var(--section);
  border-top: 1px solid var(--rule);
}

.about__grid {
  display: grid;
  gap: 2rem;
}
.about__body { max-width: 36rem; }
.about__body > * + * { margin-top: 1.25rem; }

@media (min-width: 56em) {
  .about__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
}

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

.contact {
  padding-block: var(--section);
  background: var(--ink);
  color: var(--paper);
  --accent: var(--paper);
}
.contact .section-title { margin-bottom: 1.5rem; }
.contact p:not(.kicker) { color: #D9D2C4; }

.contact__email {
  margin-top: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 0.9rem + 3.2vw, 3.25rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.contact__email a {
  color: var(--paper);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.contact__email a:hover { text-decoration-thickness: 2px; }
.contact :focus-visible { outline-color: var(--paper); }

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

.site-footer {
  padding-block: 2.5rem 3rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.site-footer p + p { margin-top: 0.4rem; max-width: 60ch; }
