  /* Layout: one film per function, played automatically while on screen; the page background matches the clip's own background so the film
     dissolves into the page. Type assembles around it. */
  :root {
    --light: #f5f6fa;        /* exact background of the light clips */
    --booth: #0f1827;        /* exact background of the booth clip */
    --night: #0b0b0d;        /* exact background of the retouch clip */
    --ink: #0b1626;
    --muted: #6d7787;
    --rose: #b35f73;
    --rose-glow: #ff8fab;
    --display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    --serif: 'Lora', Georgia, 'Times New Roman', serif;
    --gutter: clamp(16px, 4vw, 56px);
    color-scheme: light;
  }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--light); color: var(--ink); font-family: var(--display); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { color: inherit; }
  img, video { display: block; max-width: 100%; }
  :focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
  h1, h2, h3, p { margin: 0; }
  .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
  .rose { color: var(--rose); }
  .dark { background: var(--night); color: #f2f0ec; }
  .dark .rose { color: var(--rose-glow); }

  /* nav */
  .nav { position: fixed; inset: 0 0 auto 0; z-index: 60; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px; display: flex; align-items: center; gap: 20px; pointer-events: none; }
  .nav > * { pointer-events: auto; }
  .kana { --s: 36px; display: inline-flex; flex-direction: column; align-items: center; line-height: 1; white-space: nowrap; color: inherit; text-decoration: none; font-family: var(--display); }
  .kana .wm { font-size: var(--s); font-weight: 900; letter-spacing: calc(var(--s) * -0.0556); }
  .kana .pl { font-size: calc(var(--s) * 0.194); font-weight: 600; letter-spacing: calc(var(--s) * 0.0806); padding-left: calc(var(--s) * 0.083); margin-top: calc(var(--s) * 0.111); }
  .logo { color: var(--ink); transition: color .4s; }
  .nav.on-dark .logo { color: #fff; }
  .nav-auth { margin-left: auto; display: flex; align-items: center; gap: 8px; }
  .nav-auth > a { padding: 10px 12px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
  .nav-auth > .nav-login { border-radius: 999px; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); }
  .nav.on-dark .nav-auth > .nav-login { background: rgba(11,22,38,.82); }
  .nav.on-dark .nav-auth > .nav-login { color: #fff; }
  .nav-auth > .nav-lite { gap: 6px; padding-inline: 14px 8px; border-radius: 999px; background: #d64b72; color: #fff; transition: transform .2s, filter .25s; }
  .nav-auth > .nav-lite span { padding: 3px 8px; border-radius: 999px; background: #fff; color: #d64b72; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .nav-auth > .nav-lite:hover { transform: scale(1.04); filter: brightness(1.06); }
  .nav.on-dark .nav-auth > .nav-lite { background: var(--rose-glow); color: var(--ink); }
  .nav.on-dark .nav-auth > .nav-lite span { color: #c04f6c; }
  /* Phones keep the logo and all three account actions on one row. */
  @media (max-width: 520px) {
    .nav { column-gap: 8px; }
    .nav .logo { --s: clamp(28px, 8.6vw, 36px); }
    .nav-auth { gap: 4px; }
    .nav .nav-auth > a { padding-inline: 7px; font-size: clamp(11px, 3.2vw, 12px); }
    .nav .nav-auth > .cta { padding-inline: 10px; }
    .nav .nav-auth > .nav-lite { gap: 4px; padding-inline: 8px 4px; }
    .nav-auth > .nav-lite span { padding: 2px 6px; font-size: 9.5px; }
  }
  .nav .cta { padding: 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; transition: background .4s, color .4s, transform .2s; }
  .nav.on-dark .cta { background: #fff; color: var(--ink); }
  .nav .cta:hover { transform: scale(1.04); }

  /* Signed-in account menu (built by site.js), matching the workspace avatar menu. */
  .account { position: relative; }
  .account svg { width: 18px; height: 18px; flex: none; }
  .account-trigger { position: relative; display: block; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; }
  .account-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; overflow: hidden; color: #fff; font-size: 14px; font-weight: 800; }
  .account-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .account-chevron { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(11,22,38,.12); }
  .account-chevron svg { width: 11px; height: 11px; transition: transform .2s; }
  .account.open .account-chevron svg { transform: rotate(180deg); }
  .account-menu { position: absolute; top: calc(100% + 10px); right: 0; width: min(340px, calc(100vw - 24px)); max-height: calc(100dvh - 90px); overflow-y: auto; padding: 8px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 18px 48px rgba(11,22,38,.18), 0 0 0 1px rgba(11,22,38,.06); }
  .account-menu[hidden] { display: none; }
  .account-user { display: flex; align-items: center; gap: 12px; padding: 10px 10px 14px; border-bottom: 1px solid rgba(11,22,38,.08); }
  .account-user .account-avatar { width: 46px; height: 46px; }
  .account-user > span { display: grid; min-width: 0; }
  .account-user strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .account-user small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .account-plan { display: grid; gap: 10px; margin: 8px 0; padding: 12px 10px 16px; border-bottom: 1px solid rgba(11,22,38,.08); }
  .account-plan[aria-busy] { min-height: 120px; }
  .plan-head { display: flex; align-items: center; gap: 12px; }
  .plan-head > span:last-child { display: grid; }
  .plan-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(11,22,38,.06); }
  .plan-head small, .plan-expiry small { color: var(--muted); font-size: 12px; }
  .plan-head strong { font-size: 19px; line-height: 1.2; }
  .plan-countdown { font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .plan-countdown[hidden], .plan-meter[hidden] { display: none; }
  .plan-meter { display: block; height: 6px; border-radius: 999px; background: rgba(11,22,38,.08); overflow: hidden; }
  .plan-meter > span { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
  .plan-expiry { display: flex; align-items: center; gap: 12px; }
  .plan-expiry svg { width: 22px; height: 22px; }
  .plan-expiry > span { display: grid; }
  .plan-expiry b { font-size: 14px; }
  .plan-cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
  .plan-cta svg { transition: transform .18s; }
  .plan-cta:hover svg { transform: translateX(3px); }
  .nav .account-menu > [role="menuitem"] { display: flex; align-items: center; justify-content: flex-start; gap: 14px; width: 100%; padding: 12px 10px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
  .account-menu > [role="menuitem"]:hover { background: rgba(11,22,38,.05); }
  .nav .account-menu > .account-logout { color: #a3343c; }
  .account-menu > .account-logout:disabled { opacity: .6; cursor: progress; }
  .account-menu > [role="alert"] { padding: 4px 10px 8px; color: #a3343c; font-size: 13px; }
  @media (max-width: 520px) {
    .account-avatar { width: 34px; height: 34px; font-size: 12px; }
  }

  /* chapter indicator */
  .where { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 55; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(11,22,38,.82); backdrop-filter: blur(12px); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
  .where.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
  .where .bars { display: flex; gap: 4px; }
  .where .bars a { width: 18px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); }
  .where .bars a.on { background: var(--rose-glow); width: 30px; }
  .where .bars a.done { background: rgba(255,143,171,.5); }
  .where .lbl { padding-right: 8px; }

  /* hero */
  .hero { position: relative; text-align: center; overflow: hidden; }
  .hero-sticky { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 80px 0 96px; }
  .hero-title { position: relative; z-index: 2; }
  .hero-title h1 { margin-top: 14px; font-size: clamp(30px, min(9vw, 10.5svh), 140px); line-height: .95; font-weight: 900; letter-spacing: -0.055em; white-space: nowrap; }
  .hero-title h1 > span { display: block; }
  .hero-title h1 .serif { display: block; font-weight: 400; font-size: 1.04em; letter-spacing: -0.04em; color: var(--rose); }
  /* Hold the hero until the web fonts are in, so nothing reflows mid-animation. */
  html.intro-wait .hero-sticky > div { opacity: 0; }
  .film-wrap { position: relative; width: min(100vw, calc((100svh - 340px) * 1.85)); margin: 18px auto 0; aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 3.5%, #000 96.5%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 3.5%, #000 96.5%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent); mask-composite: intersect; }
  .hero-title { padding-inline: var(--gutter); }
  @media (min-width: 901px) {
    .hero-sticky { padding: 96px var(--gutter) 96px; }
    .hero-grid { width: 100%; max-width: 1560px; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); align-items: center; gap: clamp(28px, 4vw, 72px); }
    .hero-title { text-align: left; padding-inline: 0; }
    .hero-title h1 { margin-top: 0; font-size: clamp(34px, 3.2vw, 66px); white-space: nowrap; }
    .hero-grid .film-wrap { width: 100%; margin: 0; }
  }
  .film { position: absolute; inset: 0; overflow: hidden; background: var(--light); }
  .film video, .film img { width: 100%; height: 100%; object-fit: cover; }
  .scroll-cue { position: absolute; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom,0px)); transform: translateX(-50%); z-index: 3; width: max-content; max-width: calc(100% - 32px); text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .1em; }
  .scroll-cue-motion { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; animation: scroll-cue-float 2.4s ease-in-out infinite; }
  .scroll-cue-motion svg { flex: 0 0 28px; }
  @keyframes scroll-cue-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
  @media (prefers-reduced-motion: reduce) { .scroll-cue-motion { animation: none; } }

  /* statement with words lit by scroll */
  .statement { padding: clamp(64px, 10vh, 110px) var(--gutter); }
  .statement p { max-width: none; margin: 0 auto; text-align: center; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.08; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; }
  .w { display: inline-block; }

  /* chapters. PC: copy column + large film side by side, alternating sides.
     Phone: stacked, the film edge to edge. Films play by themselves while on screen. */
  .chapter { position: relative; overflow: hidden; }
  .stage { position: relative; max-width: 1480px; margin: 0 auto; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.55fr); align-items: center; gap: clamp(40px, 5.5vw, 104px); padding: 128px var(--gutter) 96px; }
  .chapter.flip .stage { grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.72fr); }
  .chapter.flip .txt { order: 2; }
  /* Sits fully inside the chapter: lifted off the bottom edge so tails like the Q stay whole, sized so long words fit the width. */
  .big-word { position: absolute; bottom: 0.14em; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: clamp(110px, 16vw, 300px); font-weight: 900; letter-spacing: -0.06em; line-height: 1; color: rgba(11,22,38,.04); pointer-events: none; user-select: none; }
  .big-word.long { font-size: clamp(90px, 11.5vw, 220px); }
  .dark .big-word, .booth .big-word { color: rgba(255,255,255,.035); }
  .txt { position: relative; z-index: 3; }
  .txt .num { font-size: 13px; font-weight: 800; letter-spacing: .24em; color: var(--rose); }
  .dark .txt .num, .booth .txt .num { color: var(--rose-glow); }
  .txt h2 { margin-top: 12px; font-size: clamp(34px, 3.7vw, 62px); line-height: 1.02; font-weight: 900; letter-spacing: -0.045em; text-wrap: balance; }
  .txt h2 .serif { display: block; }
  .txt p { margin-top: 18px; font-size: clamp(16px, 1.15vw, 19px); color: var(--muted); max-width: 34ch; }
  .dark .txt p, .booth .txt p { color: #9aa6b8; }
  .clip { position: relative; z-index: 2; width: 100%; aspect-ratio: 16 / 9; background: inherit;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent); mask-composite: intersect; }
  .clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .chip-row span { font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 999px; background: rgba(11,22,38,.06); }
  .dark .chip-row span, .booth .chip-row span { background: rgba(255,255,255,.08); }
  .booth { background: var(--booth); color: #f2f0ec; }
  @media (max-width: 900px) {
    .stage, .chapter.flip .stage { grid-template-columns: 1fr; min-height: 0; gap: 30px; padding: 92px 0 84px; }
    .chapter.flip .txt { order: 0; }
    .txt { padding-inline: var(--gutter); }
    .txt h2 { font-size: clamp(30px, 8.4vw, 44px); }
    .txt h2 .serif { display: inline; }
    .txt p { margin-top: 10px; }
    .clip { -webkit-mask-image: none; mask-image: none; }
    .big-word { display: none; }
    .booth .stage, .dark .stage { padding: 124px 0 116px; gap: 34px; }
    .statement { padding-block: 94px; }
  }

  /* photobooth service: frame marquee */
  .service { padding: clamp(130px, 20vh, 220px) 0; text-align: center; }
  .service h2 { padding-inline: var(--gutter); font-size: clamp(40px, 6vw, 96px); line-height: .95; font-weight: 900; letter-spacing: -0.05em; }
  .service h2 .serif { display: block; color: var(--rose); }
  .service .pill { margin-top: 30px; }
  .marquee { margin-top: 64px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
  .marquee-track { display: flex; gap: 22px; width: max-content; animation: slide 42s linear infinite; }
  .marquee img { height: clamp(260px, 40vh, 420px); width: auto; aspect-ratio: 1/3; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 44px rgba(11,22,38,.14); }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }

  .pill { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
  .pill:hover { transform: translateY(-2px); }
  .pill.light { background: #fff; color: var(--ink); }
  .pill.light:hover { box-shadow: 0 12px 34px rgba(255,255,255,.18); }
  .pill.ink { background: var(--ink); color: #fff; }
  .pill.rose { background: var(--rose); color: #fff; }
  .pill.outline { border: 1px solid rgba(255,255,255,.3); color: #fff; }
  .logo-mark { --s: 46px; }
  .logo-mark.big { --s: clamp(64px, 8vw, 112px); }
  .logo-mark.small { --s: 24px; }

  /* yearbook: two rows of photos drifting in opposite directions */
  .yearbook { background: var(--ink); color: #f2f0ec; padding: clamp(130px, 19vh, 210px) 0 clamp(120px, 17vh, 190px); text-align: center; overflow: hidden; }
  .yb-intro { padding-inline: var(--gutter); }
  .yb-kicker { margin-top: 18px; font-size: 12px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: #9aa6b8; }
  .yearbook h2 { margin-top: 14px; font-size: clamp(54px, 9vw, 150px); line-height: .9; font-weight: 900; letter-spacing: -0.055em; }
  .yearbook h2 .serif { display: block; color: var(--rose-glow); font-size: .62em; letter-spacing: -0.03em; margin-top: .12em; }
  .yearbook .yb-intro p { margin: 22px auto 0; max-width: 38ch; color: #9aa6b8; font-size: clamp(16px, 1.3vw, 19px); }
  .yb-rows { margin-top: 64px; display: grid; gap: 16px; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
  .yb-row { overflow: hidden; }
  .yb-move { display: flex; gap: 16px; width: max-content; animation: slide 60s linear infinite; }
  .yb-row.reverse .yb-move { animation-direction: reverse; animation-duration: 70s; }
  .yb-row:hover .yb-move { animation-play-state: paused; }
  .yb-move figure { margin: 0; height: clamp(170px, 26vh, 290px); aspect-ratio: 3/2; border-radius: 16px; overflow: hidden; flex: none; }
  .yb-move img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
  .yb-move figure:hover img { transform: scale(1.06); }
  .yb-cta { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-inline: var(--gutter); }
  .social-pill { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px 13px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s; }
  .social-pill.ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.16); }
  .social-pill:hover { transform: translateY(-2px); }
  .social-pill svg { width: 22px; height: 22px; }

  /* contact: the closing card */
  .contact { position: relative; background: #070d17; color: #f2f0ec; padding: clamp(140px, 20vh, 230px) var(--gutter) clamp(110px, 16vh, 170px); text-align: center; overflow: hidden; }
  .contact-glow { position: absolute; left: 50%; top: 38%; width: min(1100px, 140vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(179,95,115,.32), rgba(70,110,170,.14) 55%, transparent 75%); pointer-events: none; }
  .contact-inner { position: relative; max-width: 1080px; margin: 0 auto; }
  .contact h2 { margin-top: 34px; font-size: clamp(46px, 8vw, 132px); line-height: .92; font-weight: 900; letter-spacing: -0.055em; }
  .contact h2 .serif { display: block; color: var(--rose-glow); }
  .contact-actions { margin-top: 38px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .social-cards { margin-top: 70px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
  .social-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-decoration: none; min-width: 0; transition: background .25s, transform .25s, border-color .25s; }
  a.social-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
  /* Stretch Gmail over the card; keep Copy as a separate, higher click target. */
  .email-card { position: relative; }
  .email-card .mail::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 20px; }
  .email-card .copy { position: relative; z-index: 2; }
  .email-card:has(.mail:hover) { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
  .email-card .mail:focus-visible::after { outline: 2px solid var(--rose-glow); outline-offset: 4px; }
  .social-card > span:nth-child(2) { min-width: 0; flex: 1; }
  .social-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8d99ab; }
  .social-card b { display: block; margin-top: 3px; font-size: 16px; overflow-wrap: anywhere; }
  .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; }
  .ico.brand svg { width: 44px; height: 44px; }
  .ico svg { width: 26px; height: 26px; }
    .ico.mail { background: #fff; }
  .ico.mail svg { width: 28px; height: 22px; }
  .arrow { font-size: 18px; color: #8d99ab; }
  .copy { appearance: none; border: 1px solid rgba(255,255,255,.2); background: transparent; border-radius: 999px; padding: 7px 12px; font: 700 12px var(--display); cursor: pointer; color: #fff; flex: none; }
  footer { background: #070d17; color: #7d8899; padding: 26px var(--gutter) calc(26px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 13px; border-top: 1px solid rgba(255,255,255,.07); }
  footer .logo-mark { color: #fff; }
  @media (max-width: 760px) {
    .social-cards { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) { .marquee-track, .yb-move { animation: none; } .yb-row { overflow-x: auto; } }

/* ---------- site navigation (all pages) ---------- */
.tabs { position: absolute; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(11,22,38,.06), 0 8px 24px rgba(11,22,38,.06); pointer-events: auto; transition: background .4s, box-shadow .4s; }
.tabs a { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .25s, background .25s; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav.on-dark .tabs { background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.nav.on-dark .tabs a { color: #b8c2d0; }
.nav.on-dark .tabs a:hover { color: #fff; }
.nav.on-dark .tabs a[aria-current="page"] { background: #fff; color: var(--ink); }
@media (min-width: 901px) and (max-width: 1280px) {
  .tabs a { padding-inline: 11px; font-size: 12px; }
}
/* Centre the tabs in their own column so they can never slide under the account actions. */
@media (min-width: 1001px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav .logo { justify-self: start; }
  .tabs { position: static; transform: none; }
  .nav-auth { justify-self: end; }
}
@media (max-width: 1000px) {
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .tabs { position: static; transform: none; order: 3; width: 100%; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { flex: 1; text-align: center; padding: 8px 10px; font-size: 13px; }
}
/* Phones fit all five tabs in one row instead of cutting the last one off. */
@media (max-width: 520px) {
  .tabs { gap: 0; }
  .tabs a { flex: 1 1 auto; padding-inline: clamp(4px, 1.4vw, 10px); font-size: clamp(10.5px, 3vw, 13px); }
}

/* ---------- inner pages: centred type, lots of air, imagery instead of boxes ---------- */
.rv { transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .9s; }
.rv.rv-pre { transform: translateY(32px); opacity: 0; }
.phero { padding: clamp(150px, 22vh, 230px) var(--gutter) clamp(56px, 8vh, 96px); text-align: center; }
.phero h1 { font-size: clamp(40px, 6.2vw, 104px); line-height: .98; font-weight: 900; letter-spacing: -0.05em; text-wrap: balance; }
.phero h1 .serif { display: block; color: var(--rose); letter-spacing: -0.035em; }
.phero .lead { margin: 22px auto 0; max-width: 34ch; font-size: clamp(17px, 1.4vw, 21px); color: var(--muted); }
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.on-light .social-pill { box-shadow: 0 0 0 1px rgba(11,22,38,.1), 0 10px 26px rgba(11,22,38,.06); }
.on-light .social-pill.ghost { background: #fff; color: var(--ink); border: 0; }
.closer { padding: clamp(80px, 14vh, 150px) var(--gutter); text-align: center; }
.closer p { font-size: clamp(28px, 3.4vw, 52px); line-height: 1.05; font-weight: 900; letter-spacing: -0.045em; }
.closer p .serif { color: var(--rose); }
.feature { width: min(1480px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.feature img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: clamp(16px, 2vw, 28px); }
.rows, .strip { margin-top: clamp(16px, 2vw, 22px); display: grid; gap: clamp(16px, 2vw, 22px); overflow: hidden; }
.row-move, .strip-move { display: flex; gap: clamp(16px, 2vw, 22px); width: max-content; animation: slide 80s linear infinite; }
.row-move.reverse { animation-direction: reverse; animation-duration: 90s; }
.rows:hover .row-move, .strip:hover .strip-move { animation-play-state: paused; }
.row-move figure { margin: 0; flex: none; height: clamp(180px, 28vh, 320px); aspect-ratio: 3 / 2; border-radius: clamp(12px, 1.4vw, 20px); overflow: hidden; }
.row-move img { width: 100%; height: 100%; object-fit: cover; }
.strip { margin-top: 0; padding: 20px 0 50px; }
.strip-move { gap: clamp(22px, 3vw, 44px); animation-duration: 70s; }
.strip-move img { flex: none; height: clamp(300px, 52vh, 540px); width: auto; border-radius: 6px; box-shadow: 0 24px 50px rgba(11,22,38,.14); }
.strip-move img { background: #fff; }
.loop-gallery { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y; }
.loop-gallery::-webkit-scrollbar { display: none; }
.loop-gallery.is-dragging { cursor: grabbing; user-select: none; }
.loop-gallery:focus-visible { outline: 2px solid var(--rose); outline-offset: -3px; }
.loop-gallery .row-move, .loop-gallery .strip-move { animation: none; transform: none; }
.loop-group { display: flex; flex: none; gap: inherit; align-items: center; }
.loop-gallery img { user-select: none; -webkit-user-drag: none; }
.loop-controls { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 16px var(--gutter); }
.loop-controls button { border: 1px solid var(--line, #0b162626); border-radius: 999px; padding: 9px 16px; background: transparent; color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; }
.loop-controls button:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .row-move, .strip-move { animation: none; } .rows, .strip { overflow-x: auto; } }

/* pricing: four columns split by hairlines, no cards */
.pricing { width: min(1280px, calc(100% - 2 * var(--gutter))); margin: 0 auto; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(11,22,38,.1); border-bottom: 1px solid rgba(11,22,38,.1); }
.plan { padding: clamp(36px, 5vh, 56px) 20px; display: flex; flex-direction: column; align-items: center; }
.plan + .plan { border-left: 1px solid rgba(11,22,38,.1); }
.plan h3 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan .price { margin-top: 18px; font-size: clamp(34px, 3.2vw, 52px); line-height: 1; font-weight: 900; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan .price small { margin-left: 4px; font-size: .45em; letter-spacing: 0; vertical-align: .9em; }
.plan p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.plan del { opacity: .7; }
.plan a { margin-top: 26px; padding: 11px 26px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(11,22,38,.2); transition: box-shadow .2s, background .2s, color .2s; }
.plan a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.plan.featured h3 { color: var(--rose); }
.plan.featured a { background: var(--ink); color: #fff; box-shadow: none; }
.plans-note { margin-top: 18px; color: var(--muted); }
.plans-note:first-of-type { margin-top: 30px; }
.plans-note a { color: var(--rose); font-weight: 700; text-decoration: none; }
.faq-wrap { width: min(760px, calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: clamp(90px, 14vh, 150px) 0; }
.faq-wrap h2 { text-align: center; margin-bottom: 30px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; letter-spacing: -0.04em; }
.faq details { border-top: 1px solid rgba(11,22,38,.1); }
.faq details:last-child { border-bottom: 1px solid rgba(11,22,38,.1); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }
@media (max-width: 900px) {
  .phero { padding-top: 170px; }
  .feature img { aspect-ratio: 4 / 3; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n + 3) { border-top: 1px solid rgba(11,22,38,.1); }
  .plan { padding-inline: 10px; }
  .plan .price { font-size: clamp(26px, 7.4vw, 36px); }
}

@media (max-width: 900px) { .hero-sticky { padding-top: 136px; } }
.pill.outline-ink { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(14, 18, 32, 0.22); }
.pill.outline-ink:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
/* Once the page scrolls, the nav gets a quiet frosted bar so text never runs under the tabs. */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(244, 245, 248, 0.86); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 rgba(11, 22, 38, 0.06); opacity: 0; transition: opacity .3s, background .4s; }
.nav.solid::before { opacity: 1; }
.nav.on-dark::before { background: rgba(10, 14, 26, 0.8); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
/* Booking: headline, complete frames, gallery controls and contact share one
   desktop screen. Small screens keep natural scrolling and readable frames. */
.booking-page .phero { padding: 150px var(--gutter) 20px; }
.booking-page .phero h1 { font-size: clamp(36px, 4.6vw, 64px); }
.booking-page .phero .lead { margin-top: 14px; max-width: 52ch; }
.booking-page .strip { padding: 12px 0 20px; }
.booking-page .strip img { height: clamp(220px, 38svh, 420px); max-width: none; }
.booking-page .loop-controls { margin: 4px var(--gutter); }
.booking-page .loop-controls button { min-height: 40px; }
.booking-page .closer { padding: 16px var(--gutter) 24px; }
.booking-page .closer p { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.booking-page .closer .actions { margin-top: 14px; }
.booking-page + footer { min-height: 64px; padding-block: 12px; font-size: 11px; }
.booking-page + footer .kana { --s: 24px; }
@media (min-width: 901px) {
  .booking-page {
    height: calc(100svh - 64px);
    min-height: 616px;
    display: grid;
    grid-template-rows: auto minmax(160px, 1fr) auto auto;
    gap: 8px;
    padding-top: 96px;
  }
  .booking-page .phero { padding: 0 var(--gutter) 6px; }
  .booking-page .phero h1 { font-size: clamp(36px, min(4.2vw, 7svh), 64px); }
  .booking-page .strip { min-height: 0; height: 100%; padding-block: 12px; container-type: size; }
  .booking-page .strip-move, .booking-page .loop-group { height: 100%; }
  .booking-page .strip img { height: 100cqh; }
  .booking-page .closer { display: flex; align-items: center; justify-content: center; gap: 24px; padding-block: 8px 16px; }
  .booking-page .closer p { font-size: clamp(22px, 1.9vw, 28px); }
  .booking-page .closer .actions { flex: none; margin: 0; }
  .booking-page .social-pill { padding: 12px 18px; font-size: 13px; }
  .booking-page .social-pill svg { width: 22px; height: 22px; }
}
@media (min-width: 901px) and (max-width: 1000px) {
  .booking-page { padding-top: 144px; }
  .booking-page .closer { gap: 14px; }
  .booking-page .closer p { font-size: 20px; }
}
@media (max-width: 360px) { .booking-page .phero { padding-top: 200px; } }

/* ---------- pricing page (Bảng giá): blush stage, four plan cards, decorative photo strip ---------- */
.pb { position: relative; overflow: hidden; padding: clamp(96px, 12vh, 128px) var(--gutter) clamp(56px, 8vh, 88px); background: radial-gradient(60% 55% at 85% 12%, rgba(255,143,171,.16), transparent 70%), radial-gradient(45% 40% at 50% 62%, rgba(255,143,171,.08), transparent 70%), linear-gradient(#fcf7f6, #fcf7f6 82%, var(--light)); }
.pb > :not(.pb-deco) { position: relative; z-index: 1; width: min(1540px, 100%); margin-inline: auto; }
.pb-deco { position: absolute; top: 0; right: 0; width: min(52vw, 760px); height: min(48vw, 620px); pointer-events: none; }
.pb-ribbon { position: absolute; inset: 0; width: 100%; height: 100%; }
.pb-ribbon path { stroke: var(--rose); stroke-width: 2.5; stroke-linecap: round; opacity: .55; }
.pb-strip { position: absolute; top: -14%; right: 16%; width: 33%; display: grid; gap: 4%; padding: 5% 5% 9%; background: #fff; border-radius: 4px; box-shadow: 0 28px 60px rgba(179,95,115,.18); transform: rotate(-16deg); transform-origin: top right; }
.pb-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) sepia(.55) hue-rotate(-38deg) saturate(1.5) brightness(1.04) contrast(.92); }
.pb-strip img:nth-child(2) { object-position: 35% center; transform: scaleX(-1); }
.pb-strip img:nth-child(3) { object-position: 65% center; }
.pb-head h1 { margin-top: 0; font-size: clamp(44px, 6.3vw, 108px); line-height: .98; font-weight: 900; letter-spacing: -0.05em; }
.pb-head h1 .serif { display: block; margin-top: .06em; color: var(--rose); font-weight: 500; letter-spacing: -0.035em; }
.pb-plans { margin-top: clamp(36px, 6vh, 64px); display: grid; grid-template-columns: 1fr 1.16fr 1fr 1fr; align-items: center; gap: clamp(14px, 1.6vw, 24px); }
.pb-plan { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(32px, 5vh, 52px) 18px clamp(30px, 4.4vh, 44px); background: rgba(255,255,255,.72); border: 1px solid rgba(179,95,115,.12); border-radius: 16px; box-shadow: 0 18px 40px rgba(179,95,115,.06); }
.pb-plan.featured { padding-block: clamp(44px, 6.4vh, 64px) clamp(40px, 6vh, 60px); background: linear-gradient(170deg, #fdeef0, #fbe3e7 60%, #fdf0f1); border-color: rgba(179,95,115,.28); box-shadow: 0 26px 56px rgba(179,95,115,.16); }
.pb-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 22px; border-radius: 999px; background: #c06d80; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 8px 20px rgba(179,95,115,.28); }
.pb-badge svg { width: 15px; height: 15px; fill: currentColor; }
.pb-plan h3 { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pb-plan.featured h3 { color: var(--rose); }
.pb-price { margin-top: 22px; font-size: clamp(30px, 3.1vw, 54px); line-height: 1; font-weight: 900; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-price small { margin-left: 3px; font-size: .42em; letter-spacing: 0; vertical-align: 1em; }
.pb-per { margin-left: 2px; font-size: .34em; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.pb-monthly { margin-top: 10px; font-size: clamp(13px, 1vw, 15px); font-weight: 700; color: var(--rose); }
.pb-plan p { margin-top: 16px; color: var(--muted); font-size: clamp(14px, 1.1vw, 17px); }
.pb-plan del { opacity: .75; }
.pb-plan a { margin-top: 28px; width: min(220px, 100%); padding: 14px 20px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; color: var(--ink); background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1.5px rgba(11,22,38,.14); transition: box-shadow .2s, background .2s, transform .2s; }
.pb-plan a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pb-plan.featured a { width: min(280px, 100%); padding-block: 18px; background: var(--ink); color: #fff; box-shadow: 0 14px 30px rgba(11,22,38,.22); }
.pb-plan.featured a:hover { transform: translateY(-2px); }
.pb-features { list-style: none; margin-top: clamp(40px, 6vh, 60px); padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 0; }
.pb-features li { display: flex; align-items: center; gap: 18px; padding: 4px clamp(24px, 3.4vw, 60px); font-size: clamp(15px, 1.15vw, 18px); color: #3d4757; }
.pb-features li + li { border-left: 1px solid rgba(11,22,38,.12); }
.pb-features svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--rose); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pb-lite { margin-top: 26px; text-align: center; color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); }
.pb-lite a { color: var(--rose); font-weight: 800; text-decoration: none; }
.pb-lite a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .pb-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
}
@media (max-width: 900px) {
  .pb { padding-top: 132px; }
  .pb-deco { width: 62vw; height: 70vw; opacity: .55; }
}
@media (max-width: 640px) {
  .pb-deco { top: 60px; width: 74vw; opacity: .35; }
  .pb-plans { margin-top: 34px; gap: 26px 10px; align-items: stretch; }
  .pb-plan, .pb-plan.featured { padding: 26px 8px 16px; border-radius: 12px; }
  .pb-badge { gap: 5px; padding: 5px 10px; font-size: 9px; letter-spacing: .1em; }
  .pb-badge svg { width: 11px; height: 11px; }
  .pb-plan h3 { font-size: 10px; letter-spacing: .12em; }
  .pb-price { margin-top: 12px; font-size: clamp(20px, 6.2vw, 26px); }
  .pb-monthly { margin-top: 6px; font-size: 11px; }
  .pb-plan p { margin-top: 8px; font-size: 11.5px; line-height: 1.45; }
  .pb-plan a, .pb-plan.featured a { margin-top: auto; padding: 10px 12px; font-size: 13px; width: 100%; }
  .pb-plan p { margin-bottom: 14px; }
  .pb-features { flex-direction: column; align-items: center; }
  .pb-features li { width: 100%; max-width: 300px; padding-inline: 0; }
  .pb-features li + li { border-left: 0; }
}

@media(any-pointer:coarse){
  .where{padding:4px 8px;gap:8px;max-width:calc(100vw - 16px)}
  .where .bars{gap:0}
  .where .bars a{position:relative;display:block;width:44px!important;height:44px;background:transparent!important;border-radius:10px;touch-action:manipulation}
  .where .bars a::after{content:'';position:absolute;left:12px;right:12px;top:20px;height:4px;border-radius:2px;background:rgba(255,255,255,.25)}
  .where .bars a.on::after{background:var(--rose-glow)}
  .where .bars a.done::after{background:rgba(255,143,171,.5)}
}
@media(any-pointer:coarse) and (max-width:600px){.where .lbl{display:none}}
.nav :is(.tabs a,.nav-auth a){min-height:44px;display:inline-flex;align-items:center;justify-content:center}

/* Shared public navigation: language icon and readable options in either theme. */
.nav .public-language { position: relative; flex-shrink: 0; color: var(--ink); }
.nav .public-language summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(11,22,38,.14); border-radius: 999px; background: rgba(255,255,255,.82); cursor: pointer; list-style: none; }
.nav .public-language summary::-webkit-details-marker { display: none; }
.nav .public-language summary:hover { background: #e8ecf2; }
.nav .public-language summary:focus-visible,
.nav .public-language button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.nav.on-dark .public-language { color: #fff; }
.nav.on-dark .public-language summary { background: rgba(11,22,38,.82); border-color: rgba(255,255,255,.2); }
.nav.on-dark .public-language summary:hover { background: #263143; }
.nav .public-language-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; width: 176px; padding: 6px; border: 1px solid #dce1e8; border-radius: 14px; background: #fff; color: #0b1626; box-shadow: 0 12px 32px #0b162626; }
html body .nav .public-language-options button { --ui-surface: #fff; --ui-hover: #edf0f5; --ui-selected: #0b1626; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; margin: 0; padding: 10px 12px; border: 0; border-radius: 8px; background: var(--ui-surface); color: #0b1626; font: 700 13px var(--display); cursor: pointer; }
html body .nav .public-language-options button[aria-pressed="true"] { --ui-surface: #edf0f5; }
html body .nav .public-language-options button:hover { background: var(--ui-hover); }
@media (max-width: 520px) { .nav .public-language-options { left: 0; right: auto; } }

.nav [data-language-picker] button[aria-pressed="true"]::after { content: ''; width: 6px; height: 11px; margin-right: 3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 420px) {
  .nav { column-gap: 6px; }
  .nav > .logo { --s: 30px; }
  .nav .nav-auth { gap: 3px; }
  .nav .nav-auth > a { padding-inline: 5px; }
  .nav .nav-auth > .cta { padding-inline: 9px; }
  .nav .nav-auth > .nav-lite { padding-inline: 7px 4px; }
}@media (max-width: 380px) {
  .nav .nav-auth > .nav-lite { padding-inline: 8px; }
  .nav .nav-auth > .nav-lite span { display: none; }
}
