/* Thai Sky Blue — public design system.
   Editorial, photography-led. Sharp edges, thin rules, generous space; no gradients as decoration,
   no rounded cards, no motion beyond gentle fades. */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/jost-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Thai faces download only on pages that contain Thai text. */
@font-face {
  font-family: "Noto Serif Thai";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/noto-serif-thai-thai-wght-normal.woff2") format("woff2");
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/noto-sans-thai-thai-wght-normal.woff2") format("woff2");
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}

/* ---------- Tokens ---------- */
:root {
  --midnight: #102333;
  --navy: #091722;
  --gold: #D9BC8B;
  --ocean: #508CA4;
  --pearl: #F7F3EB;
  --sand: #D8C5AE;

  --font-serif: "Cormorant Garamond", "Noto Serif Thai", "Hiragino Mincho ProN", "Yu Mincho", "Songti TC", "Nanum Myeongjo", Georgia, serif;
  --font-sans: "Jost", "Noto Sans Thai", "Hiragino Sans", "Yu Gothic", "PingFang TC", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;

  --gutter: 20px;
  --max: 1240px;
  --header-h: 64px;
  --rule: 1px;
  --ease: cubic-bezier(.2, .6, .2, 1);

  /* Theme: "midnight" (default). Surfaces alternate between deep navy and pearl. */
  --bg: var(--navy);
  --bg-raised: var(--midnight);
  --ink: var(--pearl);
  --ink-soft: rgba(247, 243, 235, .72);
  --ink-faint: rgba(247, 243, 235, .5);
  --line: rgba(216, 197, 174, .24);
  --accent: var(--gold);
  --accent-ink: var(--navy);
  --link: var(--gold);
  color-scheme: dark;
}

[data-theme="pearl"] {
  --bg: var(--pearl);
  --bg-raised: #fff;
  --ink: var(--midnight);
  --ink-soft: rgba(16, 35, 51, .76);
  --ink-faint: rgba(16, 35, 51, .56);
  --line: rgba(16, 35, 51, .16);
  --accent: var(--midnight);
  --accent-ink: var(--pearl);
  --link: #3b7088;
  color-scheme: light;
}

/* A light band inside the dark theme (and the reverse). */
.surface-pearl {
  --bg: var(--pearl);
  --bg-raised: #fff;
  --ink: var(--midnight);
  --ink-soft: rgba(16, 35, 51, .76);
  --ink-faint: rgba(16, 35, 51, .56);
  --line: rgba(16, 35, 51, .16);
  --accent: var(--midnight);
  --accent-ink: var(--pearl);
  --link: #3b7088;
  background: var(--bg);
  color: var(--ink);
  color-scheme: light;
}
.surface-midnight {
  --bg: var(--midnight);
  --bg-raised: #17303f;
  --ink: var(--pearl);
  --ink-soft: rgba(247, 243, 235, .72);
  --ink-faint: rgba(247, 243, 235, .5);
  --line: rgba(216, 197, 174, .24);
  --accent: var(--gold);
  --accent-ink: var(--navy);
  --link: var(--gold);
  background: var(--bg);
  color: var(--ink);
  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 350;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--navy); }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:lang(th) h1, :lang(th) h2, :lang(th) h3, :lang(ja) h1, :lang(ja) h2, :lang(ko) h1, :lang(ko) h2, :lang(zh-Hant) h1, :lang(zh-Hant) h2 { line-height: 1.3; letter-spacing: 0; }
:lang(th) body, :lang(th) { line-height: 1.8; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.surface-pearl .eyebrow, [data-theme="pearl"] .eyebrow { color: #8a6f43; }
:lang(th) .eyebrow, :lang(ja) .eyebrow, :lang(ko) .eyebrow, :lang(zh-Hant) .eyebrow { letter-spacing: .08em; }
.display { font-size: clamp(2.75rem, 9vw, 6.25rem); font-weight: 300; }
.h1 { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 300; }
.h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 300; }
.h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 46ch; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.serif-italic { font-family: var(--font-serif); font-style: italic; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.7rem; margin: 2em 0 .5em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .4em; }
.prose ul { padding-left: 1.2em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: var(--rule) solid currentColor;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
:lang(th) .btn, :lang(ja) .btn, :lang(ko) .btn, :lang(zh-Hant) .btn { letter-spacing: .04em; font-size: .9375rem; }
.btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--quiet { border-color: var(--line); }
.btn--block { width: 100%; }
.btn--small { min-height: 42px; padding: 10px 18px; font-size: .75rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: var(--rule) solid var(--accent); padding-bottom: 6px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--pearl);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: var(--rule) solid transparent;
}
.site-header.is-solid, .site-header--solid { background: rgba(9, 23, 34, .94); border-bottom-color: rgba(216, 197, 174, .18); backdrop-filter: blur(10px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.wordmark { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: inherit; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--gold); }
.site-nav { display: none; gap: 34px; }
.site-nav a { color: inherit; text-decoration: none; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; padding-block: 8px; border-bottom: var(--rule) solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.icon-btn__count { position: absolute; top: 6px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--navy); font-size: .6875rem; font-weight: 600; line-height: 17px; text-align: center; }
@media (min-width: 900px) {
  .site-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* The home link is a full-height tap target like the icons beside it. */
a.wordmark { display: inline-block; line-height: 44px; }

/* Phones: brand, language, cart and menu must fit one row (the header is fixed, so anything wider is
   unreachable). The account link stays available inside the menu. */
@media (max-width: 479px) {
  .site-header__inner { gap: 8px; }
  .site-header .wordmark { font-size: 1.1rem; letter-spacing: .1em; }
  .header-actions { gap: 0; }
  .header-actions .lang-switch summary { padding: 0 4px; }
  .header-actions [data-session="account-link"] { display: none; }
}

/* Mobile menu: a full-height panel, opened by a real <dialog>. */
.menu-panel { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--navy); color: var(--pearl); }
.menu-panel::backdrop { background: rgba(9, 23, 34, .6); }
.menu-panel__inner { display: flex; flex-direction: column; min-height: 100%; padding: 18px var(--gutter) 32px; }
.menu-panel__top { display: flex; justify-content: space-between; align-items: center; height: calc(var(--header-h) - 18px); }
.menu-panel nav { display: grid; margin-top: 28px; }
.menu-panel nav a { font-family: var(--font-serif); font-size: 2rem; font-weight: 300; color: inherit; text-decoration: none; padding: 14px 0; border-bottom: var(--rule) solid rgba(216, 197, 174, .18); }
.menu-panel__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 18px; }

/* ---------- Language ---------- */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch__list { position: absolute; right: 0; top: 100%; min-width: 200px; margin: 6px 0 0; padding: 8px 0; list-style: none; background: var(--navy); border: var(--rule) solid rgba(216, 197, 174, .24); max-height: 70vh; overflow: auto; z-index: 60; }
.lang-switch__list a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 18px; color: var(--pearl); text-decoration: none; font-size: .9375rem; }
.lang-switch__list a:hover, .lang-switch__list a[aria-current="true"] { background: rgba(217, 188, 139, .12); }
.lang-switch__list small { color: rgba(247, 243, 235, .5); }
.lang-suggest { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 18px; background: var(--pearl); color: var(--midnight); border: var(--rule) solid var(--sand); box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.lang-suggest p { margin: 0; flex: 1 1 220px; font-size: .9375rem; }
.lang-suggest .btn { --ink: var(--midnight); --bg: var(--pearl); min-height: 42px; padding: 10px 18px; }
@media (min-width: 640px) { .lang-suggest { left: auto; right: 24px; bottom: 24px; max-width: 460px; } }

/* ---------- Announcement ---------- */
.announce { background: var(--gold); color: var(--navy); font-size: .875rem; text-align: center; padding: 10px var(--gutter); }
.announce a { color: inherit; font-weight: 500; }

/* ---------- Homepage: one centred column ("link in bio"), phone first ---------- */
/* Full width on phones; on wide screens a 960px card floating on navy. */
.home { padding-top: var(--header-h); background: var(--navy); }
.home__col {
  --bg: var(--midnight); --bg-raised: #17303f; --ink: var(--pearl);
  --ink-soft: rgba(247, 243, 235, .78); --ink-faint: rgba(247, 243, 235, .55); --line: rgba(216, 197, 174, .28);
  max-width: 960px; margin-inline: auto; background: var(--midnight); color: var(--ink);
}
@media (min-width: 960px) {
  .home { padding-block: calc(var(--header-h) + 28px) 56px; }
  .home__col { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .38); }
}

/* Hero: the photograph as a card, then the words and one clear call to action. */
.hero { color: var(--pearl); text-align: center; }
.hero__media {
  position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: min(76svh, 760px); overflow: hidden;
  border-radius: 0 0 22px 22px;
  background: radial-gradient(120% 90% at 70% 10%, rgba(80, 140, 164, .35), transparent 60%), linear-gradient(180deg, #17303f, var(--midnight));
}
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal-x, 50%) var(--focal-y, 30%); }
.hero--placeholder .hero__media { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .hero__media { aspect-ratio: 16 / 9; max-height: none; border-radius: 0; }
  .hero__media img, .hero__media video { object-position: var(--focal-x-wide, 62%) var(--focal-y-wide, 32%); }
}
.hero__content { max-width: 720px; margin-inline: auto; padding: 26px var(--gutter) 4px; }
.hero .eyebrow { margin-bottom: 10px; color: var(--gold); }
.hero__title { font-family: var(--font-sans); font-size: clamp(1.65rem, 6.4vw, 2.5rem); font-weight: 400; line-height: 1.2; letter-spacing: .005em; margin-bottom: 12px; }
.hero__intro { max-width: 36ch; margin: 0 auto 24px; font-size: clamp(1.02rem, 3.8vw, 1.2rem); color: rgba(247, 243, 235, .86); }
.hero__actions { display: grid; gap: 12px; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }

/* Large, rounded, thumb-sized buttons. */
.btn-bio {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 58px; padding: 14px 22px;
  border: 1px solid transparent; border-radius: 12px; font-family: var(--font-sans); font-size: 1.125rem; font-weight: 500;
  line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn-bio:active { transform: scale(.99); }
.btn-bio--gold { background: var(--gold); color: var(--navy); box-shadow: 0 12px 32px rgba(217, 188, 139, .16); }
.btn-bio--gold:hover { background: #e6cfa6; color: var(--navy); }
.btn-bio--outline { border-color: rgba(216, 197, 174, .45); color: var(--pearl); }
.btn-bio--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-bio--dark { background: var(--midnight); color: var(--pearl); }
.btn-bio--dark:hover { background: var(--navy); color: var(--pearl); }
.btn-bio__note { font-weight: 400; opacity: .85; }

/* Sections inside the column. */
.home-section { padding: 32px var(--gutter); text-align: center; }
.home-section .eyebrow { margin-bottom: 8px; }
.home-narrow { max-width: 720px; margin-inline: auto; }
.home-rule { height: 1px; border: 0; margin: 0 0 30px; background: var(--line); }
.home-h2 { font-family: var(--font-sans); font-size: clamp(1.35rem, 4.8vw, 1.8rem); font-weight: 500; line-height: 1.25; letter-spacing: .005em; margin-bottom: 20px; }
.home-lede { max-width: 46ch; margin: -6px auto 22px; color: var(--ink-soft); }
.home-section--pearl {
  --bg: var(--pearl); --bg-raised: #fff; --ink: var(--midnight); --ink-soft: rgba(16, 35, 51, .74);
  --ink-faint: rgba(16, 35, 51, .56); --line: rgba(16, 35, 51, .14);
  background: var(--pearl); color: var(--ink); padding-block: 36px 40px;
}
.home-section--pearl .eyebrow { color: #8a6f43; }
:lang(th) .hero__title, :lang(th) .home-h2 { line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 11vw, 132px); background: var(--bg); color: var(--ink); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: clamp(32px, 5vw, 60px); }
.section__head--split { align-items: end; }
@media (min-width: 900px) { .section__head--split { grid-template-columns: 1fr auto; } }
.rule { height: var(--rule); background: var(--line); border: 0; margin: 0; }

/* Link list: one full-width row per destination (icon, name, chevron). */
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; text-align: left; }
.link-list a {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) 20px; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px 12px 18px;
  border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.link-list a:hover { border-color: var(--gold); background: rgba(217, 188, 139, .06); }
.link-list a:active { transform: scale(.99); }
.link-list__icon { display: grid; place-items: center; color: var(--ink); }
.link-list__icon svg { width: 24px; height: 24px; }
.link-list__name { display: block; font-size: 1.125rem; font-weight: 450; line-height: 1.3; }
.link-list__handle { display: block; font-size: .8125rem; color: var(--ink-faint); line-height: 1.4; margin-top: 2px; }
.link-list__badge { display: inline-block; margin-left: 8px; padding: 1px 6px; border: 1px solid currentColor; border-radius: 6px; font-size: .6875rem; letter-spacing: .06em; vertical-align: 2px; }
.link-list__go { display: grid; place-items: center; color: var(--gold); }
.link-list__go svg { width: 20px; height: 20px; }
.link-list .is-featured a { border-color: rgba(217, 188, 139, .7); }

/* Experiences: numbered editorial list. */
.experiences { display: grid; gap: 0; border-top: var(--rule) solid var(--line); counter-reset: exp; }
.experience { display: grid; gap: 8px 28px; padding: 28px 0; border-bottom: var(--rule) solid var(--line); counter-increment: exp; }
.experience::before { content: counter(exp, decimal-leading-zero); font-family: var(--font-serif); font-size: 1.1rem; color: var(--accent); }
.experience__title { font-size: clamp(1.5rem, 3vw, 2rem); }
.experience__text { color: var(--ink-soft); margin: 0; max-width: 52ch; }
@media (min-width: 900px) {
  .experience { grid-template-columns: 64px 4fr 5fr auto; align-items: baseline; }
}

/* Photography ("postcards"): rounded tiles, three across at every size. */
.postcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.postcards__item { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 14px; background: var(--bg-raised); }
.postcards__item picture { display: block; width: 100%; height: 100%; }
.postcards__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.postcards__item:hover img { transform: scale(1.03); }
@media (min-width: 900px) { .postcards { gap: 14px; } .postcards__item { border-radius: 16px; } }

/* Travel highlights: a horizontal strip that snaps. */
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip__item { flex: 0 0 72%; scroll-snap-align: start; margin: 0; }
.strip__item picture, .strip__item .strip__ph { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-raised); }
.strip__item img { width: 100%; height: 100%; object-fit: cover; }
.strip__title { font-family: var(--font-serif); font-size: 1.5rem; margin-top: 14px; }
.strip__meta { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
@media (min-width: 640px) { .strip__item { flex-basis: 38%; } }
@media (min-width: 1100px) { .strip__item { flex-basis: 23.5%; } }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 48px 24px; } }
.product-grid--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .product-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.product-card { display: block; color: var(--ink); text-decoration: none; }
.product-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-raised); margin-bottom: 14px; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
/* A product without a photograph yet: a quiet monogram instead of an empty box. */
.product-card__media:not(:has(img, picture))::after {
  content: "TSB"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: .32em; color: var(--gold); opacity: .55;
  background: radial-gradient(120% 90% at 50% 15%, rgba(80, 140, 164, .22), transparent 60%), linear-gradient(160deg, rgba(217, 188, 139, .08), transparent 55%);
}
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__label { position: absolute; left: 10px; top: 10px; padding: 4px 9px; background: var(--pearl); color: var(--midnight); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.product-card__name { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.2; }
.product-card__price { font-size: .9375rem; color: var(--ink-soft); margin-top: 4px; }
/* Homepage shop band: rounded square cards; two across on phones, the row filled on wide screens. */
.home .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; max-width: 880px; margin: 0 auto 26px; text-align: left; }
@media (min-width: 700px) { .home .product-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 420px)); justify-content: center; } }
.home .product-card__media { aspect-ratio: 1 / 1; border-radius: 16px; margin-bottom: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 35, 51, .06); }
.home .product-card__name { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 500; line-height: 1.3; }
.home .product-card__price { margin-top: 2px; }
.home .strip { text-align: left; }
.home .strip__item picture, .home .strip__item .strip__ph { border-radius: 14px; }
.home form.stack { text-align: left; }
.price-estimate { font-size: .8125rem; color: var(--ink-faint); }
.price-was { text-decoration: line-through; color: var(--ink-faint); margin-right: 8px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field > label, .label { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
:lang(th) .field > label, :lang(ja) .field > label, :lang(ko) .field > label, :lang(zh-Hant) .field > label { letter-spacing: .02em; font-size: .875rem; text-transform: none; }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  background: transparent;
  color: var(--ink);
  border: var(--rule) solid var(--line);
  border-radius: 0;
  font-size: 1rem;
  appearance: none;
}
.textarea { min-height: 130px; resize: vertical; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23999' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 1px var(--ocean); }
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9375rem; color: var(--ink-soft); margin-bottom: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ocean); }
.field-error, .validation-summary-errors, .field-validation-error { color: #e2866f; font-size: .875rem; }
.surface-pearl .field-error, .surface-pearl .field-validation-error, .surface-pearl .validation-summary-errors, [data-theme="pearl"] .field-validation-error { color: #a8402a; }
.validation-summary-errors ul { margin: 0 0 16px; padding-left: 1.1em; }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.notice { padding: 16px 18px; border: var(--rule) solid var(--line); border-left: 3px solid var(--accent); margin-bottom: 24px; font-size: .9375rem; }
.notice--ok { border-left-color: #6fae8d; }
.notice--warn { border-left-color: #d9a441; }
.notice--error { border-left-color: #d0664d; }
.inline-form { display: grid; gap: 12px; }
@media (min-width: 640px) { .inline-form { grid-template-columns: 1fr auto; } }

/* Narrow single-purpose pages (sign in, confirmations, interstitials). */
.page { padding-block: calc(var(--header-h) + clamp(32px, 6vw, 72px)) clamp(64px, 9vw, 120px); min-height: 72vh; }
.panel { max-width: 480px; margin-inline: auto; }
.panel--wide { max-width: 720px; }
.panel h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 300; margin-bottom: 12px; }
.panel .lede { margin-bottom: 30px; }
.divider { display: flex; align-items: center; gap: 16px; margin: 26px 0; color: var(--ink-faint); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.divider::before, .divider::after { content: ""; flex: 1; height: var(--rule); background: var(--line); }

/* Account area */
.account { display: grid; gap: 36px; }
@media (min-width: 900px) { .account { grid-template-columns: 220px 1fr; gap: 64px; } }
.account-nav { display: flex; gap: 4px 22px; overflow-x: auto; border-bottom: var(--rule) solid var(--line); scrollbar-width: none; }
.account-nav a { flex: none; padding: 12px 0; color: var(--ink-soft); text-decoration: none; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.account-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
@media (min-width: 900px) { .account-nav { flex-direction: column; border-bottom: 0; border-left: var(--rule) solid var(--line); gap: 0; } .account-nav a { padding: 10px 18px; border-bottom: 0; border-left: 2px solid transparent; margin: 0 0 0 -1px; } .account-nav a[aria-current="page"] { border-left-color: var(--accent); } }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th { text-align: left; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); padding: 12px 12px 12px 0; border-bottom: var(--rule) solid var(--line); }
.table td { padding: 16px 12px 16px 0; border-bottom: var(--rule) solid var(--line); vertical-align: top; }
.tag { display: inline-block; padding: 3px 9px; border: var(--rule) solid var(--line); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0; }
.dl dt { color: var(--ink-faint); font-size: .875rem; }
.dl dd { margin: 0; }
.stack { display: grid; gap: 16px; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.spread { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(247, 243, 235, .72); padding-block: clamp(56px, 8vw, 96px) 32px; font-size: .9375rem; border-top: var(--rule) solid rgba(216, 197, 174, .18); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 5fr 3fr 3fr 3fr; } }
.site-footer h2 { font-family: var(--font-sans); font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__brand .wordmark { font-size: 1.6rem; color: var(--pearl); }
.site-footer__slogan { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--gold); margin: 10px 0 18px; }
.social-icons { display: flex; flex-wrap: wrap; gap: 6px; margin-left: -10px; }
.social-icons a { display: grid; place-items: center; width: 44px; height: 44px; }
.social-icons svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer__legal { margin-top: 48px; padding-top: 24px; border-top: var(--rule) solid rgba(216, 197, 174, .18); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .8125rem; color: rgba(247, 243, 235, .5); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.leaving { display: grid; gap: 6px; padding: 18px 20px; border: var(--rule) solid var(--line); margin: 24px 0; word-break: break-all; }
.leaving__host { font-family: var(--font-serif); font-size: 1.6rem; }

/* "Sorry, not available here": a friendly dead end that points to the channels that are open. */
.sorry { text-align: center; }
.sorry__icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px;
  border: 1px solid rgba(217, 188, 139, .55); border-radius: 50%; color: var(--gold);
}
.sorry__icon svg { width: 28px; height: 28px; }
.sorry h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); text-wrap: balance; }
.sorry .lede { color: var(--ink-soft); text-wrap: pretty; }
.sorry__follow { margin: 0 0 12px; font-size: .9375rem; color: var(--ink-faint); }
.sorry .link-list { margin-bottom: 28px; }
.sorry__home { margin-top: 4px; }

/* Inline icons default to text size wherever no component rule sizes them (zero specificity). */
:where(svg[viewBox="0 0 24 24"]) { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }

/* ---------- Installed app: safe areas and the member shell ---------- */
/* In the installed app the page runs under the status bar (notch, Dynamic Island): the header grows by it. */
@media (display-mode: standalone) {
  :root { --header-h: calc(64px + env(safe-area-inset-top)); }
  .site-header { padding-top: env(safe-area-inset-top); }
  .menu-panel__inner { padding-top: calc(18px + env(safe-area-inset-top)); }
}
@media (display-mode: standalone) and (min-width: 768px) {
  :root { --header-h: calc(76px + env(safe-area-inset-top)); }
}

/* Bottom tab bar: signed-in members on phones and tablets, and everyone inside the installed app. */
:root { --tabbar-h: 62px; }
.app-tabbar {
  position: fixed; inset: auto 0 0 0; z-index: 60; display: none;
  grid-template-columns: repeat(var(--tabs, 5), minmax(0, 1fr));
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding: 0 max(4px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4px, env(safe-area-inset-left));
  background: rgba(9, 23, 34, .96); border-top: 1px solid rgba(216, 197, 174, .18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.app-tabbar a {
  position: relative; display: grid; place-items: center; align-content: center; gap: 3px; min-width: 0;
  color: rgba(247, 243, 235, .6); text-decoration: none; font-size: .6875rem; font-weight: 450; letter-spacing: .03em;
  -webkit-tap-highlight-color: transparent;
}
.app-tabbar a span:not(.app-tabbar__badge) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-tabbar svg { width: 24px; height: 24px; stroke-width: 1.5; }
.app-tabbar a[aria-current="page"] { color: var(--gold); }
.app-tabbar__badge {
  position: absolute; top: 7px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 600; line-height: 17px; text-align: center;
}
@media (max-width: 899px) {
  body[data-shell="member"] { --pwa-tabbar: var(--tabbar-h); padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  body[data-shell="member"] .app-tabbar { display: grid; }
  body[data-shell="member"] .lang-suggest { bottom: calc(12px + var(--tabbar-h) + env(safe-area-inset-bottom)); }
}
@media (display-mode: standalone) and (max-width: 899px) {
  body { --pwa-tabbar: var(--tabbar-h); padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .app-tabbar { display: grid; }
  .lang-suggest { bottom: calc(12px + var(--tabbar-h) + env(safe-area-inset-bottom)); }
}

/* Staff previewing the member app: a reminder that stays in view. */
.app-preview { position: fixed; left: 0; right: 0; z-index: 61; bottom: calc(var(--pwa-tabbar, 0px) + env(safe-area-inset-bottom)); padding-block: 8px; }

/* ---------- App home ("Explore") ---------- */
.app-home { padding-bottom: 28px; }
.app-home__head { padding: 22px var(--gutter) 16px; }
.app-home__head .eyebrow { margin-bottom: 6px; }
.app-home__title { font-family: var(--font-serif); font-size: clamp(2.4rem, 9vw, 3.4rem); font-weight: 300; }
.app-home__hero { margin: 0 var(--gutter); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; background: var(--bg-raised); }
.app-home__hero picture, .app-home__hero img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .app-home__hero { aspect-ratio: 16 / 8; } }
.app-home__cta { padding: 18px var(--gutter) 0; }
.app-home__cta-icon { display: inline-grid; }
.app-home__cta-icon svg { width: 22px; height: 22px; fill: currentColor; }
.app-section { padding: 28px var(--gutter) 4px; }
.app-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.app-h2 { font-family: var(--font-sans); font-size: 1.25rem; font-weight: 500; line-height: 1.3; margin-bottom: 14px; }
:lang(th) .app-h2 { line-height: 1.5; }
.app-more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: .875rem; text-decoration: none; }
.app-more:hover { text-decoration: underline; }
.app-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .app-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.app-tile {
  display: grid; place-items: center; align-content: center; gap: 8px; min-height: 88px; padding: 14px;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(247, 243, 235, .05);
  color: var(--ink); text-decoration: none; font-size: .9375rem; text-align: center;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.app-tile svg { width: 26px; height: 26px; color: var(--gold); stroke-width: 1.4; }
.app-tile:hover { border-color: var(--gold); }
.app-tile:active { transform: scale(.98); }
.app-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
.app-strip::-webkit-scrollbar { display: none; }
.app-strip__item { position: relative; flex: 0 0 62%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; scroll-snap-align: start; background: var(--bg-raised); color: var(--pearl); text-decoration: none; }
@media (min-width: 700px) { .app-strip__item { flex-basis: 30%; } }
.app-strip__item picture, .app-strip__item img { width: 100%; height: 100%; object-fit: cover; }
.app-strip__name { position: absolute; inset: auto 0 0 0; padding: 48px 14px 14px; background: linear-gradient(transparent, rgba(9, 23, 34, .88)); font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.15; }
.app-home .postcards__item { display: block; }
.app-home .link-list { text-align: left; }
.app-section.home-section--pearl { margin-top: 24px; padding-bottom: 30px; }
.app-section.home-section--pearl .app-more { color: #8a6f43; }
.app-home .home-section--pearl .product-grid { margin-bottom: 0; }
.app-join { padding: 24px 18px; border: 1px solid var(--line); border-radius: 18px; text-align: center; }
.app-join .home-lede { margin-top: 0; }

/* ---------- Gallery ---------- */
.app-page__head { display: grid; justify-items: start; gap: 10px; margin-bottom: 26px; }
.app-page__head .lede { margin: 0; }
.app-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-bottom: 6px; color: var(--ink-soft); font-size: .875rem; text-decoration: none; }
.collection-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px 18px; }
@media (min-width: 700px) { .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.collection-card { display: grid; gap: 10px; color: var(--ink); text-decoration: none; }
.collection-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: var(--bg-raised); }
.collection-card__media picture, .collection-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collection-card:hover .collection-card__media img { transform: scale(1.03); }
.collection-card__text { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.collection-card__name { font-family: var(--font-serif); font-size: 1.65rem; line-height: 1.15; }
.collection-card__count { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-faint); font-size: .875rem; white-space: nowrap; }
.collection-card__description { color: var(--ink-soft); font-size: .9375rem; }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 700px) { .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 1100px) { .gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery__grid li { scroll-margin-top: calc(var(--header-h) + 12px); }
.gallery__tile { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: var(--bg-raised); cursor: zoom-in; }
.gallery__tile picture, .gallery__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__tile:hover img { transform: scale(1.03); }
.gallery__badge, .gallery__saved { position: absolute; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(9, 23, 34, .6); color: var(--pearl); }
.gallery__badge { left: 8px; bottom: 8px; }
.gallery__saved { right: 8px; top: 8px; color: var(--gold); }
.gallery__badge svg, .gallery__saved svg { width: 16px; height: 16px; }
.gallery__saved svg { fill: currentColor; }

/* Full-screen viewer */
.viewer { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; background: #05101a; color: var(--pearl); }
.viewer::backdrop { background: #05101a; }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.viewer__bar { display: flex; justify-content: space-between; align-items: center; padding: calc(4px + env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) 4px max(18px, env(safe-area-inset-left)); }
.viewer__count { font-size: .875rem; color: rgba(247, 243, 235, .7); font-variant-numeric: tabular-nums; }
.viewer__actions { display: flex; gap: 2px; }
.viewer__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; }
.viewer__btn svg { width: 24px; height: 24px; }
.viewer__btn[aria-pressed="true"] { color: var(--gold); }
.viewer__btn[aria-pressed="true"] svg { fill: currentColor; }
.viewer__stage { display: grid; place-items: center; min-height: 0; padding-bottom: env(safe-area-inset-bottom); touch-action: pinch-zoom; user-select: none; -webkit-user-select: none; }
.viewer__stage picture { display: contents; }
.viewer__stage img, .viewer__stage video { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 72px; border: 0; background: rgba(9, 23, 34, .4); color: var(--pearl); cursor: pointer; transform: translateY(-50%); }
.viewer__nav svg { width: 28px; height: 28px; }
.viewer__nav--prev { left: 0; border-radius: 0 12px 12px 0; }
.viewer__nav--next { right: 0; border-radius: 12px 0 0 12px; }
@media (hover: none) and (pointer: coarse) { .viewer__nav { display: none; } }
.viewer__note { position: absolute; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); margin: 0; padding: 10px 14px; border-radius: 10px; background: #102333; text-align: center; }

/* Profile: the account overview as an app screen. */
.account .pwa-push { max-width: 640px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Gallery: 18+ items. Locked ones are a quiet tile that leads to the age confirmation (no image at all). */
.gallery__tile--locked {
  display: grid; place-items: center; align-content: center; gap: 6px; padding: 12px; text-align: center; text-decoration: none; cursor: pointer;
  background: radial-gradient(120% 90% at 50% 20%, rgba(80, 140, 164, .22), transparent 60%), linear-gradient(160deg, #17303f, var(--midnight));
  border: 1px solid rgba(217, 188, 139, .3); color: var(--pearl);
}
.gallery__locked-mark { font-family: var(--font-serif); font-size: 2rem; line-height: 1; color: var(--gold); letter-spacing: .04em; }
.gallery__locked-text { font-size: .8125rem; color: rgba(247, 243, 235, .78); }
.gallery__tile--locked:hover { border-color: var(--gold); }
.gallery__adult { position: absolute; left: 8px; top: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(9, 23, 34, .7); color: var(--gold); font-size: .6875rem; font-weight: 600; letter-spacing: .04em; }

/* 18+ gallery items the visitor has not confirmed their age for: a placeholder with no image data. */
.media-locked {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px;
  background: radial-gradient(120% 90% at 50% 40%, rgba(217, 188, 139, .16), rgba(9, 23, 34, .92)), var(--navy, #0a1622);
  border: 1px solid rgba(217, 188, 139, .35); border-radius: inherit; color: var(--gold);
}
.media-locked__mark {
  display: inline-grid; place-items: center; min-width: 52px; height: 52px; padding: 0 10px;
  border: 1px solid currentColor; border-radius: 26px; font-weight: 600; letter-spacing: .04em;
}
.adult-mark { font-weight: 600; font-size: 1.05rem; letter-spacing: .04em; }
.adult-form { text-align: left; }
