/* ==========================================================================
   IN-FRED Consult — static site styles
   Palette, type and layout derived from the original WordPress/Elementor build.
   ========================================================================== */

/* --------------------------------------------------------------- fonts --- */
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-var.ttf") format("truetype-variations"),
       url("../fonts/raleway-var.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-var.ttf") format("truetype-variations"),
       url("../fonts/oswald-var.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Exo";
  src: url("../fonts/exo-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Exo";
  src: url("../fonts/exo-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens --- */
:root {
  --sand: #f6dcc5;
  --sand-soft: #fbeddf;
  --cream: #ffe3b2;
  --ink: #353131;
  --ink-deep: #2b2828;
  --heading: #383838;
  --body: #5f5f5f;
  --rust: #8d3a02;
  --orange: #b75e01;
  --orange-dark: #a35400;
  --maroon: #4b2a2a;
  --wine: #690000;
  --gold: #f8a855;
  --rule: #d8cec5;
  --paper: #efefef;

  --font-body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-accent: "Exo", var(--font-body);

  --container: 1120px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(35, 24, 16, 0.08);
  --shadow-md: 0 10px 30px rgba(35, 24, 16, 0.12);
  --shadow-lg: 0 24px 60px rgba(35, 24, 16, 0.22);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  color: var(--heading);
  letter-spacing: -0.2px;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--rust);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--orange); }

img { max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

main {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
main > :last-child { flex: 1 0 auto; }

.visually-hidden {
  position: absolute !important;
  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: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 999;
  padding: 12px 22px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

/* --------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--ink);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 48px);
  min-height: 96px;
}

.brand {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}
.brand img {
  width: clamp(180px, 22vw, 250px);
  height: auto;
  display: block;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-block;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--cream); border-bottom-color: var(--cream); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--orange); }

.social {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.social a:hover { background: rgba(255, 255, 255, 0.12); color: var(--cream); }
.social svg { width: 19px; height: 19px; fill: currentColor; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(72vh, 720px);
  overflow: hidden;
  background: var(--ink-deep);
  isolation: isolate;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 900ms ease;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.hero-slide.is-active {
  opacity: 1;
  /* linear, so the drift never stalls — an eased curve front-loads the whole
     zoom into the first couple of seconds and then looks static */
  animation: kenburns 12s linear both;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.18); }
}

/* hero artwork (slide 1 has a lighter mobile crop) */
.hero-slide--1 { background-image: url("../img/hero-1.webp"); }
.hero-slide--2 { background-image: url("../img/hero-2.webp"); }
.hero-slide--3 { background-image: url("../img/hero-3.webp"); }

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--gutter) * 2), var(--container));
  padding: clamp(72px, 12vh, 140px) 0;
  text-align: center;
  color: #fff;
}
.hero-slide-panel {
  display: none;
  animation: rise 700ms ease both;
}
.hero-slide-panel.is-active { display: block; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero h1,
.hero h2 {
  margin: 0 0 0.35em;
  color: #fff;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero p {
  margin: 0 auto 2rem;
  max-width: 40ch;
  color: #fdf7f0;
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hero-arrow:hover { opacity: 1; }
.hero-arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero-arrow--prev { left: clamp(4px, 2vw, 24px); }
.hero-arrow--next { right: clamp(4px, 2vw, 24px); }

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.hero-dots button[aria-selected="true"] { background: #fff; }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95rem 1.9rem 0.85rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; }

.btn--outline {
  border: 1px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font-size: 1.15rem;
}
.btn--outline:hover { background: var(--cream); color: var(--rust); }

.btn--wine { background: var(--wine); }
.btn--wine:hover { background: #7d0a0a; color: #ffd9c4; }

.btn--wide { width: 100%; }

/* ----------------------------------------------------------- quicklinks --- */
.quicklinks {
  background: linear-gradient(90deg, var(--rust) 0%, #a54a05 55%, var(--orange) 100%);
}
.quicklinks .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
}

/* ------------------------------------------------------------- sections --- */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--sand { background: var(--sand); }
.section--soft { background: var(--sand-soft); }
.section--maroon { background: var(--maroon); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }
/* fills the height left between the content above and the footer, centring its content */
.section--fill { display: flex; align-items: center; }

.page-head {
  background: var(--sand);
  padding-block: clamp(26px, 4vw, 40px);
}
.page-head--white { background: #fff; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.page-head h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 700;
}
.page-head p {
  margin: 0.5rem 0 0;
  max-width: 62ch;
  color: var(--body);
  font-size: 1.02rem;
}

.eyebrow {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--rust);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- prose --- */
.prose { max-width: 46rem; }
.center-col { max-width: 44rem; margin-inline: auto; }
.prose--center { margin-inline: auto; text-align: center; }
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.prose h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--heading);
}
.prose--lead p { font-size: 1.02rem; }

.intro-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.intro-head h2 {
  margin-bottom: 0.3em;
  font-size: clamp(1.7rem, 3.2vw, 2.30rem);
  text-transform: uppercase;
}
.intro-head p {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------- services --- */
.services {
  display: grid;
  gap: 1.35rem;
  margin-top: 2.6rem;
}
.services-title {
  margin: 0 0 0.2em;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--heading);
}
.service h4 {
  margin: 0 0 0.15em;
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--heading);
}
.service p { margin: 0; font-size: 0.96rem; line-height: 1.6; }

/* --------------------------------------------------------------- split --- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  text-transform: uppercase;
}

.band {
  min-height: clamp(240px, 42vh, 420px);
  background: url("../img/team.webp") center / cover no-repeat;
}

/* ---------------------------------------------------------- accordions --- */
.accordion {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.acc-item + .acc-item { border-top: 3px solid #fff; }

.acc-item > summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 15px clamp(16px, 2.4vw, 26px);
  background: linear-gradient(90deg, var(--rust) 0%, #a8500a 60%, var(--orange) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: filter 0.2s ease;
}
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item > summary::marker { content: ""; }
.acc-item > summary:hover { filter: brightness(1.08); }
.acc-item > summary:focus-visible { outline-offset: -4px; }

.acc-item > summary .tri {
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 10px solid currentColor;
  transition: transform 0.25s ease;
}
.acc-item:not([open]) > summary .tri { transform: rotate(180deg); }

.acc-body {
  padding: clamp(26px, 4vw, 46px) clamp(18px, 3vw, 44px);
  background: var(--paper);
}
.acc-body > * + * { margin-top: 1.6rem; }
.acc-body h2,
.acc-body h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.acc-body h2 { text-transform: uppercase; }

.acc-item--dark .acc-body {
  background: var(--maroon);
  color: var(--sand);
}

/* nested accordion (gallery, inside a section) */
.accordion--nested { box-shadow: none; border-radius: 4px; }
.accordion--nested .acc-item > summary {
  background: #8f8f8f;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  text-transform: none;
  letter-spacing: 0.01em;
}
.accordion--nested .acc-item > summary .plus {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}
.accordion--nested .acc-item > summary .plus::before,
.accordion--nested .acc-item > summary .plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 3px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.accordion--nested .acc-item > summary .plus::after { transform: translateY(-50%) rotate(90deg); }
.accordion--nested .acc-item[open] > summary .plus::after { transform: translateY(-50%) rotate(0deg); }
.accordion--nested .acc-body { background: transparent; padding: 20px 0 26px; }

/* ------------------------------------------------------------ columns --- */
.cols2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem clamp(28px, 4vw, 64px);
}
.cols2 p { font-size: 0.98rem; line-height: 1.62; }

/* one continuous piece of copy spread over two balanced columns (CSS multicol) */
.cols2--flow {
  display: block;
  columns: 2;
  column-gap: clamp(28px, 4vw, 64px);
  orphans: 2;
  widows: 2;
}
.cols2--flow p { margin-bottom: 1rem; break-inside: auto; }

.figure-wide {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.figure-wide img { display: block; width: 100%; }
.figure-wide--plain { box-shadow: none; background: transparent; }

/* --------------------------------------------------------------- cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px) clamp(20px, 2.6vw, 32px);
}
.card {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.14);
}
.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}
.card__title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  color: var(--gold);
  font-family: var(--font-accent);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.card__body {
  padding: 14px 16px 18px;
}
.card__sub {
  margin: 0 0 0.6rem;
  color: var(--sand);
  font-family: var(--font-accent);
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
}
.card__body p {
  margin: 0;
  color: #f3e2d4;
  font-family: var(--font-accent);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.5;
}

.maroon-head { color: #fff; }
.maroon-head .eyebrow { color: var(--gold); }
.maroon-lede {
  color: var(--gold) !important;
  font-family: var(--font-accent);
  font-size: 0.98rem !important;
  font-weight: 300;
}

/* ------------------------------------------------------------- gallery --- */
.masonry {
  columns: 4;
  column-gap: 16px;
}
.gallery-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #ddd;
  cursor: zoom-in;
  line-height: 0;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.03); filter: brightness(1.04); }

/* ------------------------------------------------------------ lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(18, 14, 12, 0.94);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: grid; }
.lightbox figure {
  position: relative;
  max-width: min(1200px, 100%);
  max-height: 100%;
  margin: 0;
  text-align: center;
}
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  margin-inline: auto;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.lightbox figcaption {
  margin-top: 16px;
  color: #e9dccf;
  font-family: var(--font-head);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox__close {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  font-size: 1.4rem;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
}
.lightbox__nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #cdbfb2;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

/* --------------------------------------------------------------- video --- */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow-md);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #111 center / cover no-repeat;
  cursor: pointer;
}
.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  transition: background-color 0.25s ease;
}
.video-facade:hover::after { background: rgba(0, 0, 0, 0.14); }
.video-facade .play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(183, 94, 1, 0.94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.video-facade:hover .play { transform: translate(-50%, -50%) scale(1.06); background: var(--orange); }
.video-facade .play svg { width: 26px; height: 26px; margin-left: 4px; fill: #fff; }
/* shown instead of a player when no http(s) referrer is available (file://) */
.video-blocked {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(16px, 4vw, 40px);
  text-align: center;
  background: #171310;
  color: #e6d9cc;
}
.video-blocked__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}
.video-blocked__msg {
  max-width: 56ch;
  margin: 0;
  color: #cbbfb2;
  font-size: 0.9rem;
  line-height: 1.55;
}
.video-blocked .btn { margin-top: 4px; font-size: 0.95rem; }

.video-caption {
  margin-top: 0.7rem;
  color: var(--heading);
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.playlist { display: grid; gap: 18px; }
.playlist__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.playlist__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.playlist__item:hover { border-color: var(--orange); background: #fffaf4; }
.playlist__item[aria-current="true"] {
  border-color: var(--orange);
  background: #fff4e6;
}
.playlist__thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 54px;
  object-fit: cover;
  border-radius: 3px;
  background: #ddd;
}
.playlist__item span.dur {
  margin-left: auto;
  color: var(--body);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------- contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 760px;
  margin-inline: auto;
}
.contact-address {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  color: var(--heading);
  text-align: right;
}
.contact-links { display: grid; gap: 12px; justify-items: start; }

.contact-card { max-width: 800px; margin-inline: auto; }

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-width: 140px;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.btn-contact:hover { filter: brightness(1.1); color: #fff; }
.btn-contact svg { width: 17px; height: 17px; fill: currentColor; }
.btn-contact--mail { background: var(--orange); }
.btn-contact--call { background: #0e7ac4; }
.btn-contact--wa { background: #25d366; }

/* ----------------------------------------------------------- programme --- */
.programme {
  position: relative;
  padding-block: clamp(36px, 6vw, 72px);
  background: url("../img/royal-umbrella.webp") center / cover no-repeat;
  isolation: isolate;
}
.programme::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.32);
}
.programme__inner {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 64px);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  text-align: center;
}
.programme__inner h1 {
  margin-bottom: 0.2em;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}
.programme__inner h2 {
  margin-bottom: 1.4em;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
}
.agenda { margin: 0; padding: 0; list-style: none; }
.agenda li {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
  color: #4a4a4a;
}
.agenda .role { color: #993300; }
.agenda .gap { height: 1.4em; }

.programme__seal {
  width: clamp(150px, 22vw, 260px);
  margin: 2.2rem auto 0;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.25));
}
.supported {
  margin-top: clamp(28px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid #6b6b6b;
}
.supported p {
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: #4a4a4a;
}
.supported img { width: clamp(180px, 26vw, 250px); }

/* ---------------------------------------------------------------- forms --- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px clamp(16px, 2vw, 26px);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--third { grid-column: span 4; }
.field--half { grid-column: span 6; }
.field--full { grid-column: span 12; }
.field label {
  font-size: 0.92rem;
  font-weight: 500;
  color: #4c4c4c;
}
.field .req { color: var(--wine); }

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #d6d0ca;
  border-radius: 4px;
  background: #fff;
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.4;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(183, 94, 1, 0.22);
  outline-offset: 0;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #6b6b6b 50%), linear-gradient(135deg, #6b6b6b 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }

.form-note {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  background: #fff7ec;
  color: #6a4420;
  font-size: 0.92rem;
}
.form-note.is-visible { display: block; }
.form-note a { color: var(--rust); }

/* ------------------------------------------------ order result pages (PHP) --- */
.result-bar {
  padding-block: 16px;
  background: var(--ink);
}
.result-bar img {
  display: block;
  width: 200px;
  height: auto;
}
.result-card {
  max-width: 42rem;
  margin-inline: auto;
  padding: clamp(26px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.result-card h1 {
  margin-bottom: 0.5em;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
}
.result-card .lead { font-size: 1.05rem; }
.result-list {
  margin: 1.6rem 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.result-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.result-list li span:last-child {
  font-weight: 700;
  color: var(--heading);
  text-align: right;
  word-break: break-word;
}
.result-errors {
  margin: 1rem 0 1.6rem;
  padding-left: 1.2rem;
  color: var(--wine);
  font-weight: 600;
}
.result-errors li { margin-bottom: 0.4rem; }
.result-actions { margin: 1.6rem 0 0.4rem; }
.result-fallback {
  margin-top: 1.4rem;
  font-size: 0.92rem;
  color: var(--body);
}
.form-privacy {
  margin-top: 1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--body);
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------- footer --- */
.site-footer {
  flex: 0 0 auto;
  padding-block: clamp(22px, 3vw, 30px) 22px;
  background: var(--ink);
  color: #bdb7b2;
  text-align: center;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  font-size: 0.92rem;
}
.footer-meta a { color: #d8d2cc; text-decoration: none; }
.footer-meta a:hover { color: var(--cream); text-decoration: underline; }
.copyright {
  margin: 14px 0 0;
  color: #a8a19a;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

/* ------------------------------------------------------------ back top --- */
.to-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--heading);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* --------------------------------------------------------------- utils --- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.6rem; }
.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.text-center { text-align: center; }
.lead { font-size: 1.05rem; }
.notice {
  margin-top: 1.4rem;
  padding: 14px 18px;
  border-left: 4px solid var(--wine);
  border-radius: 4px;
  background: rgba(105, 0, 0, 0.06);
  color: #7a1a1a;
  font-size: 0.92rem;
}
.notice--neutral { border-left-color: var(--orange); background: rgba(183, 94, 1, 0.08); color: #6a4420; }

/* ================================================================ media === */
@media (max-width: 1024px) {
  .masonry { columns: 3; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 90px; }

  .header-inner { min-height: 76px; }
  .brand img { width: 168px; }
  .social { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 10px var(--gutter) 22px;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .site-nav a { display: block; padding: 10px 0; font-size: 1.05rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: transparent; color: var(--cream); }

  .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
  .split .media { order: -1; }
  .split img { max-width: 420px; }

  .cols2 { grid-template-columns: 1fr; }
  .cols2--flow { columns: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-address { text-align: left; }

  .hero-arrow { width: 44px; height: 44px; }
  .hero-arrow svg { width: 20px; height: 20px; }
}

@media (max-width: 700px) {
  .hero-slide--1 { background-image: url("../img/hero-1-1600.webp"); }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 18px; gap: 12px; }
  .hero-dots button { width: 11px; height: 11px; }
  .hero p { font-size: 0.92rem; }
}

@media (max-width: 720px) {
  .masonry { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
  .cards { grid-template-columns: 1fr; }
  .field--third, .field--half { grid-column: span 12; }
  .quicklinks .container { flex-direction: column; }
  .quicklinks .btn { justify-content: center; width: 100%; }
  .page-head { padding-block: 22px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 4px; }
  .lightbox__nav--next { right: 4px; }
  .programme__inner { text-align: left; }
  .supported { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide.is-active { animation: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
