/* ==========================================================
   CES Weddings & Events — site styles
   Brand per CES Brand Guidelines:
     Display / logo : Conso Serif Light
     Headings / UI  : Sweet Sans Pro Regular
     Body           : Sweet Sans Pro Light
     Colors         : #232321  #928268  #c6bfb5  #f7f6f4
   ========================================================== */

@font-face { font-family: "Conso"; src: url("fonts/Conso-Light.woff2") format("woff2"), url("fonts/Conso-Light.ttf") format("truetype"); font-weight: 300 400; font-display: swap; }
@font-face { font-family: "Sweet Sans Pro"; src: url("fonts/SweetSansProLight.woff2") format("woff2"), url("fonts/SweetSansProLight.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Sweet Sans Pro"; src: url("fonts/SweetSansProRegular.woff2") format("woff2"), url("fonts/SweetSansProRegular.otf") format("opentype"); font-weight: 400 700; font-display: swap; }

:root {
  --taupe: #928268;
  --taupe-dark: #766a53;
  --greige: #c6bfb5;
  --linen: #f7f6f4;
  --sand: #ece8e1;
  --white: #ffffff;
  --ink: #232321;
  --muted: #6b675f;
  --rule: #ddd8cf;

  --serif: "Conso", "Cormorant Garamond", Georgia, serif;
  --sans: "Sweet Sans Pro", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(56px, 7vw, 96px);
}

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

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); }
h4 { font-size: 22px; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--taupe); }

p { margin: 0 0 1.2em; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 22px;
}
.eyebrow.light { color: rgba(255,255,255,.85); }
.eyebrow.eyebrow-lg { font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .24em; margin-bottom: 8px; }

.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 640px; }
.lede.one-line { max-width: none; }
@media (min-width: 1000px) { .lede.one-line { white-space: nowrap; } }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
section { padding: var(--section) 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-taupe { background: var(--taupe); color: var(--white); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 34px;
  border: 1px solid var(--taupe);
  background: var(--taupe);
  color: var(--white);
  transition: background .25s, color .25s, border-color .25s;
  cursor: pointer;
}
.btn:hover { background: var(--taupe-dark); border-color: var(--taupe-dark); }
.btn.ghost { background: transparent; color: var(--taupe); }
.btn.ghost:hover { background: var(--taupe); color: var(--white); }
.btn.light { background: transparent; border-color: rgba(255,255,255,.8); color: var(--white); }
.btn.light:hover { background: var(--white); color: var(--ink); }

.text-link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--taupe);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.text-link:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,245,243,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--rule); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 34px); }
.nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--taupe); border-color: var(--taupe); }
.nav .btn { padding: 13px 22px; color: var(--white); border-bottom: 1px solid var(--taupe); }
.nav .btn:hover { color: var(--white); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 26px; height: 1px; background: var(--ink); margin: 7px 0; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  padding: 0 0 clamp(56px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,.05) 30%, rgba(20,18,15,.6) 100%);
  z-index: -1;
}
.hero .display { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; font-size: clamp(40px, 5.6vw, 76px); max-width: 15ch; margin: 0 0 32px; }
.hero .display em { font-style: italic; }
.hero h1.eyebrow { font-family: var(--sans); line-height: 1.6; letter-spacing: .28em; margin: 0 0 22px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 52px); }
.page-hero h1 { max-width: 16ch; }

/* ---------- Press strip ---------- */
.press { padding: 48px 0 52px; background: var(--ink); }
.press .wrap { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.press .eyebrow { margin: 0; color: var(--greige); }
.press-logos { display: flex; gap: clamp(20px, 4vw, 52px); align-items: center; justify-content: center; flex-wrap: wrap; }
.press-logos img { height: 42px; width: auto; opacity: .75; }

/* ---------- Image frames ---------- */
.frame { position: relative; }
.frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.frame.tall img { aspect-ratio: 3/4; }
.frame.wide img { aspect-ratio: 3/2; }
.frame .offset {
  position: absolute;
  width: 46%;
  right: -8%;
  bottom: -10%;
  border: 10px solid var(--linen);
}
.frame .offset img { aspect-ratio: 1; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 28px 0 36px; }
.checklist li {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.checklist li:last-child { border-bottom: 1px solid var(--rule); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.card { background: var(--white); display: flex; flex-direction: column; text-decoration: none; transition: transform .35s; }
.card:hover { transform: translateY(-6px); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .body { padding: 34px 32px 38px; display: flex; flex-direction: column; flex: 1; }
.card .body p { color: var(--muted); flex: 1; }
.card .body p.card-price { flex: 0; font-family: var(--serif); font-size: 26px; color: var(--taupe); margin: 4px 0 22px; }
/* Home page: tighter rhythm between blocks */
body[data-page="home"] { --section: clamp(30px, 3.6vw, 48px); }
body[data-page="home"] .press { padding: 28px 0 32px; }
body[data-page="home"] .cards,
body[data-page="home"] .post-grid,
body[data-page="home"] .process { margin-top: 28px; }
body[data-page="home"] .checklist { margin: 20px 0 26px; }
.card .num { font-family: var(--serif); font-size: 18px; color: var(--taupe); margin-bottom: 10px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--rule); }
.step { padding: 36px 26px 0 0; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--rule); }
.step .n { font-family: var(--serif); font-size: 46px; color: var(--taupe); line-height: 1; margin-bottom: 18px; }
.step h4 { font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Testimonial ---------- */
.quote-slider { position: relative; min-height: 260px; }
.quote { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; pointer-events: none; }
.quote.active { opacity: 1; position: relative; pointer-events: auto; }
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.3;
  margin: 0 0 28px;
}
.quote cite { font-style: normal; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--greige); }
.dots { display: flex; gap: 10px; justify-content: center; margin-top: 36px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--white); background: transparent; padding: 0; cursor: pointer; }
.dots button.active { background: var(--white); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 40px; }
.post-card { text-decoration: none; display: block; }
.post-card .thumb { overflow: hidden; margin-bottom: 24px; }
.post-card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform .6s; }
.post-card:hover img { transform: scale(1.04); }
.post-card h3 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 12px; }
.post-card p { color: var(--muted); font-size: 15px; }
.meta { font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; display: block; }

.post-featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; text-decoration: none; }
.post-featured img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.post-featured h2 { font-size: clamp(32px, 3.8vw, 50px); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.filters button {
  font-family: var(--sans);
  font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  background: transparent; color: var(--ink);
  border: 1px solid var(--rule);
  padding: 11px 18px; cursor: pointer;
  transition: all .2s;
}
.filters button:hover { border-color: var(--taupe); color: var(--taupe); }
.filters button.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Article */
.article-hero img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.article { padding: clamp(44px, 6vw, 80px) 0; }
.article .wrap { max-width: 760px; }
.article h1 { font-size: clamp(40px, 5.4vw, 68px); }
.article h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.6em; }
.article p, .article li { font-size: 18px; }
.article ul { padding-left: 1.2em; margin: 0 0 1.4em; }
.article li { margin-bottom: .5em; }
.article li::marker { color: var(--taupe); }
.article blockquote {
  margin: 2em 0;
  padding: 6px 0 6px 28px;
  border-left: 1px solid var(--taupe);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.35;
}
.byline { display: flex; align-items: center; gap: 16px; margin: 30px 0 50px; padding-bottom: 30px; border-bottom: 1px solid var(--rule); }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; }
.byline strong { display: block; font-weight: 400; font-size: 15px; }
.byline span { font-size: 14px; color: var(--muted); }
.byline time { margin-left: auto; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.article-cta { background: var(--white); padding: 44px; margin-top: 60px; text-align: center; }
.article-cta h3 { margin-bottom: 14px; }

/* ---------- Services page ---------- */
.service { padding: clamp(44px, 5.5vw, 72px) 0; border-top: 1px solid var(--rule); }
.service .split { grid-template-columns: 2fr 3fr; gap: clamp(32px, 5vw, 72px); }
.service .split.reverse { grid-template-columns: 3fr 2fr; }
.service .frame img { aspect-ratio: 4/5; max-height: 460px; }
.client-logos { width: 100%; max-width: 900px; margin: 0 auto; mix-blend-mode: multiply; }
.service:first-of-type { border-top: 0; }
.price { font-family: var(--serif); font-size: 30px; color: var(--taupe); margin: 10px 0 26px; }
.price small { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: 10px; }
.includes { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 0 0 32px; }
.includes li { break-inside: avoid; padding: 8px 0 8px 22px; position: relative; font-size: 15px; }
.includes li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 1px; background: var(--taupe); }

/* ---------- Team ---------- */
/* Full, uncropped group photo so every face shows */
.team-photo { width: 100%; height: auto; }
.page-hero .split:has(.team-photo) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); }
.page-hero .split:has(.team-photo) h1 { font-size: clamp(40px, 5vw, 68px); }
@media (max-width: 900px) { .page-hero .split:has(.team-photo) { grid-template-columns: 1fr; } }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; margin-top: 0; }
.member img { aspect-ratio: 4/5; object-fit: cover; object-position: top; width: 100%; margin-bottom: 22px; filter: grayscale(15%); }
.member h3 { font-size: 30px; margin-bottom: 4px; }
.member .role { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; }
.member details { border-top: 1px solid var(--rule); }
.member summary { cursor: pointer; padding: 14px 0; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; }
.member summary::-webkit-details-marker { display: none; }
.member summary::after { content: "+"; font-size: 18px; color: var(--taupe); }
.member details[open] summary::after { content: "–"; }
.member details p { font-size: 15px; color: var(--muted); }
.member dl { font-size: 15px; margin: 0 0 18px; }
.member dt { font-weight: 400; margin-top: 10px; }
.member dd { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 28px 50px 28px 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 26px; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--taupe); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 30px; color: var(--muted); max-width: 680px; }

/* ---------- Contact ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--greige);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  transition: border-color .2s;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--taupe); }
.form-note { font-size: 14px; color: var(--muted); }
.form-success { display: none; padding: 40px; background: var(--white); text-align: center; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: var(--white); text-align: center; overflow: hidden; isolation: isolate; }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(43,41,37,.55); z-index: -1; }
.cta-band h2 { max-width: 18ch; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--greige); padding: 72px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; }
.site-footer img.mark { height: 110px; width: auto; margin-bottom: 22px; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border: 1px solid #4a4741; border-radius: 50%; display: grid; place-items: center; }
.social a:hover { border-color: var(--greige); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.newsletter { display: flex; border-bottom: 1px solid #4a4741; margin-top: 8px; }
.newsletter input { flex: 1; background: transparent; border: 0; color: var(--white); font: inherit; padding: 12px 0; min-width: 0; }
.newsletter input:focus { outline: none; }
.newsletter button { background: none; border: 0; color: var(--greige); font: inherit; font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.footer-bottom { border-top: 1px solid #3a3833; margin-top: 52px; padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #8a857c; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .process { grid-template-columns: 1fr 1fr; }
  .step, .step + .step { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .step:nth-child(odd) { padding-right: 24px; }
  .step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 88px);
    height: calc(100dvh - 88px);
    overflow-y: auto;
    border-top: 1px solid var(--rule);
    background: var(--linen);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 30px var(--gutter);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s ease, visibility 0s .4s;
  }
  body.menu-open .nav { visibility: visible; transition: transform .4s ease; }
  .nav a { font-size: 14px; padding: 12px 0; }
  .nav .btn { margin-top: 16px; }
  body.menu-open .nav { transform: none; }
  body.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  body.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

}

@media (max-width: 900px) {
  .split, .post-featured, .service .split, .service .split.reverse { grid-template-columns: 1fr; }
  .service .frame img { max-height: 340px; aspect-ratio: 3/2; }
  .split.reverse > :first-child { order: 0; }
  .frame .offset { display: none; }
  .cards, .post-grid, .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 72px; }
  .nav { height: calc(100vh - 72px); height: calc(100dvh - 72px); }
  .logo img { height: 36px; }
  .cards, .post-grid, .team-grid, .process, .form { grid-template-columns: 1fr; }
  .step:nth-child(even), .step:nth-child(odd) { padding: 26px 0; border-left: 0; }
  .includes { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .press-logos img { height: 30px; }
  .article-hero img { aspect-ratio: 4/3; }
  .article-cta { padding: 32px 22px; }
}

/* Team: featured founder block */
.lead-member { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px clamp(32px, 5vw, 64px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule); }
.lead-member img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; filter: grayscale(15%); }
.lead-bio h2 { margin-bottom: 6px; }
.lead-bio .role { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 22px; }
.lead-bio p { color: var(--muted); max-width: 640px; }
.fun-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 15px; }
.fun-facts dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.fun-facts dd { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .lead-member { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } .fun-facts { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .lead-member { grid-template-columns: 1fr; } }

/* ---------- Galleries ---------- */
.gallery-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.gallery-card { text-decoration: none; display: block; }
.gallery-card .thumb { overflow: hidden; margin-bottom: 18px; }
.gallery-card img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s; }
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card h2 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 6px; }
.gallery-card .meta { margin: 0; color: var(--muted); }

.gallery-hero { position: relative; isolation: isolate; min-height: min(82vh, 860px); display: flex; align-items: flex-end; color: var(--white); padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
.gallery-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; }
.gallery-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,0) 35%, rgba(20,18,15,.6) 100%); z-index: -1; }
.gallery-hero .eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.gallery-hero h1 { margin-bottom: 14px; }
.gallery-hero .credit { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0; opacity: .9; }

/* Same size and shape as the team photos: 3 across, 4:5 portrait tiles */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.gallery-grid a { display: block; cursor: zoom-in; overflow: hidden; }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s, opacity .3s; }
.gallery-grid a:hover img { transform: scale(1.02); }

.gallery-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule); }
.gallery-pager a:not(.text-link) { text-decoration: none; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); }
.gallery-pager a .meta { display: block; margin-bottom: 4px; font-family: var(--sans); }
.gallery-pager .next { text-align: right; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,18,15,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; font-family: var(--sans); font-weight: 300; padding: 16px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: 12px; right: 16px; font-size: 34px; line-height: 1; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); font-size: 44px; }
.lightbox .lb-prev { left: 8px; }
.lightbox .lb-next { right: 8px; }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--greige); font-size: 12px; letter-spacing: .2em; }

@media (max-width: 900px) {
  .gallery-index { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .gallery-index { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-pager { grid-template-columns: 1fr 1fr; }
  .gallery-pager .text-link { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* ---------- Reviews ---------- */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 1100px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
.platform { background: var(--white); padding: 28px 22px 24px; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .35s; }
.platform:hover { transform: translateY(-4px); }
.platform-name { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.stars { color: var(--taupe); letter-spacing: .18em; font-size: 18px; }
.platform .score { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink); margin: 4px 0 2px; }
.platform .count { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

.review-grid { columns: 3; column-gap: 28px; margin-top: 36px; }
.review { break-inside: avoid; margin: 0 0 28px; padding: 32px 30px; background: var(--linen); }
.review.feature { background: var(--taupe); color: var(--white); }
.review.feature .stars, .review.feature figcaption { color: rgba(255,255,255,.85); }
/* Review text uses the same body font as Natalie's featured review */
.review blockquote { margin: 14px 0 18px; font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.75; color: var(--muted); }
.review.feature blockquote { color: rgba(255,255,255,.92); }
.review figcaption { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.review-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.reviews-link { display: inline-block; margin-top: 30px; color: var(--white); border-color: rgba(255,255,255,.7); }
.reviews-link:hover { color: var(--white); border-color: var(--white); }

@media (max-width: 900px) {
  .platforms { grid-template-columns: 1fr 1fr; }
  .review-grid { columns: 2; }
}
@media (max-width: 620px) { .review-grid { columns: 1; } }

/* ---------- Ratings strip (home + contact) ---------- */
.ratings-strip { text-align: center; }
.ratings-summary { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; }
.ratings-summary .stars { margin-right: 8px; }
.ratings { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 22px; }
.rating { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 14px 18px; text-decoration: none; background: var(--white); transition: transform .3s; }
.rating:hover { transform: translateY(-3px); }
.rating .score { font-family: var(--serif); font-size: 40px; line-height: 1; margin: 4px 0 2px; color: var(--ink); }
.rating .count { font-size: 13px; color: var(--muted); }
.rating .stars { font-size: 14px; }

/* on the taupe testimonial band */
.ratings-strip.on-dark { margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.3); }
.ratings-strip.on-dark .ratings-summary, .ratings-strip.on-dark .stars { color: rgba(255,255,255,.92); }
.ratings-strip.on-dark .rating { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); }
.ratings-strip.on-dark .rating:hover { background: rgba(255,255,255,.16); }
.ratings-strip.on-dark .platform-name, .ratings-strip.on-dark .score { color: var(--white); }
.ratings-strip.on-dark .count { color: rgba(255,255,255,.78); }
.ratings-strip.on-dark .text-link { color: var(--white); }

/* beside the contact form */
.ratings-strip.compact { text-align: left; margin-top: 36px; }
.ratings-strip.compact .ratings { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ratings-strip.compact .rating { padding: 16px 10px 14px; }
.ratings-strip.compact .rating .score { font-size: 32px; }
@media (max-width: 620px) {
  .ratings, .ratings-strip.compact .ratings { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ratings:has(.rating:nth-child(4)) { grid-template-columns: 1fr 1fr; }
  .rating, .ratings-strip.compact .rating { padding: 14px 6px 12px; }
  .rating .platform-name { font-size: 10px; letter-spacing: .14em; }
  .rating .stars { font-size: 11px; letter-spacing: .08em; }
  .rating .score, .ratings-strip.compact .rating .score { font-size: 28px; }
  .rating .count { font-size: 11px; }
}
@media (max-width: 620px) {
  .platforms { gap: 10px; }
  .platform { padding: 22px 8px 20px; min-width: 0; }
  .platform .platform-name { font-size: 10px; letter-spacing: .14em; }
  .platform .stars { font-size: 13px; letter-spacing: .08em; }
  .platform .score { font-size: 40px; }
  .platform .count { font-size: 12px; margin-bottom: 10px; }
  .platform .text-link { font-size: 10px; letter-spacing: .16em; white-space: nowrap; }
}

/* Featured long review: pull quote on top, full review across the full width */
.review-highlight { margin: 36px 0 28px; padding: clamp(32px, 5vw, 64px); background: var(--sand); }
.review-highlight .pull { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; margin: 14px 0 24px; color: var(--ink); max-width: 28ch; }
.review-highlight blockquote { margin: 0 0 28px; padding-top: 28px; border-top: 1px solid var(--greige); color: var(--muted); }
.review-highlight blockquote p { margin: 0 0 1em; break-inside: avoid; }
.review-highlight figcaption { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
@media (max-width: 900px) { .review-highlight blockquote { columns: 1; } }

.review .review-title { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 14px 0 0; }
.review .review-title + blockquote { margin-top: 10px; }

.review.feature .review-title { color: var(--white); }

.article .dek { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--muted); margin: -4px 0 0; }
.article .signoff { font-style: italic; color: var(--muted); margin-top: 2em; }

/* Long-form article extras */
.article h3 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 1.6em; }
.article .best-for { font-size: 15px; font-style: italic; color: var(--taupe); margin-top: -.4em; }
.article .advice { background: var(--white); border-left: 2px solid var(--taupe); padding: 18px 22px; }
.article .lead-list { list-style: none; padding: 0; }
.article .lead-list li { padding: 14px 0; border-top: 1px solid var(--rule); margin: 0; }
.article .lead-list li:last-child { border-bottom: 1px solid var(--rule); }
.article .timeline { margin: 0 0 1.4em; border-left: 1px solid var(--greige); padding-left: 24px; }
.article .timeline dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-top: 18px; position: relative; }
.article .timeline dt::before { content: ""; position: absolute; left: -29px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--taupe); }
.article .timeline dd { margin: 4px 0 0; font-size: 17px; }

/* Article tables */
.article .table-wrap { overflow-x: auto; margin: 1.4em 0 .6em; -webkit-overflow-scrolling: touch; }
.article table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 420px; }
.article th { font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--taupe); }
.article td { padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.article tbody tr:nth-child(even) td { background: rgba(255,255,255,.55); }
.article .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.article .table-note { font-size: 14px; font-style: italic; color: var(--muted); }
.article .table-label { font-size: 13px; color: var(--muted); margin-bottom: -.6em; }
@media (max-width: 620px) {
  .article table { min-width: 0; font-size: 14px; }
  .article th { font-size: 10px; letter-spacing: .14em; padding: 10px 6px; }
  .article td { padding: 10px 6px; line-height: 1.45; }
}

/* Aisle Planner inquiry form embed (contact page) */
.inquiry-embed { background: var(--white); padding: clamp(16px, 2.5vw, 28px); }
.inquiry-embed iframe { display: block; width: 100%; height: 1900px; border: 0; background: var(--white); }
.inquiry-embed .form-note { margin: 14px 0 0; font-size: 14px; }
@media (max-width: 620px) { .inquiry-embed { padding: 8px; } .inquiry-embed iframe { height: 1980px; } }
.inquiry-embed .form-note-top { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
