.g-shell {
  --g-bg: #fcfaf7;
  --g-panel: #fffdf9;
  --g-line: #ddd6cd;
  --g-ink: #302a24;
  --g-muted: #6f665e;
  --g-accent: #855a43;
  --g-serif: 'Studio Serif', Georgia, serif;
  --g-sans: 'Studio Sans', Arial, sans-serif;
  --g-inset: clamp(24px, 6.25vw, 128px);
  min-height: 100svh;
  width: 100%;
  background: var(--g-bg);
  color: var(--g-ink);
  font: 400 15px/1.5 var(--g-sans);
  text-align: start;
}
.g-theme-cream {
  --g-bg: #f4ecdf; --g-panel: #fcf6ed; --g-line: #d5c9b8;
  --g-ink: #372e24; --g-muted: #6b5e50; --g-accent: #7d513d;
}
.g-theme-moody {
  --g-bg: #262523; --g-panel: #302e2b; --g-line: #504c46;
  --g-ink: #faf3eb; --g-muted: #c5bdb2; --g-accent: #d8ab90;
}
.g-shell *, .g-shell *::before, .g-shell *::after { box-sizing: border-box; }
html:has(.g-dialog[open]) { overflow: hidden; }
.g-shell h1, .g-shell h2, .g-shell p, .g-shell figure { margin: 0; }
.g-shell :where(button, a, input, textarea) { font: inherit; }
.g-shell button, .g-shell a, .g-shell input, .g-shell textarea { -webkit-tap-highlight-color: transparent; }
.g-shell button { cursor: pointer; }
.g-shell a { color: inherit; text-decoration: none; }
.g-shell button:disabled { cursor: wait; opacity: .65; }
.g-shell [hidden] { display: none !important; }
.g-shell :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.g-shell img { max-width: 100%; }
.g-shell .g-header {
  min-height: 82px;
  position: relative;
  padding: 14px var(--g-inset);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: var(--g-bg);
  border-bottom: 1px solid var(--g-line);
}
.g-brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.g-brand > span, .g-credit span, .brand .brand-text { overflow-wrap: anywhere; }
.studio-brand-mark { display: inline-grid; flex: none; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--studio-brand-color); color: var(--studio-brand-ink); box-shadow: inset 0 0 0 1px currentColor; font: 550 18px/1 var(--sans); }
.studio-shell .btn.primary, .g-shell .g-book { color: var(--studio-brand-ink); background: var(--studio-brand-color); }
.g-shell .g-book { padding: 10px 14px; border: 1px solid var(--g-line); border-radius: 5px; }
.g-shell .g-book:hover { text-decoration: underline; text-underline-offset: 3px; }
.favorite-download { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; margin-block: 12px; }
.favorite-download small { color: var(--muted); }
.favorite-download .download-icon { display: inline-flex; width: 16px; height: 16px; border: 0; }
.favorite-download button:disabled { opacity: .6; cursor: default; }
.studio-brand-logo { flex: none; object-fit: contain; }
.g-brand img, .g-credit img { object-fit: contain; width: 45px; height: 45px; display: block; }
.g-theme-moody .g-brand img, .g-theme-moody .g-credit img { background: #faf6ee; border-radius: 50%; padding: 3px; }
.g-brand > span { font: 400 24px/.98 var(--g-serif); letter-spacing: -.035em; }
.g-brand small { display: block; color: var(--g-muted); margin-top: 5px; text-transform: uppercase; font: 500 8px/1.2 var(--g-sans); letter-spacing: .23em; }
.g-preview-controls, .g-preview-label { display: inline-flex; align-items: center; }
.g-preview-controls { gap: 22px; flex-shrink: 0; }
.g-preview-label { gap: 6px; font-size: 12px; color: var(--g-muted); }
.g-button, .g-filter, .g-icon-button {
  border: 1px solid var(--g-line);
  background: transparent;
  color: var(--g-ink);
  font: 500 13px/1.2 var(--g-sans);
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.g-button { padding: 11px 16px; min-height: 43px; border-radius: 7px; }
.g-button:hover, .g-filter:hover { background: var(--g-panel); border-color: var(--g-muted); }
.g-filled, .g-filter[aria-pressed="true"] { background: var(--g-ink); color: var(--g-bg); border-color: var(--g-ink); }
.g-filled:hover, .g-filter[aria-pressed="true"]:hover { background: var(--g-ink); filter: brightness(1.08); }
.g-icon-button { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; }
.g-icon-button:hover { border-color: currentColor; }
.g-shell .g-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: clamp(48px, 7vw, 115px) var(--g-inset);
  min-height: clamp(430px, 66svh, 790px);
  overflow: hidden;
  color: #fffaf2;
  background: #534738;
}
.g-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 41%; z-index: -2; }
.g-hero::after {
  content: '';
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25,18,14,.56), rgba(25,18,14,.10) 71%), linear-gradient(0deg, rgba(25,18,14,.66), rgba(25,18,14,.04) 72%);
}
.g-hero-empty { background: linear-gradient(115deg, #5c4837, #98765c); }
.g-hero-content { width: min(83%, 840px); overflow-wrap: anywhere; text-shadow: 0 2px 16px #251b1333; }
.g-hero-type { text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: .21em; line-height: 1.45; }
.g-hero-type::before { content: ''; display: inline-block; vertical-align: middle; width: 32px; height: 1px; margin-right: 11px; background: currentColor; }
.g-hero .g-hero-content h1 { color: inherit; margin: 16px 0 15px; font: 400 clamp(54px, 7.4vw, 112px)/.99 var(--g-serif); letter-spacing: -.045em; text-wrap: balance; }
.g-hero .g-hero-content p { max-width: 595px; margin-top: 10px; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; white-space: pre-line; }
.g-scroll {
  position: absolute;
  right: var(--g-inset);
  bottom: clamp(48px, 7vw, 115px);
  border: 1px solid #fff9;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .18s;
}
.g-scroll:hover { background: #ffffff22; }
.g-collection { padding: clamp(48px, 6vw, 94px) var(--g-inset) clamp(65px, 8vw, 120px); max-width: 1920px; margin-inline: auto; }
.g-activities { padding: clamp(36px, 5vw, 72px) var(--g-inset) 0; max-width: 1920px; margin-inline: auto; }
.g-activity-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.g-activity-heading h2 { color: var(--g-ink); font: 400 clamp(34px, 3.8vw, 58px)/1.08 var(--g-serif); letter-spacing: -.035em; }
.g-activity-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0; }
.g-activity-tabs:empty { display: none; }
.g-shell .g-activity-message:not(:empty) { margin-top: 10px; color: var(--g-muted); font-size: 13px; }
.g-activity-work { background: #f8f6f1; color: #332d27; border: 1px solid var(--g-line); padding: clamp(16px, 3vw, 40px); }
.g-activity-work .g-activity-audience { color: #665e54; font: 500 13px/1.5 var(--g-sans); margin: 0 0 12px; }
.g-collection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.g-collection-heading h2 { font: 400 clamp(40px, 4.3vw, 68px)/1.08 var(--g-serif); letter-spacing: -.04em; color: var(--g-ink); }
.g-result-count { font-size: 13px; color: var(--g-muted); }
.g-filters { display: flex; gap: 9px; flex-wrap: wrap; margin: 21px 0 31px; }
.g-filter { padding: 9px 16px; min-height: 42px; border-radius: 50px; }
.g-filter[aria-pressed="true"] svg { fill: currentColor; }
.g-grid { display: grid; }
.g-photo { width: 100%; min-width: 0; }
.g-photo > button {
  display: block;
  border: 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0;
  color: #fff;
  background: var(--g-panel);
}
.g-photo img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.g-photo > button:focus-visible { z-index: 1; }
.g-photo figcaption { margin-top: 10px; font: 400 17px/1.4 var(--g-serif); color: var(--g-ink); white-space: pre-line; overflow-wrap: anywhere; }
.g-favorite { display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 29px; height: 29px; border-radius: 50%; background: #332b24aa; color: white; }
.g-favorite svg { fill: rgba(255, 255, 255, .78); }
.g-layout-editorial { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.3vw, 35px); }
.g-layout-editorial .g-photo > button { border: clamp(5px, .6vw, 9px) solid #fff; box-shadow: 0 1px 5px #18200f0c; }
.g-layout-editorial .g-photo img { aspect-ratio: 4 / 4.65; object-fit: cover; }
.g-layout-masonry { display: block; column-count: 3; column-gap: clamp(12px, 1.6vw, 26px); }
.g-layout-masonry .g-photo { display: inline-block; break-inside: avoid; vertical-align: top; margin-bottom: clamp(18px, 1.85vw, 29px); }
.g-layout-story { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 54px); max-width: 1350px; margin: 0 auto; }
.g-layout-story .g-photo:nth-child(3n + 1) { grid-column: 1 / -1; }
.g-layout-story .g-photo img { aspect-ratio: 4 / 4.65; object-fit: cover; }
.g-layout-story .g-photo:nth-child(3n + 1) img { aspect-ratio: 1.95; }
.g-shell .g-empty { grid-column: 1/-1; column-span: all; border-block: 1px solid var(--g-line); padding: 45px 0; font: 400 24px/1.35 var(--g-serif); }
.g-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 32px var(--g-inset); border-top: 1px solid var(--g-line); }
.g-credit { display: flex; align-items: center; gap: 13px; }
.g-credit small { display: block; color: var(--g-muted); font-size: 11px; }
.g-credit span { font: 400 21px/1.35 var(--g-serif); }
.g-book { border-bottom: 1px solid var(--g-line); padding-block: 11px 8px; font-size: 13px; display: inline-flex; gap: 7px; align-items: center; }
.g-book:hover { border-color: currentColor; }
.g-dialog { padding: 0; color: var(--g-ink); border: 0; font: 400 15px/1.5 var(--g-sans); background: var(--g-bg); }
.g-dialog::backdrop { background: #17120fe6; }
.g-dialog.g-lightbox[open] {
  --g-bg: #24211e; --g-panel: #35312c; --g-line: #676058; --g-ink: #fff9f0;
  position: fixed;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  max-height: 100dvh;
  width: 100vw;
  height: 100dvh;
  overflow-y: auto;
  background: var(--g-bg);
  color: var(--g-ink);
  border-radius: 0;
  padding: max(10px, env(safe-area-inset-top)) clamp(12px, 3.2vw, 64px) max(16px, env(safe-area-inset-bottom));
}
.g-lb-bar { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: center; gap: 15px; min-height: 62px; padding-bottom: 6px; }
.g-lb-heading { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.g-lb-heading span { font: 400 24px/1.2 var(--g-serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-lb-count { white-space: nowrap; color: #cdc4b9; font-size: 12px; }
.g-lb-stage { display: flex; position: relative; align-items: center; justify-content: center; flex: 1 1 200px; min-height: 70px; gap: clamp(8px, 2.5vw, 48px); overflow: hidden; }
.g-lb-stage .g-lb-img { height: 100%; min-width: 0; width: 100%; object-fit: contain; align-self: stretch; touch-action: pan-y pinch-zoom; }
.g-lb-foot { flex-shrink: 0; max-height: 29svh; overflow: auto; min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0 0; }
.g-lb-story { flex: 1; text-align: center; font: 400 clamp(19px, 1.7vw, 27px)/1.3 var(--g-serif); overflow-wrap: anywhere; white-space: pre-line; }
.g-save { flex-shrink: 0; font-size: 14px; }
.g-download-code { margin: 10px 0 0 auto; width: min(100%, 405px); }
.g-download-code label, .g-gate label { display: block; margin-bottom: 6px; font-size: 13px; }
.g-download-code > div, .g-enquiry-actions { display: flex; align-items: center; gap: 9px; }
.g-download-code input, .g-gate input, .g-enquiry textarea {
  border: 1px solid var(--g-line); background: var(--g-panel); color: var(--g-ink); border-radius: 6px; min-height: 44px; padding: 10px 12px; font: 400 16px/1.4 var(--g-sans); min-width: 0;
}
.g-download-code input { flex: 1; width: 100px; }
.g-download-code .g-button { flex: 0 0 auto; }
.g-shell .g-lb-status { text-align: right; color: #e6d9c9; font-size: 13px; }
.g-lb-status:not(:empty) { padding-top: 9px; }
.g-enquiry { width: min(425px, calc(100vw - 30px)); padding: 32px; margin: auto; border-radius: 12px; box-shadow: 0 12px 80px #1a100f33; position: fixed; }
.g-enquiry .g-enquiry-close { position: absolute; right: 14px; top: 14px; border: 0; }
.g-enquiry .g-brand img { width: 34px; height: 34px; }
.g-enquiry .g-brand > span { font-size: 20px; }
.g-enquiry h2 { font: 400 35px/1.08 var(--g-serif); letter-spacing: -.04em; margin: 30px 0 12px; }
.g-enquiry p { margin: 0 0 16px; color: var(--g-muted); font-size: 14px; }
.g-enquiry textarea { display: block; width: 100%; resize: vertical; }
.g-enquiry-actions { margin-top: 16px; }
.g-enquiry-actions [aria-live] { color: var(--g-muted); font-size: 12px; }
.g-gate-page { display: flex; flex-direction: column; }
.g-gate-wrap { flex: 1; display: grid; place-items: center; padding: 50px 20px; }
.g-gate { background: var(--g-panel); border: 1px solid var(--g-line); border-radius: 10px; width: min(100%, 460px); padding: clamp(28px, 4.6vw, 57px); }
.g-gate-lock { display: grid; place-items: center; width: 47px; height: 47px; border: 1px solid var(--g-line); border-radius: 50%; color: var(--g-accent); }
.g-gate h1 { margin: 22px 0 13px; font: 400 clamp(40px, 4.8vw, 57px)/1.02 var(--g-serif); letter-spacing: -.04em; overflow-wrap: anywhere; }
.g-gate p { color: var(--g-muted); }
.g-gate form { margin-top: 23px; }
.g-gate input, .g-gate .g-button { width: 100%; }
.g-gate .g-gate-error { color: #8e452f; font-size: 13px; }
.g-gate-error:not(:empty) { margin-top: 8px; }
.g-gate .g-button { margin-top: 16px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .g-photo > button:hover img { transform: scale(1.025); }
}
@media (max-width: 800px) {
  .g-shell { --g-inset: clamp(20px, 4.5vw, 36px); }
  .g-shell .g-header { min-height: 70px; }
  .g-preview-label { display: none; }
  .g-layout-editorial { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-layout-masonry { column-count: 2; }
}
@media (max-width: 560px) {
  .g-shell .g-header { min-height: 67px; padding-block: 10px; gap: 9px; }
  .g-brand { gap: 8px; }
  .g-brand img { width: 36px; height: 36px; }
  .g-brand > span { font-size: 20px; }
  .g-brand small { font-size: 7px; }
  .g-back { font-size: 11px; gap: 4px; padding-inline: 9px; min-height: 41px; }
  .g-shell .g-hero { min-height: clamp(390px, 67svh, 670px); padding: 42px var(--g-inset) 35px; }
  .g-cover { object-position: 49% 41%; }
  .g-hero::after { background: linear-gradient(0deg, #1d1813d6, #251e1744 56%, #251e1708 90%); }
  .g-hero-content { width: 100%; padding-right: 14px; }
  .g-hero .g-hero-content h1 { font-size: clamp(49px, 13vw, 65px); margin: 14px 0 12px; }
  .g-hero .g-hero-content p { width: 91%; max-width: 450px; font-size: 14px; }
  .g-hero-type { font-size: 10px; }
  .g-scroll { bottom: 24px; right: 13px; width: 38px; height: 38px; }
  .g-scroll svg { width: 17px; }
  .g-collection { padding-block: 42px 58px; }
  .g-filters { gap: 6px; margin: 17px 0 23px; }
  .g-filter { padding: 9px 12px; font-size: 12px; min-height: 40px; }
  .g-filter svg { width: 13px; }
  .g-layout-editorial, .g-layout-story { gap: 18px 10px; }
  .g-photo figcaption { font-size: 14px; margin-top: 6px; }
  .g-favorite { top: 6px; right: 6px; width: 23px; height: 23px; }
  .g-favorite svg { width: 12px; height: 12px; }
  .g-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 24px; }
  .g-credit img { width: 38px; height: 38px; }
  .g-lb-heading { flex-direction: column; gap: 3px; }
  .g-lb-heading span { max-width: 76vw; font-size: 21px; }
  .g-lb-stage { align-items: stretch; }
  .g-lb-stage .g-icon-button { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; background: #27221dcc; width: 44px; height: 44px; }
  .g-lb-stage .g-lb-prev { left: 2px; }
  .g-lb-stage .g-lb-next { right: 2px; }
  .g-lb-foot { align-items: center; flex-direction: column; gap: 8px; min-height: 24px; }
  .g-lb-story:empty { display: none; }
  .g-lb-story { min-height: 0; overflow-y: auto; }
  .g-download-code { width: 100%; }
}
@media (max-width: 355px) {
  .g-shell { --g-inset: 14px; }
  .g-filter { font-size: 11px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .g-shell *, .g-shell *::before, .g-shell *::after { scroll-behavior: auto; transition-duration: 0s !important; }
}
