/* Live Better with Beth — public site */
/* Fonts are self-hosted (no outside services) */
@font-face { font-family: 'Fraunces'; src: url(/fonts/fraunces.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url(/fonts/nunito-sans-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url(/fonts/nunito-sans-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url(/fonts/nunito-sans-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url(/fonts/nunito-sans-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }
:root {
  --cream: #fbf6ef;
  --sand: #f3e8da;
  --paper: #ffffff;
  --ink: #23313a;
  --ink-2: #4b5a62;
  --muted: #596870;
  --sun: #b9531b;          /* sunset orange (from logo), darkened for readable white text */
  --sun-deep: #9a4414;
  --gold: #f4b23e;
  --sea: #0e8fc2;          /* water blue (from logo) */
  --sea-deep: #0b6f97;
  --line: #e7dccd;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(35, 49, 58, .06), 0 8px 24px rgba(35, 49, 58, .07);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea-deep); text-underline-offset: 3px; }
a:hover { color: var(--sun-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 239, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 58px; height: auto; }
.brand span { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
.nav-toggle { background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 68px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 18px; }
.site-nav a { display: block; padding: 12px 4px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--sun-deep); }
.site-nav .btn { margin-top: 14px; text-align: center; border: 0; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: flex; position: static; align-items: center; gap: 4px; background: none; box-shadow: none; border: 0; padding: 0; }
  .site-nav a { border: 0; padding: 8px 11px; font-size: .95rem; border-radius: 8px; }
  .site-nav a:hover { background: var(--sand); }
  .site-nav .btn { margin: 0 0 0 8px; padding: 10px 18px; }
  .site-nav .btn:hover { background: var(--sun-deep); }
}

/* Buttons */
.btn { display: inline-block; background: var(--sun); color: #fff !important; font-weight: 800; text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer; font: 800 1rem/1.2 var(--sans); transition: background .15s, transform .15s; }
.btn:hover { background: var(--sun-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff !important; }
.btn.light { background: #fff; color: var(--ink) !important; }
.btn.sea { background: var(--sea-deep); }
.btn.sea:hover { background: #095a7b; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2b2d33; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 30, 0) 15%, rgba(20, 24, 30, .55) 45%, rgba(20, 24, 30, .8) 100%); }
@media (min-width: 860px) { .hero::after { background: linear-gradient(90deg, rgba(20, 24, 30, .72) 0%, rgba(20, 24, 30, .35) 55%, rgba(20, 24, 30, .05) 100%), linear-gradient(180deg, transparent 50%, rgba(20, 24, 30, .4)); } }
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 48px; width: 100%; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero p { font-size: 1.15rem; max-width: 40ch; color: rgba(255, 255, 255, .92); }
.kicker { display: block; font: 800 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sun-deep); margin-bottom: 12px; }
.hero .kicker { color: #ffd58a; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero h1, .hero p { text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.page-hero { padding: 56px 0 28px; }
.page-hero p { max-width: 60ch; }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 800px) { section { padding: 80px 0; } }
.band { background: var(--sand); }
.band-dark { background: var(--ink); color: #e9eef0; }
.band-dark h2, .band-dark h3 { color: #fff; }
.center { text-align: center; }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.flip > :first-child { order: 2; } }
.split.top { align-items: start; }
.venue-photos { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin: 18px 0 8px; }
.venue-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.venue-lists { display: grid; gap: 22px; }
@media (min-width: 800px) { .venue-lists { grid-template-columns: 1fr 1fr; } }
.venue-lists ul { padding-left: 1.2em; margin: 0; } .venue-lists li { margin: .35em 0; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall img { aspect-ratio: 4 / 5; }
.photo.wide img { aspect-ratio: 4 / 3; }
.prose { max-width: 68ch; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose img { border-radius: 10px; margin: 1em 0; }
.prose blockquote { margin: 1.2em 0; padding: .2em 0 .2em 1em; border-left: 4px solid var(--gold); color: var(--ink-2); font-style: italic; }

/* Cards */
.grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid.two, .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card > img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .body p { color: var(--ink-2); margin: 0; }
.card .more { margin-top: auto; padding-top: 12px; font-weight: 800; text-decoration: none; }
a.card { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(35, 49, 58, .06), 0 14px 32px rgba(35, 49, 58, .12); color: inherit; }
.tag { display: inline-block; font: 800 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sea-deep); }
.chip { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--sand); font-weight: 700; font-size: .85rem; }
.chip.sun { background: #fde3cf; color: var(--sun-deep); }
.chip.sea { background: #d6eef8; color: var(--sea-deep); }

/* Event pieces */
.event-card .date { font-family: var(--serif); font-size: 1.05rem; color: var(--sun-deep); font-weight: 600; }
.event-meta { display: grid; gap: 14px; background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.event-meta dt { font: 800 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.event-meta dd { margin: 0; font-weight: 700; }
.price { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); }
.price small { font: 600 .9rem var(--sans); color: var(--muted); }
.event-layout { display: grid; gap: 32px; }
@media (min-width: 940px) { .event-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; } .event-layout aside { position: sticky; top: 92px; } }
ul.schedule { list-style: none; padding: 0; margin: 0 0 1em; }
ul.schedule li { padding: 12px 0 12px 16px; border-left: 3px solid var(--gold); margin: 0 0 6px; background: linear-gradient(90deg, rgba(244, 178, 62, .08), transparent 60%); }
ul.schedule b { display: block; color: var(--sun-deep); }
.notice { padding: 14px 16px; border-radius: 10px; background: #fff4e8; border: 1px solid #f6d3b2; }
.notice.ok { background: #e8f6ee; border-color: #b7e0c7; }
.notice.bad { background: #fdecec; border-color: #f2c1c1; }

/* People */
.person { text-align: left; }
.person > img { aspect-ratio: 1 / 1; }
.person .role { color: var(--sun-deep); font-weight: 800; font-size: .9rem; }
.person details { margin-top: 6px; }
.person summary { cursor: pointer; font-weight: 800; color: var(--sea-deep); list-style: none; }
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: " +"; }
.person details[open] summary::after { content: " –"; }
.person details p { margin-top: 8px; }
.session { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.session img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.session .st { font-size: 1.1rem; margin: 0 0 2px; }
.session .who { color: var(--sun-deep); font-weight: 700; font-size: .92rem; margin-bottom: 4px; }

/* Testimonials */
.quotes { display: grid; gap: 20px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: var(--paper); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "\201C"; font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--gold); position: absolute; top: 8px; left: 18px; }
.quote p { margin-top: 28px; color: var(--ink-2); }
.quote cite { font-style: normal; font-weight: 800; }

/* Gallery */
.gallery { columns: 2 160px; column-gap: 12px; }
@media (min-width: 900px) { .gallery { columns: 4; } }
.gallery figure { margin: 0 0 12px; break-inside: avoid; border-radius: 10px; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .8rem; padding: 3px 9px; border-radius: 999px; }
.lightbox { position: fixed; inset: 0; background: rgba(10, 12, 16, .92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; border-radius: 8px; }
.lightbox button { position: absolute; top: 12px; right: 12px; background: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; }

/* Forms */
form.stack { display: grid; gap: 14px; }
.row2 { display: grid; gap: 14px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
label { font-weight: 700; font-size: .95rem; display: grid; gap: 6px; }
input, select, textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #d8cbb9; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--sea); outline: 3px solid rgba(14, 143, 194, .18); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--sun); }
.hp { position: absolute; left: -5000px; }
.payopts { display: grid; gap: 10px; }
.payopt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid #d8cbb9; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 600; }
.payopt:has(input:checked) { border-color: var(--sun); background: #fff7f0; }
.payopt input { width: 20px; height: 20px; accent-color: var(--sun); margin-top: 2px; }
.payopt small { display: block; font-weight: 400; color: var(--muted); }
.form-card { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form-msg { display: none; }
.form-msg.show { display: block; }

/* Bests tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs a { padding: 9px 16px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); text-decoration: none; font-weight: 800; color: var(--ink); }
.tabs a:hover { background: var(--sand); }

/* Footer */
.site-footer { background: var(--ink); color: #cfd8dc; padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.site-footer .fh { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .logo-foot { width: 120px; background: #fff; border-radius: 12px; padding: 8px; margin-bottom: 12px; }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--sun); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.news { display: grid; gap: 10px; }
.news .inline { display: flex; gap: 8px; }
.news input { padding: 11px 12px; border: 0; }
.news .btn { padding: 11px 16px; white-space: nowrap; }
.fine { color: #b4c0c5; font-size: .82rem; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.demo-bar { background: #fff1c2; color: #5a4300; text-align: center; font-size: .85rem; padding: 6px 12px; }

/* Loading */
.skeleton { background: linear-gradient(90deg, #efe6da 25%, #f7f0e7 50%, #efe6da 75%); background-size: 200% 100%; animation: sh 1.4s infinite; border-radius: 10px; min-height: 120px; }
@keyframes sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
main#main { min-height: 100vh; }
.prose > h3:first-child, .prose > h2:first-child { margin-top: 0; }

/* Text wraps around the photo (Technology page) */
.wrap-text { display: flow-root; }
.wrap-text .float-photo { margin: 0 0 20px; }
.wrap-text .float-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
@media (min-width: 860px) { .wrap-text .float-photo { float: left; width: 42%; margin: 6px 40px 20px 0; } }
.wrap-text p, .wrap-text h2 { max-width: none; }
.wrap-text .float-photo img { height: auto; display: block; }
.codebox { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
@media (max-width: 599px) { .codebox > div { flex: 1 1 100%; } .codebox .btn { flex: 1 1 0; text-align: center; padding-left: 10px; padding-right: 10px; } }
@media (min-width: 860px) { .wrap-text .float-photo.right { float: right; margin: 6px 0 20px 40px; } }
.wrap-text .logo-box { background: #fff; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 28px; }
.wrap-text .logo-box img { aspect-ratio: auto; width: 85%; max-width: 420px; height: auto; object-fit: contain; }
.wrap-text .codebox { clear: both; }
@media (max-width: 859px) { .wrap-text .logo-box { aspect-ratio: auto; padding: 24px; } .wrap-text .logo-box img { width: 70%; } }

/* One-off Cyber Monday strip (Nov–Dec 2026) */
.promo { background: #fde3cf; border-bottom: 1px solid #f3c9a6; }
.promo .wrap { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.promo-img img { display: block; width: 96px; height: 96px; border-radius: 4.6%; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.promo p { margin: 0; flex: 1; min-width: 0; color: var(--sun-deep); line-height: 1.45; }
.promo p strong { font-size: 1.05rem; }
.promo s { color: var(--muted); font-weight: 400; }
.promo .nw { white-space: nowrap; }
.promo .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .promo .wrap { flex-wrap: wrap; gap: 10px 12px; }
  .promo-img img { width: 72px; height: 72px; }
  .promo .btn { flex-basis: 100%; text-align: center; }
}
