/* Katielin Nextdoor - shared styles for index.html, vip/index.html and 404.html */
:root {
  --pink: #ec4899;
  --blue: #2563eb;
  --amber: #f59e0b;
  --grad: linear-gradient(90deg, var(--pink), var(--blue));
  --ink: #09051c;
  --muted: #6b7280;
  --soft: #fdf2f8;
  --card: #ffffff;
  --dark: #09051c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
/* Page colour behind everything is the footer dark, so on tall screens the space under the footer looks like part of it. The body itself stays white. */
html { background: var(--dark); }
body { font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
h1, h2, h3, h4, h5, h6 { font-family: "Londrina Solid", "Plus Jakarta Sans", system-ui, sans-serif; text-wrap: balance; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 15px; font-family: inherit; cursor: pointer; border: 0; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(236,72,153,.3); }
.btn-line { border: 2px solid var(--pink); color: var(--pink); background: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.2; font-weight: 800; }

/* Photo placeholder: stands in for a real photo.
   To use a real photo, replace the one <div class="ph-fill">...</div> line inside the .ph with:
   <img src="assets/photos/NAME.webp" alt="..." width="W" height="H" loading="lazy"> */
.ph-fill { position: absolute; inset: 0; display: grid; place-items: center; }
.ph { position: relative; background: linear-gradient(160deg, #d9d9e3, #b9b9c8); display: grid; place-items: center; overflow: hidden; color: #4b4b5c; }
.ph svg { width: 45%; opacity: .45; }
.ph span { position: absolute; bottom: 10px; left: 10px; right: 10px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.85); padding: 4px 8px; border-radius: 6px; text-align: center; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Nav */
header { position: sticky; top: 0; z-index: 10; padding: 0; }
.nav { position: relative; display: flex; align-items: center; gap: 24px; background: #fff; border-radius: 0 0 12px 12px; padding: 10px 20px; box-shadow: 0 6px 24px rgba(9,5,28,.12); }
.logo { font-weight: 800; font-size: 20px; }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav .logo { margin-right: auto; display: block; line-height: 0; }
/* Header logo is an SVG used as a mask, so its colour and size are set here (width = size, background = colour). */
.logo-mark { display: block; width: 120px; aspect-ratio: 292 / 91; background: #09051c; -webkit-mask: url("../assets/brand/logo-katie-lin.svg") center / contain no-repeat; mask: url("../assets/brand/logo-katie-lin.svg") center / contain no-repeat; }
.nav ul { display: flex; align-items: center; list-style: none; font-family: "Londrina Solid", system-ui, sans-serif; font-weight: 400; font-size: 20px; color: #09051c; }
.nav ul li + li::before { content: ""; display: inline-block; width: 2px; height: 16px; margin: 0 14px; background: #09051c; vertical-align: -2px; }
.nav ul li { display: flex; align-items: center; }
.btn-follow.btn-nav { font-size: 19px; padding: 8px 20px; }
.menu { display: none; font-size: 24px; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 4px 8px; font-family: inherit; }

/* Hero */
.hero { background: linear-gradient(to right, #08edfe, #8100ff, #e4499c); margin-top: -57px; padding: 143px 0 70px; overflow: hidden; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/photos/hero-bg.webp") calc(50% + 120px) top / auto no-repeat; mix-blend-mode: screen; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(40,0,90,.35); font-size: clamp(36px, 6vw, 64px); line-height: 1.08; font-weight: 800; margin: 8px 0 18px; isolation: isolate; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: 6px; height: 14px; background: var(--grad); opacity: .35; border-radius: 8px; z-index: -1; }
.hero p { color: #fff; text-shadow: 0 1px 12px rgba(40,0,90,.35); font-size: 17px; max-width: 460px; margin-bottom: 26px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.portrait { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; }
.portrait-rings { position: absolute; left: 50%; top: 50%; transform: translate(calc(-50% - 60px), -50%); width: 960px; height: 960px; max-width: none; pointer-events: none; opacity: .3; }
.portrait-img { position: absolute; left: 50%; bottom: -70px; transform: translateX(-50%); width: 439px; height: 558px; max-width: none; }
.bubble { position: absolute; z-index: 1; background: #fff; border-radius: 40px; padding: 8px 14px 8px 8px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; box-shadow: 0 10px 25px rgba(9,5,28,.12); }
.bubble i { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-style: normal; }
.bubble.like { padding: 6px 19px 6px 6px; gap: 9px; line-height: 1.25; }
.like .avatar { width: 37px; height: 37px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: end center; background: linear-gradient(160deg, #c9c9e3, #8b8bb0); color: #fff; }
.like .avatar svg { width: 80%; }
.like .avatar img { width: 100%; height: 100%; object-fit: cover; }
.like .heart { position: absolute; top: -10px; right: -8px; width: 27px; height: 27px; border-radius: 50%; background: #e8334a; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(232,51,74,.4); }
.like .heart svg { width: 14px; height: 14px; }
@keyframes float-bob { from { transform: translate3d(0, 3px, 0); } to { transform: translate3d(0, -7px, 0); } }
.stat-blob { position: absolute; top: 100px; right: 20px; width: 120px; height: 99px; display: grid; place-content: center; text-align: center; background: #fff; border-radius: 56% 44% 52% 48% / 52% 58% 42% 48%; box-shadow: 0 10px 25px rgba(9,5,28,.12); z-index: 1; will-change: transform; backface-visibility: hidden; animation: float-bob 4.6s cubic-bezier(.37, 0, .63, 1) -2.2s infinite alternate; }
.stat-blob b { display: block; font-family: "Londrina Solid", system-ui, sans-serif; font-weight: 300; font-size: 44px; line-height: .95; color: #e4499c; }
.stat-blob span { display: block; margin-top: -4px; font-weight: 600; font-size: 13px; color: var(--ink); }
.bubble.like { will-change: transform; backface-visibility: hidden; animation: float-bob 3.5s cubic-bezier(.37, 0, .63, 1) infinite alternate; }
.bubble.like.b2 { animation-duration: 4.2s; animation-delay: -1.7s; }
@media (prefers-reduced-motion: reduce) { .bubble.like, .stat-blob { animation: none; } }
.b1 { top: 12%; left: -8%; }
.b2 { bottom: 10%; right: -6%; }

/* Social cards */
.socials { padding: 0 0 70px; background: linear-gradient(180deg, #f5f3ff00, #fff); margin-top: -36px; position: relative; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
.scard { background: var(--card); border-radius: 12px; padding: 10px; display: flex; align-items: center; gap: 14px; box-shadow: 0 4px 22px var(--glow, rgba(139,44,245,.3)); }
.scard:nth-child(1) { --glow: rgba(34,211,238,.55); }
.scard:nth-child(2) { --glow: rgba(59,130,246,.5); }
.scard:nth-child(3) { --glow: rgba(139,44,245,.5); }
.scard:nth-child(4) { --glow: rgba(236,72,153,.5); }
.icon { width: 42px; height: 42px; flex: none; border-radius: 8px; display: grid; place-items: center; }
.icon svg { width: 26px; height: 26px; }
.icon.ig { background: linear-gradient(45deg, #f59e0b, #ec4899, #8b5cf6); }
.icon.tt, .icon.x { background: #09051c; }
.icon.yt { background: #e00000; }
.scard .info { flex: 1; min-width: 0; }
.scard h3 { font-size: 20px; line-height: 1.1; }
.scard small { color: var(--muted); font-size: 13px; white-space: nowrap; }
/* Follow Me: filled gradient at rest; on hover the VibeCreator action-button look (dark face, rotating gradient border) fades in over it. */
@property --follow-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn-follow { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(90deg, #8b2cf5, #1ec8f0); color: #fff; font-family: "Londrina Solid", system-ui, sans-serif; font-weight: 400; font-size: 16px; padding: 7.5px 18px; line-height: 1.1; border-radius: 8px; white-space: nowrap; transition: transform 180ms ease; }
.btn-follow.btn-lg { font-size: 20px; padding: 12px 26px; }
.btn-follow.btn-chip { font-size: 20px; padding: 12px 26px; }
span.btn-follow.btn-chip { cursor: default; }
.btn-follow::before, .btn-follow::after { content: ""; position: absolute; opacity: 0; pointer-events: none; transition: opacity 350ms ease; }
.btn-follow::before { z-index: -2; inset: 0; border-radius: inherit; background: conic-gradient(from var(--follow-angle), #af40ff 0deg, #5b42f3 120deg, #00ddeb 240deg, #af40ff 360deg); animation: follow-border-rotate 1.35s linear infinite paused; }
.btn-follow::after { z-index: -1; inset: 3px; border-radius: 5px; background: #09051c; }
.btn-follow:hover { transform: translateY(-1px); }
.btn-follow:hover::before, .btn-follow:hover::after { opacity: 1; }
.btn-follow:hover::before { animation-play-state: running; }
.btn-follow:focus-visible { outline: 3px solid #5b42f3; outline-offset: 3px; }
@keyframes follow-border-rotate { to { --follow-angle: 1turn; } }
/* Work With Me and the header button: reversed - dark face with rotating gradient border at rest, filled gradient on hover. */
:is(.btn-lg, .btn-nav, .btn-rev).btn-follow::before, :is(.btn-lg, .btn-nav, .btn-rev).btn-follow::after { opacity: 1; }
:is(.btn-lg, .btn-nav, .btn-rev).btn-follow::before { animation-play-state: running; }
:is(.btn-lg, .btn-nav, .btn-rev).btn-follow:hover::before, :is(.btn-lg, .btn-nav, .btn-rev).btn-follow:hover::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .btn-follow, .btn-follow::before, .btn-follow::after { transition: none; } .btn-follow::before { animation: none; } .btn-follow:hover { transform: none; } }

/* Reels */
.reels { padding: 30px 0 80px; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.reelrow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.reel .ph { aspect-ratio: 9 / 16; border-radius: 12px; }
.reel .play { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--pink); font-size: 20px; }
.reel h4 { margin-top: 10px; font-size: 15px; }

/* About (dark) */
.about { background: var(--dark); overflow: hidden; color: #fff; padding: 90px 0; min-height: 660px; display: grid; align-content: center; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about .wrap > div { grid-column: 2; margin-left: -80px; }
.about { position: relative; }
/* Layers, back to front: background photo, animated rings, cut-out of Katie, call-outs and text. */
.about-stage { position: absolute; top: 0; bottom: 0; left: 50%; width: min(1280px, 100%); transform: translateX(-50%); z-index: 2; pointer-events: none; }
/* The background photo lives inside the same 1280px stage as Katie, so the two always move together. Its height matches the panel's. */
.about-stage::before { content: ""; position: absolute; left: -300px; top: 0; height: 100%; aspect-ratio: 2560 / 1000; background: url("../assets/photos/cta-aboutMe-bg.jpg") left top / 100% 100% no-repeat; }
.about-girlbox { position: absolute; left: 40px; bottom: 0; width: 404px; height: 620px; transform-origin: left bottom; }
.about-rings { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%) rotate(30deg); width: 640px; height: 640px; max-width: none; opacity: .2; pointer-events: none; z-index: 1; }
.about-girl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.about .wrap { position: relative; z-index: 3; }
/* Hand-drawn call-out: ring + arrow are a PNG, the words are real text in the heading font. Position/size are % of the section so it stays on the cup. */
.callout { --callout-color: #19e1ff; position: absolute; left: -2%; top: 21.5%; width: 48%; container-type: inline-size; z-index: 3; pointer-events: none; will-change: transform; animation: float-bob 3.5s cubic-bezier(.37, 0, .63, 1) infinite alternate; }
/* Ring + arrow is an SVG used as a mask, so its colour is set by background (same cyan as the text). */
.callout-art { display: block; width: 100%; aspect-ratio: 246 / 241; background: var(--callout-color); -webkit-mask: url("../assets/brand/callout-ring-arrow.svg") center / contain no-repeat; mask: url("../assets/brand/callout-ring-arrow.svg") center / contain no-repeat; }
/* Second call-out: pink ring with the arrow pointing down-left to the chair. */
/* First call-out: ring + arrow drawn 20% smaller (text keeps its size), scaled about the ring centre. */
.callout:not(.callout-2) .callout-art { transform: scale(.8); transform-origin: 50% 25%; }
.callout-2 { --callout-color: #e4499c; left: 78.2%; top: 66.3%; width: 40.1%; animation-duration: 4.2s; animation-delay: -1.6s; }
.callout-2 .callout-art { transform: scale(.9, -.9); transform-origin: 57% 50%; aspect-ratio: 259 / 264; -webkit-mask-image: url("../assets/brand/callout-ring-arrow-2.svg"); mask-image: url("../assets/brand/callout-ring-arrow-2.svg"); }
.about .callout-2 .callout-text { left: 18%; top: 50%; width: 76%; height: 42%; }
@media (prefers-reduced-motion: reduce) { .callout { animation: none; } }
.about .callout-text { position: absolute; left: 4%; top: 3.9%; width: 92%; height: 42%; display: flex; align-items: center; justify-content: center; text-align: center; margin: 0; font-family: "Londrina Solid", system-ui, sans-serif; font-weight: 900; font-size: 16px; line-height: 1; color: var(--callout-color); }
.about p { color: #c9c9d6; margin: 16px 0 22px; }
.about ul { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.about li::before { content: "\2713"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb); margin-right: 10px; font-size: 12px; }

/* Create chips */
.create { padding: 90px 0 40px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.chip { padding: 12px 22px; border-radius: 40px; background: var(--soft); font-weight: 700; border: 1px solid #fbcfe8; }
.chip.on { background: var(--grad); color: #fff; border: 0; }
.create-note { margin-top: 18px; color: var(--muted); font-size: 17px; }
.create-note + .create-note { margin-top: 6px; }

/* Work with me */
.work { padding: 50px 0 90px; }
.workbox { background: linear-gradient(120deg, #fdf2f8, #eff6ff); border-radius: 12px; box-shadow: 0 6px 24px rgba(9,5,28,.12); padding: 50px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.workbox p { color: var(--muted); max-width: 520px; margin-top: 10px; }

/* Footer: gradient band (logo, email pill, social icons) over a dark body with three columns. */
.site-footer { background: var(--dark); color: #c9c9d6; padding: 0 0 28px; }
.fband { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 32px; border-radius: 0 0 12px 12px; background: linear-gradient(to right, #08edfe, #8100ff, #e4499c); }
.flogo { display: block; line-height: 0; }
.logo-mark--white { background: #fff; }
.fpill { flex: 1 1 380px; max-width: 620px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; color: #6b7280; font-size: 15px; padding: 7px 8px 7px 26px; border-radius: 999px; }
.fpill .btn { border-radius: 999px; padding: 9px 24px; font-size: 18px; }
.fpill .btn::before { border-radius: 999px; }
.fpill .btn::after { border-radius: 999px; }
.ficons { display: flex; gap: 10px; }
.ficons a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; transition: background-color 180ms ease; }
.ficons a:hover { background: rgba(255,255,255,.2); }
.ficons svg { width: 18px; height: 18px; }
.fcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 44px 0 36px; }
.fcol h4 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.femail { color: #fff; font-size: 20px; }
.femail:hover { text-decoration: underline; }
.flinks { list-style: none; display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 36px; font-size: 14px; }
.flinks a:hover { color: #fff; }
.fthumbs { display: flex; gap: 10px; }
.fthumbs a { display: block; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; }
.fthumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fcopy { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; text-align: center; font-size: 13px; color: #8d8da0; }

/* Simple centered pages (404 and 18+) */
.simple { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 0; background: radial-gradient(circle at 15% 20%, #fbcfe8 0, transparent 45%), radial-gradient(circle at 85% 70%, #bfdbfe 0, transparent 45%), linear-gradient(120deg, #fdf2f8, #eff6ff); }
.simple .box { background: #fff; border-radius: 12px; padding: 40px 28px; max-width: 520px; margin: 0 auto; box-shadow: 0 6px 24px rgba(9,5,28,.12); }
.simple .logo { display: inline-block; }
.simple .logo-mark { width: 150px; }
.simple h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; font-weight: 800; margin: 8px 0 14px; }
.simple p { color: var(--muted); margin-bottom: 22px; }
.linklist { display: grid; gap: 12px; margin: 22px 0; }
.linklist .btn { justify-content: center; }
.warn { font-weight: 700; color: var(--ink); }

/* 18+ overlay */
.age-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(9,5,28,.96); color: #fff; display: grid; place-items: center; padding: 20px; text-align: center; }
.age-overlay[hidden] { display: none; }
.age-overlay h2 { margin-bottom: 12px; }
.age-overlay p { color: #c9c9d6; margin-bottom: 24px; }
.age-overlay .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* 18+ page (vip/index.html): hero look with link cards */
.vip-badge { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: 13px; }
.vip-links { display: grid; gap: 12px; margin-top: 26px; max-width: 520px; }
.vip-links .icon { background: var(--dark); color: #fff; font-family: "Londrina Solid", system-ui, sans-serif; font-weight: 900; font-size: 18px; }
/* Same soft shadow as the header bar (instead of the coloured glows on the home page social cards) */
.vip-links .scard { box-shadow: 0 6px 24px rgba(9,5,28,.12); }
/* The whole card is the link; the "Visit" pill is just its label. Hovering the card plays the pill's hover look. */
.vip-links a.scard { cursor: pointer; transition: transform 180ms ease; }
.vip-links a.scard:hover { transform: translateY(-2px); }
.vip-links a.scard:hover .btn-follow::before, .vip-links a.scard:hover .btn-follow::after { opacity: 1; }
.vip-links a.scard:hover .btn-follow::before { animation-play-state: running; }
.vip-links a.scard:focus-visible { outline: 3px solid #5b42f3; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .vip-links a.scard { transition: none; } .vip-links a.scard:hover { transform: none; } }
.vip-note { margin-top: 18px; font-size: 13px; color: #fff; opacity: .9; max-width: 520px; }
/* 18+ page banner photo: same screen blend as the home hero, natural size, centred and top aligned */
.vip-hero::before { background: url("../assets/photos/hero-vip-bg.webp") calc(50% + 150px) top / auto no-repeat; }
/* Soft dark fade up from the bottom of the banner (300px, 50% of the page dark), behind the content */
.vip-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 300px; z-index: -1; background: linear-gradient(to top, rgba(9,5,28,.5), rgba(9,5,28,0)); pointer-events: none; }
.vip-hero .wrap { align-items: end; }
.vip-hero .portrait { width: 100%; aspect-ratio: auto; min-height: 560px; --vipw: min(683px, calc((min(100vw, 1280px) - 70px) / 2.1 + 100px)); --viph: calc(var(--vipw) * 725 / 759); }
/* Big cut-out on this page: full size on wide screens, shrinks with the window so it never covers the link cards */
.vip-hero .portrait-img { left: auto; right: -100px; transform: none; width: var(--vipw); height: var(--viph); }
/* Rings scale with the cut-out: 960px wide when the cut-out is its full 683px, centred on it and nudged left like before */
.vip-hero .portrait-rings { --ringw: calc(var(--vipw) * 1.4055); width: var(--ringw); height: var(--ringw); left: auto; right: calc(var(--vipw) * -0.05635 - 100px); top: auto; bottom: calc(var(--viph) / 2 - 70px - var(--ringw) / 2); transform: rotate(30deg); }
.vip-hero .wrap > div:first-child { position: relative; z-index: 4; }
/* Wide screens: cut-out, rings and background photo sit 100px further left */
@media (min-width: 1201px) {
  .vip-hero::before { background-position: calc(50% + 50px) top; }
  .vip-hero .portrait-img { right: 0; }
  .vip-hero .portrait-rings { right: calc(var(--vipw) * -0.05635); }
}
.vip-links { text-align: left; }
.vip-links .scard small { white-space: normal; }
.vip-links .scard .btn { flex: none; }
/* 18+ page header has no menu button, so keep "Back to home" visible on small screens */
.nav.nav--simple .btn-nav { display: inline-flex; }
@media (max-width: 860px) {
  .vip-hero .portrait { --vipw: min(683px, 92vw); min-height: calc(var(--viph) - 70px); }
  .vip-links, .vip-note { max-width: none; }
  /* The cut-out has more empty space on its right, so nudge it (and the rings) right by 7% of its width to centre the two models */
  .vip-hero .portrait-img { right: 50%; transform: translateX(calc(50% + var(--vipw) * 0.071)); }
  .vip-hero .portrait-rings { right: 50%; transform: translateX(calc(50% + var(--vipw) * 0.071)) rotate(30deg); }
}
.hero .warn { color: #fff; margin-top: 20px; }
.is-hidden { display: none; }

@media (max-width: 1100px) { .about-girlbox { transform: scale(.82); } }
@media (max-width: 960px) { .about-girlbox { transform: scale(.7); } }
/* About panel at 1000px and narrower: text on top, the photo group (background, rings, Katie, call-outs) underneath.
   The whole group scales with the screen: --gw is Katie's width (404px at its biggest), everything else is a % of it. */
@media (max-width: 1000px) {
  .about { display: flex; flex-direction: column; min-height: 0; padding: 70px 0 0; }
  .about .wrap { order: 1; width: 100%; grid-template-columns: 1fr; }
  .about .wrap > div { grid-column: 1; margin-left: 0; }
  .about-stage { --gw: clamp(300px, 60vw, 404px); order: 2; position: relative; top: auto; bottom: auto; left: auto; transform: none; width: min(1280px, 100%); height: calc(var(--gw) * 1.5347 + 20px); margin: 40px auto 0; }
  .about-stage::before { left: calc(50% - var(--gw) * 1.2574); }
  .about-girlbox { left: 50%; width: var(--gw); height: auto; aspect-ratio: 404 / 620; transform: translateX(-50%); transform-origin: center bottom; container-type: inline-size; }
  .about-rings { width: 158.4%; height: auto; }
  .callout { container-type: normal; }
  .about .callout-text { font-size: 3.96cqw; }
}
/* Very narrow phones: Katie stays at least 300px wide, so pull the pink call-out in to keep it on screen */
@media (max-width: 410px) { .about .callout-2 { left: 66%; } }
@media (max-width: 860px) {
  .nav .btn { display: none; }
  /* Without JS the links just stay visible and wrap; with JS (html.js) they become a menu */
  .nav { flex-wrap: wrap; gap: 8px; }
  .nav ul { gap: 14px; font-size: 14px; flex-wrap: wrap; }
  .js .nav ul { display: none; }
  .js .menu { display: block; }
  /* Mobile menu: JS adds .open to .nav when the button is pressed */
  .js .nav.open ul { display: flex; flex-direction: column; gap: 4px; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 14px; padding: 12px 18px; box-shadow: 0 10px 30px rgba(9,5,28,.15); }
  .js .nav.open ul a { display: block; padding: 10px 0; }
  .js .nav.open ul { align-items: stretch; }
  .js .nav.open ul li + li::before { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .ctas { justify-content: center; }
  .b1 { left: 0; } .b2 { right: 0; }
  /* Home banner on small screens: background photo fills the width, the cut-out, rings and follower blob scale with the screen (--hw = cut-out width) */
  .hero { --hw: min(439px, 86vw); }
  .hero:not(.vip-hero)::before { background-size: cover; background-position: calc(50% + 400px) top; }
  .portrait { width: 100%; aspect-ratio: auto; min-height: calc(var(--hw) * 1.271 - 70px); }
  .portrait-img { width: var(--hw); height: auto; aspect-ratio: 439 / 558; }
  .portrait-rings { width: calc(var(--hw) * 2.187); height: calc(var(--hw) * 2.187); top: auto; bottom: calc(var(--hw) * -0.458 - 70px); transform: translateX(calc(-50% - var(--hw) * 0.137)); }
  .stat-blob { top: auto; bottom: calc(var(--hw) * 0.953 - 120px); }
  .cards4, .reelrow { grid-template-columns: repeat(2, 1fr); }
  .workbox { padding: 30px; }
}
@media (max-width: 860px) {
  .fcols { grid-template-columns: 1fr; gap: 28px; }
  .fband { justify-content: center; }
}
@media (max-width: 520px) {
  .cards4 { grid-template-columns: 1fr; }
}
