:root {
  --bg: #151311;
  --bg-soft: #1d1916;
  --surface: rgba(246, 238, 226, 0.08);
  --surface-strong: rgba(246, 238, 226, 0.14);
  --text: #f2eadb;
  --text-muted: rgba(242, 234, 219, 0.74);
  --dark-text: #1f1a16;
  --cream: #efe5d2;
  --cream-strong: #f7efe1;
  --accent: #c69459;
  --accent-soft: #e0c193;
  --olive: #3a4632;
  --brick: #8f5236;
  --border: rgba(247, 239, 225, 0.14);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  --radius: 28px;
  --container: min(1180px, calc(100vw - 40px));
  --funding-banner-height: 112px;
  --header-height: 82px;
  --transition: 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lora", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(198, 148, 89, 0.18), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(58, 70, 50, 0.32), transparent 28%),
    linear-gradient(180deg, #1b1714 0%, #12100f 40%, #171311 100%);
  min-height: 100vh;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.funding-banner {
  color: var(--text);
  background: linear-gradient(100deg, #2b2118 0%, #171411 100%);
  border-bottom: 1px solid var(--border);
}

.funding-banner__inner {
  min-height: var(--funding-banner-height);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) 76px;
  align-items: center;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.funding-banner__eu {
  width: min(100%, 410px);
  height: 86px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--cream);
  object-fit: contain;
}

.funding-banner__text {
  margin: 0;
  font-family: "Lora", serif;
  font-size: 0.82rem;
  line-height: 1.5;
}

.funding-banner__text a {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.funding-banner__government {
  width: 86px;
  height: 86px;
  padding: 6px;
  justify-self: end;
  border-radius: 50%;
  background: var(--cream);
  object-fit: contain;
}

.section-frame {
  width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible,
.site-header__nav a:focus-visible,
.site-footer__links a:focus-visible,
.faq-item summary:focus-visible,
.accessibility-widget button:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.button--light {
  background: var(--cream-strong);
  color: var(--dark-text);
}

.button--light:hover,
.button--light:focus-visible {
  background: #fff7eb;
}

.button--dark {
  background: var(--accent);
  color: #120f0d;
}

.button--dark:hover,
.button--dark:focus-visible {
  background: #d3a064;
}

.button--ghost,
.button--ghost-dark {
  border-color: rgba(247, 239, 225, 0.4);
  background: transparent;
}

.button--ghost-dark {
  border-color: rgba(31, 26, 22, 0.18);
  color: var(--dark-text);
}

.entrance {
  position: fixed;
  inset: 0;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.js .entrance {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.entrance {
  --brick-mortar: rgba(224, 196, 160, 0.18);
  background: #4f2b21;
  display: grid;
  place-items: center;
  padding: 24px;
  perspective: 1500px;
  overflow: hidden;
  transition: opacity 650ms ease, visibility 650ms ease;
}

.entrance::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 44%, transparent 15%, rgba(15, 8, 5, 0.2) 52%, rgba(7, 4, 3, 0.72) 110%),
    linear-gradient(180deg, rgba(8, 5, 3, 0.3), transparent 20%, transparent 70%, rgba(8, 5, 3, 0.42));
  z-index: 5;
}

.entrance.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.has-entered .entrance {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition-delay: 1s;
}

body.has-entered .entrance.has-video {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition-delay: 0s;
}

.hero__copy h1,
.section-heading h2,
.split-layout__sticky h2,
.showcase__copy h2,
.timeline-layout__intro h2,
.contact-layout__panel h2,
.offer-layout__copy h2,
.site-footer h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.entrance__brick-wall {
  position: absolute;
  inset: 0;
  background-color: #74402e;
  background-image:
    linear-gradient(90deg, transparent 48%, rgba(45, 21, 14, 0.35) 49%, transparent 51%),
    linear-gradient(var(--brick-mortar) 2px, transparent 2px),
    linear-gradient(90deg, var(--brick-mortar) 2px, transparent 2px),
    radial-gradient(circle at 28% 18%, rgba(188, 104, 65, 0.55), transparent 25%),
    radial-gradient(circle at 76% 64%, rgba(62, 30, 22, 0.58), transparent 28%);
  background-size: 112px 56px, 112px 56px, 112px 56px, 100% 100%, 100% 100%;
  box-shadow: inset 0 0 160px rgba(12, 6, 4, 0.7);
}

.entrance__light {
  position: absolute;
  left: 50%;
  bottom: -24%;
  width: min(72vw, 920px);
  height: 92%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 68%, rgba(224, 164, 86, 0.34), transparent 64%);
  filter: blur(18px);
  z-index: 1;
}

.entrance__portal {
  position: relative;
  z-index: 3;
  width: min(43vw, 470px);
  height: min(82vh, 730px);
  padding: clamp(18px, 2.2vw, 30px);
  transform-style: preserve-3d;
  background: linear-gradient(90deg, #17100c, #583522 8%, #24160f 18%, #24160f 82%, #583522 92%, #17100c);
  border: 2px solid rgba(18, 10, 6, 0.9);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.68),
    0 0 0 8px #2a1911,
    0 0 0 11px rgba(181, 117, 67, 0.24),
    inset 0 0 0 2px rgba(230, 185, 124, 0.12);
  transition: transform 1.55s cubic-bezier(0.18, 0.75, 0.2, 1);
}

.entrance__interior,
.entrance__frame,
.entrance__door {
  position: absolute;
  inset: clamp(18px, 2.2vw, 30px);
}

.entrance__interior {
  background:
    linear-gradient(180deg, rgba(42, 22, 12, 0.08), rgba(18, 10, 7, 0.38)),
    url("https://flowershousesibiu.ro/wp-content/uploads/2026/03/events-hero.png") center/cover;
  filter: blur(8px) saturate(0.82);
  transform: scale(1.08);
  transition: filter 1.2s ease, transform 1.5s ease;
}

.entrance__frame {
  pointer-events: none;
  z-index: 4;
  box-shadow:
    inset 0 0 0 3px #120b08,
    inset 0 0 0 9px rgba(117, 72, 43, 0.72),
    inset 0 0 30px rgba(0, 0, 0, 0.7);
}

.entrance__door {
  appearance: none;
  width: auto;
  border: 1px solid #170d08;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(8, 4, 2, 0.46), transparent 13%, transparent 78%, rgba(8, 4, 2, 0.5)),
    linear-gradient(180deg, #55311e 0%, #301b12 54%, #1c100b 100%);
  box-shadow:
    inset 0 0 0 7px rgba(19, 10, 6, 0.55),
    inset 0 0 0 9px rgba(151, 98, 57, 0.2),
    12px 0 30px rgba(0, 0, 0, 0.52);
  color: var(--cream-strong);
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 1.55s cubic-bezier(0.2, 0.72, 0.12, 1);
  z-index: 3;
  overflow: hidden;
}

.entrance__door::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(235, 189, 125, 0.025) 10px, rgba(0, 0, 0, 0.12) 11px);
  mix-blend-mode: screen;
}

.entrance__panel {
  position: absolute;
  left: 13%;
  right: 13%;
  border: 2px solid rgba(18, 9, 5, 0.78);
  outline: 1px solid rgba(218, 164, 101, 0.15);
  outline-offset: -8px;
  background: linear-gradient(135deg, rgba(131, 77, 43, 0.2), rgba(17, 9, 6, 0.18));
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.36), 0 1px rgba(220, 172, 111, 0.12);
}

.entrance__panel--top {
  top: 8%;
  height: 25%;
}

.entrance__panel--middle {
  top: 38%;
  height: 20%;
}

.entrance__panel--bottom {
  top: 63%;
  bottom: 8%;
}

.entrance__open {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.entrance__lock {
  position: absolute;
  right: 10%;
  top: 51%;
  width: 24px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(90deg, #5d3c1f, #d1a258 48%, #6d4823);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), inset 0 0 0 2px rgba(255, 221, 157, 0.18);
}

.entrance__handle {
  position: absolute;
  right: calc(10% - 5px);
  top: calc(51% + 14px);
  width: 58px;
  height: 9px;
  border-radius: 999px;
  transform-origin: right center;
  background: linear-gradient(180deg, #d9ad63, #795027 58%, #3f2917);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.56), inset 0 1px rgba(255, 232, 183, 0.48);
  transition: transform 260ms ease;
}

.entrance__threshold {
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -14px;
  height: 18px;
  z-index: 5;
  background: linear-gradient(180deg, #76543a, #24150e);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.65);
}

.entrance__door:hover .entrance__open,
.entrance__door:focus-visible .entrance__open {
  color: #f2c67e;
}

.entrance__door:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 6px;
}

body.has-entered .entrance__handle {
  transform: rotate(22deg);
}

body.has-entered .entrance__door {
  transform: rotateY(-108deg);
}

body.has-entered .entrance__portal {
  transform: translateZ(160px) scale(1.22);
}

body.has-entered .entrance__interior {
  filter: blur(0) saturate(1);
  transform: scale(1);
}

/* Cinematic entrance: the stage keeps the generated 3:2 artwork and door overlay aligned. */
.entrance {
  background: #080705;
  padding: 0;
  isolation: isolate;
}

.entrance__stage {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: max(100vw, 150vh);
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: 50% 57%;
  transition: transform 1.8s cubic-bezier(0.16, 0.75, 0.16, 1), filter 900ms ease;
  perspective: 1600px;
  overflow: hidden;
}

.entrance__still,
.entrance__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entrance__still {
  z-index: 0;
  transform: scale(1.015);
  animation: entrance-breathe 7s ease-in-out infinite alternate;
}

.entrance__video {
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.entrance.has-video .entrance__video {
  opacity: 1;
}

.entrance__interior {
  inset: 6.5% 38.1% 4.5%;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(25, 13, 8, 0.02), rgba(15, 8, 5, 0.36)),
    url("https://flowershousesibiu.ro/wp-content/uploads/2026/03/events-hero.png") center/cover;
  filter: blur(9px) saturate(0.82);
  transform: scale(1.08);
  box-shadow: inset 0 0 50px rgba(10, 5, 3, 0.62);
  transition: filter 1.25s ease, transform 1.65s ease;
}

.entrance .entrance__door {
  inset: 6.5% 38.1% 4.5%;
  z-index: 3;
  width: auto;
  height: auto;
  background:
    linear-gradient(90deg, rgba(6, 3, 2, 0.56), transparent 12%, transparent 76%, rgba(6, 3, 2, 0.56)),
    linear-gradient(180deg, #24150f, #130c08 68%, #0d0806);
  border: 1px solid rgba(177, 119, 66, 0.28);
  border-radius: 0;
  box-shadow:
    inset 0 0 0 4px rgba(12, 7, 4, 0.9),
    inset 0 0 0 6px rgba(179, 120, 66, 0.13),
    15px 2px 36px rgba(0, 0, 0, 0.72);
  transform-origin: left center;
  backface-visibility: hidden;
}

.entrance .entrance__door::before {
  background:
    linear-gradient(90deg, transparent 7%, rgba(183, 122, 65, 0.16) 7.4%, transparent 8%, transparent 92%, rgba(183, 122, 65, 0.15) 92.6%, transparent 93%),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(236, 187, 121, 0.025) 13px, rgba(0, 0, 0, 0.13) 14px);
  mix-blend-mode: screen;
}

.entrance__door-grain {
  position: absolute;
  inset: 8% 9%;
  border: 1px solid rgba(190, 130, 72, 0.16);
  box-shadow:
    inset 0 0 0 7px rgba(5, 3, 2, 0.34),
    inset 0 0 28px rgba(0, 0, 0, 0.48);
}

.entrance .entrance__open {
  top: 50%;
  padding: 12px 16px 12px 21px;
  border: 1px solid rgba(225, 181, 115, 0.36);
  background: rgba(9, 6, 4, 0.4);
  backdrop-filter: blur(6px);
  transition: color 250ms ease, border-color 250ms ease, letter-spacing 250ms ease;
}

.entrance .entrance__door:hover .entrance__open,
.entrance .entrance__door:focus-visible .entrance__open {
  letter-spacing: 0.48em;
  border-color: rgba(242, 198, 126, 0.72);
}

.entrance .entrance__handle {
  right: 7.4%;
  top: 53%;
  width: 8px;
  height: 25%;
  border-radius: 2px;
  transform-origin: 50% 12%;
  background: linear-gradient(90deg, #4b3019, #d1a259 48%, #5f3c1d);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.75), inset 1px 0 rgba(255, 229, 176, 0.44);
}

.entrance__warmth {
  position: absolute;
  z-index: 2;
  left: 38%;
  right: 38%;
  bottom: 3.8%;
  height: 4%;
  opacity: 0.35;
  background: radial-gradient(ellipse, rgba(255, 191, 100, 0.9), transparent 68%);
  filter: blur(8px);
  transition: opacity 1s ease, transform 1.4s ease;
}

.entrance__smoke {
  position: absolute;
  z-index: 4;
  bottom: -10vh;
  width: 48vw;
  height: 28vh;
  border-radius: 50%;
  opacity: 0.2;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(214, 203, 181, 0.38), transparent 68%);
  filter: blur(28px);
  mix-blend-mode: screen;
  animation: smoke-drift 9s ease-in-out infinite alternate;
}

.entrance__smoke--one {
  left: -8vw;
}

.entrance__smoke--two {
  left: 30vw;
  animation-delay: -3s;
  animation-duration: 11s;
}

.entrance__smoke--three {
  right: -10vw;
  animation-delay: -6s;
  animation-duration: 13s;
}

body.has-entered .entrance__stage {
  transform: translate(-50%, -50%) scale(1.42);
  filter: brightness(1.08);
}

body.has-entered .entrance .entrance__door {
  transform: rotateY(-112deg);
}

body.has-entered .entrance .entrance__handle {
  transform: rotate(14deg);
}

body.has-entered .entrance__warmth {
  opacity: 1;
  transform: scale(2.4);
}

body.has-entered .entrance__smoke {
  opacity: 0;
  transform: translateY(-15vh) scale(1.3);
  transition: opacity 1.2s ease, transform 1.5s ease;
}

@keyframes entrance-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.035); }
}

@keyframes smoke-drift {
  from { transform: translate3d(-4vw, 0, 0) scale(0.92); }
  to { transform: translate3d(6vw, -5vh, 0) scale(1.12); }
}

.site-header {
  position: fixed;
  inset: 18px 20px auto;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  font-family: "Playfair Display", serif;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: rgba(14, 12, 10, 0.44);
  border: 1px solid rgba(247, 239, 225, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  opacity: 0;
  translate: 0 -14px;
  pointer-events: none;
  transition:
    opacity var(--transition),
    translate var(--transition),
    padding var(--transition),
    background-color var(--transition),
    box-shadow var(--transition),
    border-radius var(--transition);
}

body.has-entered .site-header {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}

.site-header__brand {
  grid-column: 1;
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  white-space: nowrap;
}

.site-header__brand span {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header__brand small {
  color: var(--text-muted);
}

.site-header__nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.site-header__cta {
  grid-column: 3;
  justify-self: end;
  color: #120f0d;
  white-space: nowrap;
}

.site-header__mobile-cta {
  display: none;
}

.site-header__toggle {
  grid-column: 3;
  justify-self: end;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.site-header__toggle:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.site-header__toggle span {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.site-header.is-compact {
  top: 12px;
  padding: 9px 16px;
  background: rgba(14, 12, 10, 0.88);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

body.has-entered .site-header.is-hidden {
  opacity: 0;
  translate: 0 calc(-100% - 36px);
  pointer-events: none;
}

.site-header__nav a,
.site-footer__links a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible,
.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--cream-strong);
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  color: #120f0d;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-height) + 72px) 0 80px;
}

.hero__media,
.hero__media img,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(14, 11, 9, 0.18), rgba(14, 11, 9, 0.78) 88%),
    radial-gradient(circle at 75% 20%, rgba(225, 181, 101, 0.18), transparent 26%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: end;
}

.hero__copy h1 {
  max-width: 14ch;
  font-size: 5.6rem;
  hyphens: none;
}

.hero__no-break {
  white-space: nowrap;
}

.hero__lede {
  max-width: 58ch;
  color: var(--text-muted);
  margin: 26px 0 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__stats {
  display: grid;
  gap: 14px;
}

.hero__stat {
  padding: 20px;
  border-radius: 24px;
  background: rgba(15, 12, 10, 0.5);
  border: 1px solid rgba(247, 239, 225, 0.14);
  backdrop-filter: blur(8px);
}

.hero__stat strong {
  display: block;
  font-size: 1.16rem;
  margin-bottom: 6px;
  color: var(--cream-strong);
}

.hero__stat span,
.story-card p,
.showcase__copy p,
.contact-layout__panel p,
.offer-layout__copy p,
.timeline-step p,
.faq-item p,
.offer-form__hint,
.contact-meta a,
.contact-meta p {
  color: var(--text-muted);
}

.section {
  position: relative;
  padding: 110px 0;
}

.section--intro {
  background:
    linear-gradient(180deg, rgba(58, 70, 50, 0.08), transparent 18%),
    linear-gradient(180deg, transparent, rgba(199, 138, 59, 0.05));
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
}

.split-layout__sticky {
  position: sticky;
  top: 120px;
  align-self: start;
}

.split-layout__sticky h2,
.section-heading h2,
.showcase__copy h2,
.timeline-layout__intro h2,
.contact-layout__panel h2,
.offer-layout__copy h2,
.site-footer h2 {
  font-size: 4.2rem;
}

.split-layout__sticky p,
.section-heading p,
.contact-layout__panel p,
.timeline-layout__intro p {
  max-width: 40ch;
}

.split-layout__flow {
  display: grid;
  gap: 20px;
}

.story-card,
.feature-card,
.event-type,
.timeline-step,
.offer-form,
.contact-layout__panel,
.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.story-card {
  padding: 26px;
  border-radius: var(--radius);
}

.story-card span,
.timeline-step span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(198, 148, 89, 0.14);
  color: var(--accent-soft);
  font-weight: 700;
  margin-bottom: 18px;
}

.story-card h3,
.feature-card h3,
.event-type h3,
.faq-item summary {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.section-heading {
  margin-bottom: 34px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 22px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -32px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 148, 89, 0.2), transparent 70%);
}

.feature-card p,
.event-type p {
  margin: 0;
  color: var(--text-muted);
}

.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.showcase__media img,
.contact-layout__panel--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-mask {
  overflow: hidden;
  border-radius: 34px;
  min-height: 560px;
  clip-path: inset(0 18% 0 0 round 34px);
  transition: clip-path 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.image-mask img {
  min-height: 560px;
  transform: scale(1.12);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.image-mask.is-visible {
  clip-path: inset(0 0 0 0 round 34px);
}

.image-mask.is-visible img {
  transform: scale(1);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pill-row span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 239, 225, 0.18);
  background: rgba(247, 239, 225, 0.05);
  color: var(--cream-strong);
}

.horizontal-gallery {
  padding: 0;
  min-height: 240vh;
}

.horizontal-gallery__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-content: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(21, 19, 17, 0.9), rgba(21, 19, 17, 0.92)),
    linear-gradient(135deg, rgba(58, 70, 50, 0.32), transparent 44%);
}

.horizontal-gallery__intro {
  margin-bottom: 28px;
}

.horizontal-gallery__intro h2 {
  margin: 0;
  max-width: 13ch;
  font-family: "Cormorant Garamond", serif;
  font-size: 4.8rem;
  line-height: 0.92;
}

.horizontal-gallery__viewport {
  overflow: hidden;
}

.horizontal-gallery__track {
  display: flex;
  gap: 22px;
  padding-left: max(20px, calc((100vw - min(1180px, calc(100vw - 40px))) / 2));
  will-change: transform;
}

.gallery-card {
  flex: 0 0 auto;
  width: min(42vw, 520px);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.gallery-card--portrait {
  width: min(28vw, 340px);
}

.gallery-card--wide {
  width: min(58vw, 720px);
}

.gallery-card img {
  width: 100%;
  height: clamp(360px, 58vh, 640px);
  object-fit: cover;
}

.event-types,
.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.event-type,
.timeline-step {
  padding: 24px;
  border-radius: 26px;
}

.event-type strong {
  display: block;
  margin-top: 18px;
  color: var(--accent-soft);
}

.contact-layout,
.offer-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-layout__panel,
.offer-form,
.offer-layout__copy {
  border-radius: 30px;
  padding: 30px;
}

.contact-layout__panel--image {
  padding: 0;
  min-height: 520px;
  overflow: hidden;
}

.contact-meta {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-meta strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cream-strong);
}

.contact-meta a {
  text-decoration: underline;
  text-decoration-color: rgba(239, 229, 210, 0.28);
  text-underline-offset: 4px;
}

.section--offer {
  background:
    linear-gradient(180deg, transparent, rgba(239, 229, 210, 0.08) 16%, rgba(239, 229, 210, 0.16) 100%);
  color: var(--dark-text);
}

.section--offer .eyebrow {
  color: #7a5735;
}

.section--offer .offer-layout__copy p,
.section--offer .offer-form__status,
.section--offer .offer-form label span,
.section--offer .offer-form input,
.section--offer .offer-form select,
.section--offer .offer-form textarea {
  color: rgba(31, 26, 22, 0.84);
}

.offer-layout__copy,
.offer-form {
  background: rgba(255, 248, 238, 0.78);
  border-color: rgba(31, 26, 22, 0.12);
}

.offer-form {
  display: grid;
  gap: 18px;
}

.offer-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.offer-form label {
  display: grid;
  gap: 8px;
}

.offer-form label span {
  font-size: 0.92rem;
  font-weight: 700;
}

.offer-form input,
.offer-form select,
.offer-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(31, 26, 22, 0.14);
  background: rgba(255, 255, 255, 0.75);
}

.offer-form textarea {
  resize: vertical;
}

.offer-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.offer-form__status {
  min-height: 1.5em;
  margin: 0;
  color: var(--dark-text);
  font-size: 0.92rem;
}

.offer-form__status[data-state="error"] {
  color: #8f2f23;
}

.offer-form__status[data-state="success"] {
  color: #315a39;
}

.offer-form__privacy-note {
  margin: 0;
  color: rgba(31, 26, 22, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.offer-form__privacy-note a {
  color: #5a3c22;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.offer-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 24px;
  padding: 0 22px;
}

.faq-item summary {
  list-style: none;
  padding: 22px 0;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 0 22px;
}

.site-footer {
  padding: 64px 0 24px;
  color: var(--text);
  background: linear-gradient(180deg, #241b14 0%, #120f0d 100%);
  border-top: 1px solid var(--border);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: 0 0 42px;
}

.site-footer__links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer__brand a {
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
}

.site-footer__brand p {
  max-width: 34ch;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.site-footer .site-footer__heading {
  margin: 0 0 8px;
  color: var(--cream-strong);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.site-footer__contact a,
.site-footer__bottom a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(242, 234, 219, 0.28);
  text-underline-offset: 4px;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.site-footer__bottom p,
.site-footer__bottom div {
  margin: 0;
}

.site-footer__bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.privacy-page {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 80px;
}

.privacy-page__back {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-page h1,
.privacy-page h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.privacy-page h1 {
  margin: 0;
  font-size: 4.2rem;
  line-height: 1;
}

.privacy-page h2 {
  margin: 34px 0 12px;
  font-size: 2.2rem;
  line-height: 1.1;
}

.privacy-page p,
.privacy-page li {
  color: var(--text-muted);
  line-height: 1.75;
}

.privacy-page ul {
  padding-left: 22px;
}

.privacy-page a {
  overflow-wrap: anywhere;
}

.privacy-page__updated {
  margin: 12px 0 34px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.accessibility-widget__toggle {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 40;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(247, 239, 225, 0.4);
  border-radius: 50%;
  color: var(--dark-text);
  background: var(--cream-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.accessibility-panel {
  position: fixed;
  left: 20px;
  bottom: 86px;
  z-index: 40;
  width: min(360px, calc(100vw - 32px));
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(31, 26, 22, 0.16);
  border-radius: 20px;
  color: var(--dark-text);
  background: var(--cream-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.accessibility-panel[hidden] {
  display: none;
}

.accessibility-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.accessibility-panel__header h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.accessibility-panel__close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(31, 26, 22, 0.2);
  border-radius: 50%;
  color: var(--dark-text);
  background: transparent;
  font-size: 1.4rem;
}

.accessibility-panel__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.accessibility-panel__controls button {
  min-height: 60px;
  padding: 10px;
  border: 1px solid rgba(31, 26, 22, 0.16);
  border-radius: 12px;
  color: var(--dark-text);
  background: #fff;
  font-weight: 600;
}

.accessibility-panel__controls button[aria-pressed="true"] {
  border-color: var(--olive);
  background: #e5ecdf;
}

.accessibility-panel__controls button span {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  font-weight: 400;
}

.accessibility-panel__status {
  min-height: 1.25em;
  margin: 12px 0 0;
  font-size: 0.85rem;
}

html.accessibility-high-contrast {
  --text: #fff;
  --text-muted: #fff;
  --accent-soft: #ffed64;
  --border: rgba(255, 255, 255, 0.8);
}

html.accessibility-high-contrast body,
html.accessibility-high-contrast .site-header,
html.accessibility-high-contrast .site-footer {
  color: #fff;
  background: #000;
}

html.accessibility-high-contrast .story-card,
html.accessibility-high-contrast .feature-card,
html.accessibility-high-contrast .event-type,
html.accessibility-high-contrast .timeline-step,
html.accessibility-high-contrast .faq-item,
html.accessibility-high-contrast .contact-layout__panel,
html.accessibility-high-contrast .offer-form,
html.accessibility-high-contrast .offer-layout__copy {
  color: #fff;
  background: #000;
  border: 1px solid #fff;
}

html.accessibility-high-contrast .button--dark {
  color: #000;
  background: #fff;
}

html.accessibility-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

html.accessibility-reduce-motion *,
html.accessibility-reduce-motion *::before,
html.accessibility-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .parallax,
  .horizontal-gallery__track,
  .entrance__door {
    transform: none !important;
  }
}

@media (max-width: 1100px) {
  .hero__content,
  .split-layout,
  .showcase,
  .contact-layout,
  .offer-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout__sticky {
    position: static;
  }

  .site-header {
    border-radius: 26px;
  }

  .hero__copy h1 {
    font-size: 4.5rem;
  }

  .split-layout__sticky h2,
  .section-heading h2,
  .showcase__copy h2,
  .timeline-layout__intro h2,
  .contact-layout__panel h2,
  .offer-layout__copy h2,
  .site-footer h2 {
    font-size: 3.5rem;
  }

  .funding-banner__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 64px;
    gap: 16px;
  }

  .funding-banner__eu {
    height: 70px;
  }

  .funding-banner__government {
    width: 68px;
    height: 68px;
    padding: 5px;
  }
}

@media (max-width: 820px) {
  :root {
    --funding-banner-height: 160px;
  }

  .funding-banner__inner {
    grid-template-columns: minmax(0, 1fr) 56px;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .funding-banner__eu {
    grid-column: 1;
    grid-row: 1;
    width: min(100%, 320px);
    height: 52px;
    max-height: 52px;
    padding: 4px 6px;
  }

  .funding-banner__text {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.72rem;
  }

  .funding-banner__government {
    grid-column: 2;
    grid-row: 1;
    width: 54px;
    height: 54px;
    padding: 4px;
  }

  .entrance__portal {
    width: min(76vw, 390px);
    height: min(76vh, 620px);
  }

  .site-header {
    inset: auto 14px auto;
    top: 14px;
    left: 14px;
    right: 14px;
    bottom: auto;
    width: auto;
    margin: 0;
    transform: none;
    padding: 14px 16px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    justify-content: stretch;
  }

  .site-header__brand {
    grid-column: 2;
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .site-header__toggle {
    grid-column: 3;
    display: grid;
    flex: 0 0 auto;
  }

  .site-header__cta {
    display: none;
  }

  .site-header__mobile-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 8px;
  }

  .site-header__nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: rgba(21, 19, 17, 0.97);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

  .site-header.is-menu-open {
    border-radius: 24px;
  }

  .site-header.is-menu-open .site-header__nav {
    display: flex;
  }

  .site-header__nav a {
    padding: 12px;
    text-align: center;
  }

  .site-header.is-menu-open .site-header__toggle span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-menu-open .site-header__toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .site-header__toggle span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    padding-top: 130px;
  }

  .hero__copy h1 {
    max-width: 100%;
    font-size: 3.2rem;
  }

  .horizontal-gallery__intro h2 {
    font-size: 3rem;
  }

  .features-grid,
  .event-types,
  .timeline,
  .offer-form__grid {
    grid-template-columns: 1fr;
  }

  .horizontal-gallery {
    min-height: auto;
    padding: 110px 0;
  }

  .horizontal-gallery__sticky {
    position: static;
    height: auto;
    display: block;
  }

  .horizontal-gallery__viewport {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .horizontal-gallery__track {
    transform: none !important;
    width: max-content;
    padding-right: 20px;
  }

  .gallery-card,
  .gallery-card--portrait,
  .gallery-card--wide {
    width: min(84vw, 440px);
  }

  .accessibility-widget__toggle {
    top: 29px;
    left: 20px;
    bottom: auto;
    width: 40px;
    height: 40px;
  }

  .accessibility-panel {
    left: 14px;
    right: 14px;
    top: 74px;
    bottom: auto;
    width: auto;
    max-height: min(62vh, 520px);
  }
}

@media (max-width: 560px) {
  .privacy-page {
    padding: 24px 0 60px;
  }

  .privacy-page h1 {
    font-size: 3rem;
  }

  .privacy-page h2 {
    font-size: 1.8rem;
  }

  .section {
    padding: 88px 0;
  }

  .contact-layout__panel,
  .offer-layout__copy,
  .offer-form,
  .site-footer__grid {
    padding: 22px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    padding: 0 0 30px;
  }

  .image-mask,
  .image-mask img,
  .contact-layout__panel--image {
    min-height: 360px;
  }

  .hero__actions,
  .offer-form__actions {
    display: grid;
  }

  .accessibility-panel__controls {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }


@media (max-width: 360px) {
  .site-header__brand span {
    font-size: 0.8rem;
  }

  .site-header__brand small {
    font-size: 0.72rem;
  }
}
  .split-layout__sticky h2,
  .section-heading h2,
  .showcase__copy h2,
  .timeline-layout__intro h2,
  .contact-layout__panel h2,
  .offer-layout__copy h2,
  .site-footer h2 {
    font-size: 2.6rem;
  }
}
