:root {
  --background: #eadbbd;
  --primary: #2a2420;
  --dark: #17120f;
  --text: #2a2420;
  --secondary: #e3c229;
  --accent: #b2342a;
  --brown: #9a7440;
  --blue: #2f3192;
  --muted: #dfcda9;
  --card: #f7edd3;
  --border: rgba(88, 62, 35, 0.2);
  --shadow: 0 22px 60px rgba(42, 36, 32, 0.14);
  --font-body: Inter, Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary); line-height: 1.08; margin: 0; }
p { margin: 0; }
.container { width: min(100% - 2rem, 1280px); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 900px); }
.centered { text-align: center; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-heading { max-width: 780px; margin: 0 auto 2.4rem; display: grid; gap: 1rem; }
.section-heading h2, .copy-block h2, .center-title { font-size: clamp(2rem, 4vw, 3.5rem); }
.section-heading p, .copy-block p, .page-hero p { color: rgba(42, 36, 32, 0.72); }
.section-kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 2rem; height: 4px; background: var(--secondary); display: inline-block; }
.skip-to-content { position: absolute; left: -999px; top: 1rem; z-index: 1000; }
.skip-to-content:focus { left: 1rem; background: var(--card); padding: .75rem 1rem; border-radius: .5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(234, 219, 189, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(42, 36, 32, 0.1);
}
.topbar { display: none; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; min-width: 0; }
.brand-symbols {
  width: 5.2rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  color: var(--primary);
  transition: transform .45s cubic-bezier(.23,1,.32,1);
}
.brand:hover .brand-symbols { transform: translateY(-1px); }
.brand-logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-symbols svg, .icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: grid; gap: .1rem; }
.brand-title { font-family: var(--font-heading); font-weight: 800; color: var(--primary); font-size: 1.25rem; line-height: 1; }
.brand-subtitle { font-size: .62rem; text-transform: uppercase; letter-spacing: .18em; color: var(--primary); font-weight: 800; }
.primary-menu, .footer-menu { list-style: none; padding: 0; margin: 0; }
.primary-menu { display: flex; align-items: center; gap: 1.45rem; }
.primary-menu a { font-size: .9rem; font-weight: 750; color: rgba(42,36,32,.8); position: relative; transition: color .18s, transform .18s; display: inline-block; }
.primary-menu a:hover { color: var(--primary); transform: translateY(-1px); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--primary); padding: .55rem; }
.menu-toggle .menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: inline-flex; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .85rem 1.25rem;
  border-radius: .55rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .18s cubic-bezier(.23,1,.32,1), background .18s, border-color .18s, color .18s;
}
.button:active { transform: scale(.97); }
.button-primary { background: linear-gradient(90deg, #e65332, var(--accent)); color: #fff; }
.button-primary:hover { background: linear-gradient(90deg, #c5412d, #8f201b); }
.button-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.button-outline:hover { background: rgba(42,36,32,.08); }
.button-gold { background: var(--secondary); color: var(--primary); box-shadow: var(--shadow); }
.button-gold:hover { transform: translateY(-2px) rotate(1deg); }
.button-ghost { border-color: rgba(255,255,255,.36); color: #fff; }
.button-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.text-link { color: var(--primary); font-weight: 800; font-size: .95rem; }

.hero-home-v2 { min-height: 100svh; position: relative; display: grid; align-items: center; padding-top: 5rem; overflow: hidden; color: #fff; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 1800ms cubic-bezier(.23,1,.32,1) both; }
.hero-shade { background: linear-gradient(90deg, rgba(42,36,32,.9), rgba(154,116,64,.62), rgba(42,36,32,.08)); }
.hero-shade::after { content: ""; position: absolute; inset: auto 0 0; height: 12rem; background: linear-gradient(0deg, var(--background), rgba(234,219,189,0)); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 780px) 1fr; gap: 2rem; padding-block: 5rem; }
.hero-copy { display: grid; gap: 1.4rem; }
.hero-copy h1 { color: #fff; font-size: clamp(3rem, 8vw, 6.8rem); letter-spacing: -0.01em; }
.hero-copy h1::first-line { color: #fff; }
.hero-copy p { color: rgba(255,255,255,.9); max-width: 720px; font-size: clamp(1rem, 2vw, 1.28rem); }
.eyebrow { width: fit-content; color: var(--secondary); border: 1px solid rgba(227,194,41,.48); background: rgba(227,194,41,.14); border-radius: 999px; padding: .5rem .85rem; }
.eyebrow .icon { width: 1rem; height: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .5rem; }
.centered-actions { justify-content: center; }

.floating-info {
  position: relative;
  z-index: 3;
  margin-top: -4.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.floating-info article { display: flex; gap: 1rem; padding: .75rem 1.25rem; border-right: 1px solid var(--border); }
.floating-info article:last-child { border-right: 0; }
.floating-info .icon { width: 2.7rem; height: 2.7rem; color: var(--primary); background: rgba(227,194,41,.22); border-radius: .75rem; padding: .65rem; flex: 0 0 auto; }
.floating-info h2 { font-size: 1.2rem; margin-bottom: .2rem; }
.floating-info strong { display: block; font-size: .9rem; color: rgba(31,41,51,.84); }
.floating-info p { font-size: .82rem; color: rgba(31,41,51,.62); }

.split-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.copy-block { display: grid; gap: 1.1rem; }
.stats-row { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: .5rem; }
.stats-row div { border-right: 1px solid var(--border); padding-right: 1.2rem; }
.stats-row div:last-child { border-right: 0; }
.stats-row strong { display: block; color: var(--primary); font-family: var(--font-heading); font-size: 1.8rem; line-height: 1; }
.stats-row span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(31,41,51,.6); font-weight: 800; margin-top: .35rem; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; position: relative; }
.photo-stack figure { margin: 0; overflow: hidden; border-radius: .9rem; box-shadow: 0 16px 38px rgba(8,24,39,.14); aspect-ratio: 1 / 1; background: #000; }
.photo-stack figure:nth-child(1), .photo-stack figure:nth-child(4) { aspect-ratio: 4 / 5; }
.photo-stack figure:nth-child(2), .photo-stack figure:nth-child(4) { transform: translateY(2rem); }
.photo-stack img, .feature-card img, .simple-card img, .rounded-media img, .media-card img, .tour-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.23,1,.32,1), opacity .5s; }
.photo-stack figure:hover img, .feature-card:hover img, .simple-card:hover img { transform: scale(1.08); opacity: .94; }

.interactive-gallery { display: grid; gap: 1rem; max-width: 1040px; margin-inline: auto; }
.gallery-stage { position: relative; overflow: hidden; border-radius: 1rem; aspect-ratio: 21 / 9; box-shadow: var(--shadow); background: #000; }
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .22s, transform .6s; }
.gallery-stage:hover img { transform: scale(1.04); }
.gallery-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.05) 60%); }
.gallery-stage div { position: absolute; z-index: 2; left: 1.5rem; right: 1.5rem; bottom: 1.3rem; color: #fff; display: grid; gap: .25rem; }
.gallery-stage h3 { color: var(--secondary); font-size: clamp(1.25rem, 3vw, 2rem); }
.gallery-stage p { color: rgba(255,255,255,.82); max-width: 720px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; border-radius: .6rem; overflow: hidden; aspect-ratio: 16 / 9; opacity: .62; cursor: pointer; transition: opacity .18s, transform .18s, border-color .18s; background: transparent; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--secondary); transform: translateY(-2px); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.quiz-band, .muted-section { background: rgba(223,205,169,.64); border-block: 1px solid var(--border); }
.quiz-card { max-width: 760px; margin: 0 auto; background: rgba(247,237,211,.82); border: 1px solid var(--border); border-radius: 1rem; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 12px 34px rgba(42,36,32,.1); }
.quiz-question { display: none; gap: 1rem; }
.quiz-question.active { display: grid; }
.quiz-meta { color: rgba(31,41,51,.58); font-size: .78rem; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.quiz-options { display: grid; gap: .75rem; }
.quiz-options button { display: flex; align-items: center; gap: .75rem; width: 100%; text-align: left; border: 1px solid var(--border); background: transparent; padding: 1rem; border-radius: .7rem; font: inherit; cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.quiz-options button:hover { border-color: var(--primary); transform: translateY(-1px); }
.quiz-options button.correct { background: rgba(22,163,74,.12); border-color: rgba(22,163,74,.45); }
.quiz-options button.wrong { background: rgba(220,38,38,.11); border-color: rgba(220,38,38,.45); }
.quiz-options span { font-weight: 900; color: var(--primary); }
.quiz-explanation { background: var(--muted); border: 1px solid var(--border); border-radius: .75rem; padding: 1rem; }
.quiz-finished { text-align: center; display: grid; gap: 1rem; }

.feature-grid { display: grid; gap: 1.3rem; }
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature-card, .simple-card, .side-card, .tour-card, .price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .9rem;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(8,24,39,.05);
  transition: transform .22s cubic-bezier(.23,1,.32,1), border-color .22s, box-shadow .22s;
}
.feature-card:hover, .simple-card:hover, .price-card:hover { transform: translateY(-6px); border-color: var(--secondary); box-shadow: var(--shadow); }
.feature-card figure { margin: 0; aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: #000; }
.feature-card figure span { position: absolute; top: .75rem; left: .75rem; background: var(--primary); color: #fff; font-weight: 900; font-size: .72rem; padding: .28rem .55rem; border-radius: .35rem; }
.feature-card div, .simple-card, .price-card, .side-card, .tour-card { padding: 1.25rem; display: grid; gap: .75rem; }
.feature-card h3, .simple-card h3, .price-card h3, .side-card h3 { font-size: 1.35rem; }
.feature-card small, .meta-line { color: rgba(31,41,51,.58); font-weight: 700; }
.feature-card p, .simple-card p, .price-card p, .side-card p, .tour-card p { color: rgba(31,41,51,.68); font-size: .94rem; }
.simple-card img { border-radius: .65rem; aspect-ratio: 16 / 10; object-fit: cover; }

.cta-section { position: relative; isolation: isolate; padding: clamp(4rem, 8vw, 6rem) 0; color: #fff; background-size: cover; background-position: center; }
.cta-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(42,36,32,.82); }
.cta-section h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); }
.cta-section p { color: rgba(255,255,255,.78); max-width: 760px; margin: 1rem auto 1.5rem; }

.page-hero { position: relative; isolation: isolate; min-height: 420px; display: grid; place-items: center; padding: 8rem 0 4rem; background-size: cover; background-position: center; color: #fff; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(42,36,32,.88); }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4rem); }
.page-hero .section-kicker { color: var(--secondary); justify-content: center; }
.page-hero .section-kicker::before { background: var(--secondary); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 760px; margin-inline: auto; }

.gallery-page-hero { background-position: center; }
.gallery-page { display: grid; gap: 2rem; }
.gallery-filter { margin-bottom: 0; }
.static-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.static-gallery-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: .9rem;
  overflow: hidden;
  background: #000;
  color: #fff;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 26px rgba(8,24,39,.05);
  transition: transform .22s cubic-bezier(.23,1,.32,1), border-color .22s, box-shadow .22s;
}
.static-gallery-card:hover,
.static-gallery-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: var(--shadow);
  outline: 0;
}
.static-gallery-card[hidden] { display: none; }
.static-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.23,1,.32,1), opacity .5s;
}
.static-gallery-card:hover img,
.static-gallery-card:focus-visible img {
  transform: scale(1.06);
  opacity: .9;
}
.static-gallery-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.6rem .9rem .85rem;
  background: linear-gradient(0deg, rgba(8,24,39,.88), rgba(8,24,39,0));
  font-size: .82rem;
  font-weight: 800;
  text-align: left;
  line-height: 1.25;
}
.static-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(8,24,39,.92);
}
.static-gallery-lightbox[hidden] { display: none; }
.static-gallery-lightbox figure {
  width: min(100%, 1180px);
  margin: 0;
  display: grid;
  gap: .85rem;
}
.static-gallery-lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: .75rem;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.static-gallery-lightbox figcaption {
  color: rgba(255,255,255,.88);
  font-weight: 800;
  text-align: center;
}
.static-gallery-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
}
.static-gallery-lightbox-close .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.tabs-list { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.tabs-list button { border: 1px solid var(--border); background: var(--muted); color: var(--primary); border-radius: .7rem; padding: .7rem 1rem; font-weight: 850; cursor: pointer; transition: background .18s, color .18s, transform .18s; }
.tabs-list button.active { background: var(--primary); color: #fff; }
.tabs-list button:hover { transform: translateY(-1px); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .28s cubic-bezier(.23,1,.32,1) both; }
.badge { width: fit-content; background: rgba(227,194,41,.22); color: var(--primary); border-radius: .45rem; padding: .35rem .6rem; font-size: .75rem; text-transform: uppercase; font-weight: 900; letter-spacing: .04em; }
.rounded-media { margin: 0; overflow: hidden; border-radius: 1rem; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.check-list { padding: 0; margin: 0; list-style: none; display: grid; gap: .75rem; }
.check-list li { display: flex; align-items: flex-start; gap: .65rem; color: rgba(31,41,51,.72); }
.check-list .icon { width: 1.1rem; height: 1.1rem; color: var(--secondary); flex: 0 0 auto; margin-top: .15rem; }
.mini-feature { border-left: 3px solid var(--secondary); padding-left: 1rem; display: grid; gap: .25rem; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.main-column, .side-column { display: grid; gap: 1.5rem; }
.price-grid, .project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.price-card strong { font-family: var(--font-heading); color: var(--primary); font-size: 2rem; line-height: 1; }
.divider { height: 1px; background: var(--border); margin: 1.3rem 0; }
.hours-box { background: var(--muted); border: 1px solid var(--border); border-radius: .9rem; padding: 1.25rem; display: grid; gap: 1rem; }
.hours-box div, .project-grid div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.hours-box div:last-child, .project-grid div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-box strong, .project-grid strong { color: var(--primary); }
.side-card.media-card { padding: 0; overflow: hidden; }
.side-card.media-card > div { padding: 1.25rem; display: grid; gap: .75rem; }
.side-card.media-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.faq-list { display: grid; gap: 1rem; }
.faq-list article { background: var(--card); border: 1px solid var(--border); border-radius: .9rem; padding: 1.25rem; }
.faq-list h3 { font-size: 1.2rem; margin-bottom: .4rem; }

.tour-card { grid-template-rows: 1fr auto; }
.tour-card img { aspect-ratio: 16 / 6; border-radius: .65rem; }
.center-title { text-align: center; margin: 3rem 0 1.5rem; }
.audio-list { display: grid; gap: .75rem; max-width: 860px; margin-inline: auto; }
.audio-list article { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: .8rem; padding: 1rem; }
.audio-demo { width: 3rem; height: 3rem; border-radius: 999px; border: 0; background: rgba(227,194,41,.24); color: var(--primary); cursor: pointer; display: grid; place-items: center; }
.audio-demo.is-playing { background: var(--primary); color: #fff; }
.audio-list span { font-weight: 900; color: rgba(31,41,51,.58); white-space: nowrap; }
.language-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.language-grid span { background: var(--card); border: 1px solid var(--border); border-radius: .8rem; padding: 1rem; color: var(--primary); font-family: var(--font-heading); font-weight: 800; }
.text-section { display: grid; gap: .9rem; }
.text-section.with-border { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.two-col-list { grid-template-columns: repeat(2, 1fr); }
.compact { margin-top: 1.5rem; }

.site-footer { background: var(--primary); color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr 1fr 1fr; gap: 2rem; padding: 4rem 0; }
.site-footer h2 { color: #fff; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: .7rem; margin-bottom: .8rem; }
.site-footer .brand-title { color: #fff; }
.site-footer .brand-subtitle, .site-footer .brand-symbols { color: var(--secondary); }
.footer-brand p, .site-footer p, .footer-menu a, .footer-contact { font-size: .9rem; color: rgba(255,255,255,.72); }
.footer-menu { display: grid; gap: .45rem; }
.footer-menu a:hover, .footer-contact a:hover { color: var(--secondary); }
.footer-contact { display: grid; gap: .75rem; padding: 0; list-style: none; margin: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; }
.footer-contact .icon { width: 1.1rem; height: 1.1rem; color: var(--secondary); flex: 0 0 auto; margin-top: .18rem; }
.eu-mini { display: flex; align-items: center; gap: .55rem; color: var(--secondary); font-size: .8rem; font-weight: 800; margin-top: 1rem; }
.eu-mini .icon { width: 1rem; height: 1rem; }
.footer-bottom { background: rgba(255,255,255,.05); border-top: 1px solid rgba(255,255,255,.06); padding: 1.2rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.62); }
.footer-bottom a:hover { color: var(--secondary); }

.page-content, .post-content, .archive-header, .search-header, .not-found { background: var(--background); }
.single .page-content, .single-post .page-content { background: var(--background); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@keyframes heroZoom { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll { opacity: 0; transform: translateY(32px); transition: opacity .55s cubic-bezier(.23,1,.32,1), transform .55s cubic-bezier(.23,1,.32,1); }
  .reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .feature-grid.four { grid-template-columns: repeat(2, 1fr); }
  .static-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .content-grid, .split-section { grid-template-columns: 1fr; }
  .side-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; background: rgba(234,219,189,.98); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 1rem; display: none; }
  .primary-nav.is-open { display: block; animation: fadeUp .22s cubic-bezier(.23,1,.32,1) both; }
  .primary-menu { display: grid; gap: .6rem; }
  .primary-menu a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--border); }
  .hero-grid { grid-template-columns: 1fr; padding-block: 3rem; }
  .hero-shade { background: linear-gradient(90deg, rgba(42,36,32,.92), rgba(154,116,64,.76)); }
  .floating-info { margin-top: -2rem; grid-template-columns: 1fr; }
  .floating-info article { border-right: 0; border-bottom: 1px solid var(--border); padding-inline: .25rem; }
  .floating-info article:last-child { border-bottom: 0; }
  .feature-grid.three, .feature-grid.two, .price-grid, .project-grid, .side-column, .footer-grid { grid-template-columns: 1fr; }
  .static-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-stage { aspect-ratio: 4 / 3; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .photo-stack figure:nth-child(2), .photo-stack figure:nth-child(4) { transform: none; }
  .language-grid, .two-col-list { grid-template-columns: 1fr 1fr; }
  .hours-box div, .project-grid div { display: grid; }
  .audio-list article { grid-template-columns: auto minmax(0, 1fr); }
  .audio-list span { grid-column: 2; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 1.2rem, 1280px); }
  .hero-copy h1 { font-size: 2.75rem; }
  .hero-actions, .centered-actions { display: grid; }
  .button { width: 100%; }
  .feature-grid.four { grid-template-columns: 1fr; }
  .static-gallery-grid { grid-template-columns: 1fr; }
  .stats-row, .tabs-list { display: grid; }
  .stats-row div { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 .9rem; }
  .language-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 360px; }
}
