/* ==========================================================
   Vicking Life — shared styles
   ========================================================== */

:root {
  --ice: #F5F7FC;
  --frost: #E1E6F3;
  --fjord: #14254A;
  --fjord-soft: #4A5878;
  --deep: #14254A;
  --cobalt: #2F64D8;
  --sun: #FFD23F;
  --aurora: #5ACFA3;
  --pink: #F9A8C9;
  --ember: #FF8A3D;
  --ember-dark: #14254A;
  --white: #FFFFFF;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ice);
  color: var(--fjord);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 750; }
h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.lede { font-size: 1.25rem; color: var(--fjord-soft); }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--fjord); color: var(--ice); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--ember); color: var(--fjord); }
.btn-primary:hover { background: var(--ember-dark); color: var(--white); }
.btn-ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn-ghost:hover { background: var(--fjord); color: var(--ice); border-color: var(--fjord); }
.btn-block { width: 100%; }

.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--ember); }
.text-link:hover { color: var(--ember-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ice) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--frost);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { font: 800 1.375rem var(--font-display); text-decoration: none; white-space: nowrap; flex-shrink: 0; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; }
.logo img { display: block; height: 58px; width: auto; border-radius: 10px; }
.footer-top .logo img { height: 80px; border-radius: 14px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--frost); }
.nav a[aria-current="page"] { background: var(--cobalt); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.bag-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 2px solid var(--fjord); color: var(--fjord);
  border-radius: 999px; padding: 8px 14px; font: 600 0.95rem var(--font-body); cursor: pointer;
}
.bag-btn:hover { background: var(--fjord); color: var(--ice); }
.bag-count { background: var(--sun); color: var(--fjord); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 0.8rem; padding: 0 6px; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--fjord); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1260px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ice); border-bottom: 1px solid var(--frost);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 1.125rem; }
}

/* ---------- Image placeholders ----------
   Replace any <div class="ph"> with an <img src="..." alt="..."> using the same extra classes. */
.ph {
  --c1: var(--aurora);
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--c1) 60%, var(--white)), transparent 70%),
    color-mix(in srgb, var(--c1) 30%, var(--white));
  border-radius: var(--r-md);
  display: grid; place-items: center;
  color: var(--fjord-soft);
  aspect-ratio: 4 / 5;
}
.ph::after {
  content: attr(data-label);
  font-size: 0.875rem; font-weight: 500;
  background: color-mix(in srgb, var(--ice) 80%, transparent);
  padding: 6px 12px; border-radius: 999px; text-align: center; max-width: 85%;
}
.ph.wide { aspect-ratio: 16 / 9; }
/* Real photos reuse the placeholder shapes */
img.ph { width: 100%; height: auto; object-fit: cover; display: block; background: var(--frost); }
.ph.square { aspect-ratio: 1; }
.media { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 8vw, 96px); overflow: hidden; }
.wordmark {
  font: 800 min(26vw, 20.5rem) / 0.82 var(--font-display);
  letter-spacing: -0.055em; text-transform: uppercase; margin: 0;
  color: var(--fjord);
}
.wordmark span { display: block; }
.wordmark .line-2 { text-align: right; letter-spacing: 0.03em; } /* keeps the L and I of LIFE from merging into a U */
.hero-mid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 48px);
  align-items: end; margin: -0.6vw 0 clamp(16px, 3vw, 32px);
  position: relative; z-index: 1;
}
.hero-photo { border-radius: var(--r-lg); aspect-ratio: 4 / 5; max-height: 560px; width: 100%; box-shadow: 14px 14px 0 var(--sun); }
.hero-intro p { font-size: 1.25rem; }
.hero-intro .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

@media (prefers-reduced-motion: no-preference) {
  .wordmark span { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
  .wordmark .line-2 { animation-delay: .12s; }
  .hero-mid { animation: fade 1s .35s both; }
}
@keyframes rise { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 760px) {
  .hero-mid { grid-template-columns: 1fr; margin: 16px 0; }
  .hero-photo { aspect-ratio: 4 / 3; }
  /* Keep the real photo in its own 4:5 shape so no faces get cropped */
  img.hero-photo { aspect-ratio: 4 / 5; max-height: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { max-width: 14ch; }

/* ---------- Latest posts grid ---------- */
.latest { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.post { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.post .ph, .post img { transition: transform .3s; }
.post:hover .ph, .post:hover img { transform: scale(1.015); }
.post h3 { margin: 0; }
.post .meta { color: var(--fjord-soft); font-size: 0.9rem; }
.post:first-child .ph { aspect-ratio: 4 / 4.4; }
@media (max-width: 880px) { .latest { grid-template-columns: 1fr 1fr; } .post:first-child { grid-column: 1 / -1; } .post:first-child .ph { aspect-ratio: 16 / 10; } }
@media (max-width: 520px) { .latest { grid-template-columns: 1fr; } }

/* ---------- Platform rows ---------- */
.platforms { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fjord); }
.platforms li { border-bottom: 2px solid var(--fjord); }
.platforms a {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px;
  padding: 22px 8px; text-decoration: none; transition: background .2s, padding .2s;
}
.platforms a:hover { background: var(--fjord); color: var(--ice); padding-left: 24px; padding-right: 24px; }
.platforms .name { font: 750 clamp(1.75rem, 5vw, 3rem) / 1 var(--font-display); letter-spacing: -0.03em; }
.platforms .handle { color: inherit; opacity: .75; }
.platforms .count { font-weight: 700; min-width: 6ch; text-align: right; }
@media (max-width: 560px) { .platforms a { grid-template-columns: 1fr auto; } .platforms .handle { display: none; } }

/* ---------- Dark band ---------- */
.band { --glow: #7FA6F5; background: var(--cobalt); color: var(--white); border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 140%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 55%, transparent), transparent);
  pointer-events: none;
}
.band > * { position: relative; }
.band h2 { color: var(--white); max-width: 16ch; }
.band p { color: color-mix(in srgb, var(--white) 88%, transparent); }
.band .btn-ghost:hover { background: var(--white); color: var(--cobalt); border-color: var(--white); }
.band.sun { --glow: var(--white); background: var(--sun); color: var(--fjord); }
.band.coral { --glow: var(--sun); background: var(--ember); color: var(--fjord); }
.band.sun h2, .band.coral h2, .band.sun p, .band.coral p { color: var(--fjord); }
.band.sun .btn-ghost:hover, .band.coral .btn-ghost:hover { background: var(--fjord); color: var(--white); border-color: var(--fjord); }
.band.coral .btn-primary { background: var(--fjord); color: var(--white); }
.band.coral .btn-primary:hover { background: var(--white); color: var(--fjord); }

.signup { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; max-width: 520px; }
.signup input { flex: 1 1 220px; }
.form-note { font-size: 0.95rem; margin-top: 12px; min-height: 1.5em; }
.signup .optin { flex: 1 1 100%; display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.9rem; margin: 2px 0; }
.signup .optin input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sun); }
.band.sun .optin input, .band.coral .optin input { accent-color: var(--fjord); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.guide-title { margin: 28px 0 8px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--white) 30%, transparent); }

/* ---------- Forms ---------- */
input, select, textarea {
  font: inherit; color: var(--fjord);
  background: var(--white); border: 2px solid var(--frost); border-radius: 12px;
  padding: 13px 16px; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--fjord); outline: none; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.band input { background: color-mix(in srgb, var(--white) 10%, transparent); border-color: color-mix(in srgb, var(--ice) 25%, transparent); color: var(--white); }
.band input::placeholder { color: color-mix(in srgb, var(--ice) 60%, transparent); }
.band input:focus { border-color: var(--sun); }
.band.sun input, .band.coral input { background: var(--white); border-color: var(--white); color: var(--fjord); }
.band.sun input::placeholder, .band.coral input::placeholder { color: var(--fjord-soft); }
.band.sun input:focus, .band.coral input:focus { border-color: var(--fjord); }

/* ---------- Two-column split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- About: facts list ---------- */
.family-photo { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 14px 14px 0 var(--pink); }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--frost); }
.facts li span:first-child { font-weight: 700; }

.photo-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row > :first-child { grid-column: 1 / -1; } }

/* ---------- Content page ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip {
  background: transparent; border: 2px solid var(--fjord); color: var(--fjord);
  padding: 8px 18px; border-radius: 999px; font: 600 0.95rem var(--font-body); cursor: pointer;
}
.chip:hover { background: var(--frost); }
.chip[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }

.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.content-grid .post .ph { aspect-ratio: 16 / 10; }
.tag { display: inline-block; font-size: 0.8rem; font-weight: 700; background: var(--aurora); color: var(--fjord); padding: 3px 10px; border-radius: 999px; align-self: flex-start; }
@media (max-width: 880px) { .content-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .content-grid { grid-template-columns: 1fr; } }

/* ---------- Collabs ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--fjord); border-bottom: 2px solid var(--fjord); }
.stats div { padding: 28px 20px; border-left: 1px solid var(--frost); }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats div:nth-child(odd) strong { color: var(--cobalt); }
.stats div:nth-child(even) strong { color: var(--ember); }
.stats strong { display: block; font: 800 clamp(1.5rem, 3.1vw, 3rem) / 1 var(--font-display); letter-spacing: -0.03em; white-space: nowrap; }
.stats span { color: var(--fjord-soft); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-left: 0; padding-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--frost); } }

.offer-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer-list li { background: var(--white); border-radius: var(--r-md); padding: 28px; border-top: 8px solid var(--ember); }
.offer-list li:nth-child(2), .course:nth-child(2) { border-top-color: var(--sun); }
.offer-list li:nth-child(3), .course:nth-child(3) { border-top-color: var(--cobalt); }
.offer-list p { color: var(--fjord-soft); margin: 0; }
@media (max-width: 820px) { .offer-list { grid-template-columns: 1fr; } }

.logo-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.logo-strip span { border: 2px dashed var(--fjord-soft); color: var(--fjord-soft); border-radius: 12px; padding: 18px 28px; font-weight: 600; }

/* ---------- Shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
@media (max-width: 1000px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .shop-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; } }

.product { display: flex; flex-direction: column; gap: 10px; }
.product .ph { aspect-ratio: 1; }
.product .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.product h3 { font-size: 1.125rem; margin: 0; }
.product .price { font-weight: 700; white-space: nowrap; }
.product .desc { color: var(--fjord-soft); font-size: 0.95rem; margin: 0; }
.product .opts { display: flex; gap: 8px; margin-top: auto; }
.product select { padding: 10px 12px; border-radius: 999px; font-size: 0.95rem; flex: 0 0 auto; width: auto; }
.product .btn { padding: 10px 18px; flex: 1; font-size: 0.95rem; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--sun); color: var(--fjord); font-weight: 700; font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; z-index: 1; }
.product .img-wrap { position: relative; }
@media (max-width: 520px) { .product .opts { flex-direction: column; } .product select { width: 100%; } }

.drop-banner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 760px) { .drop-banner { grid-template-columns: 1fr; } }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.perks div { border-top: 2px solid var(--fjord); padding-top: 16px; }
.perks p { color: var(--fjord-soft); margin: 0; }
@media (max-width: 720px) { .perks { grid-template-columns: 1fr; } }

/* ---------- Bag drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgb(13 40 48 / .45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--ice); z-index: 91; display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s;
}
.drawer.open { transform: none; visibility: visible; transition-delay: 0s; box-shadow: -20px 0 60px rgb(13 40 48 / .2); }
.drawer.open + .drawer-backdrop, .drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--frost); }
.drawer header h2 { font-size: 1.5rem; margin: 0; }
.drawer .close { background: none; border: 0; font-size: 1.75rem; line-height: 1; cursor: pointer; color: var(--fjord); padding: 4px 8px; }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 24px; list-style: none; margin: 0; }
.drawer-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--frost); }
.drawer-items .ph { aspect-ratio: 1; border-radius: 10px; }
.drawer-items .ph::after { display: none; }
.drawer-items small { color: var(--fjord-soft); display: block; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--fjord); background: none; cursor: pointer; color: var(--fjord); font-weight: 700; }
.drawer footer { padding: 20px 24px; border-top: 1px solid var(--frost); }
.drawer .total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.125rem; margin-bottom: 14px; }
.empty { padding: 40px 0; color: var(--fjord-soft); }
.reduce-motion .drawer { transition: none; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-backdrop { transition: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--fjord); color: var(--ice); padding: 12px 20px; border-radius: 999px;
  font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 95;
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--frost); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--frost); }
.faq summary { font-weight: 700; font-size: 1.125rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--fjord-soft); }

/* ---------- Contact ---------- */
.contact-ways { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-ways li { padding: 16px 0; border-top: 1px solid var(--frost); }
.contact-ways strong { display: block; }
.form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--ice); padding: 72px 0 32px; margin-top: clamp(64px, 10vw, 120px); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-top .logo { color: var(--white); font-size: 2rem; }
.footer-top p { color: color-mix(in srgb, var(--ice) 70%, transparent); margin-top: 12px; }
.footer-top h3 { font-size: 1rem; color: var(--sun); font-family: var(--font-body); letter-spacing: 0; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-top a { text-decoration: none; opacity: .85; }
.footer-top a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { border-top: 1px solid color-mix(in srgb, var(--ice) 15%, transparent); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.9rem; opacity: .7; }
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Language switch ---------- */
.lang-switch { display: inline-flex; border: 2px solid var(--fjord); border-radius: 999px; overflow: hidden; font-weight: 700; font-size: 0.875rem; }
.lang-switch a, .lang-switch span { padding: 7px 11px; text-decoration: none; line-height: 1; }
.lang-switch span { background: var(--fjord); color: var(--ice); }
.lang-switch a:hover { background: var(--frost); }

/* ---------- Instagram block ---------- */
.insta-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.insta-head .handle { font: 800 clamp(2rem, 6vw, 4rem) / 1 var(--font-display); letter-spacing: -0.03em; text-decoration: none; }
.insta-head .handle:hover { color: var(--ember-dark); }
.insta-head p { margin: 8px 0 0; color: var(--fjord-soft); }
.social-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-grid .ph { aspect-ratio: 1; border-radius: 10px; }
.insta-grid .ph::after { display: none; }
@media (max-width: 720px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Learn French ---------- */
.ebook { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.ebook .ph { aspect-ratio: 3 / 4; border-radius: 6px 18px 18px 6px; box-shadow: 18px 18px 0 var(--sun); max-width: 360px; }
.ebook .ebook-cover { width: 100%; max-width: 360px; height: auto; border-radius: 6px 18px 18px 6px; box-shadow: 18px 18px 0 var(--sun); }
.ebook .price-line { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.ebook .price-line strong { font: 800 2.25rem / 1 var(--font-display); }
@media (max-width: 760px) { .ebook { grid-template-columns: 1fr; } .ebook .ph, .ebook .ebook-cover { max-width: 260px; } }

.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%; background: var(--aurora); box-shadow: inset 0 0 0 5px var(--aurora), inset 0 0 0 9px var(--deep); }

.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course { background: var(--white); border-radius: var(--r-md); padding: 28px; border-top: 8px solid var(--ember); display: flex; flex-direction: column; gap: 10px; }
.course .level { font-weight: 700; color: var(--fjord-soft); font-size: 0.95rem; }
.course p { color: var(--fjord-soft); margin: 0; }
.course-info { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 4px; font-size: 0.95rem; }
.course-info b { font-weight: 600; }
.course .foot { flex-wrap: wrap; }
.course .foot span { color: var(--fjord-soft); white-space: nowrap; }
.course .btn { white-space: nowrap; }
.course .foot span strong { color: var(--fjord); }
.course .foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.course .foot strong { font: 800 1.5rem var(--font-display); }
.course .btn { padding: 10px 18px; }
@media (max-width: 880px) { .courses { grid-template-columns: 1fr; } }

.word { display: grid; grid-template-columns: auto 1fr; gap: 8px 40px; align-items: baseline; }
.word .term { font: 800 clamp(3.5rem, 12vw, 8rem) / 0.9 var(--font-display); letter-spacing: -0.04em; color: var(--sun); grid-row: span 2; }
.word .say { color: color-mix(in srgb, var(--ice) 70%, transparent); margin: 0; }
@media (max-width: 640px) { .word { grid-template-columns: 1fr; } .word .term { grid-row: auto; } }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quotes blockquote { margin: 0; border-left: 4px solid var(--ember); padding: 4px 0 4px 20px; }
.quotes blockquote p { font-size: 1.125rem; }
.quotes cite { font-style: normal; font-weight: 700; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Travel cards ---------- */
.reco .ph { aspect-ratio: 4 / 3; }
.reco .meta { margin: 0; color: var(--fjord-soft); }
.reco ul { list-style: none; padding: 0; margin: 4px 0 0; color: var(--fjord-soft); font-size: 0.95rem; display: grid; gap: 2px; }
.reco ul b { color: var(--fjord); font-weight: 600; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag.kids { background: var(--ember); color: var(--fjord); }
[data-cat="traditions"] .tag, [data-cat="sweden"] .tag:first-child { background: var(--sun); }
[data-cat="language"] .tag { background: var(--ember); }
[data-cat="food"] .tag, [data-cat="europe"] .tag:first-child { background: var(--pink); }
[data-cat="family"] .tag, [data-cat="world"] .tag:first-child { background: var(--cobalt); color: var(--white); }

/* ---------- Blog articles ---------- */
.blog-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 1.15rem; }
.article-head { padding-top: clamp(40px, 7vw, 80px); padding-bottom: 28px; }
.article-head h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); max-width: 22ch; }
.article-back { font-weight: 600; text-decoration: none; color: var(--cobalt); display: inline-block; margin-bottom: 16px; }
.article-back::before { content: "‹ "; }
.article-meta { color: var(--fjord-soft); margin: 0; }
.article-cover { border-radius: var(--r-lg); aspect-ratio: 21 / 9; width: 100%; object-fit: cover; }
.article-body { max-width: calc(720px + 2 * var(--gutter)); padding-top: 40px; font-size: 1.125rem; line-height: 1.7; }
.article-body h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin: 1.8em 0 0.5em; }
.article-body h3 { margin: 1.4em 0 0.3em; }
.article-body ul, .article-body ol { padding-left: 1.3em; display: grid; gap: 6px; }
.article-body .note { font-size: 0.95rem; background: color-mix(in srgb, var(--aurora) 25%, var(--white)); padding: 12px 16px; border-radius: 12px; }
.article-body blockquote { margin: 1.2em 0; padding: 20px 24px; border-left: 6px solid var(--sun); background: var(--white); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 1.15rem; }
.article-body blockquote p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1em 0; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--white); border-radius: var(--r-md); overflow: hidden; }
.article-body th, .article-body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--frost); vertical-align: top; }
.article-body th { background: var(--fjord); color: var(--white); font-weight: 600; }
.answers { margin: 12px 0; }
.answers summary { cursor: pointer; font-weight: 600; color: var(--cobalt); }
.callout { margin: 2.5em 0; background: var(--cobalt); color: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.callout h2 { color: var(--white); margin-top: 0; }
.callout-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.callout .btn-ghost:hover { background: var(--white); color: var(--cobalt); border-color: var(--white); }
.signoff { font-weight: 600; }
.article-figure { margin: 1.5em 0; }
.article-figure img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center 35%; border-radius: var(--r-md); display: block; }
/* Portrait photos used as wide covers: keep faces in frame */
img.article-cover { object-position: center 60%; }
/* Vertical photos shown whole, at a narrower width */
.article-figure.portrait { max-width: 460px; margin-left: auto; margin-right: auto; }
.article-figure.portrait img { max-height: none; }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.figure-pair .article-figure img { aspect-ratio: 3 / 4; max-height: none; }
.article-figure figcaption { font-size: 0.95rem; color: var(--fjord-soft); margin-top: 8px; }
/* French words inside English text */
.article-body p span[lang="fr"], .article-body li span[lang="fr"] { font-style: italic; }

/* ---------- Legal pages ---------- */
.legal > * { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin: 2em 0 0.5em; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal li, .legal p { max-width: 70ch; }
.legal a { text-decoration-color: var(--ember); text-underline-offset: 3px; }
/* Highlights details still to fill in */
mark.todo { background: color-mix(in srgb, var(--sun) 55%, var(--white)); color: var(--fjord); padding: 0 4px; border-radius: 4px; }
.optin a { color: inherit; text-underline-offset: 2px; }

/* ---------- Shop coming soon ---------- */
/* While the shop is closed: hide the bag. Delete this line when the shop opens. */
.bag-btn { display: none; }
.soon .wrap { position: relative; }
.soon-preview { filter: blur(9px); opacity: .6; pointer-events: none; user-select: none; }
.soon-card { position: absolute; inset: 0 var(--gutter); display: grid; place-items: start center; padding-top: clamp(24px, 8vw, 96px); }
.soon-card > div {
  background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 52px);
  max-width: 600px; text-align: center; box-shadow: 0 30px 80px rgb(20 37 74 / .16);
  border-top: 10px solid var(--sun);
}
.soon-card h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); max-width: none; }
.soon-card .signup { margin: 24px auto 0; justify-content: center; }
.soon-card .optin { text-align: left; color: var(--fjord-soft); }
.soon-card > div { position: relative; }
.soon-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  background: var(--frost); color: var(--fjord); font-size: 1.5rem; line-height: 1;
}
.soon-close:hover { background: var(--fjord); color: var(--white); }
/* Products are a preview only, not for sale yet */
.soon-preview .opts { display: none; }
.fine-print { font-size: 0.875rem; color: var(--fjord-soft); margin: 8px auto 0; }

.hidden { display: none !important; }
