/* BABILAM — site styles
   Brand colors from the BABILAM brand book (Księga znaku):
   navy #1B2046 · white · gold gradient #B37221 → #F3E4D0 */

:root {
  --navy: #1B2046;
  --navy-deep: #12152F;
  --navy-soft: #2A2F5C;
  --gold: #B37221;
  --gold-mid: #D6A563;
  --gold-light: #F3E4D0;
  --gold-ink: #8A5719;          /* gold for small text on light backgrounds (AA) */
  --gold-grad: linear-gradient(120deg, #F3E4D0 0%, #D6A563 45%, #B37221 100%);
  --ivory: #F8F5F0;
  --paper: #FFFFFF;
  --stone: #E9E9EB;             /* matches the studio-grey of the product photos */
  --ink: #1B2046;
  --ink-soft: #4A4E6E;
  --muted: #6E7189;
  --line: #DCD9D2;
  --line-dark: rgba(243, 228, 208, 0.18);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 10vw, 140px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-light); color: var(--navy); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.005em; color: inherit; }
h1 { font-size: clamp(44px, 6.4vw, 96px); font-weight: 400; }
h2 { font-size: clamp(34px, 4.4vw, 62px); font-weight: 400; }
h3 { font-size: clamp(24px, 2.2vw, 32px); }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1.1em; }
.lede { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 27px); line-height: 1.5; color: var(--ink); font-weight: 400; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold-light); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 34px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--navy); background: var(--navy); color: #fff;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: #9A611B; border-color: #9A611B; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.on-dark .btn--ghost { color: var(--gold-light); border-color: rgba(243,228,208,.55); }
.on-dark .btn--ghost:hover { background: var(--gold-light); color: var(--navy); border-color: var(--gold-light); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy); padding-bottom: 6px; border-bottom: 1px solid var(--gold);
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow:hover { gap: 18px; color: var(--gold-ink); }
.on-dark .link-arrow { color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 16px; color: var(--navy); }
.brand .mark { width: 38px; height: auto; }
.brand .word { width: 148px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a {
  position: relative; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--navy);
  padding: 8px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { min-height: 42px; padding: 0 22px; color: #fff; }
.nav .btn::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; margin-right: -10px; }
.nav-toggle span { display: block; height: 1px; background: var(--navy); margin: 7px 0; transition: transform .3s var(--ease), opacity .3s; }

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .brand .mark { width: 32px; }
  .brand .word { width: 124px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 24px var(--gutter) 40px; background: var(--paper);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .nav a { font-family: var(--serif); font-size: 32px; letter-spacing: 0; text-transform: none; font-weight: 400; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 28px; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; min-height: 54px; width: 100%; border-bottom: 0; }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--ivory { background: var(--ivory); }
.section--stone { background: var(--stone); }
.on-dark { background: var(--navy); color: #EDEBF2; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .muted { color: rgba(237,235,242,.7); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.section-head h2 { max-width: 15ch; }
.section-head p { max-width: 42ch; margin: 0; color: var(--muted); }
.on-dark .section-head p { color: rgba(237,235,242,.72); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: calc(100svh - var(--header-h)); background: var(--navy); }
.hero__copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 8vw, 120px) clamp(28px, 5.5vw, 96px); color: #EDEBF2; overflow: hidden; }
.hero__copy h1 { color: #fff; margin-bottom: 28px; }
.hero__copy h1 em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero__copy p { max-width: 40ch; color: rgba(237,235,242,.78); font-size: 16.5px; margin-bottom: 40px; }
.hero__ghost { position: absolute; right: -14%; bottom: -10%; width: 70%; opacity: .07; color: var(--gold-light); pointer-events: none; }
.hero__media { position: relative; background: var(--stone); overflow: hidden; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__caption { position: absolute; left: 28px; bottom: 24px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); }
.hero__caption a { border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.hero__meta { display: flex; gap: 36px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); flex-wrap: wrap; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 4 / 3.4; }
  .hero__copy { padding: 56px var(--gutter) 64px; }
  .hero__meta { gap: 20px 28px; margin-top: 40px; }
}

/* ---------- Glass strip ---------- */
.glass-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; background: var(--paper); }
.glass-chip { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); }
.glass-chip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.glass-chip:hover img { transform: scale(1.06); }
.glass-chip span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(18,21,47,.72), rgba(18,21,47,0));
  color: #fff; font-family: var(--serif); font-size: 21px; line-height: 1.2;
}
.glass-chip small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin-top: 4px; }
@media (max-width: 960px) {
  .glass-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .glass-strip::-webkit-scrollbar { display: none; }
  .glass-chip { scroll-snap-align: start; }
}

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--wide-media { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.split__media .tag { position: absolute; left: -1px; bottom: 28px; background: var(--navy); color: var(--gold-light); padding: 12px 18px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; }
.signature { display: flex; align-items: center; gap: 18px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.signature strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.1; }
.signature span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.signature .mark { width: 44px; color: var(--gold); }
@media (max-width: 860px) { .split, .split--wide-media { grid-template-columns: 1fr; } .split--reverse .split__media { order: -1; } }

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.2vw, 48px) clamp(20px, 2.6vw, 40px); }
.card { display: block; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.card__media picture { position: absolute; inset: 0; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .alt { opacity: 0; }
.card:hover .card__media .alt, .card:focus-visible .card__media .alt { opacity: 1; }
.card:hover .card__media picture { transform: scale(1.03); }
.shade-ivory .card__media .main { opacity: 0; }
.shade-ivory .card__media .alt { opacity: 1; }
.shade-ivory .card:hover .card__media .main { opacity: 1; }
.shade-ivory .card:hover .card__media .alt { opacity: 0; }
.card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 20px; }
.card__title { font-family: var(--serif); font-size: 28px; line-height: 1.15; font-weight: 500; }
.card__sub { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.card__swatch { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); margin-top: 10px; }
.card__more { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
@media (max-width: 1000px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-products { grid-template-columns: 1fr; } }

/* Shade toggle */
.shade-toggle { display: inline-flex; border: 1px solid var(--line); background: var(--paper); padding: 4px; gap: 4px; }
.shade-toggle button { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border: 0; background: transparent; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: background .25s, color .25s; }
.shade-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.shade-toggle i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.shade-toggle .s-black { background: #111; }
.shade-toggle .s-ivory { background: #F7F4EC; box-shadow: inset 0 0 0 1px #BDB8AE; }
.collection-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 0; margin-bottom: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.collection-bar p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.step { padding: 40px 32px 8px 0; border-right: 1px solid var(--line-dark); }
.step + .step { padding-left: 32px; }
.step:last-child { border-right: 0; }
.step__n { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--gold-mid); }
.step h3 { font-size: 34px; margin: 18px 0 14px; color: #fff; }
.step p { color: rgba(237,235,242,.74); font-size: 15px; }
.section--ivory .step, .section--ivory .steps { border-color: var(--line); }
.section--ivory .step h3 { color: var(--navy); }
.section--ivory .step p { color: var(--ink-soft); }
.section--ivory .step__n { color: var(--gold-ink); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step, .step + .step { padding: 32px 20px 8px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .step:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
  .section--ivory .step { border-color: var(--line); }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- Feature quote over image ---------- */
.feature { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); }
.feature picture, .feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,21,47,.86) 0%, rgba(18,21,47,.25) 45%, rgba(18,21,47,0) 70%); }
.feature .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 7vw, 100px); }
.feature blockquote { margin: 0; max-width: 18ch; font-family: var(--serif); font-size: clamp(40px, 5.6vw, 84px); line-height: 1.04; color: #fff; font-weight: 400; }
.feature blockquote em { color: var(--gold-light); }
.feature cite { display: block; margin-top: 24px; font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- Trade band ---------- */
.trade-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.trade-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.trade-points li { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.trade-points b { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--gold-light); line-height: 1; white-space: nowrap; }
@media (max-width: 860px) { .trade-band { grid-template-columns: 1fr; } }

/* ---------- Journal ---------- */
.grid-journal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px); }
.post-card { display: block; }
.post-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); margin-bottom: 22px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__cat { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.post-card h3 { font-size: 27px; margin: 10px 0 10px; transition: color .3s; }
.post-card:hover h3 { color: var(--gold-ink); }
.post-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 960px) { .grid-journal { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-journal { grid-template-columns: 1fr; } }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(64px, 9vw, 130px) 0 clamp(44px, 6vw, 80px); background: var(--ivory); }
.page-hero h1 { font-size: clamp(46px, 6vw, 88px); max-width: 16ch; }
.page-hero p.lede { max-width: 46ch; margin-top: 26px; color: var(--ink-soft); }
.page-hero--navy { background: var(--navy); color: #EDEBF2; }
.page-hero--navy h1 { color: #fff; }
.page-hero--navy p.lede { color: rgba(237,235,242,.8); }

/* ---------- Product detail ---------- */
.breadcrumbs { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 26px 0; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs span { margin: 0 10px; color: var(--line); }
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: start; padding-bottom: var(--section); }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { position: relative; aspect-ratio: 1920 / 1316; background: var(--stone); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gallery__thumbs button { padding: 0; border: 1px solid transparent; background: var(--stone); aspect-ratio: 1920 / 1316; overflow: hidden; transition: border-color .25s; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .25s; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--navy); }
.gallery__thumbs button[aria-current="true"] img, .gallery__thumbs button:hover img { opacity: 1; }
.pdp__info h1 { font-size: clamp(46px, 5vw, 72px); margin-bottom: 10px; }
.pdp__descriptor { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--ink-soft); margin-bottom: 30px; }
.pdp__price { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 32px; font-size: 13px; }
.pdp__price strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.pdp__price a { color: var(--gold-ink); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.pdp__label { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.pdp .shade-toggle { margin-bottom: 34px; }
.pdp__story p { color: var(--ink-soft); }
.specs { width: 100%; border-collapse: collapse; margin: 34px 0; font-size: 14px; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs th { width: 38%; font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-right: 16px; padding-top: 15px; }
.pdp__ctas { display: grid; gap: 12px; margin-top: 8px; }
.pdp__note { font-size: 13px; color: var(--muted); margin-top: 20px; }
.pdp__note a { color: var(--gold-ink); border-bottom: 1px solid currentColor; }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; } .gallery { position: static; } }

/* ---------- Values / benefits ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.grid-3 > * { padding: 40px 36px 40px 0; border-bottom: 1px solid var(--line); }
.grid-3 > *:not(:nth-child(3n+1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.grid-3 h3 { font-size: 28px; margin-bottom: 12px; }
.grid-3 p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.grid-3 .num { font-family: var(--serif); font-style: italic; color: var(--gold-ink); font-size: 18px; margin-bottom: 14px; display: block; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > *, .grid-3 > *:not(:nth-child(3n+1)) { padding: 32px 0; border-left: 0; }
}

.big-number { font-family: var(--serif); font-size: clamp(64px, 9vw, 140px); line-height: .9; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Long-form (journal / about) ---------- */
.prose { font-size: 17px; line-height: 1.85; color: var(--ink-soft); }
.prose h2 { font-size: clamp(30px, 3vw, 42px); color: var(--navy); margin: 2em 0 .6em; }
.prose h3 { font-size: 26px; color: var(--navy); margin: 1.8em 0 .5em; }
.prose p:first-of-type::first-letter { }
.prose blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 27px; line-height: 1.4; color: var(--navy); font-style: italic; }
.prose figure { margin: 2.4em 0; }
.prose figure img { width: 100%; background: var(--stone); }
.prose figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--gold-ink); border-bottom: 1px solid currentColor; }
.post-meta { display: flex; gap: 20px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 26px; }
.post-hero-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--stone); }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 22px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 9px; }
.field label .req { color: var(--gold-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 0;
  background: var(--paper); font: inherit; font-size: 15px; color: var(--ink); appearance: none; -webkit-appearance: none;
  transition: border-color .25s, box-shadow .25s;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,32,70,.08); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 7px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.hp { position: absolute !important; left: -9999px !important; }
.form-panel { background: var(--ivory); padding: clamp(28px, 4vw, 56px); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-list a { font-family: var(--serif); font-size: 24px; color: var(--navy); }
.contact-list a:hover { color: var(--gold-ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(237,235,242,.72); padding: clamp(64px, 8vw, 110px) 0 32px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .logo-full { width: 170px; color: #fff; margin-bottom: 28px; }
.footer-brand p { max-width: 32ch; }
.site-footer h4 { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.newsletter { display: flex; margin-top: 18px; border-bottom: 1px solid rgba(243,228,208,.4); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; font-size: 14px; padding: 12px 0; }
.newsletter input::placeholder { color: rgba(237,235,242,.5); }
.newsletter input:focus { outline: none; }
.newsletter button { background: none; border: 0; color: var(--gold-light); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; padding: 0 0 0 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 12px; color: rgba(237,235,242,.5); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 5vw, 72px); }
.rule-mark { display: flex; align-items: center; gap: 22px; color: var(--gold); justify-content: center; margin: 0 auto 34px; }
.rule-mark::before, .rule-mark::after { content: ""; width: 60px; height: 1px; background: currentColor; opacity: .6; }
.rule-mark svg { width: 34px; }
.notice { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.notice h1 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 20px; }
.notice p { max-width: 46ch; margin: 0 auto 36px; color: var(--muted); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* pictures inside fixed-ratio frames fill the frame */
.glass-chip picture, .post-card__media picture, .gallery__main picture, .gallery__thumbs picture { width: 100%; height: 100%; }
.feature img { object-position: 50% 78%; }
@media (max-width: 960px) { .hero__caption { display: none; } }
.page-hero--split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero--split picture img { width: 100%; aspect-ratio: 1920 / 1316; object-fit: cover; background: var(--stone); }
@media (max-width: 860px) { .page-hero--split .wrap { grid-template-columns: 1fr; } }
/* backdrop-filter creates a containing block that would trap the fixed mobile menu */
@media (max-width: 960px) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); } }
.about-mark { width: min(78%, 440px); justify-self: center; opacity: .95; }
@media (max-width: 860px) { .about-mark { width: 140px; justify-self: start; order: -1; } }
.post-hero-img { aspect-ratio: 16 / 9; object-position: 50% 70%; }

/* ---------- Cookie consent ---------- */
.cc { position: fixed; z-index: 90; left: 20px; right: 20px; bottom: 20px; display: none; justify-content: flex-start; pointer-events: none; }
.cc.is-open { display: flex; }
.cc__inner { pointer-events: auto; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--navy); color: #EDEBF2; padding: 28px 28px 24px; box-shadow: 0 24px 60px rgba(18,21,47,.35); border-top: 2px solid var(--gold); outline: none; }
.cc__title { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: #fff; margin: 0 0 10px; }
.cc__text { font-size: 13.5px; line-height: 1.65; color: rgba(237,235,242,.82); margin: 0 0 20px; }
.cc__text a { color: var(--gold-light); border-bottom: 1px solid currentColor; }
.cc__panel { border-top: 1px solid var(--line-dark); margin: 0 0 18px; }
.cc__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); cursor: pointer; }
.cc__row strong { display: block; font-size: 13px; font-weight: 600; color: #fff; }
.cc__row small { display: block; font-size: 12px; line-height: 1.5; color: rgba(237,235,242,.7); margin-top: 2px; }
.cc__row em { flex: none; font-style: normal; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.cc__switch { flex: none; appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 24px; background: rgba(237,235,242,.25); position: relative; cursor: pointer; transition: background .25s; margin: 0; }
.cc__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.cc__switch:checked { background: var(--gold); }
.cc__switch:checked::after { transform: translateX(18px); }
.cc__switch:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.cc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc__btn { flex: 1 1 0; min-height: 46px; padding: 0 16px; border: 1px solid var(--gold-light); background: var(--gold-light); color: var(--navy); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; transition: background .25s, color .25s; }
.cc__btn:hover { background: #fff; border-color: #fff; }
.cc__btn--link { flex: 0 0 auto; background: transparent; color: var(--gold-light); border-color: rgba(243,228,208,.45); }
.cc__btn--link:hover { background: transparent; color: #fff; border-color: #fff; }
.cc__btn[hidden], .cc__panel[hidden] { display: none; }
@media (max-width: 560px) {
  .cc { left: 0; right: 0; bottom: 0; }
  .cc__inner { max-width: none; padding: 22px var(--gutter) 20px; }
  .cc__btn { flex: 1 1 100%; }
  .cc__btn--link { order: 3; }
}
.footer-bottom .linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.footer-bottom .linklike:hover { color: #fff; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.newsletter-note { font-size: 11.5px; line-height: 1.55; color: rgba(237,235,242,.55); margin-top: 12px; }
.newsletter-note a { border-bottom: 1px solid currentColor; }
.prose ol { padding-left: 1.3em; }
.prose ol > li { margin-bottom: .7em; padding-left: .3em; }
.prose ol ul { margin-top: .6em; }
