/* Real Art Academy — landing page in the catalog's own branding (my.realartacademy.com, Uscreen):
   the deep navy, the gold, Inter for everything that works, Fraunces only for the big lines, square
   cards with badges like the catalog rows. 30 Oct 2026, second design. */
:root {
  --bg: #101523;
  --bg-alt: #141a2c;
  --surface: #182034;
  --surface-2: #1f2944;
  --header: #232e4d;
  --gold: #d3b278;
  --gold-strong: #e3c58d;
  --text: #f8f9fc;
  --text-2: #b0b0b0;
  --text-3: #8a8a8a;
  --line: rgba(248, 249, 252, 0.1);
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --wrap: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (hover: hover) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 8px; top: -40px; z-index: 100; background: var(--gold); color: var(--bg); padding: 8px 12px; }
.skip:focus { top: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin: 0 auto; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.display { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.01em; }
.display--sm { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; }
.link { color: var(--gold); text-decoration: none; font-weight: 600; font-size: 15px; }
.link:hover { color: var(--gold-strong); }

/* Buttons: the catalog's shape (square-ish, Inter 600) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--radius); font: 600 14px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s; white-space: nowrap; }
.btn--gold { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-strong); border-color: var(--gold-strong); }
.btn--ghost { background: rgba(248, 249, 252, 0.06); color: var(--text); border-color: rgba(248, 249, 252, 0.22); }
.btn--ghost:hover { background: rgba(248, 249, 252, 0.12); }
.btn--lg { min-height: 50px; padding: 0 26px; font-size: 15px; }
.btn--full { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--header); }
.top__row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.top__logo img { width: 112px; height: auto; }
.top__nav { display: flex; gap: 26px; margin-left: 12px; }
.top__nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; opacity: 0.92; }
.top__nav a:hover { color: var(--gold); opacity: 1; }
.top__cta { margin-left: auto; }
.top__menu { display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.top__menu span { display: block; height: 2px; background: var(--text); }
@media (max-width: 859px) {
  .top__nav, .top__cta { display: none; }
  .top__menu { display: flex; }
  .top__row { min-height: 64px; }
}
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.drawer__panel { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); background: var(--header); padding: 72px 24px 28px; display: flex; flex-direction: column; gap: 10px; animation: slideIn 0.3s var(--ease); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 17px; font-weight: 500; }
.drawer .btn { margin-top: auto; }
.drawer__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; background: none; border: 0; color: var(--text); font-size: 28px; cursor: pointer; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.hero__bg { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; opacity: 0.6; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 21, 35, 0.15) 0%, rgba(16, 21, 35, 0.55) 55%, var(--bg) 100%); }
.hero__inner { position: relative; z-index: 1; padding: 140px 0 72px; max-width: 820px; }
.hero__lead { font-size: 18px; line-height: 1.55; color: var(--text); max-width: 600px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.stats { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 40px; list-style: none; margin: 0; padding: 0; }
.stats li { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.stats strong { color: var(--gold); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -0.01em; }
.stats__word strong { font-size: 26px; line-height: 1.15; padding-bottom: 6px; }
@media (max-width: 749px) { .hero { min-height: 0; } .hero__inner { padding: 96px 0 44px; } .hero__lead { font-size: 16px; } .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 16px; } .stats strong { font-size: 36px; } .stats__word { grid-column: 1 / -1; } .stats__word strong { font-size: 24px; } }

/* Blocks */
.block { padding: 88px 0; }
.block--alt { background: var(--bg-alt); }
/* the hero ends on a thin gold rule and the teacher section starts as its own lighter band (31 Oct) */
.meet { border-top: 1px solid rgba(211, 178, 120, 0.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03); }
.block__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.block__head--center { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.block__note { max-width: 420px; margin: 0; color: var(--text-2); font-size: 15px; }
.block__foot { margin-top: 28px; color: var(--text-2); font-size: 15px; }
@media (max-width: 749px) { .block { padding: 64px 0; } .meet { padding-top: 48px; } .block__head { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* Catalog rows */
.row { margin-top: 48px; }
.row__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.row__head h3 { font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.row__count { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.row__meta { display: block; font-size: 13px; font-weight: 400; color: var(--text-3); margin-top: 2px; }
.row__all { color: var(--gold); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.row__scroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px max(20px, calc((100vw - var(--wrap)) / 2)) 10px; scrollbar-width: none; }
.row__scroll::-webkit-scrollbar { display: none; }
/* A card as the catalog draws it: the whole cover (its title is part of the picture), the name under it. */
.card { flex: 0 0 auto; width: 262px; scroll-snap-align: start; contain: content; text-decoration: none; color: var(--text); --tint: #2a2f44; --ink: #ffffff; --sub: rgba(255, 255, 255, 0.82); }
.card__media { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, var(--tint) 0%, color-mix(in srgb, var(--tint) 92%, transparent) 14%, color-mix(in srgb, var(--tint) 62%, transparent) 30%, color-mix(in srgb, var(--tint) 26%, transparent) 44%, transparent 58%); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card__badge { position: absolute; bottom: 12px; left: 12px; z-index: 1; padding: 4px 8px; border-radius: 3px; background: rgba(16, 21, 35, 0.75); color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.card__title { display: block; margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--text); }
@media (max-width: 749px) { .card { width: 196px; } .row__head h3 { font-size: 19px; } }

/* How a course works */
.how { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.how__text p { color: var(--text-2); font-size: 16px; }
.steps { list-style: none; margin: 24px 0 20px; padding: 0; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: center; padding: 12px 14px; background: var(--surface); border-radius: var(--radius); font-size: 15px; }
.steps span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #1a1a1a; font-weight: 700; font-size: 13px; }
.steps small { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.how__figure { margin: 0; }
.how__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.how__figure figcaption { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--text-2); font-size: 14px; }
.how__figure .card__badge { position: static; }
@media (max-width: 859px) { .how { grid-template-columns: 1fr; gap: 32px; } }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { padding: 22px 20px 20px; background: var(--surface); border-radius: var(--radius); }
.tile svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.tile h3 { font-size: 16px; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.55; }
@media (max-width: 999px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .tiles { grid-template-columns: 1fr; } }

/* App & Patricia */
.app, .who { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.app__figure, .who__figure { margin: 0; }
.app__figure img, .who__figure img { width: 100%; border-radius: var(--radius); }
.who__figure img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.app__text p, .who__text p { color: var(--text-2); }
@media (max-width: 859px) { .app, .who { grid-template-columns: 1fr; gap: 28px; } .who__figure { order: -1; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; gap: 18px; }
.plan { position: relative; padding: 28px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.plan--best { border-color: var(--gold); background: var(--surface-2); }
.plan h3 { font-size: 18px; margin-bottom: 8px; }
.plan__price { font-size: 16px; color: var(--text-2); margin-bottom: 18px; }
.plan__billing { margin: 0 0 18px; color: var(--text-2); font-size: 14px; }
.plan__billing--strong { color: var(--text); font-size: 15px; font-weight: 600; }
.plan__price strong { font-size: 40px; color: var(--text); font-weight: 600; letter-spacing: -0.02em; margin-right: 2px; }
.plan__save { margin-left: 8px; padding: 3px 8px; border-radius: 3px; background: rgba(211, 178, 120, 0.15); color: var(--gold); font-size: 12px; font-weight: 600; }
.plan__flag { position: absolute; top: -13px; left: 20px; margin: 0; padding: 4px 10px; border-radius: 3px; background: var(--gold); color: #1a1a1a; font-size: 12px; font-weight: 700; }
.plan__includes { margin: 18px 0 0; padding: 10px 12px; border-radius: 3px; background: rgba(211, 178, 120, 0.14); border: 1px solid rgba(211, 178, 120, 0.35); color: var(--gold); font-size: 15px; font-weight: 700; text-align: center; }
.plan__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--text); }
.plan__includes + .plan__list { margin-top: 16px; }
.plan__list li { padding-left: 24px; position: relative; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
@media (max-width: 749px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform 0.25s; flex: none; margin-right: 4px; }
.faq__list details[open] summary::after { transform: rotate(-135deg); }
.faq__list p { margin: 0 0 18px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
@media (max-width: 859px) { .faq { grid-template-columns: 1fr; gap: 20px; } }

/* Final call */
.final { position: relative; overflow: hidden; padding: 120px 0; text-align: center; }
.final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: 0.3; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(16, 21, 35, 0.4) 50%, var(--bg) 100%); }
.final__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final__note { margin: 0; color: var(--text-2); font-size: 14px; }

/* Footer */
.foot { background: var(--header); padding: 40px 0 24px; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot__links a { color: var(--text); text-decoration: none; font-size: 14px; opacity: 0.85; }
.foot__links a:hover { color: var(--gold); opacity: 1; }
.foot__contact { margin: 0; margin-left: auto; color: var(--text-2); font-size: 14px; }
.foot__contact a { color: var(--gold); text-decoration: none; }
.foot__copy { margin: 28px auto 0; width: min(100% - 40px, var(--wrap)); color: var(--text-3); font-size: 13px; }
@media (max-width: 749px) { .foot__contact { margin-left: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 749px) { .reveal { opacity: 1; transform: none; transition: none; } .card img { transition: none; } }
@media (hover: none) { .row__scroll { scroll-snap-type: none; } }

/* ---- Second pass (31 Oct): the video, the in-page course panel, warmer rows ---- */
.row__head { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 26px; border-top: 1px solid var(--line); }
.row__intro { margin: 0; color: var(--text-2); font-size: 15px; max-width: 640px; }
.card { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; }
.card:focus-visible .card__media { outline: 2px solid var(--gold); outline-offset: 2px; }
.meet__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.meet__text p { color: var(--text-2); font-size: 17px; }
.video-card { position: relative; display: block; width: min(100%, 420px); aspect-ratio: 4 / 5; margin: 0 auto; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--surface); }
.video-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 0.8s var(--ease); }
.video-card:hover img { transform: scale(1.03); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 21, 35, 0) 55%, rgba(16, 21, 35, 0.85) 100%); }
.video-card__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; width: 74px; height: 74px; border-radius: 50%; background: var(--gold); color: #1a1a1a; display: grid; place-items: center; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); transition: transform 0.25s; }
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.06); }
.video-card__caption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: var(--text); font-size: 14px; font-weight: 500; }
@media (max-width: 859px) { .meet__grid { grid-template-columns: 1fr; gap: 28px; } .video-card { aspect-ratio: 4 / 5; } }
.chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 12px; border-radius: 3px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--text); }
.modal { position: fixed; inset: 0; z-index: 70; background: rgba(5, 8, 15, 0.88); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal__dialog { position: relative; }
.modal__dialog--video { width: min(92vw, 420px); }
.modal__dialog--video video { width: 100%; max-height: 86vh; background: #000; border-radius: 6px; }
.modal__close { position: absolute; top: -44px; right: -4px; width: 44px; height: 44px; background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; z-index: 2; }
.modal__dialog--course { width: min(94vw, 640px); max-height: 92vh; max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); border-radius: 6px; border: 1px solid var(--line); }
@media (max-width: 749px) { .modal { padding: 12px; } .modal__dialog--course { width: 100%; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); } }
.modal__dialog--course .modal__close { top: 8px; right: 8px; background: rgba(16, 21, 35, 0.7); border-radius: 50%; }
.course__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.course__body { padding: 20px 22px 24px; }
.course__meta { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--text-2); font-size: 13px; }
.course__meta .card__badge { position: static; }
.course__title { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
.course__excerpt { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.course__steps { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; counter-reset: step; }
.course__steps li { position: relative; padding: 8px 10px 8px 36px; background: var(--bg-alt); border-radius: 3px; font-size: 14px; counter-increment: step; }
.course__steps li::before { content: counter(step); position: absolute; left: 10px; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: #1a1a1a; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.course__steps li.more { color: var(--text-3); padding-left: 10px; background: none; }
.course__steps li.more::before { display: none; }
.course__cta { position: sticky; bottom: 0; z-index: 1; margin: 16px -22px -24px; padding: 12px 22px 16px; background: var(--surface); border-top: 1px solid var(--line); }
.course__foot { margin: 16px 0 0; color: var(--text-2); font-size: 14px; }
body.has-modal .chat { display: none; }
.btn--soft { background: rgba(211, 178, 120, 0.16); border-color: rgba(211, 178, 120, 0.55); color: var(--gold); font-weight: 700; }
.btn--soft:hover { background: rgba(211, 178, 120, 0.28); }

/* A portrait card from a horizontal cover (31 Oct): the cover scaled so its full height fills most of the
   card and the half without the printed title shows (right side, or left when the title is top-right),
   on a soft dark blur of itself; the title set at the top the way the Academy sets its own verticals. */
.card__made { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 1; display: flex; flex-direction: column; gap: 5px; }
.card__made-title { font-size: 27px; font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.card__made-kind { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sub); }
@media (max-width: 749px) { .card__made { left: 12px; right: 12px; top: 12px; } .card__made-title { font-size: 21px; } .card__made-kind { font-size: 9px; letter-spacing: 0.08em; } }
/* Covers whose printed title reaches past the middle: a slightly smaller window keeps it out. */

/* Language switch (31 Oct): a pill bottom-left, opposite the chat bubble, and a plain link in the footer */
.lang-pill { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 9px; border-radius: 999px; background: var(--header); border: 1px solid rgba(211, 178, 120, 0.55); color: var(--text); font: 600 13px/1 var(--sans); text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); transition: border-color 0.2s, transform 0.2s; }
.lang-pill img { width: 22px; height: 15px; border-radius: 2px; display: block; }
.lang-pill:hover { border-color: var(--gold); transform: translateY(-1px); }
body.has-modal .lang-pill { display: none; }
.foot__links .lang { color: var(--gold); }

/* phones draw only the cards in view */
@media (max-width: 749px) { .card { content-visibility: auto; contain-intrinsic-size: 196px 340px; } }

/* Our own chat (31 Oct): her face as the bubble, a conversational panel, the message reaches Patricia by email */
.note__bubble { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: var(--gold); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); cursor: pointer; transition: transform 0.2s; }
.note__bubble:hover { transform: translateY(-2px); }
.note__bubble img { width: 60px; height: 60px; border-radius: 50%; display: block; object-fit: cover; border: 2px solid var(--gold); box-sizing: border-box; }
.note__backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(5, 8, 15, 0.55); }
.note__backdrop[hidden] { display: none; }
.note__panel { position: fixed; right: 20px; bottom: 96px; z-index: 61; width: min(92vw, 380px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55); overflow: hidden; }
.note__panel[hidden] { display: none; }
.note__head { display: grid; grid-template-columns: 40px 1fr 32px; gap: 12px; align-items: center; padding: 14px 14px 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.note__head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.note__head strong { display: block; font-size: 15px; color: var(--text); }
.note__head span { display: block; font-size: 12px; color: var(--text-2); margin-top: 1px; }
.note__close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--text-2); font-size: 24px; line-height: 1; cursor: pointer; }
.note__close:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.note__form, .note__done { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.note__form[hidden], .note__done[hidden] { display: none; }
.note__intro { margin: 0 0 4px; align-self: flex-start; max-width: 92%; padding: 11px 14px; background: var(--bg-alt); color: var(--text); border-radius: 18px 18px 18px 6px; font-size: 15px; line-height: 1.45; }
.note__intro b { color: var(--gold); font-weight: 600; }
.note__field { width: 100%; box-sizing: border-box; padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: var(--bg); color: var(--text); font: 400 16px/1.4 var(--sans); resize: vertical; }
.note__field::placeholder { color: var(--text-3); }
.note__field:focus { outline: none; border-color: rgba(211, 178, 120, 0.7); }
.note__form .btn, .note__done .btn { margin-top: 4px; }
.note__error { margin: 0; font-size: 14px; line-height: 1.4; color: #f0b8a8; }
.note__error[hidden] { display: none; }
@media (max-width: 749px) {
  .note__bubble { right: 16px; bottom: 16px; }
  body.note-open .note__bubble { display: none; }
  .note__panel { right: 12px; left: 12px; bottom: 12px; width: auto; max-height: calc(100dvh - 24px); overflow-y: auto; }
}
body.has-modal .note { display: none; }
.btn--soft { background: rgba(211, 178, 120, 0.16); border-color: rgba(211, 178, 120, 0.55); color: var(--gold); font-weight: 700; }
.btn--soft:hover { background: rgba(211, 178, 120, 0.28); }

/* A portrait card from a horizontal cover (31 Oct): the cover scaled so its full height fills most of the
   card and the half without the printed title shows (right side, or left when the title is top-right),
   on a soft dark blur of itself; the title set at the top the way the Academy sets its own verticals. */
.card__made { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 1; display: flex; flex-direction: column; gap: 5px; }
.card__made-title { font-size: 27px; font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.card__made-kind { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sub); }
@media (max-width: 749px) { .card__made { left: 12px; right: 12px; top: 12px; } .card__made-title { font-size: 21px; } .card__made-kind { font-size: 9px; letter-spacing: 0.08em; } }
/* Covers whose printed title reaches past the middle: a slightly smaller window keeps it out. */

/* Language switch (31 Oct): a pill bottom-left, opposite the chat bubble, and a plain link in the footer */
.lang-pill { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 9px; border-radius: 999px; background: var(--header); border: 1px solid rgba(211, 178, 120, 0.55); color: var(--text); font: 600 13px/1 var(--sans); text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); transition: border-color 0.2s, transform 0.2s; }
.lang-pill img { width: 22px; height: 15px; border-radius: 2px; display: block; }
.lang-pill:hover { border-color: var(--gold); transform: translateY(-1px); }
body.has-modal .lang-pill { display: none; }
.foot__links .lang { color: var(--gold); }

/* phones draw only the cards in view */
@media (max-width: 749px) { .card { content-visibility: auto; contain-intrinsic-size: 196px 340px; } }

/* Our own chat (31 Oct): her face as the bubble, a conversational panel, the message reaches Patricia by email */
.chat__bubble { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: var(--gold); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); cursor: pointer; transition: transform 0.2s; }
.chat__bubble:hover { transform: translateY(-2px); }
.chat__bubble img { width: 60px; height: 60px; border-radius: 50%; display: block; object-fit: cover; border: 2px solid var(--gold); box-sizing: border-box; }
.chat__backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(5, 8, 15, 0.55); }
.chat__backdrop[hidden] { display: none; }
.chat__panel { position: fixed; right: 20px; bottom: 96px; z-index: 61; width: min(92vw, 380px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55); overflow: hidden; }
.chat__panel[hidden] { display: none; }
.chat__head { display: grid; grid-template-columns: 40px 1fr 32px; gap: 12px; align-items: center; padding: 14px 14px 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.chat__head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.chat__head strong { display: block; font-size: 15px; color: var(--text); }
.chat__head span { display: block; font-size: 12px; color: var(--text-2); margin-top: 1px; }
.chat__close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--text-2); font-size: 24px; line-height: 1; cursor: pointer; }
.chat__close:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.chat__thread { display: flex; flex-direction: column; gap: 10px; padding: 18px; max-height: 320px; overflow-y: auto; }
.chat__msg { max-width: 86%; padding: 11px 14px; font-size: 15px; line-height: 1.45; }
.chat__msg p { margin: 0; }
.chat__msg--her { align-self: flex-start; background: var(--bg-alt); color: var(--text); border-radius: 18px 18px 18px 6px; }
.chat__msg--you { align-self: flex-end; background: var(--gold); color: #1a1a1a; border-radius: 18px 18px 6px 18px; }
.chat__composer { display: flex; gap: 8px; align-items: center; padding: 12px 14px 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.chat__input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); background: var(--bg); color: var(--text); font: 400 16px/1.3 var(--sans); }
.chat__input::placeholder { color: var(--text-3); }
.chat__input:focus { outline: none; border-color: rgba(211, 178, 120, 0.7); }
.chat__send { flex: 0 0 auto; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--gold); color: #1a1a1a; display: grid; place-items: center; cursor: pointer; }
.chat__send svg { width: 20px; height: 20px; }
.chat__send:hover { background: var(--gold-strong); }
.chat__send:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 749px) {
  .chat__bubble { right: 16px; bottom: 16px; }
  body.chat-open .chat__bubble { display: none; }
  .chat__panel { right: 12px; left: 12px; bottom: 12px; width: auto; max-height: calc(100dvh - 24px); }
  .chat__thread { max-height: none; flex: 1 1 auto; }
}
body.has-modal .chat { display: none; }
