/* Brio Beach Club — Blog (index + articles). Same tokens as the rest of the site. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--cream); color: var(--dark); font-family: 'Inter', sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

:root {
  --cream: #FEFAE0;
  --dark: #1A100A;
  --orange: #E87722;
  --white: #FFFFFF;
  --gray: #8a7f72;
  --text: #4a3f35;
  --radius: 20px;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 26px 44px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
nav.scrolled { background: var(--cream); padding: 18px 44px; box-shadow: 0 1px 0 rgba(26,16,10,0.07); }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 72px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { position: relative; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.75); transition: color 0.3s; }
nav.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover { color: var(--white); }
nav.scrolled .nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--white); }
nav.scrolled .nav-links a.active { color: var(--orange); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.7); }
nav.scrolled .nav-links a.active::after { background: var(--orange); }
.nav-reserve { font-size: 9.5px; letter-spacing: 0.22em; font-weight: 500; text-transform: uppercase; padding: 10px 22px; border: 1px solid rgba(255,255,255,0.45); color: var(--white); border-radius: 100px; transition: all 0.3s; }
nav.scrolled .nav-reserve { background: var(--orange); border-color: var(--orange); color: var(--white); }
.nav-reserve:hover { background: var(--white); color: var(--dark); }
nav.scrolled .nav-reserve:hover { background: var(--dark); border-color: var(--dark); color: var(--white); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: background 0.4s; }
nav.scrolled .nav-burger span { background: var(--dark); }

/* ─── DRAWER ─── */
.nav-drawer { position: fixed; inset: 0; background: var(--cream); z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; transform: translateX(100%); transition: transform 0.4s ease; }
.nav-drawer.open { transform: translateX(0); }
.drawer-close { position: absolute; top: 28px; right: 24px; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--dark); line-height: 1; }
.drawer-logo { margin-bottom: 12px; }
.drawer-logo-img { height: 56px; }
.drawer-links { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.drawer-links a { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--dark); transition: color 0.3s; }
.drawer-links a:hover { color: var(--orange); }
.drawer-reserve { display: inline-block; font-size: 9.5px; letter-spacing: 0.25em; font-weight: 500; text-transform: uppercase; padding: 14px 36px; border: 1px solid var(--dark); color: var(--dark); border-radius: 100px; transition: all 0.3s; margin-top: 12px; }
.drawer-reserve:hover { background: var(--dark); color: var(--white); }

/* ─── HERO ─── */
.hero { position: relative; height: 72svh; min-height: 480px; overflow: hidden; background: var(--dark); }
.hero.hero-short { height: 56svh; min-height: 400px; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 30%, rgba(0,0,0,0.45) 78%, var(--cream) 100%); }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 110px 24px 60px; text-align: center; z-index: 2; }
.hero-eyebrow { font-size: 9.5px; letter-spacing: 0.38em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(34px, 5.2vw, 66px); line-height: 1.08; color: var(--white); max-width: 900px; }
.hero h1.hero-title-script { font-family: 'Great Vibes', cursive; font-size: clamp(72px, 11vw, 130px); color: var(--white); line-height: 1; }
.hero-sub { font-family: 'Cormorant Garamond', serif; font-size: clamp(16px, 1.8vw, 21px); font-style: italic; color: rgba(255,255,255,0.8); margin-top: 18px; max-width: 560px; line-height: 1.5; }
.hero-meta { margin-top: 22px; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.65); }

/* ─── ARTICLE ─── */
.breadcrumb { max-width: 720px; margin: 0 auto; padding: 36px 24px 0; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); }
.breadcrumb a:hover { color: var(--orange); }
.article { max-width: 720px; margin: 0 auto; padding: 28px 24px 90px; }
.article .lead { font-family: 'Cormorant Garamond', serif; font-size: clamp(21px, 2.4vw, 25px); line-height: 1.5; color: var(--dark); margin-bottom: 30px; }
.article h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; color: var(--dark); margin: 58px 0 20px; scroll-margin-top: 110px; }
.article h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 23px; line-height: 1.25; color: var(--dark); margin: 30px 0 10px; }
.article p { font-size: 16.5px; line-height: 1.85; color: var(--text); margin-bottom: 18px; }
.article p strong, .article li strong { color: var(--dark); font-weight: 500; }
.article a.inline { color: var(--orange); border-bottom: 1px solid rgba(232,119,34,0.35); transition: border-color 0.3s; }
.article a.inline:hover { border-color: var(--orange); }
.article ul { margin: 0 0 20px 0; padding-left: 20px; }
.article li { font-size: 16.5px; line-height: 1.8; color: var(--text); margin-bottom: 8px; }
.article li::marker { color: var(--orange); }
.article figure { margin: 38px 0; }
.article figure img { width: 100%; height: auto; border-radius: var(--radius); }
.article figcaption { margin-top: 12px; font-size: 12px; color: var(--gray); text-align: center; letter-spacing: 0.04em; }

.toc { border: 1px solid rgba(26,16,10,0.1); border-radius: var(--radius); padding: 26px 28px; margin: 34px 0 10px; }
.toc p { font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.toc ol { padding-left: 20px; }
.toc li { font-size: 14.5px; line-height: 1.6; margin-bottom: 6px; color: var(--text); }
.toc a:hover { color: var(--orange); }

.table-wrap { overflow-x: auto; margin: 26px 0 28px; border: 1px solid rgba(26,16,10,0.1); border-radius: var(--radius); }
.article table { width: 100%; border-collapse: collapse; min-width: 520px; }
.article th { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--orange); text-align: left; padding: 16px 18px; border-bottom: 1px solid rgba(26,16,10,0.1); }
.article td { font-size: 14.5px; line-height: 1.6; color: var(--text); padding: 14px 18px; border-bottom: 1px solid rgba(26,16,10,0.06); vertical-align: top; }
.article tr:last-child td { border-bottom: none; }
.article td:first-child { color: var(--dark); font-weight: 500; white-space: nowrap; }

.faq details { border-bottom: 1px solid rgba(26,16,10,0.1); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: 'Cormorant Garamond', serif; font-size: 22px; line-height: 1.3; color: var(--dark); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-family: 'Inter', sans-serif; font-weight: 300; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; }

/* ─── CTA ─── */
.blog-cta { background: var(--dark); padding: 100px 24px; text-align: center; }
.blog-cta .eyebrow { font-size: 9.5px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--orange); margin-bottom: 24px; }
.blog-cta h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(38px, 5.4vw, 72px); font-weight: 400; color: var(--white); line-height: 1.08; margin-bottom: 22px; }
.blog-cta p { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 440px; margin: 0 auto 40px; line-height: 1.8; }
.btn-light { display: inline-block; padding: 16px 42px; border: 1px solid rgba(255,255,255,0.3); color: var(--white); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; border-radius: 100px; transition: all 0.3s; }
.btn-light:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

/* ─── BLOG INDEX ─── */
.blog-intro { max-width: 680px; margin: 0 auto; padding: 70px 24px 20px; text-align: center; }
.blog-intro .eyebrow { font-size: 9.5px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--orange); margin-bottom: 22px; }
.blog-intro h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4.4vw, 54px); font-weight: 400; line-height: 1.1; margin-bottom: 22px; }
.blog-intro p { font-size: 15px; line-height: 1.85; color: var(--gray); }
.posts { max-width: 1080px; margin: 0 auto; padding: 40px 24px 100px; display: grid; gap: 28px; }
.post-card { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid rgba(26,16,10,0.1); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,0.35); transition: box-shadow 0.4s, transform 0.4s; }
.post-card:hover { box-shadow: 0 18px 50px rgba(26,16,10,0.1); transform: translateY(-2px); }
.post-card-img { overflow: hidden; min-height: 320px; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.post-card:hover .post-card-img img { transform: scale(1.03); }
.post-card-body { padding: 44px 44px; display: flex; flex-direction: column; justify-content: center; }
.post-card-body p.post-card-tag { font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.post-card-body h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin-bottom: 14px; }
.post-card-body p { font-size: 14.5px; line-height: 1.8; color: var(--gray); margin-bottom: 22px; }
.post-card-body p.post-card-meta { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin-bottom: 20px; }
.post-card-link { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dark); font-weight: 500; }
.post-card:hover .post-card-link { color: var(--orange); }

/* ─── FOOTER ─── */
footer { background: var(--dark); padding: 64px 44px 44px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.08); gap: 40px; }
.footer-logo-img { height: 60px; width: auto; display: block; margin-bottom: 6px; }
.footer-logo .sub { font-size: 8.5px; letter-spacing: 0.32em; color: rgba(255,255,255,0.3); text-transform: uppercase; margin-top: 6px; display: block; }
.footer-nav { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.footer-nav a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); transition: color 0.3s; }
.footer-nav a:hover { color: var(--white); }
.footer-social { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; padding-top: 8px; }
.footer-social a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); transition: color 0.3s; }
.footer-social a:hover { color: var(--white); }
.footer-bottom { padding-top: 36px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 10.5px; color: rgba(255,255,255,0.25); letter-spacing: 0.06em; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: rgba(255,255,255,0.22); font-style: italic; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.28); transition: color 0.3s; }
.footer-legal a:hover { color: var(--orange); }

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-reserve { display: none; }
  .nav-burger { display: flex; }
  .nav-logo-img { height: 60px; }
  .hero { height: 64svh; min-height: 440px; }
  .hero-content { padding-top: 100px; }
  .article { padding: 22px 22px 70px; }
  .article p, .article li { font-size: 16px; }
  .article h2 { margin-top: 46px; }
  .post-card { grid-template-columns: 1fr; }
  .post-card-img { min-height: 220px; max-height: 260px; }
  .post-card-body { padding: 30px 24px 34px; }
  .blog-cta { padding: 76px 24px; }
  footer { padding: 56px 24px 40px; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-social { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
