/* breaditorial: shared nav + content-page styles.
   Every rule is scoped (.site-nav, .explore, .article, .page-hero, .cal-*),
   so this file is safe to load on the homepage without altering its design. */

/* ---- Persistent top nav (all pages, always visible, solid) ---- */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 9px max(20px, calc((100% - 1040px) / 2));
  background: #121212; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.site-nav a { text-decoration: none; color: #F2F0E6; }
.site-nav .brand { display: inline-flex; align-items: center; }
.site-nav .brand img { height: 44px; width: auto; display: block; }
.site-nav .links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.site-nav .links a { color: #A1A1AA; }
.site-nav .links a:hover { color: #F2F0E6; }
.site-nav .lang { display: inline-flex; align-items: center; gap: 8px; }
.site-nav .lang button, .site-nav .lang a { background: none; border: 0; padding: 0; cursor: pointer; color: #71717A; font: inherit; font-size: 14px; text-decoration: none; }
.site-nav .lang span { color: #3f3f46; }
.site-nav .lang [aria-current="true"] { color: #F2F0E6; font-weight: 700; cursor: default; }
@media (max-width: 640px) {
  .site-nav { padding: 7px 12px; }
  .site-nav .brand img { height: 30px; }
  .site-nav .links { gap: 11px; font-size: 12px; }
  .site-nav .links a { white-space: nowrap; }
}

/* Bilingual label switching for the shared homepage nav */
html[lang="en"] .site-nav [data-ja] { display: none; }
html[lang="ja"] .site-nav [data-en] { display: none; }

/* ---- Explore section (homepage) ---- */
.explore { padding: 58px max(20px, calc((100% - 1040px) / 2)); background: #161512; }
.explore .k { color: #D4A373; font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.explore h2 { font-family: 'Cormorant', Georgia, serif; font-weight: 700; font-size: 36px; margin: 8px 0 6px; color: #F2F0E6; letter-spacing: 0.3px; }
.explore .sub { color: #A1A1AA; font-family: 'DM Sans', sans-serif; margin-bottom: 26px; max-width: 560px; }
.explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.explore-card { display: block; background: #2C2C2E; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 26px 28px; text-decoration: none; transition: border-color .2s, transform .2s; }
.explore-card:hover { border-color: rgba(212,163,115,0.5); transform: translateY(-2px); }
.explore-card .t { font-family: 'Cormorant', Georgia, serif; color: #F2F0E6; font-size: 30px; font-weight: 700; margin-bottom: 6px; }
.explore-card .d { color: #A1A1AA; font-family: 'DM Sans', sans-serif; font-size: 14.5px; line-height: 1.5; }
.explore .next { color: #71717A; font-family: 'DM Sans', sans-serif; font-size: 13px; margin-top: 18px; }
.explore .next b { color: #D4A373; font-weight: 600; }
@media (max-width: 640px) { .explore-grid { grid-template-columns: 1fr; } }

/* ---- Content article pages ---- */
.page-hero { position: relative; min-height: 58vh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,18,18,0.97) 2%, rgba(18,18,18,0.55) 45%, rgba(18,18,18,0.18) 100%); }
.page-hero .hero-inner { position: relative; max-width: 720px; width: 100%; margin: 0 auto; padding: 0 20px 38px; }
.page-hero .eyebrow, .article .eyebrow { color: #D4A373; font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.page-hero h1 { font-family: 'Cormorant', Georgia, serif; font-weight: 700; font-size: clamp(34px, 7vw, 54px); line-height: 1.04; letter-spacing: 0.3px; color: #F2F0E6; }
.page-hero .standfirst { color: #C9C7BC; font-family: 'DM Sans', sans-serif; font-size: 17px; line-height: 1.55; max-width: 580px; margin-top: 14px; }

.article { max-width: 720px; margin: 0 auto; padding: 34px 20px 20px; font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.article h2 { font-family: 'Cormorant', Georgia, serif; font-weight: 600; font-size: 31px; margin: 46px 0 14px; line-height: 1.18; color: #F2F0E6; letter-spacing: 0.3px; }
.article h3 { font-family: 'Cormorant', Georgia, serif; font-weight: 600; font-size: 21px; margin: 24px 0 8px; color: #F2F0E6; }
.article p { color: #A6A49B; font-size: 17px; line-height: 1.7; margin-bottom: 16px; }
.article p strong { color: #F2F0E6; font-weight: 600; }
.article ul, .article ol { color: #A6A49B; font-size: 17px; line-height: 1.65; margin: 0 0 18px 22px; }
.article li { margin-bottom: 9px; }
.article li strong { color: #F2F0E6; }
.article a.inline { color: #D4A373; text-decoration: none; border-bottom: 1px solid rgba(212,163,115,0.4); }

.figure { margin: 32px 0; }
.figure img { width: 100%; border-radius: 16px; display: block; border: 1px solid rgba(255,255,255,0.06); }
.figure figcaption { color: #71717A; font-size: 13px; margin-top: 8px; text-align: center; font-style: italic; }

.date-card { background: #24221f; border: 1px solid rgba(212,163,115,0.18); border-radius: 16px; padding: 22px 24px; margin: 28px 0; }
.date-card .label { color: #71717A; font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
.date-card .big { font-family: 'Cormorant', Georgia, serif; color: #F2F0E6; font-size: 31px; line-height: 1.15; margin: 8px 0 4px; }
.date-card .sub { color: #D4A373; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; }

.callout { background: linear-gradient(180deg, rgba(212,163,115,0.12), rgba(212,163,115,0.03)); border: 1px solid rgba(212,163,115,0.24); border-radius: 16px; padding: 26px; margin: 36px 0; }
.callout h3 { font-family: 'Cormorant', Georgia, serif; margin: 0 0 8px; color: #F2F0E6; font-size: 24px; font-weight: 600; }
.callout p { margin-bottom: 14px; color: #C9C7BC; font-size: 16.5px; line-height: 1.6; }
.callout .cta img { height: 48px; }

.faq details { border-top: 1px solid rgba(255,255,255,0.07); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.faq summary { cursor: pointer; color: #F2F0E6; font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: #71717A; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 10px 0 0; color: #A6A49B; font-size: 16px; line-height: 1.65; }

.related { display: grid; gap: 12px; margin: 16px 0 8px; }
.related a { display: block; background: #2C2C2E; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 16px 18px; text-decoration: none; }
.related a:hover { border-color: rgba(212,163,115,0.4); }
.related a .t { display: block; color: #F2F0E6; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.related a .d { display: block; color: #71717A; font-size: 13px; margin-top: 4px; }

.article-footer {
  max-width: 960px; margin: 56px auto 0; padding: 40px 20px 56px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center; font-family: 'DM Sans', sans-serif;
}
/* logo (second div in markup) sits on top */
.article-footer > div:last-child { order: 1; margin: 0 !important; }
.article-footer > div:last-child img { height: 36px !important; width: auto; opacity: 0.95; margin: 0 auto; }
/* links (first div in markup) become a centred, wrapping row */
.article-footer > div:first-child { order: 2; margin: 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.article-footer a { color: #A6A49B; text-decoration: none; font-size: 14px; margin: 0 !important; transition: color .15s; }
.article-footer a:hover { color: #F2F0E6; }
.article-footer::after { content: "\00A9 2026 breaditorial.app"; order: 3; color: #52525b; font-size: 12px; letter-spacing: 0.3px; }

/* ---- Calendar hub cards ---- */
.cal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cal-card { display: flex; flex-direction: column; background: #2C2C2E; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 24px 26px; text-decoration: none; transition: border-color .2s, transform .2s; }
.cal-card:hover { border-color: rgba(212,163,115,0.5); transform: translateY(-2px); }
.cal-card .when { color: #D4A373; font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
.cal-card .t { font-family: 'Cormorant', Georgia, serif; color: #F2F0E6; font-size: 28px; font-weight: 600; margin: 8px 0 6px; line-height: 1.1; }
.cal-card .d { color: #A6A49B; font-family: 'DM Sans', sans-serif; font-size: 14.5px; line-height: 1.55; }
.cal-card .next { color: #71717A; font-family: 'DM Sans', sans-serif; font-size: 12px; margin-top: 12px; }
@media (max-width: 640px) { .cal-grid { grid-template-columns: 1fr; } }
