/* Estrella Events — site styles */
:root {
  --ink: #15110e;
  --ink-2: #1f1915;
  --ink-3: #2a221d;
  --cream: #f6f0e6;
  --cream-2: #ece2d2;
  --paper: #fbf8f2;
  --text: #2b221c;
  --muted: #74675b;
  --muted-dark: #b8aa97;
  --gold: #b8955a;
  --gold-2: #d9c08c;
  --gold-deep: #8d6d38;
  --wine: #5c1520;
  --line: rgba(43, 34, 28, .14);
  --line-dark: rgba(246, 240, 230, .14);
  --paper-rgb: 251, 248, 242;
  --ink-rgb: 21, 17, 14;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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

.star { width: .8em; height: .8em; fill: var(--gold); flex: none; }
.eyebrow {
  display: flex; align-items: center; gap: .7em;
  font: 500 .72rem/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.4rem;
}
.section-dark .eyebrow { color: var(--gold-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.8em; border: 1px solid transparent; border-radius: 999px;
  font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-deep), var(--gold) 45%, var(--gold-2)); color: var(--ink); }
.btn-gold:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { border-color: rgba(246, 240, 230, .45); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.link-arrow { font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--gold-deep); }
.section-dark .link-arrow { color: var(--gold-2); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--cream);
  transition: background .4s var(--ease), box-shadow .4s, transform .4s var(--ease);
}
.site-header.is-solid, .page .site-header {
  background: rgba(21, 17, 14, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav-links a, .lang-switch a {
  position: relative; text-decoration: none; font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: rgba(246, 240, 230, .82); padding: 8px 0; transition: color .25s;
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--cream); }
.nav-links a:hover::after, .nav-links a[aria-current]::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch a { padding: 8px 6px; }
.lang-switch a + a::before { content: "/"; margin-right: 8px; color: rgba(246, 240, 230, .35); }
.lang-switch a[aria-current] { color: var(--gold-2); }
.nav-cta { padding: .85em 1.4em; }

.menu-toggle {
  display: none; align-items: center; gap: 10px; height: 44px; padding: 0 4px 0 12px; border: 0; background: none; cursor: pointer;
  font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--cream);
}
.menu-toggle .bars { position: relative; width: 22px; height: 12px; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: var(--cream); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle .bars::before { top: 2px; }
.menu-toggle .bars::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 6px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; gap: 28px;
  padding: calc(var(--header-h) + 16px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--ink); color: var(--cream); overflow-y: auto; overscroll-behavior: contain;
  animation: menu-in .35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; font: 300 clamp(1.9rem, 8vw, 2.4rem)/1.1 var(--serif); color: var(--cream); }
.mobile-menu nav a span { font: 500 .7rem/1 var(--sans); letter-spacing: .2em; color: var(--gold-2); width: 24px; }
.mobile-menu .mobile-cta { align-self: flex-start; }
.mobile-menu .contact-details { margin-top: 0; }
.menu-open .site-header { background: var(--ink); transform: none; }

@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-tools { gap: 8px; }
}
@media (max-width: 380px) { .menu-label { display: none; } }

/* ---------- section dots ---------- */
.dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 14px; }
.dots a { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; transition: background .3s, transform .3s; }
.dots a.is-active { background: var(--gold); transform: scale(1.25); }
.dots span { position: absolute; right: 22px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; font: 500 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.dots a:hover span, .dots a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 760px) { .dots { display: none; } }

/* ---------- heroes ---------- */
.section { position: relative; }
.section-dark { background: var(--ink); color: var(--cream); }
.section-light { background: var(--paper); color: var(--text); }

.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); color: var(--cream); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-video { width: 100%; height: 100%; object-fit: cover; background: var(--ink-2); }
/* Soft transitions: each hero dissolves into its own section's background at the bottom,
   and the previous section's background melts into it at the top (no hard lines).
   --self / --prev are "r, g, b"; --prev-on is 0 for the first hero. The fades use eased
   stops so there is no visible band where they end. */
.hero { --self: var(--ink-rgb); --prev: var(--ink-rgb); --prev-on: 0; --shade: .7; }
.section-light .hero { --self: var(--paper-rgb); --shade: .15; }
.section-light + .section-dark .hero { --prev: var(--paper-rgb); --prev-on: 1; }
.section-dark + .section-light .hero { --prev: var(--ink-rgb); --prev-on: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(var(--self), 1) 0%, rgba(var(--self), .92) 4%, rgba(var(--self), .74) 9%,
      rgba(var(--self), .5) 15%, rgba(var(--self), .26) 22%, rgba(var(--self), .09) 29%, rgba(var(--self), 0) 36%),
    linear-gradient(to bottom, rgba(var(--prev), var(--prev-on)) 0%, rgba(var(--prev), calc(var(--prev-on) * .88)) 4%,
      rgba(var(--prev), calc(var(--prev-on) * .62)) 9%, rgba(var(--prev), calc(var(--prev-on) * .34)) 15%,
      rgba(var(--prev), calc(var(--prev-on) * .12)) 21%, rgba(var(--prev), 0) 27%),
    radial-gradient(ellipse at center, rgba(12, 9, 7, .25) 0%, rgba(12, 9, 7, .55) 75%),
    linear-gradient(to bottom, rgba(12, 9, 7, .55) 0%, rgba(12, 9, 7, 0) 28%, rgba(12, 9, 7, 0) 55%, rgba(12, 9, 7, var(--shade)) 100%);
}

.hero-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--header-h) + 20px) var(--gutter) 90px;
}
.hero-logo { width: clamp(110px, 12vw, 164px); height: auto; margin-bottom: 1.8rem; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .45)); }
.hero-kicker { font: 500 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(246, 240, 230, .78); margin-bottom: 1.2rem; }
.hero-kicker span { color: var(--gold-2); }
.hero-title { font-size: clamp(2.5rem, 6.4vw, 5.8rem); font-weight: 300; letter-spacing: -.01em; max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-tagline { margin-top: 1.2rem; font: italic 300 clamp(1.15rem, 1.8vw, 1.5rem)/1.4 var(--serif); color: rgba(246, 240, 230, .88); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; font: 500 .64rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(246, 240, 230, .7); }
.scroll-cue i { position: relative; width: 1px; height: 42px; background: rgba(246, 240, 230, .25); overflow: hidden; }
.section-light .scroll-cue { color: var(--muted); }
.section-light .scroll-cue i { background: rgba(43, 34, 28, .2); }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-2); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* about: brand on the left, film on the right */
.hero-split .hero-media { left: 42%; }
.hero-split::after {
  background:
    linear-gradient(to top, rgba(var(--self), 1) 0%, rgba(var(--self), .74) 9%, rgba(var(--self), .26) 22%, rgba(var(--self), 0) 36%),
    linear-gradient(to bottom, rgba(var(--prev), var(--prev-on)) 0%, rgba(var(--prev), calc(var(--prev-on) * .62)) 9%,
      rgba(var(--prev), calc(var(--prev-on) * .12)) 21%, rgba(var(--prev), 0) 27%),
    linear-gradient(to right, var(--ink) 0%, var(--ink) 42%, rgba(21, 17, 14, .55) 50%, rgba(21, 17, 14, .1) 70%, rgba(21, 17, 14, .35) 100%);
}
.hero-split .hero-content { right: 50%; align-items: flex-start; text-align: left; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero-brand { width: min(420px, 100%); height: auto; margin-bottom: 2.2rem; }
.hero-split .hero-title { font-size: clamp(2.2rem, 4.2vw, 4rem); }

@media (max-width: 760px) {
  .hero-split .hero-media { left: 0; }
  .hero-split::after {
    background:
      linear-gradient(to bottom, rgba(var(--prev), var(--prev-on)) 0%, rgba(var(--prev), calc(var(--prev-on) * .62)) 9%,
        rgba(var(--prev), calc(var(--prev-on) * .12)) 21%, rgba(var(--prev), 0) 27%),
      linear-gradient(to bottom, rgba(21, 17, 14, .8), rgba(21, 17, 14, .62) 45%, rgba(21, 17, 14, .9));
  }
  .hero-split .hero-content { right: 0; align-items: center; text-align: center; padding-left: var(--gutter); }
  .hero-brand { width: min(300px, 80%); }
}

/* ---------- section body ---------- */
.section-body { padding-top: clamp(72px, 10vw, 150px); padding-bottom: clamp(72px, 10vw, 150px); }
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: start; margin-bottom: clamp(56px, 8vw, 110px); }
.intro-flip .intro-lead { order: 2; }
.lead { font: 300 clamp(1.7rem, 3vw, 2.6rem)/1.22 var(--serif); letter-spacing: -.005em; margin: 0; }
.intro-text { font-size: 1.02rem; color: var(--muted); padding-top: .6rem; }
.section-dark .intro-text, .section-dark .about-col { color: var(--muted-dark); }
.list-title { font: 500 .72rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--text); margin: 2.2rem 0 1rem; }
.section-dark .list-title { color: var(--cream); }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.section-dark .service-list { border-color: var(--line-dark); }
.service-list li { display: flex; align-items: baseline; gap: 14px; padding: .8rem 0; border-bottom: 1px solid var(--line); font: 400 1.25rem/1.35 var(--serif); color: var(--text); }
.section-dark .service-list li { border-color: var(--line-dark); color: var(--cream); }
.service-list li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg) translateY(-2px); background: var(--gold); flex: none; }

.type-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 2rem 0 0; padding: 0; }
.type-list li { padding: .55em 1.2em; border: 1px solid var(--line); border-radius: 999px; font: 400 1.1rem/1.2 var(--serif); color: var(--text); }

.process { margin-bottom: clamp(56px, 8vw, 110px); }
.process .list-title { margin-top: 0; margin-bottom: 1.6rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 1.8rem 1.6rem 0 0; }
.steps li + li { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.step-num { display: block; font: 300 2.8rem/1 var(--serif); color: var(--gold); margin-bottom: 1rem; }
.steps h4 { font-size: 1.45rem; margin-bottom: .6rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .intro-flip .intro-lead { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li { padding-bottom: 1.8rem; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- photo galleries: horizontally scrolling strips ----------
   Every photo is shown whole at its own shape: the strip's full height, or (if that would be
   wider than --max) narrower and centred vertically. The strip runs edge to edge while its
   first photo lines up with the text column. */
.section { overflow-x: clip; }
.tile { margin: 0; overflow: hidden; background: var(--ink-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery {
  --h: min(70vh, 560px);
  --max: min(1000px, 80vw);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  margin-inline: calc(50% - 50vw);
}
.gallery-track {
  position: relative; display: flex; align-items: center; min-height: var(--h); gap: clamp(8px, 1vw, 16px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-inline: var(--edge); scroll-padding-inline: var(--edge);
  scrollbar-width: none; user-select: none; -webkit-user-select: none;
  --fade: calc(var(--edge) * .9); /* photos dissolve at the screen edges instead of being cut */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline-offset: 6px; }
.gallery .tile {
  /* exactly the photo's shape: full height, or narrower-and-shorter if it would be too wide */
  position: relative; flex: 0 0 auto; scroll-snap-align: start;
  width: min(var(--max), calc(var(--h) * var(--a))); aspect-ratio: var(--a);
}
/* each photo's edges dissolve into the section background, like the heroes */
.gallery .tile {
  --feather: clamp(18px, 7%, 56px);
  background: transparent;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent),
    linear-gradient(to bottom, transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent),
    linear-gradient(to bottom, transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent);
  mask-composite: intersect;
}

.gallery .tile img { object-fit: cover; -webkit-user-drag: none; transition: transform 1.2s var(--ease); }
.gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
@media (hover: hover) {
  .gallery-track:not(.is-dragging) { cursor: grab; }
  .gallery .tile:hover img { transform: scale(1.04); }
}
/* arrows float over the strip's ends; they show on hover and hide at either end */
.gallery { position: relative; }
.gallery-btn {
  position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(21, 17, 14, .42); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 300 1.8rem/1 var(--serif); cursor: pointer; opacity: 0;
  transition: opacity .3s, background .25s, border-color .25s, color .25s;
}
.gallery-btn.prev { left: calc(var(--edge) + 14px); }
.gallery-btn.next { right: calc(var(--edge) + 14px); }
.gallery:hover .gallery-btn:not(:disabled), .gallery-btn:focus-visible { opacity: 1; }
.gallery-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.gallery-btn:disabled { pointer-events: none; }
@media (hover: none) { .gallery-btn { display: none; } } /* touch: swipe instead */
@media (max-width: 760px) {
  /* one shared height, low enough that a 3:2 landscape still fits the screen,
     so portrait and landscape photos line up instead of landscape ones shrinking */
  .gallery { --h: min(460px, 58vw); --max: 92vw; }
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr minmax(0, .8fr) 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.about-col .lead { color: var(--cream); margin-bottom: 1.4rem; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.about-photo .tile img { aspect-ratio: 3 / 4.6; }
.signature { font: italic 300 1.45rem/1.35 var(--serif); color: var(--gold-2); margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); }
@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-photo { grid-row: 1; grid-column: 1 / -1; }
  .about-photo .tile img { aspect-ratio: 16 / 10; }
}
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 7vw, 110px); margin-top: clamp(80px, 11vw, 160px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-dark); }
.contact-title { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 300; margin-bottom: 1.2rem; }
.contact-intro > p { color: var(--muted-dark); }
.contact-details { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact-details li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: .7rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-details .label { font: 500 .68rem/2.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.contact-details a { text-decoration: none; }
.contact-details a:hover { color: var(--gold-2); }
.contact-details .socials span:last-child { display: flex; flex-wrap: wrap; gap: 16px; }
.contact-details:empty { display: none; }

.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--ink-2); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line-dark); }
.field { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.field span { font: 500 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85em 0; background: transparent; border: 0; border-bottom: 1px solid rgba(246, 240, 230, .25);
  color: var(--cream); border-radius: 0; transition: border-color .25s; color-scheme: dark;
}
.field select option { background: var(--ink-2); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); }
.field-row { display: flex; gap: 18px; }
.contact-form .btn { align-self: flex-start; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: .9em 1.1em; border-left: 2px solid var(--gold); background: rgba(184, 149, 90, .1); color: var(--cream); }
.form-msg.error { border-color: #d4735f; background: rgba(212, 115, 95, .1); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { flex-direction: column; } }

/* ---------- latest posts / blog ---------- */
.latest { margin-top: clamp(80px, 11vw, 160px); }
.latest-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 1.6rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.post-card a { display: block; text-decoration: none; }
.post-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); margin-bottom: 1.2rem; display: grid; place-items: center; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card-img img.placeholder { width: 55%; height: auto; object-fit: contain; opacity: .6; }
.post-card a:hover .post-card-img img { transform: scale(1.04); }
.post-card time { font: 500 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.section-dark .post-card time { color: var(--gold-2); }
.post-card h3 { font-size: 1.7rem; margin: .7rem 0 .6rem; }
.post-card p { color: var(--muted); font-size: .95rem; }
.section-dark .post-card p { color: var(--muted-dark); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.page-head { background: var(--ink); color: var(--cream); padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(92, 21, 32, .55), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(184, 149, 90, .16), transparent 55%); pointer-events: none; }
.page-head .wrap { position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(var(--paper-rgb), 0), rgba(var(--paper-rgb), .35) 55%, rgba(var(--paper-rgb), 1)); }
.page-head .eyebrow { color: var(--gold-2); }
.page-head h1 { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 300; }
.page-intro { margin-top: 1.2rem; font: italic 300 clamp(1.2rem, 2vw, 1.6rem)/1.4 var(--serif); color: rgba(246, 240, 230, .8); max-width: 40ch; }
.page-body { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(72px, 10vw, 140px); }
.empty { font: italic 300 1.6rem/1.4 var(--serif); color: var(--muted); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.pager a { text-decoration: none; color: var(--gold-deep); }
.notfound { min-height: 70vh; }

.article-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.article-head .back { display: inline-block; margin-bottom: 2.4rem; color: var(--gold-2); }
/* Photos in articles are shown whole: never wider than the column, never taller than
   most of the screen (tall portraits get narrower instead), always centred. */
.article-cover { margin-top: clamp(32px, 5vw, 64px); }
.article-cover img { width: auto; height: auto; max-width: 100%; max-height: 70vh; margin: 0 auto; }
.notice { margin-top: 3rem; padding: .9em 1.1em; border-left: 2px solid var(--gold); background: rgba(184, 149, 90, .1); font-size: .95rem; }
.prose { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 100px); font-size: 1.08rem; line-height: 1.85; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.6rem; margin: 1.8em 0 .5em; }
.prose h4 { font: 600 .8rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin: 2em 0 .6em; }
.prose img { width: auto; height: auto; max-width: 100%; max-height: 75vh; margin: 2em auto; }
.prose blockquote { margin: 2em 0; padding: .2em 0 .2em 1.4em; border-left: 2px solid var(--gold); font: italic 300 1.6rem/1.4 var(--serif); }
.prose a { color: var(--gold-deep); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 2em 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.more { border-top: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer { background: linear-gradient(to bottom, var(--ink), #0e0b09 160px); color: var(--muted-dark); padding: clamp(56px, 8vw, 96px) 0 28px; font-size: .95rem; }
/* blog pages have a light body: blend it into the dark footer */
.page .site-footer {
  padding-top: clamp(140px, 16vw, 200px);
  background: linear-gradient(to bottom, rgb(var(--paper-rgb)) 0%, rgba(var(--paper-rgb), .6) 24px, var(--ink) 130px, #0e0b09 320px);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr; gap: 48px; align-items: start; }
.footer-logo { width: 200px; height: auto; margin-bottom: 1.2rem; }
.footer-sign { font: italic 300 1.25rem/1.4 var(--serif); color: rgba(246, 240, 230, .7); max-width: 30ch; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { text-decoration: none; font: 500 .72rem/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(246, 240, 230, .8); }
.footer-nav a:hover { color: var(--gold-2); }
.site-footer .contact-details { margin-top: 0; }
.site-footer .contact-details a { color: rgba(246, 240, 230, .85); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .8rem; }
.lang-switch.small a { font-size: .66rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue i::after { animation: none; }
  .tile img, .post-card-img img { transition: none; }
}
