@font-face {
  font-family: 'Imperial Script';
  src: url('fonts/Imperial_Script/ImperialScript-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EB Garamond';
  src: url('fonts/EB_Garamond/EBGaramond-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EB Garamond';
  src: url('fonts/EB_Garamond/EBGaramond-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --white: #FFF8ED;
  --muted: rgba(255, 248, 237, 0.72);
  --line: rgba(255, 248, 237, 0.18);
  --bg: #0c0907;
  --bg-alt: #15100c;
  --font-script: 'Imperial Script', cursive;
  --font-serif: 'EB Garamond', serif;
  --gutter: 6vw;
  --header-h: 84px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-serif);
  color: var(--white);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
}

/* Background fades in on its own layer; the header itself never changes size */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 9, 7, 0.94);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: opacity;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.header-brand {
  display: flex;
  transition: opacity 0.25s ease;
}

.header-brand:hover {
  opacity: 0.8;
}

.header-brand img {
  width: 56px;
  height: auto;
}

.header-nav,
.header-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.menu-toggle {
  display: none;
}

.site-header.is-open::before {
  opacity: 1;
}

.header-link,
.header-phone {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  transition: opacity 0.25s ease;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--white);
}

.header-link:hover,
.header-phone:hover {
  opacity: 0.7;
}

/* Hero */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Even darkening, a little stronger in the middle behind the title and at the top behind the header */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 22%),
    rgba(0, 0, 0, 0.42);
}

/* Ornamental frame around the screen, drawn as a nine-slice border so the corners never stretch */
.hero-frame {
  --frame-top: 96px;
  --frame-side: 48px;
  --frame-bottom: 40px;
  position: absolute;
  z-index: 1;
  top: var(--frame-top);
  right: var(--frame-side);
  bottom: var(--frame-bottom);
  left: var(--frame-side);
  border: 20px solid transparent;
  border-image: url('assets/hero-frame.png') 40 / 20px stretch;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 96px calc(var(--gutter) + 48px) 40px;
}

.hero-title {
  display: flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(4.5rem, 11vw, 10.5rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  gap: 0.2em;
  justify-content: center;
}

.hero-title .word {
  display: flex;
  align-items: flex-end;
}

.hero-title .initial {
  font-family: var(--font-script);
  font-size: 1.55em;
  line-height: 0.72;
  padding-right: 0.02em;
}

.hero-title .rest {
  font-size: 0.6em;
  letter-spacing: 0.01em;
  padding-bottom: 0.12em;
}

.hero-slogan {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  letter-spacing: 0.04em;
  margin-top: 24px;
  opacity: 0.92;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 36px;
  padding: 14px 34px;
  border: 1px solid rgba(255, 248, 237, 0.75);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--bg);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 62px;
  z-index: 2;
  display: flex;
  padding: 10px;
  transform: translateX(-50%);
  opacity: 0.7;
  animation: cue 2.4s ease-in-out infinite;
  transition: opacity 0.25s ease;
}

.scroll-cue:hover {
  opacity: 1;
}

.scroll-cue svg {
  width: 28px;
  height: 28px;
}

@keyframes cue {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Sections */

.section {
  padding: 140px 0;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.section-title .script {
  font-family: var(--font-script);
  font-size: 1.35em;
  line-height: 0;
  letter-spacing: 0;
}

.section-head {
  margin-bottom: 64px;
}

.text-link {
  text-decoration: underline;
  text-decoration-color: rgba(255, 248, 237, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.25s ease;
}

.text-link:hover {
  text-decoration-color: var(--white);
}

/* Izvori */

.sources {
  --ink: #1d1712;
  background: #fff8ed;
  color: var(--ink);
}

.sources .eyebrow {
  color: #8a5a3a;
}

.sources .section-title {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.sources-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}

/* Title may run wider than the text column; the description stays narrower */
.sources-text {
  position: relative;
  z-index: 1;
}

.sources-body {
  max-width: 520px;
  margin-top: 36px;
}

.sources-body p {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  color: rgba(29, 23, 18, 0.78);
}

.sources-body p + p {
  margin-top: 1.1em;
}

.sources-image {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sources-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-left: auto;
}

.sources-image-accent {
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
}

/* O nama */

.about {
  position: relative;
  overflow: hidden;
  padding: 180px 0;
}

.about-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  transform: scaleX(-1);
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.90) 35%,
    rgba(0, 0, 0, 0.60) 60%,
    rgba(0, 0, 0, 0.15) 85%
  );
}

.about-inner {
  position: relative;
  z-index: 1;
}

.about-content {
  max-width: 820px;
}

/* Title stays on one line and may run wider than the text below it */
.about .section-title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 5.6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  padding-right: 2rem;
}

.about-text {
  margin-top: 36px;
  max-width: 600px;
}

.about-text p {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 248, 237, 0.85);
}

.about-text p + p {
  margin-top: 1.1em;
}

/* Nagrade */

.awards {
  background: #fff8ed;
  color: #1d1712;
}

.awards-head {
  max-width: 640px;
  margin: 0 auto 80px;
  text-align: center;
}

.awards .eyebrow {
  color: #8a5a3a;
}

.awards .section-title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.awards-laurel {
  width: 240px;
  height: auto;
  margin: 20px auto 0;
}

.awards-intro {
  margin-top: 28px;
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  color: rgba(29, 23, 18, 0.78);
}

.awards-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 80px;
  align-items: stretch;
}

/* Image matches the height of the list; the right side is cropped */
.awards-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(15%) saturate(110%) contrast(108%) brightness(98%);
  object-position: left center;
  border-radius: 4px;
}

.awards-list {
  list-style: none;
}

.award {
  padding: 26px 0;
  border-top: 1px solid rgba(29, 23, 18, 0.14);
}

.award:last-child {
  border-bottom: 1px solid rgba(29, 23, 18, 0.14);
}

.award-source {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a5a3a;
}

.award-value {
  margin-top: 6px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.2;
}

.award-text {
  margin-top: 6px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(29, 23, 18, 0.72);
}

/* Galerija */

.gallery {
  background: #f3eadb;
  color: #1d1712;
}

.gallery .eyebrow {
  color: #8a5a3a;
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.gallery .section-title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.gallery-nav {
  display: flex;
  gap: 12px;
}

.gallery-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(29, 23, 18, 0.35);
  border-radius: 50%;
  background: none;
  color: #1d1712;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.gallery-arrow svg {
  width: 22px;
  height: 22px;
}

.gallery-arrow:hover:not(:disabled) {
  background: #1d1712;
  color: #fff8ed;
}

.gallery-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* One row of equal portrait photos that scrolls sideways; starts aligned with the content column */
.gallery-track {
  --start: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter)));
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--start);
  padding: 0 var(--start);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 auto;
  width: clamp(240px, 24vw, 340px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  scroll-snap-align: start;
  background: #e6dccb;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Proslave */

.events {
  background: var(--bg-alt);
  text-align: center;
}

.events-inner {
  max-width: 760px;
}

.events .section-title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

/* Same laurel as the awards section, recoloured light for the dark background */
.events-laurel {
  width: 220px;
  height: auto;
  margin: 20px auto 0;
  filter: invert(1) brightness(1.4);
  opacity: 0.7;
}

.events-text {
  margin-top: 28px;
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  line-height: 1.7;
  color: rgba(255, 248, 237, 0.85);
}

.events .button {
  margin-top: 40px;
}

/* Lightbox */

.lightbox {
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 92vh;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* Posjetite nas */

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.visit-block h3 {
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.visit-block p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.visit-block p + p,
.visit-block p + .text-link {
  margin-top: 8px;
}

.visit-block > .text-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 1.05rem;
}

.hours .hours-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.1rem;
  line-height: 1.9;
}

.hours dt {
  color: var(--muted);
}

.hours dd {
  margin: 0;
}

/* Footer */

.site-footer {
  padding: 48px 0;
  padding-bottom: max(48px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-logo {
  width: 56px;
  height: auto;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: opacity 0.25s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

.link-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Animations */

/* Hero entrance on page load */
@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(36px); }
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes drop-in {
  from { opacity: 0; transform: translateY(-12px); }
}

.hero-bg {
  animation: hero-zoom 3s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

.hero-overlay {
  animation: fade-in 1.4s ease both;
}

@keyframes frame-in {
  from { opacity: 0; transform: scale(1.03); }
}

.hero-frame {
  animation: frame-in 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}

.hero-title .word {
  animation: rise 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both;
}

.hero-title .word + .word {
  animation-delay: 0.55s;
}

.hero-slogan {
  animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both;
}

.hero-content .button {
  animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 1.1s both;
}

.site-header {
  animation: drop-in 0.9s ease 0.5s both;
}

.scroll-cue {
  animation: fade-in 0.8s ease 1.6s both, cue 2.4s ease-in-out 2.4s infinite;
}

/* Scroll reveals (only when JS is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Titles are "written" left to right; the extra inset leaves room for script swashes */
.js .reveal .section-title {
  clip-path: inset(-30% 100% -50% -10%);
  transition: clip-path 1.6s cubic-bezier(0.6, 0, 0.2, 1) 0.2s;
}

.js .reveal.is-visible .section-title {
  clip-path: inset(-30% -25% -50% -10%);
}

/* Laurel branches grow out from the centre */
.js .reveal .awards-laurel,
.js .reveal .events-laurel {
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s;
}

.js .reveal.is-visible .awards-laurel,
.js .reveal.is-visible .events-laurel {
  transform: scaleX(1);
}

/* Photos fade in while settling from a slight zoom */
.js .reveal-image {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.js .reveal-image img {
  transform: scale(1.06);
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal-image.is-visible {
  opacity: 1;
}

.js .reveal-image.is-visible img {
  transform: none;
}

/* Lists and the gallery come in one item after another */
.js .reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 110ms);
}

.js .reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}

.js .gallery-track.reveal-group > * {
  transform: none;
}

/* "O nama" photo is taller than the section so the parallax never shows an edge */
.about-bg {
  top: -12%;
  height: 124%;
  will-change: transform;
}

/* Header links get an underline that grows on hover */
@media (min-width: 641px) {
  .header-menu .header-link {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    padding-bottom: 3px;
    transition: background-size 0.35s ease, opacity 0.25s ease;
  }

  .header-menu .header-link:hover {
    background-size: 100% 1px;
    opacity: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
  }

  .js .reveal,
  .js .reveal-group > *,
  .js .reveal-image,
  .js .reveal-image img,
  .js .reveal .section-title,
  .js .reveal .awards-laurel,
  .js .reveal .events-laurel {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

/* Language switch */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.lang-switch::before {
  content: '';
  order: 1;
  width: 1px;
  height: 12px;
  background: rgba(255, 248, 237, 0.4);
}

.lang-switch > :last-child {
  order: 2;
}

.lang-current {
  color: var(--white);
}

.lang-switch a {
  color: rgba(255, 248, 237, 0.55);
  transition: color 0.25s ease;
}

.lang-switch a:hover {
  color: var(--white);
}

.lang-switch > :first-child {
  order: 0;
}

/* Legal page */

.legal-page .site-header {
  position: static;
}

.legal-page .button {
  color: #1d1712;
  border-color: #1d1712;
  margin-top: 0;
}

.legal-page .button:hover,
.legal-page .button:focus-visible {
  background: #1d1712;
  color: var(--white);
}

.legal-page .site-header::before {
  display: none;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 48px 96px;
}

.legal-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.01em;
  margin-bottom: 40px;
}

.legal-section + .legal-section {
  margin-top: 48px;
}

.legal-section h2 {
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 248, 237, 0.35);
}

.legal-list .legal-row {
  display: flex;
  gap: 24px;
  font-size: 1.05rem;
  line-height: 1.6;
  padding: 6px 0;
}

.legal-list dt {
  width: 200px;
  flex-shrink: 0;
  opacity: 0.7;
}

.legal-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-list a:hover {
  opacity: 0.7;
}

/* Responsive */

@media (max-width: 960px) {
  .sources-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .sources .section-title {
    font-size: min(11.4vw, 5.8rem);
  }

  .sources-image {
    margin: 0 calc(-1 * var(--gutter) / 2);
  }

  .sources-image img {
    max-width: 600px;
    margin: 0 auto;
  }

  .visit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .awards-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .awards-image {
    max-width: 560px;
  }

  .awards-image img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .visit-block:first-child {
    grid-column: 1 / -1;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 24px;
    --header-h: 64px;
  }

  .site-header {
    padding: 20px 24px;
    padding-top: max(20px, env(safe-area-inset-top));
  }

  .header-brand img {
    width: 40px;
  }

  .header-nav {
    gap: 18px;
  }

  .header-link,
  .header-phone {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }

  /* Larger tap areas without changing the look */
  .header-link,
  .header-phone,
  .footer-link {
    padding: 12px 0;
    margin: -12px 0;
  }

  .phone-icon {
    width: 14px;
    height: 14px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 22%),
      rgba(0, 0, 0, 0.55);
  }

  .hero-frame {
    --frame-top: calc(80px + env(safe-area-inset-top));
    --frame-side: 14px;
    --frame-bottom: calc(18px + env(safe-area-inset-bottom));
    border-width: 16px;
    border-image-width: 16px;
  }

  .hero-content {
    padding: 96px 36px calc(56px + env(safe-area-inset-bottom));
  }

  .hero-title {
    font-size: clamp(2.6rem, 15vw, 6rem);
  }

  .hero-slogan {
    margin-top: 18px;
  }

  .button {
    margin-top: 32px;
  }

  .scroll-cue {
    bottom: calc(38px + env(safe-area-inset-bottom));
  }

  .section {
    padding: 88px 0;
  }

  .about {
    padding: 120px 0;
  }

  .about .section-title {
    font-size: 9.2vw;
  }

  .about-bg {
    object-position: 75% center;
  }

  .about-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.72) 55%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }

  .section-head {
    margin-bottom: 40px;
  }

  .gallery-nav {
    display: none;
  }

  .gallery-head {
    margin-bottom: 32px;
  }

  .gallery-track {
    gap: 12px;
  }

  .gallery-item {
    width: 72vw;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .legal {
    padding: 24px 24px calc(64px + env(safe-area-inset-bottom));
  }

  .legal-list .legal-row {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .legal-list dt {
    width: auto;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
}

/* Phones: the section links move into a drop-down menu; logo, phone and menu button stay in the bar */
@media (max-width: 640px) {
  .header-nav {
    gap: 22px;
  }

  .menu-toggle {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    margin: -10px -10px -10px 0;
    border: 0;
    background: none;
    color: var(--white);
    cursor: pointer;
  }

  .menu-toggle span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s ease, top 0.3s ease;
  }

  .menu-toggle span:first-child {
    top: 17px;
  }

  .menu-toggle span:last-child {
    top: 26px;
  }

  .is-open .menu-toggle span:first-child {
    top: 21.5px;
    transform: rotate(45deg);
  }

  .is-open .menu-toggle span:last-child {
    top: 21.5px;
    transform: rotate(-45deg);
  }

  .header-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    background: rgba(12, 9, 7, 0.97);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .is-open .header-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .header-menu .header-link {
    margin: 0;
    padding: 16px 0;
    font-size: 1rem;
    letter-spacing: 0.12em;
    border-bottom: 1px solid var(--line);
  }

  .header-menu .header-link:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 380px) {
  .header-phone-number {
    display: none;
  }

  .header-phone {
    padding: 12px;
    margin: -12px;
  }

  .phone-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 360px) {
  .header-nav {
    gap: 14px;
  }

  .header-phone {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }

  .hero-title {
    font-size: 14.5vw;
  }
}

/* Cookie consent banner */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 8, 6, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.cookie-text a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.6em;
  white-space: nowrap;
}

.cookie-text a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cookie-btn--decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-btn--decline:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cookie-btn--accept {
  background: #fff;
  color: #0a0806;
  border: 1px solid #fff;
}

.cookie-btn--accept:hover {
  background: #e8d5b0;
  border-color: #e8d5b0;
}
