/* ============================================================
   Life Dental Spa — templates 11–20
   New theme palettes + five alternative homepage structures:
   panels (apple.com style) · split · magazine · sidebar · story
   ============================================================ */

/* ---------------- 11 · Cupertino (apple.com style) ---------------- */
body.theme-cupertino {
  --ink: #1d1d1f; --ink-soft: #515154; --ink-mute: #86868b;
  --teal: #0071e3; --teal-dark: #0077ed; --teal-deep: #1d1d1f;
  --mint: #f5f5f7; --mint-soft: #fbfbfd; --sand: #f5f5f7;
  --gold: #0071e3; --white: #ffffff; --line: #e8e8ed;
  --radius: 18px; --radius-lg: 28px; --btn-radius: 999px;
  --font-display: "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --display-weight: 700; --display-transform: none; --display-spacing: -0.03em;
  --hero-bg: #fbfbfd; --band-bg: #1d1d1f; --band-fg: #a1a1a6;
  --cta-bg: #1d1d1f;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04); --shadow-md: 0 11px 34px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.12); --btn-shadow: none;
}
body.theme-cupertino .topbar { display: none; }
body.theme-cupertino .header { background: rgba(251,251,253,0.85); }
body.theme-cupertino .nav { height: 52px; }
body.theme-cupertino .logo { font-size: 17px; font-weight: 600; }
body.theme-cupertino .nav-links > li > a { font-size: 13px; font-weight: 500; }

/* ---------------- 12 · Onyx (dark apple) ---------------- */
body.theme-onyx {
  --ink: #f5f5f7; --ink-soft: #a1a1a6; --ink-mute: #6e6e73;
  --teal: #2997ff; --teal-dark: #6cb6ff; --teal-deep: #f5f5f7;
  --mint: #161617; --mint-soft: #0b0b0c; --sand: #101011;
  --gold: #2997ff; --white: #000000; --line: #2d2d2f;
  --radius: 18px; --radius-lg: 28px; --btn-radius: 999px;
  --font-display: "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --display-weight: 700; --display-transform: none; --display-spacing: -0.03em;
  --hero-bg: #000000; --band-bg: #0b0b0c; --band-fg: #6e6e73;
  --cta-bg: #161617;
  --shadow-sm: none; --shadow-md: 0 11px 34px rgba(0,0,0,0.6);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.7); --btn-shadow: none;
}
body.theme-onyx .topbar { display: none; }
body.theme-onyx .header { background: rgba(0,0,0,0.8); }
body.theme-onyx .nav { height: 52px; }
body.theme-onyx .btn-primary { color: #fff; }

/* ---------------- 13 · Bauhaus (split) ---------------- */
body.theme-bauhaus {
  --ink: #14110e; --ink-soft: #4c463f; --ink-mute: #8a8278;
  --teal: #d92518; --teal-dark: #b21b10; --teal-deep: #14110e;
  --mint: #efe9dd; --mint-soft: #f7f3ec; --sand: #f2ecdf;
  --gold: #f2b705; --white: #fdfaf3; --line: #d9d2c2;
  --radius: 0px; --radius-lg: 0px; --btn-radius: 0px;
  --font-display: "Archivo", sans-serif; --font-body: "Inter", sans-serif;
  --display-weight: 900; --display-transform: uppercase; --display-spacing: -0.01em;
  --hero-bg: #f7f3ec; --band-bg: #14110e; --band-fg: #b8b0a3;
  --cta-bg: #d92518;
  --shadow-sm: none; --shadow-md: 6px 6px 0 #14110e; --shadow-lg: 10px 10px 0 #14110e;
  --btn-shadow: 4px 4px 0 #14110e;
}
body.theme-bauhaus .card, body.theme-bauhaus .form-card { border: 2px solid var(--ink); }
body.theme-bauhaus .btn-primary { border: 2px solid var(--ink); }

/* ---------------- 14 · Copper (split) ---------------- */
body.theme-copper {
  --ink: #2a2220; --ink-soft: #635750; --ink-mute: #998a81;
  --teal: #b06a45; --teal-dark: #92532f; --teal-deep: #2a1d18;
  --mint: #f0e6de; --mint-soft: #faf6f1; --sand: #f4ece4;
  --gold: #b06a45; --white: #fffcf8; --line: #e5d8cd;
  --radius: 10px; --radius-lg: 14px; --btn-radius: 10px;
  --font-display: "Cormorant Garamond", serif; --font-body: "Manrope", sans-serif;
  --display-weight: 600; --display-transform: none; --display-spacing: 0;
  --hero-bg: #faf6f1; --band-bg: #2a1d18; --band-fg: #c4a795;
  --cta-bg: linear-gradient(120deg, #92532f, #2a1d18);
  --shadow-sm: 0 2px 10px rgba(42,29,24,0.05); --shadow-md: 0 12px 36px rgba(42,29,24,0.10);
  --shadow-lg: 0 26px 64px rgba(42,29,24,0.16); --btn-shadow: 0 8px 24px rgba(176,106,69,0.30);
}

/* ---------------- 15 · Gazette (magazine) ---------------- */
body.theme-gazette {
  --ink: #1a1612; --ink-soft: #4b443c; --ink-mute: #837a6e;
  --teal: #7a1f1f; --teal-dark: #5e1414; --teal-deep: #1a1612;
  --mint: #efe9d8; --mint-soft: #f8f5ec; --sand: #f3eede;
  --gold: #7a1f1f; --white: #fcfaf3; --line: #d9d2bd;
  --radius: 0px; --radius-lg: 0px; --btn-radius: 0px;
  --font-display: "DM Serif Display", Georgia, serif; --font-body: "Inter", sans-serif;
  --display-weight: 400; --display-transform: none; --display-spacing: 0;
  --hero-bg: #f8f5ec; --band-bg: #1a1612; --band-fg: #a39a8a;
  --cta-bg: #1a1612;
  --shadow-sm: none; --shadow-md: none; --shadow-lg: 0 18px 44px rgba(26,22,18,0.10);
  --btn-shadow: none;
}
body.theme-gazette .card, body.theme-gazette .t-card { border-color: var(--ink); }

/* ---------------- 16 · Vogue (magazine) ---------------- */
body.theme-vogue {
  --ink: #0c0c0c; --ink-soft: #4a4a4a; --ink-mute: #8d8d8d;
  --teal: #0c0c0c; --teal-dark: #000; --teal-deep: #0c0c0c;
  --mint: #f1f1f1; --mint-soft: #fafafa; --sand: #f5f3ef;
  --gold: #c9a227; --white: #ffffff; --line: #e4e4e4;
  --radius: 0px; --radius-lg: 0px; --btn-radius: 0px;
  --font-display: "DM Serif Display", Georgia, serif; --font-body: "Inter", sans-serif;
  --display-weight: 400; --display-transform: none; --display-spacing: 0.01em;
  --hero-bg: #ffffff; --band-bg: #0c0c0c; --band-fg: #9c9c9c;
  --cta-bg: #0c0c0c;
  --shadow-sm: none; --shadow-md: none; --shadow-lg: 0 18px 44px rgba(0,0,0,0.10);
  --btn-shadow: none;
}
body.theme-vogue .logo { letter-spacing: 0.25em; text-transform: uppercase; font-size: 18px; }

/* ---------------- 17 · Studio (sidebar) ---------------- */
body.theme-studio {
  --ink: #232020; --ink-soft: #5c5552; --ink-mute: #948c87;
  --teal: #e25822; --teal-dark: #c2440f; --teal-deep: #232020;
  --mint: #ece8e3; --mint-soft: #f4f2ef; --sand: #efeae4;
  --gold: #e25822; --white: #fbfaf8; --line: #ddd6cf;
  --radius: 12px; --radius-lg: 16px; --btn-radius: 12px;
  --font-display: "Space Grotesk", sans-serif; --font-body: "Inter", sans-serif;
  --display-weight: 700; --display-transform: none; --display-spacing: -0.02em;
  --hero-bg: #f4f2ef; --band-bg: #232020; --band-fg: #a59d97;
  --cta-bg: #232020;
  --shadow-sm: 0 2px 8px rgba(35,32,32,0.05); --shadow-md: 0 10px 30px rgba(35,32,32,0.09);
  --shadow-lg: 0 22px 54px rgba(35,32,32,0.14); --btn-shadow: 0 8px 20px rgba(226,88,34,0.30);
}

/* ---------------- 18 · Fjord (sidebar) ---------------- */
body.theme-fjord {
  --ink: #1d2b33; --ink-soft: #506470; --ink-mute: #8499a3;
  --teal: #38758f; --teal-dark: #275a70; --teal-deep: #122832;
  --mint: #e2edf2; --mint-soft: #f2f6f8; --sand: #eef3f5;
  --gold: #d97742; --white: #fdfefe; --line: #d4e2e8;
  --radius: 10px; --radius-lg: 14px; --btn-radius: 10px;
  --font-display: "Sora", sans-serif; --font-body: "Inter", sans-serif;
  --display-weight: 700; --display-transform: none; --display-spacing: -0.02em;
  --hero-bg: #f2f6f8; --band-bg: #122832; --band-fg: #8fa9b4;
  --cta-bg: linear-gradient(120deg, #275a70, #122832);
  --shadow-sm: 0 2px 8px rgba(18,40,50,0.05); --shadow-md: 0 10px 30px rgba(18,40,50,0.09);
  --shadow-lg: 0 22px 54px rgba(18,40,50,0.14); --btn-shadow: 0 8px 20px rgba(56,117,143,0.30);
}

/* ---------------- 19 · Verde (story) ---------------- */
body.theme-verde {
  --ink: #14241c; --ink-soft: #45584e; --ink-mute: #7b8d82;
  --teal: #0b3d2c; --teal-dark: #0a2f22; --teal-deep: #0b3d2c;
  --mint: #e6eedd; --mint-soft: #f6f8f2; --sand: #eef3e4;
  --gold: #76a410; --white: #fcfdf9; --line: #d8e2cc;
  --radius: 20px; --radius-lg: 28px; --btn-radius: 999px;
  --font-display: "Lora", serif; --font-body: "Plus Jakarta Sans", sans-serif;
  --display-weight: 600; --display-transform: none; --display-spacing: -0.01em;
  --hero-bg: #0b3d2c; --band-bg: #0a2f22; --band-fg: #9bb8a8;
  --cta-bg: linear-gradient(120deg, #0b3d2c, #0a2f22);
  --shadow-sm: 0 2px 10px rgba(11,61,44,0.06); --shadow-md: 0 12px 36px rgba(11,61,44,0.12);
  --shadow-lg: 0 26px 64px rgba(11,61,44,0.18); --btn-shadow: 0 8px 24px rgba(11,61,44,0.30);
}

/* ---------------- 20 · Sunrise (story) ---------------- */
body.theme-sunrise {
  --ink: #46241c; --ink-soft: #7c564b; --ink-mute: #a98a7e;
  --teal: #e8553f; --teal-dark: #cc3f2a; --teal-deep: #46241c;
  --mint: #fdeada; --mint-soft: #fff8f2; --sand: #fdf1e3;
  --gold: #f5a623; --white: #fffdfa; --line: #f3ddcb;
  --radius: 22px; --radius-lg: 30px; --btn-radius: 999px;
  --font-display: "Manrope", sans-serif; --font-body: "Inter", sans-serif;
  --display-weight: 800; --display-transform: none; --display-spacing: -0.02em;
  --hero-bg: linear-gradient(135deg, #e8553f 0%, #f5a623 100%);
  --band-bg: #46241c; --band-fg: #d9ab94;
  --cta-bg: linear-gradient(120deg, #e8553f, #f5a623);
  --shadow-sm: 0 2px 10px rgba(70,36,28,0.06); --shadow-md: 0 12px 36px rgba(70,36,28,0.12);
  --shadow-lg: 0 26px 64px rgba(70,36,28,0.18); --btn-shadow: 0 8px 24px rgba(232,85,63,0.35);
}

/* ============================================================
   LAYOUT: panels (apple.com style)
   ============================================================ */
.lo-panel { min-height: 86vh; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; text-align: center; padding: 9vh 24px 6vh; }
.lo-panel.short { min-height: 56vh; }
.lo-panel.dark { background: var(--band-bg); color: #f5f5f7; }
.lo-panel.tint { background: var(--mint); }
.lo-panel-kicker { font-size: 15px; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
.lo-panel h1 { font-size: clamp(44px, 6.5vw, 88px); line-height: 1.04; max-width: 17ch; margin: 0 auto 12px; }
.lo-panel h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; max-width: 20ch; margin: 0 auto 10px; }
.lo-panel.dark h1, .lo-panel.dark h2 { color: #f5f5f7; }
.lo-panel .sub { font-size: clamp(18px, 2vw, 24px); color: var(--ink-soft); max-width: 38ch; margin: 0 auto 18px; }
.lo-panel.dark .sub { color: #a1a1a6; }
.lo-links { display: flex; gap: 30px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
.lo-links a { font-size: 18px; font-weight: 500; color: var(--teal); }
.lo-links a::after { content: " ›"; }
body.theme-onyx .lo-links a { color: #2997ff; }
.lo-panel-img { width: min(980px, 92vw); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); margin-top: auto; }
.lo-panel-img img, .lo-panel-img video { width: 100%; display: block; object-fit: cover; max-height: 60vh; }
.lo-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  width: min(1100px, 94vw); margin-top: 30px; text-align: left; }
.lo-mini { background: var(--white); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-md); }
.lo-panel.dark .lo-mini { background: #161617; }
.lo-mini b { display: block; font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.lo-panel.dark .lo-mini b { color: #f5f5f7; }
.lo-mini span { color: var(--ink-mute); font-size: 14.5px; }
.lo-statline { display: flex; gap: 46px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.lo-statline div { text-align: center; }
.lo-statline .n { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.lo-statline .l { font-size: 13px; color: var(--ink-mute); max-width: 150px; }
.lo-panel.dark .lo-statline .n { color: #f5f5f7; }

/* Mosaic of half-width tiles (apple.com style) */
.lo-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.lo-tile { min-height: 560px; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 54px 34px 0; background: var(--mint-soft); }
.lo-tile.full { grid-column: 1 / -1; min-height: 480px; }
.lo-tile.dark { background: #0b0b0c; }
.lo-tile.tint { background: var(--mint); }
.lo-tile.accent { background: var(--teal); }
.lo-tile h3 { font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -0.02em; margin-bottom: 8px; color: var(--ink); }
.lo-tile .sub { font-size: 16px; color: var(--ink-soft); max-width: 42ch; margin: 0 auto 14px; }
.lo-tile.dark h3, .lo-tile.accent h3 { color: #f5f5f7; }
.lo-tile.dark .sub { color: #a1a1a6; }
.lo-tile.accent .sub { color: rgba(255,255,255,0.85); }
.lo-tile .lo-links { margin-bottom: 22px; gap: 22px; }
.lo-tile .lo-links a { font-size: 15px; }
.lo-tile.accent .lo-links a { color: #fff; }
.lo-tile .tile-img { margin-top: auto; width: min(520px, 92%); }
.lo-tile .tile-img img, .lo-tile .tile-img video { width: 100%; display: block;
  border-radius: var(--radius) var(--radius) 0 0; max-height: 330px; object-fit: cover; }
.lo-tile .tile-stats { margin: auto 0 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 44px; }
.lo-tile .tile-stats .n { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: #f5f5f7; }
.lo-tile .tile-stats .l { font-size: 12.5px; color: #86868b; max-width: 160px; }
.lo-tile blockquote { font-size: 20px; line-height: 1.45; color: var(--ink); max-width: 36ch;
  margin: auto 0; font-weight: 500; }
.lo-tile blockquote footer { font-size: 13px; color: var(--teal); margin-top: 14px; font-weight: 700; }

/* Treatment ticker strip */
.lo-ticker { display: flex; gap: 10px; overflow-x: auto; padding: 26px 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lo-ticker a { flex: 0 0 auto; padding: 10px 20px; border-radius: 999px; background: var(--mint);
  color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.lo-ticker a:hover { background: var(--teal); color: #fff; }

/* Clinics directory columns */
.lo-dir { columns: 4 200px; column-gap: 40px; max-width: 1080px; margin: 0 auto;
  padding: 50px 24px 70px; }
.lo-dir h4 { font-size: 13px; color: var(--ink-mute); margin-bottom: 12px; text-transform: uppercase;
  letter-spacing: 0.08em; column-span: all; text-align: center; padding-bottom: 16px; }
.lo-dir a { display: block; padding: 6px 0; color: var(--ink-soft); font-size: 14.5px; }
.lo-dir a:hover { color: var(--teal); }

@media (max-width: 880px) {
  .lo-mini-grid { grid-template-columns: 1fr; }
  .lo-panel { min-height: 0; padding: 8vh 20px 5vh; }
  .lo-panel.short { min-height: 0; }
  .lo-tiles { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
  .lo-tile { min-height: 0; padding: 40px 22px 0; }
  .lo-tile.full { min-height: 0; }
  .lo-tile blockquote { margin: 10px 0 40px; }
  .lo-tile .tile-stats { margin: 10px 0 40px; gap: 22px 28px; }
}
@media (max-width: 1100px) {
  body.theme-cupertino .nav, body.theme-onyx .nav { height: auto; min-height: 52px; }
}
@media (max-width: 640px) {
  .lo-panel h1 { font-size: clamp(34px, 10vw, 48px); }
  .lo-panel h2 { font-size: clamp(27px, 8vw, 38px); }
  .lo-panel .sub { font-size: 16px; }
  .lo-links { gap: 18px; margin-bottom: 26px; }
  .lo-links a { font-size: 16px; }
  .lo-panel-img { width: 100%; border-radius: var(--radius); }
  .lo-panel-img img, .lo-panel-img video { max-height: 46vh; }
  .lo-statline { gap: 22px 30px; }
  .lo-statline .n { font-size: 24px; }
  .lo-statline .l { font-size: 12px; max-width: 120px; }
  .lo-tile h3 { font-size: 24px; }
  .lo-tile .tile-img { width: 100%; }
  .lo-tile .tile-img img, .lo-tile .tile-img video { max-height: 240px; }
  .lo-ticker { padding: 18px 16px; }
  .lo-ticker a { padding: 9px 16px; font-size: 13px; }
  .lo-dir { columns: 2; column-gap: 24px; padding: 36px 20px 50px; }
  .lo-mini { padding: 20px; }
}

/* ============================================================
   LAYOUT: cinema (full-bleed image overlays) — Onyx
   ============================================================ */
.cin-hero, .cin-scene { position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  overflow: hidden; }
.cin-scene { min-height: 78vh; }
.cin-bg { position: absolute; inset: 0; }
.cin-bg img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; }
.cin-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.82) 85%); }
.cin-txt { position: relative; z-index: 2; padding: clamp(30px, 6vw, 80px); max-width: 720px; }
.cin-txt .kick { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--teal); font-weight: 800; margin-bottom: 12px; }
.cin-txt h1 { font-size: clamp(40px, 5.6vw, 80px); color: #fff; line-height: 1.02; margin-bottom: 14px; }
.cin-txt h2 { font-size: clamp(30px, 4vw, 56px); color: #fff; line-height: 1.05; margin-bottom: 12px; }
.cin-txt p { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 52ch; margin-bottom: 22px; }
.cin-index { background: #000; padding: 40px clamp(24px, 5vw, 70px); }
.cin-index a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid #1f1f21; color: #d6d6da; font-size: 16px; }
.cin-index a b { font-size: clamp(17px, 2vw, 22px); font-weight: 600; color: #f5f5f7; }
.cin-index a small { color: #6e6e73; }
.cin-index a:hover b { color: var(--teal); }
.cin-strip { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center;
  background: #0b0b0c; padding: 50px 24px; }
.cin-strip .n { font-size: 30px; font-weight: 800; color: #f5f5f7; text-align: center; }
.cin-strip .l { font-size: 12.5px; color: #6e6e73; max-width: 150px; text-align: center; }

/* ============================================================
   LAYOUT: zigzag (statement + alternating rows) — Copper
   ============================================================ */
.zz-statement { max-width: 880px; margin: 0 auto; padding: clamp(60px, 10vh, 120px) 24px 40px; text-align: center; }
.zz-statement .roman { font-size: 13px; letter-spacing: 0.3em; color: var(--teal); font-weight: 700; text-transform: uppercase; }
.zz-statement h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.12; color: var(--teal-deep); margin: 14px 0 18px; }
.zz-statement p { font-size: 18px; color: var(--ink-soft); }
.zz-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 1180px;
  margin: 0 auto; padding: 50px 24px; gap: clamp(30px, 5vw, 80px); }
.zz-row:nth-child(even) .zz-img { order: 2; }
.zz-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.zz-img img { width: 100%; height: 100%; object-fit: cover; }
.zz-txt .roman { font-family: var(--font-display); font-size: 44px; color: var(--teal); line-height: 1; }
.zz-txt h2 { font-size: clamp(28px, 3.4vw, 44px); color: var(--teal-deep); margin: 10px 0 12px; }
.zz-txt p { color: var(--ink-soft); margin-bottom: 18px; }
.zz-rule { max-width: 1180px; margin: 30px auto; border: 0; border-top: 1px solid var(--line); }
.zz-table { max-width: 880px; margin: 0 auto; padding: 0 24px 80px; }
.zz-table h2 { text-align: center; font-size: clamp(28px, 3.4vw, 44px); color: var(--teal-deep); margin-bottom: 26px; }
.zz-table a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px;
  border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15.5px; }
.zz-table a:hover { color: var(--teal); }
@media (max-width: 880px) { .zz-row { grid-template-columns: 1fr; } .zz-row:nth-child(even) .zz-img { order: 0; } }

/* ============================================================
   LAYOUT: cover (fashion cover + editorial spreads) — Vogue
   ============================================================ */
.cov-cover { position: relative; min-height: 96vh; display: flex; align-items: center;
  justify-content: flex-start; overflow: hidden; background: var(--mint); }
.cov-cover img { position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 68%;
  height: 100%; object-fit: cover; object-position: center top; }
.cov-mast { position: relative; z-index: 2; text-align: left;
  padding-left: clamp(24px, 7vw, 110px); color: var(--ink); }
.cov-mast .name { font-family: var(--font-display); font-size: clamp(56px, 10vw, 150px); line-height: 0.95; letter-spacing: 0.04em; text-transform: uppercase; }
.cov-mast .name .gold { color: var(--gold); }
.cov-mast .tag { display: inline-block; font-size: clamp(11px, 1.1vw, 15px); letter-spacing: 0.4em;
  text-transform: uppercase; margin-top: 18px; color: #fff; background: var(--ink);
  padding: 10px 18px 10px 22px; font-weight: 600; }
.cov-mast .tag b { color: var(--gold); font-weight: 600; }
@media (max-width: 720px) {
  .cov-cover { min-height: 72vh; }
  .cov-cover img { width: 100%; opacity: 0.35; }
  .cov-mast { padding: 0 20px; }
  .cov-mast .name { font-size: clamp(44px, 16vw, 72px); }
  .cov-mast .tag { font-size: 10.5px; letter-spacing: 0.22em; padding: 8px 12px 8px 14px;
    line-height: 1.6; white-space: normal; max-width: 100%; }
  .cov-bar { gap: 10px 18px; font-size: 10px; letter-spacing: 0.12em; padding: 14px 16px; }
  .cov-cap { padding: 28px 22px 36px; }
  .cov-cap h2 { font-size: clamp(26px, 8vw, 36px); }
  .cov-runway { padding: 44px 20px; }
  .cov-runway a { font-size: 18px; padding: 10px 0; }
}
.cov-bar { display: flex; justify-content: center; gap: clamp(20px, 4vw, 60px); flex-wrap: wrap;
  padding: 18px 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.cov-bar b { color: var(--gold); }
.cov-spread { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2px; }
.cov-spread.flip { grid-template-columns: 1fr 1.35fr; }
.cov-big { position: relative; min-height: 76vh; overflow: hidden; }
.cov-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cov-cap { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 80px); background: var(--white); }
.cov-cap .rub { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.cov-cap h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; margin-bottom: 14px; }
.cov-cap p { color: var(--ink-soft); margin-bottom: 20px; max-width: 44ch; }
.cov-runway { padding: 70px 24px; max-width: 1080px; margin: 0 auto; text-align: center; }
.cov-runway h2 { font-size: clamp(30px, 4vw, 54px); margin-bottom: 30px; }
.cov-runway .list { columns: 2; column-gap: 64px; text-align: left; }
.cov-runway a { display: block; font-family: var(--font-display); font-size: clamp(18px, 2vw, 26px);
  padding: 12px 0; color: var(--ink); border-bottom: 1px solid var(--line);
  break-inside: avoid; }
.cov-runway a:hover { color: var(--gold); font-style: italic; }
@media (max-width: 720px) { .cov-runway .list { columns: 1; } }
@media (max-width: 880px) { .cov-spread, .cov-spread.flip { grid-template-columns: 1fr; } .cov-big { min-height: 50vh; } }

/* ============================================================
   LAYOUT: bento (mixed-size box grid) — Fjord
   ============================================================ */
.bn-wrap { max-width: 1280px; margin: 0 auto; padding: 30px 20px 70px; }
.bn-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 14px; }
.bn { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  padding: 24px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.bn.hero { grid-column: span 2; grid-row: span 3; background: var(--teal-deep); border: 0; }
.bn.hero h1 { font-size: clamp(28px, 3.2vw, 44px); color: #fff; line-height: 1.08; margin-bottom: 10px; }
.bn.hero p { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 18px; max-width: 40ch; }
.bn.img { padding: 0; grid-row: span 3; grid-column: span 2; }
.bn.img img, .bn.img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bn.stat { background: var(--mint); border: 0; justify-content: center; }
.bn.stat .n { font-size: 30px; font-weight: 800; color: var(--teal-deep); font-family: var(--font-display); }
.bn.stat .l { font-size: 12px; color: var(--ink-soft); }
.bn.feat { grid-column: span 2; grid-row: span 2; }
.bn.feat h3 { font-size: 21px; color: var(--teal-deep); margin-bottom: 6px; }
.bn.feat p { font-size: 14px; color: var(--ink-soft); }
.bn.feat .bn-img { position: absolute; right: -10%; bottom: -16%; width: 55%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); transform: rotate(3deg); }
.bn.feat .bn-img img { width: 100%; display: block; }
.bn.list { grid-row: span 3; overflow-y: auto; }
.bn.list h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mute); margin-bottom: 10px; }
.bn.list a { display: block; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; color: var(--ink); }
.bn.list a:hover { color: var(--teal); }
.bn.quote { grid-column: span 2; grid-row: span 2; background: var(--sand); border: 0; justify-content: center; }
.bn.quote p { font-family: var(--font-display); font-size: 17px; color: var(--ink); line-height: 1.5; }
.bn.quote b { margin-top: 10px; color: var(--gold); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.bn.cta { background: var(--teal); border: 0; justify-content: center; align-items: flex-start; }
.bn.cta h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
@media (max-width: 980px) { .bn-grid { grid-template-columns: 1fr 1fr; } .bn.hero, .bn.img, .bn.feat, .bn.quote { grid-column: span 2; } }

/* ============================================================
   LAYOUT: journey (timeline of steps) — Sunrise
   ============================================================ */
.jr-hero { background: var(--hero-bg); color: #fff; text-align: center;
  padding: clamp(70px, 14vh, 130px) 24px 110px; border-radius: 0 0 50% 50% / 0 0 60px 60px; }
.jr-hero h1 { font-size: clamp(38px, 5.4vw, 72px); color: #fff; line-height: 1.05; max-width: 18ch; margin: 0 auto 16px; }
.jr-hero p { font-size: 18px; opacity: 0.9; max-width: 52ch; margin: 0 auto 26px; }
.jr-line { max-width: 760px; margin: -40px auto 0; padding: 0 24px 30px; position: relative; }
.jr-line::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: var(--mint); transform: translateX(-50%); }
.jr-step { position: relative; width: calc(50% - 40px); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 26px; margin: 26px 0; box-shadow: var(--shadow-sm); }
.jr-step:nth-child(odd) { margin-left: auto; }
.jr-step .dot { position: absolute; top: 28px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--mint); }
.jr-step:nth-child(odd) .dot { left: -49px; }
.jr-step:nth-child(even) .dot { right: -49px; }
.jr-step .no { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.jr-step h3 { font-size: 20px; color: var(--teal-deep); margin: 4px 0 6px; }
.jr-step p { font-size: 14px; color: var(--ink-soft); }
.jr-carousel { padding: 40px 0 10px; }
.jr-sun { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 30px 24px 60px; }
.jr-sun a { background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 24px; font-weight: 700; font-size: 14px; color: var(--ink); }
.jr-sun a:hover { background: var(--cta-bg); color: #fff; border-color: transparent; }
@media (max-width: 720px) {
  .jr-line::before { left: 12px; }
  .jr-step { width: calc(100% - 40px); margin-left: 40px !important; }
  .jr-step .dot { left: -34px !important; right: auto !important; }
}

/* ============================================================
   LAYOUT: split
   ============================================================ */
.sp-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 82vh; }
.sp-hero-txt { padding: clamp(40px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.sp-hero-txt h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; margin-bottom: 18px; color: var(--teal-deep); }
.sp-hero-txt .accent { color: var(--teal); }
.sp-hero-img { background: var(--mint); }
.sp-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-num-list { counter-reset: svc; }
.sp-num-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 22px; align-items: baseline;
  padding: 22px 0; border-bottom: 1.5px solid var(--line); color: var(--ink); }
.sp-num-item:hover { border-color: var(--teal); color: var(--ink); }
.sp-num-item::before { counter-increment: svc; content: counter(svc, decimal-leading-zero);
  font-family: var(--font-display); font-size: 28px; font-weight: var(--display-weight); color: var(--teal); }
.sp-num-item b { font-size: clamp(18px, 2.2vw, 26px); font-family: var(--font-display); font-weight: var(--display-weight); }
.sp-num-item small { color: var(--ink-mute); font-size: 14px; }
.hscroll { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.hscroll > * { flex: 0 0 300px; scroll-snap-align: start; }
.sp-band { display: grid; grid-template-columns: 1fr 1fr; }
.sp-band .img { min-height: 420px; }
.sp-band .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-band .txt { padding: clamp(36px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; background: var(--mint-soft); }
@media (max-width: 880px) { .sp-hero, .sp-band { grid-template-columns: 1fr; } .sp-hero-img { min-height: 40vh; } }

/* ============================================================
   LAYOUT: magazine
   ============================================================ */
.mag-masthead { text-align: center; padding: 40px 24px 18px; border-bottom: 3px double var(--ink); }
.mag-masthead .name { font-family: var(--font-display); font-size: clamp(44px, 7vw, 92px); color: var(--ink); line-height: 1; }
.mag-masthead .dateline { display: flex; justify-content: space-between; max-width: 980px; margin: 14px auto 0;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-mute);
  border-top: 1px solid var(--ink); padding-top: 8px; }
.mag-front { display: grid; grid-template-columns: 2fr 1.1fr 1fr; gap: 0; }
.mag-col { padding: 28px; border-right: 1px solid var(--line); }
.mag-col:last-child { border-right: 0; }
.mag-lead img { width: 100%; margin-bottom: 14px; }
.mag-lead h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; margin-bottom: 10px; }
.mag-lead p { color: var(--ink-soft); font-size: 16px; }
.mag-story { padding: 16px 0; border-bottom: 1px solid var(--line); }
.mag-story:last-child { border-bottom: 0; }
.mag-story h3 { font-size: 21px; margin-bottom: 6px; }
.mag-story p { color: var(--ink-soft); font-size: 13.5px; }
.mag-rubric { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.mag-quote { font-family: var(--font-display); font-size: 22px; line-height: 1.3; padding: 18px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.mag-quote small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 10px; }
.mag-statrow { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
.mag-statrow div { padding: 18px 10px; text-align: center; border-right: 1px solid var(--line); }
.mag-statrow div:last-child { border-right: 0; }
.mag-statrow .n { font-family: var(--font-display); font-size: 26px; }
.mag-statrow .l { font-size: 11px; color: var(--ink-mute); }
.mag-index { columns: 3 240px; column-gap: 36px; column-rule: 1px solid var(--line); }
.mag-index a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dotted var(--line); color: var(--ink); font-size: 14.5px; }
.mag-index a:hover { color: var(--teal); }
@media (max-width: 980px) { .mag-front { grid-template-columns: 1fr; } .mag-col { border-right: 0; border-bottom: 1px solid var(--line); } .mag-statrow { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   LAYOUT: sidebar
   ============================================================ */
.sb-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 48px; max-width: 1280px; margin: 0 auto; padding: 50px 24px; }
.sb-rail { position: sticky; top: 96px; align-self: start; }
.sb-rail .ttl { font-family: var(--font-display); font-size: 26px; color: var(--teal-deep); margin-bottom: 16px; }
.sb-rail a { display: block; padding: 9px 12px; border-left: 3px solid var(--line); color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.sb-rail a:hover { border-color: var(--teal); color: var(--teal); }
.sb-rail .btn { margin-top: 18px; width: 100%; justify-content: center; }
.sb-main > section { margin-bottom: 70px; scroll-margin-top: 100px; }
.sb-main h2 { font-size: clamp(26px, 3vw, 38px); color: var(--teal-deep); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px; }
.sb-main h2::after { content: ""; flex: 1; height: 1.5px; background: var(--line); }
.sb-hero { background: var(--mint); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 64px);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center; }
.sb-hero h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.06; color: var(--teal-deep); margin-bottom: 14px; }
.sb-hero img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/4.4; object-fit: cover; }
@media (max-width: 980px) { .sb-wrap { grid-template-columns: 1fr; } .sb-rail { position: static; display: none; } .sb-hero { grid-template-columns: 1fr; } }

/* ============================================================
   LAYOUT: story
   ============================================================ */
.st-hero { background: var(--hero-bg); color: #fff; min-height: 88vh; display: flex;
  flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 60px 24px; }
.st-hero .kick { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; margin-bottom: 18px; }
.st-hero h1 { font-size: clamp(42px, 6vw, 84px); color: #fff; line-height: 1.04; max-width: 18ch; margin-bottom: 18px; }
.st-hero p { font-size: 19px; max-width: 50ch; opacity: 0.85; margin-bottom: 28px; }
.st-chapter { max-width: 880px; margin: 0 auto; padding: 90px 24px 30px; text-align: center; }
.st-chapter .no { font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.st-chapter h2 { font-size: clamp(32px, 4vw, 52px); color: var(--teal-deep); margin: 10px 0 14px; }
.st-chapter p { font-size: 17px; color: var(--ink-soft); }
.st-img { width: min(1080px, 94vw); margin: 36px auto 0; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); }
.st-img img { width: 100%; display: block; max-height: 64vh; object-fit: cover; }
.st-bignum { display: flex; flex-wrap: wrap; justify-content: center; gap: 60px; padding: 70px 24px; }
.st-bignum div { text-align: center; }
.st-bignum .n { font-family: var(--font-display); font-size: clamp(40px, 5vw, 68px); color: var(--teal-deep); line-height: 1; }
.st-bignum .l { font-size: 13.5px; color: var(--ink-mute); max-width: 170px; margin-top: 8px; }
.st-quote { background: var(--band-bg); color: #fff; text-align: center; padding: 90px 24px; }
.st-quote blockquote { font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); max-width: 28ch; margin: 0 auto 18px; line-height: 1.25; }
.st-quote cite { font-style: normal; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
