/* ===========================================================
   Chill Living Wines — static farewell site
   =========================================================== */

/* ---------- Brand fonts (self-hosted) ---------- */
@font-face {
  font-family: "Recoleta";
  src: url("recoleta-regular.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Degular";
  src: url("degular-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Degular";
  src: url("degular-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("figtree-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("figtree-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("figtree-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #112d46;
  --navy-soft: #2a4358;
  --cream: #faf6ef;
  --cream-deep: #f1e9dc;
  --wine: #7a2f3a;
  --gold: #b08a4f;
  --ink: #1f2d38;
  --muted: #6c7780;
  --line: rgba(17, 45, 70, 0.14);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Recoleta", Georgia, serif;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1.1em; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--wine); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 1.1em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand img { height: 64px; width: auto; display: block; }
.nav {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--wine);
  transition: width 0.3s ease;
}
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: var(--wine); }

/* ---------- Hero (split: text + drawing) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 88% 30%, rgba(176, 138, 79, 0.08), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 70px;
  padding-bottom: 70px;
}
.hero-copy { max-width: 540px; }
.hero .tagline {
  margin: 0 0 0.5em;
  line-height: 1.02;
}
.hero .tagline .t-top {
  display: block;
  font-family: "Degular", "Figtree", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--navy);
  font-size: clamp(2.3rem, 4.8vw, 3.7rem);
}
.hero .tagline .t-bottom {
  display: block;
  font-family: "Recoleta", Georgia, serif;
  font-weight: 500;
  color: var(--navy);
  font-size: clamp(2.1rem, 4.3vw, 3.3rem);
  line-height: 1.05;
  margin-top: 0.05em;
  white-space: nowrap;
}
.hero .lead {
  font-size: 1.12rem;
  color: var(--navy-soft);
  margin: 18px 0 0;
}
.hero-divider {
  width: 64px; height: 2px;
  background: var(--gold);
  margin: 28px 0 0;
  border: 0;
}
.hero-art {
  display: flex;
  justify-content: center;
}
.hero-art img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
}

/* Makers hero: centered, no drawing */
.hero.hero-light .wrap {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 760px;
}
.hero.hero-light .hero-copy { max-width: 100%; }
.hero.hero-light .eyebrow { color: var(--gold); }
.hero.hero-light h1 { color: var(--navy); }
.hero.hero-light .lead { color: var(--navy-soft); }
.hero.hero-light .hero-divider { margin: 28px auto 0; }

/* ---------- Sections ---------- */
section { padding: 84px 0; background: #ffffff; }
section.alt { background: var(--cream-deep); }

.section-head { max-width: 720px; margin: 0 auto 8px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }

.prose { max-width: 720px; margin: 0 auto; }
.prose p { font-size: 1.08rem; color: var(--ink); }
.prose.center { text-align: center; }

.lead-quote {
  font-family: "Recoleta", Georgia, serif;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.35;
  color: var(--navy);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  font-style: italic;
}

/* ---------- Feature: new owner ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.feature .panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px;
}
.feature .panel .name {
  font-family: "Recoleta", Georgia, serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.feature .panel .role {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.feature .panel ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.feature .panel li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.feature .panel li:first-child { border-top: 0; }

/* ---------- Closing / CTA ---------- */
.closing {
  text-align: center;
  background:
    radial-gradient(900px 360px at 50% 120%, rgba(122, 47, 58, 0.10), transparent 70%),
    var(--navy);
  color: var(--cream);
  padding: 96px 0;
}
.closing h2 { color: var(--cream); }
.closing p { color: rgba(250, 246, 239, 0.82); }
.closing .signature {
  font-family: "Recoleta", Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  margin-top: 10px;
}
.btn {
  display: inline-block;
  margin-top: 14px;
  padding: 14px 34px;
  border: 1px solid var(--gold);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn:hover { background: var(--gold); color: var(--navy); }
.btn--dark { color: var(--navy); border-color: var(--navy); }
.btn--dark:hover { background: var(--navy); color: var(--cream); }

/* 404 page */
.nf-links { margin-top: 6px; }
.nf-links .btn { margin: 8px 6px 0; }

/* ---------- Makers page ---------- */
.makers-intro { text-align: center; padding-bottom: 40px; }
.makers-count {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Index grid of linked maker cards */
.mk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 26px;
}
.mk-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(17, 45, 70, 0.12);
  border-color: rgba(176, 138, 79, 0.5);
  color: inherit;
}
.mk-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-deep);
}
.mk-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.mk-card:hover .mk-photo img { transform: scale(1.04); }
.mk-photo--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(176,138,79,0.14), transparent 60%),
    var(--cream-deep);
}
.mk-photo--ph span {
  font-family: "Recoleta", Georgia, serif;
  font-size: 3.4rem;
  color: var(--gold);
  opacity: 0.7;
}
.mk-body { padding: 16px 18px 20px; flex: 1; }
.mk-name {
  font-family: "Recoleta", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 2px;
}
.mk-people {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 0;
}

/* ---------- Maker detail page ---------- */
.maker-detail { padding: 56px 0 92px; }
.back-link {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 38px;
}
.back-link:hover { color: var(--wine); }
.md-head {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 44px;
}
.md-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream-deep);
  border: 1px solid var(--line);
}
.md-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-photo--ph { display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 30% 20%, rgba(176,138,79,0.14), transparent 60%), var(--cream-deep); }
.md-photo--ph span { font-family: "Recoleta", Georgia, serif; font-size: 6rem; color: var(--gold); opacity: 0.7; }
.md-intro h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 6px; }
.md-people { font-size: 1rem; letter-spacing: 0.04em; color: var(--gold); margin: 0; }
.md-bio {
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--ink);
}
.md-bio p { margin: 0 0 1.1em; }
.md-bio p:last-child { margin-bottom: 0; }
.md-bio--empty { color: var(--muted); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(250, 246, 239, 0.78);
  text-align: center;
  padding: 56px 0;
}
.site-footer .logo-mini {
  font-family: "Recoleta", Georgia, serif;
  font-size: 1.8rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.site-footer .insta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 22px;
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-footer .insta svg { width: 22px; height: 22px; }
.site-footer .insta:hover { color: var(--gold); }
.site-footer .insta:hover svg { stroke: var(--gold); }
.site-footer .copy {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(250, 246, 239, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 20px; }
  .nav a { font-size: 0.7rem; letter-spacing: 0.12em; }
  .brand img { height: 52px; }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .hero-copy { max-width: 100%; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 280px; }
  .hero .hero-divider { margin-left: auto; margin-right: auto; }
  section { padding: 60px 0; }
  .md-head {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }
  .md-photo { max-width: 320px; margin: 0 auto; }
  .maker-detail { padding: 36px 0 64px; }
}
@media (max-width: 460px) {
  .site-header .wrap { flex-direction: column; gap: 14px; }
  .hero .tagline .t-bottom { font-size: clamp(1.7rem, 8vw, 2.1rem); }
}
