/* Hallmark · macrostructure: Full-bleed Counter · tone: homemade-clean · anchor hue: bakery-blue */
:root {
  color-scheme: only light;

  --color-paper: oklch(97% 0.012 78);
  --color-paper-soft: oklch(93% 0.025 78);
  --color-paper-warm: oklch(88% 0.047 72);
  --color-ink: oklch(24% 0.028 65);
  --color-ink-soft: oklch(39% 0.028 70);
  --color-muted: oklch(56% 0.026 72);
  --color-blue: #4ca5fe;
  --color-blue-deep: #003f5c;
  --color-blue-soft: #d8ecff;
  --color-caramel: oklch(64% 0.118 62);
  --color-caramel-deep: oklch(42% 0.09 48);
  --color-white: oklch(100% 0 0);
  --color-black: oklch(13% 0.015 65);
  --color-line: oklch(79% 0.034 76);
  --color-line-dark: oklch(42% 0.026 70);
  --color-focus: #4ca5fe;
  --color-overlay: oklch(19% 0.023 68 / 0.58);
  --color-overlay-light: oklch(19% 0.023 68 / 0.2);
  --color-shadow: oklch(24% 0.028 65 / 0.18);

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Avenir, "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.35rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.35rem;
  --text-display: clamp(3.25rem, 7vw, 6.6rem);

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;

  --radius-xs: 0.25rem;
  --radius-sm: 0.5rem;
  --radius-pill: 999rem;

  --rule-thin: 1px;
  --rule-thick: 2px;

  --dur-fast: 150ms;
  --dur-med: 280ms;
  --dur-slow: 620ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
}

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

html,
body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.has-lightbox {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: var(--rule-thick) solid var(--color-focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: var(--space-md);
  left: var(--space-md);
  transform: translateY(-150%);
  background: var(--color-white);
  color: var(--color-ink);
  border-radius: var(--radius-xs);
  padding: var(--space-sm) var(--space-md);
  transition: transform var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: var(--rule-thin) solid transparent;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out);
}

.button svg,
.lightbox-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button:active {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 680px);
  align-items: end;
  justify-content: start;
  gap: clamp(var(--space-xl), 6vw, var(--space-4xl));
  padding: clamp(5.25rem, 9vw, 7rem) clamp(var(--space-md), 5vw, var(--space-4xl)) var(--space-xl);
  overflow: clip;
  color: var(--color-white);
  isolation: isolate;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  overflow: clip;
  transform: scale(1.03);
}

.hero-media::after {
  content: "";
  z-index: 2;
  background:
    linear-gradient(90deg, var(--color-overlay) 0%, var(--color-overlay-light) 58%, transparent 100%),
    linear-gradient(0deg, var(--color-overlay) 0%, transparent 38%);
}

.hero-media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 1800ms var(--ease-out),
    transform 7000ms linear;
  will-change: opacity, transform;
}

.hero-media-layer > img,
img.hero-media-layer {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.hero-media-layer.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: var(--space-lg);
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 0.93;
}

h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
}

h3 {
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.05;
}

.hero-copy p {
  width: min(560px, 100%);
  margin-bottom: var(--space-xl);
  font-size: clamp(var(--text-md), 2vw, var(--text-lg));
  color: color-mix(in oklch, var(--color-white) 88%, var(--color-blue-soft));
}

.hero-hours {
  position: absolute;
  right: clamp(var(--space-md), 5vw, var(--space-4xl));
  top: clamp(5.25rem, 9vw, 7rem);
  z-index: 1;
  width: min(360px, 100%);
  padding: var(--space-lg);
  border: var(--rule-thin) solid color-mix(in oklch, var(--color-white) 38%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in oklch, var(--color-black) 34%, transparent);
  backdrop-filter: blur(8px);
}

.hero-hours-title {
  margin-bottom: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-hours-title::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--color-white) 65%, transparent);
  box-shadow: 0 0 0 0.2rem color-mix(in oklch, var(--color-white) 12%, transparent);
}

.hero-hours[data-open-state="open"] .hero-hours-title {
  color: color-mix(in oklch, var(--color-white) 94%, #8de28a);
}

.hero-hours[data-open-state="open"] .hero-hours-title::before {
  background: #8de28a;
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, #8de28a 26%, transparent);
}

.hero-hours[data-open-state="closed"] .hero-hours-title {
  color: color-mix(in oklch, var(--color-white) 94%, #ffb7a0);
}

.hero-hours[data-open-state="closed"] .hero-hours-title::before {
  background: #ffb7a0;
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, #ffb7a0 24%, transparent);
}

.hero-hours dl,
.hero-hours dd {
  margin: 0;
}

.hero-hours div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-xs);
  border-top: var(--rule-thin) solid color-mix(in oklch, var(--color-white) 24%, transparent);
}

.hero-hours dt {
  font-size: var(--text-sm);
  font-weight: 800;
  color: color-mix(in oklch, var(--color-white) 84%, var(--color-blue-soft));
}

.hero-hours dd {
  flex-shrink: 0;
  font-size: var(--text-sm);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero .hero-actions {
  margin-bottom: clamp(4.5rem, 8vw, 6rem);
}

.button-primary {
  background: var(--color-white);
  color: var(--color-blue-deep);
}

.button-secondary {
  background: var(--color-blue-deep);
  color: var(--color-white);
}

.button-ghost {
  background: color-mix(in oklch, var(--color-white) 12%, transparent);
  color: var(--color-white);
  border-color: color-mix(in oklch, var(--color-white) 50%, transparent);
  backdrop-filter: blur(8px);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-blue-soft);
  color: var(--color-blue-deep);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--color-blue);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: color-mix(in oklch, var(--color-white) 20%, transparent);
}

.section-pad {
  padding: var(--space-4xl) clamp(var(--space-md), 5vw, var(--space-4xl));
}

.section-grid,
.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr);
  align-items: start;
  gap: clamp(var(--space-xl), 6vw, var(--space-4xl));
}

.section-heading {
  margin-bottom: var(--space-2xl);
}

.small-title {
  margin-bottom: var(--space-md);
  color: var(--color-blue-deep);
  font-size: var(--text-sm);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-lead {
  margin-bottom: 0;
  color: var(--color-ink-soft);
  font-size: clamp(var(--text-md), 2vw, var(--text-lg));
}

.counter {
  position: relative;
  z-index: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  overflow: clip;
}

.counter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(
      -8deg,
      transparent 0,
      transparent 5.25rem,
      color-mix(in srgb, var(--color-blue) 22%, transparent) 5.25rem,
      color-mix(in srgb, var(--color-blue) 22%, transparent) 5.7rem
    );
  background-position: top left;
  background-size: 100vw 11.4rem;
  opacity: 0.56;
  pointer-events: none;
}

.counter .section-heading h2 {
  color: var(--color-blue-deep);
}

.gallery {
  background: var(--color-paper);
  color: var(--color-ink);
}

.gallery .section-heading h2 {
  color: var(--color-blue-deep);
}

.counter-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.counter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(var(--space-lg), 3vw, var(--space-2xl));
}

.counter-menu {
  min-width: 0;
}

.counter-tabs {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.counter-tab {
  min-height: 44px;
  border: var(--rule-thin) solid var(--color-white);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-blue-deep);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 900;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out);
}

.counter-tab:hover,
.counter-tab:focus-visible {
  background: var(--color-white);
  border-color: var(--color-blue-soft);
  box-shadow: inset 0 0 0 var(--rule-thick) var(--color-blue-soft);
  transform: translateY(-1px);
}

.counter-tab.is-active {
  background: var(--color-white);
  color: var(--color-blue-deep);
  border-color: var(--color-blue-soft);
  box-shadow:
    inset 0 0 0 var(--rule-thick) var(--color-blue-soft),
    0 10px 24px color-mix(in srgb, var(--color-black) 14%, transparent);
}

.counter-content {
  border-top: var(--rule-thick) solid color-mix(in srgb, var(--color-blue) 20%, transparent);
}

.counter-item {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  align-items: stretch;
  height: clamp(340px, 34vw, 440px);
  background: var(--color-paper);
  overflow: clip;
  box-shadow: 0 22px 60px color-mix(in srgb, var(--color-black) 18%, transparent);
}

.counter-item[hidden] {
  display: none;
}

.counter-item img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: cover;
}

.counter-item div {
  display: grid;
  align-content: center;
  min-height: 0;
  padding: clamp(var(--space-xl), 5vw, var(--space-3xl));
}

.counter-item p {
  color: var(--color-ink-soft);
  font-size: var(--text-md);
}

.inline-link {
  width: fit-content;
  color: var(--color-blue-deep);
  font-weight: 900;
  text-decoration-thickness: var(--rule-thick);
  text-underline-offset: 0.3em;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--color-caramel-deep);
}

.raves {
  position: relative;
  z-index: 0;
  background: var(--color-paper);
  overflow: clip;
}

.raves::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--color-paper) 0%, color-mix(in oklch, var(--color-paper) 88%, transparent) 48%, var(--color-paper) 100%);
  opacity: 0.22;
  pointer-events: none;
}

.raves::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23cfc1ac' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M58 236 C93 188 123 117 146 24'/%3E%3Cpath d='M82 194 C62 184 49 166 43 145 C65 151 82 164 94 184'/%3E%3Cpath d='M101 153 C80 143 66 124 60 101 C84 107 101 122 113 143'/%3E%3Cpath d='M119 109 C100 96 90 75 89 51 C111 60 125 77 132 99'/%3E%3Cpath d='M146 176 C171 164 189 142 196 115 C169 123 149 141 137 164'/%3E%3Cpath d='M154 129 C178 116 192 95 196 68 C171 77 155 96 146 119'/%3E%3Cpath d='M164 82 C185 69 197 49 199 25 C177 34 164 51 157 72'/%3E%3Cpath d='M43 236 C82 217 126 210 188 218'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23cfc1ac' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M137 139 L224 226'/%3E%3Cpath d='M224 226 L242 244'/%3E%3Cpath d='M128 132 L144 148'/%3E%3Cpath d='M49 54 C66 12 118 12 157 43 C194 72 185 121 137 139 C88 157 29 121 49 54 Z'/%3E%3Cpath d='M68 42 C85 18 122 25 150 51 C177 77 169 114 137 139'/%3E%3Cpath d='M88 34 C105 25 132 38 153 61 C172 83 165 116 137 139'/%3E%3Cpath d='M50 86 C69 66 104 66 139 82 C162 93 162 122 137 139'/%3E%3Cpath d='M45 113 C68 93 104 91 138 103 C158 110 158 126 137 139'/%3E%3Cpath d='M137 139 C116 113 112 72 122 29'/%3E%3Cpath d='M137 139 C96 126 66 92 55 45'/%3E%3Cpath d='M143 148 L156 160'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cg transform='rotate(-18 130 130)' fill='none' stroke='%23cfc1ac' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M68 106 H192 C204 106 214 116 214 130 C214 144 204 154 192 154 H68 C56 154 46 144 46 130 C46 116 56 106 68 106 Z'/%3E%3Cpath d='M20 130 H46'/%3E%3Cpath d='M214 130 H240'/%3E%3Cpath d='M68 106 V154'/%3E%3Cpath d='M192 106 V154'/%3E%3Cpath d='M85 119 H175'/%3E%3Cpath d='M85 141 H175'/%3E%3C/g%3E%3C/svg%3E");
  background-position:
    left clamp(0.75rem, 3vw, 2.5rem) bottom clamp(0.75rem, 3vw, 2.25rem),
    calc(50% + 15rem) calc(50% + 14rem),
    center top clamp(2rem, 5vw, 4rem);
  background-repeat: no-repeat;
  background-size:
    clamp(230px, 30vw, 430px) auto,
    clamp(290px, 34vw, 440px) auto,
    clamp(260px, 32vw, 440px) auto;
  opacity: 0.68;
  pointer-events: none;
}

.raves-list {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.rave {
  --rave-rotate: -1deg;

  position: relative;
  isolation: isolate;
  margin: 0;
  padding: clamp(var(--space-lg), 3vw, var(--space-xl)) clamp(var(--space-lg), 3.3vw, var(--space-2xl));
  border: 0;
  background:
    linear-gradient(104deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.08) 42%, rgba(91, 57, 32, 0.06)),
    radial-gradient(circle at 18% 22%, rgba(112, 72, 38, 0.11) 0 1px, transparent 1.7px),
    radial-gradient(circle at 72% 68%, rgba(0, 67, 89, 0.09) 0 1px, transparent 1.8px),
    oklch(93% 0.025 78 / 0.74);
  filter: drop-shadow(0 18px 24px color-mix(in srgb, var(--color-ink) 13%, transparent));
  transform: rotate(var(--rave-rotate));
  transform-origin: 50% 48%;
  transition: transform var(--dur-fast) var(--ease-out);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M2 4 L7 2 L13 4 L18 2 L24 3 L31 2 L37 4 L44 2 L51 3 L58 2 L65 4 L72 2 L79 3 L86 2 L94 4 L98 3 L97 11 L99 18 L97 25 L98 33 L96 41 L98 50 L97 58 L99 66 L97 74 L98 82 L96 90 L98 97 L91 96 L84 98 L76 96 L68 98 L60 97 L52 99 L45 96 L37 98 L29 97 L21 99 L14 96 L7 98 L2 96 L4 88 L2 80 L3 72 L1 64 L3 56 L2 48 L4 40 L2 32 L3 24 L1 16 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M2 4 L7 2 L13 4 L18 2 L24 3 L31 2 L37 4 L44 2 L51 3 L58 2 L65 4 L72 2 L79 3 L86 2 L94 4 L98 3 L97 11 L99 18 L97 25 L98 33 L96 41 L98 50 L97 58 L99 66 L97 74 L98 82 L96 90 L98 97 L91 96 L84 98 L76 96 L68 98 L60 97 L52 99 L45 96 L37 98 L29 97 L21 99 L14 96 L7 98 L2 96 L4 88 L2 80 L3 72 L1 64 L3 56 L2 48 L4 40 L2 32 L3 24 L1 16 Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.rave:nth-child(2),
.rave:nth-child(4) {
  --rave-rotate: 1.5deg;
}

.rave:nth-child(3) {
  --rave-rotate: -0.7deg;
}

.rave::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(84deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 10px),
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.34), transparent 34%);
  mix-blend-mode: multiply;
  opacity: 0.72;
}

.rave p {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-sm);
  color: var(--color-ink);
  font-size: clamp(var(--text-base), 1.45vw, var(--text-lg));
  line-height: 1.45;
}

.rave cite {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--color-blue-deep);
  font-style: normal;
  font-weight: 900;
}

.gallery-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 14vw, 210px);
  gap: clamp(var(--space-sm), 1.4vw, var(--space-md));
}

.gallery-item {
  display: block;
  min-width: 0;
  padding: 0;
  border: var(--rule-thin) solid color-mix(in oklch, var(--color-white) 20%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in oklch, var(--color-white) 10%, transparent);
  overflow: clip;
  cursor: zoom-in;
  box-shadow: 0 20px 46px color-mix(in srgb, var(--color-black) 16%, transparent);
}

.gallery-item:nth-child(1) {
  grid-column: 1 / span 6;
  grid-row: span 2;
}

.gallery-item:nth-child(2) {
  grid-column: 7 / span 3;
  grid-row: span 3;
}

.gallery-item:nth-child(3) {
  grid-column: 10 / span 3;
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-column: 1 / span 3;
}

.gallery-item:nth-child(5) {
  grid-column: 4 / span 3;
}

.gallery-item:nth-child(6) {
  grid-column: 10 / span 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform var(--dur-slow) var(--ease-out),
    filter var(--dur-med) var(--ease-out);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.team {
  position: relative;
  z-index: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  overflow: clip;
}

.team::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(
      -8deg,
      transparent 0,
      transparent 5.25rem,
      color-mix(in srgb, var(--color-blue) 22%, transparent) 5.25rem,
      color-mix(in srgb, var(--color-blue) 22%, transparent) 5.7rem
    );
  opacity: 0.56;
  pointer-events: none;
}

.team-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.team-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(var(--space-xl), 5vw, var(--space-4xl));
  padding-bottom: clamp(var(--space-xl), 4vw, var(--space-3xl));
}

.team-portrait,
.team-table,
.process-tile {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: clip;
  border-radius: var(--radius-sm);
  background: var(--color-paper-soft);
  box-shadow: 0 22px 56px color-mix(in srgb, var(--color-blue-deep) 10%, transparent);
}

.team-portrait img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  object-position: center top;
}

.team-portrait figcaption,
.process-tile figcaption {
  position: absolute;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  color: var(--color-white);
}

.team-portrait figcaption::before,
.process-tile figcaption::before {
  content: "";
  position: absolute;
  inset: calc(var(--space-sm) * -1);
  z-index: -1;
  border-radius: var(--radius-xs);
  background: color-mix(in oklch, var(--color-black) 54%, transparent);
  backdrop-filter: blur(8px);
}

.team-portrait figcaption {
  right: auto;
  width: fit-content;
  max-width: calc(100% - (var(--space-md) * 2));
  justify-content: flex-start;
  font-size: var(--text-sm);
  font-weight: 900;
}

.process-tile figcaption {
  right: auto;
  width: fit-content;
  max-width: calc(100% - (var(--space-md) * 2));
  justify-content: flex-start;
}

.team-copy {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: clamp(var(--space-lg), 3vw, var(--space-2xl));
  min-width: 0;
}

.team-copy h2 {
  max-width: 760px;
  color: var(--color-blue-deep);
  text-align: right;
}

.team-table {
  width: min(720px, 100%);
}

.team-table img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 52%;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(var(--space-sm), 1.4vw, var(--space-md));
  margin-top: clamp(var(--space-xl), 4vw, var(--space-3xl));
}

.process-tile img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
}

.process-tile strong {
  font-size: var(--text-sm);
  line-height: 1;
  letter-spacing: 0;
}

.process-tile strong {
  font-weight: 900;
}

.visit {
  background: var(--color-paper);
}

.visit-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: block;
}

.visit-heading {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.visit p:not(.small-title) {
  color: var(--color-ink-soft);
  font-size: var(--text-md);
}

.visit-map-frame {
  width: min(1040px, 100%);
  margin: 0 auto;
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 100%;
  padding: clamp(0.55rem, 1vw, 0.85rem);
  border: var(--rule-thin) solid color-mix(in oklch, var(--color-caramel) 28%, var(--color-white));
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: color-mix(in oklch, var(--color-white) 82%, var(--color-paper));
  box-shadow:
    0 26px 48px color-mix(in srgb, var(--color-blue-deep) 16%, transparent),
    0 3px 8px color-mix(in srgb, var(--color-ink) 8%, transparent);
  transform: rotate(0.5deg);
}

.visit-map-frame::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: 50%;
  z-index: 2;
  width: clamp(86px, 12vw, 132px);
  height: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-xs);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04) 42%),
    color-mix(in oklch, var(--color-caramel) 34%, var(--color-paper));
  box-shadow: 0 5px 12px color-mix(in srgb, var(--color-ink) 12%, transparent);
  opacity: 0.82;
  pointer-events: none;
  transform: translate(-50%, -52%) rotate(-2deg);
}

.visit-map-link {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.visit-map-link:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: -3px;
}

.visit-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 42vw, 460px);
  border: 0;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.site-footer {
  position: relative;
  z-index: 0;
  padding: clamp(var(--space-xl), 3.5vw, var(--space-2xl)) clamp(var(--space-md), 5vw, var(--space-4xl));
  border-top: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: var(--text-sm);
  overflow: clip;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-paper);
  pointer-events: none;
}

.footer-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(150px, 0.8fr) minmax(180px, 0.95fr) minmax(190px, 1fr);
  gap: clamp(var(--space-xl), 5vw, var(--space-4xl));
  align-items: start;
}

.footer-brand-block {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: var(--space-sm);
  min-width: 0;
}

.footer-brand {
  display: block;
  width: 76px;
  border-radius: 50%;
  overflow: clip;
  background: var(--color-white);
}

.footer-brand img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.footer-intro,
.footer-section {
  display: grid;
  gap: var(--space-xs);
  align-content: start;
  min-width: 0;
}

.footer-intro p,
.footer-section p,
.footer-bottom p {
  margin-bottom: 0;
}

.footer-kicker,
.footer-label {
  color: var(--color-blue-deep);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.15;
}

.footer-intro p:last-child,
.footer-section p:not(.footer-label) {
  color: var(--color-ink);
  font-weight: 400;
  line-height: 1.45;
}

.footer-placeholder {
  min-height: 4.5rem;
}

.footer-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-ink);
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  transition:
    color var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--color-caramel-deep);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-back-top,
.footer-visit-link {
  margin-top: var(--space-sm);
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-lg);
  align-items: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: var(--rule-thin) solid color-mix(in oklch, var(--color-white) 64%, var(--color-paper));
}

.footer-bottom p {
  color: var(--color-ink);
  font-size: var(--text-xs);
  font-weight: 500;
}

.footer-venues {
  min-height: 7rem;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: var(--space-xs);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  background: var(--color-blue-deep);
  padding: var(--space-xs) var(--space-sm);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.footer-credit span {
  letter-spacing: 0.02em;
  text-transform: none;
}

.footer-credit img {
  display: block;
  width: clamp(54px, 5vw, 72px);
  height: auto;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  color: var(--color-white);
  background: var(--color-caramel-deep);
}

.footer-credit:hover img,
.footer-credit:focus-visible img {
  opacity: 0.8;
}

.lightbox {
  width: min(920px, calc(100vw - var(--space-xl)));
  max-height: calc(100svh - var(--space-xl));
  padding: var(--space-sm);
  border: var(--rule-thin) solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  color: var(--color-ink);
  box-shadow: 0 36px 100px var(--color-shadow);
}

.lightbox::backdrop {
  background: color-mix(in oklch, var(--color-black) 72%, transparent);
}

.lightbox img {
  width: 100%;
  max-height: calc(100svh - 9rem);
  object-fit: contain;
  border-radius: var(--radius-xs);
}

.lightbox p {
  margin: var(--space-sm) var(--space-xs) 0;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: var(--rule-thin) solid color-mix(in oklch, var(--color-white) 38%, transparent);
  border-radius: 50%;
  background: color-mix(in oklch, var(--color-black) 58%, transparent);
  color: var(--color-white);
  cursor: pointer;
}

.whatsapp-float {
  --footer-overlap-offset: 0px;
  position: fixed;
  right: clamp(var(--space-md), 3vw, var(--space-xl));
  bottom: calc(clamp(var(--space-md), 3vw, var(--space-xl)) + env(safe-area-inset-bottom, 0px) + var(--footer-overlap-offset));
  z-index: 25;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  color: var(--color-white);
  border: 0;
  box-shadow:
    0 14px 28px color-mix(in srgb, var(--color-black) 22%, transparent),
    0 0 0 1px color-mix(in srgb, var(--color-white) 18%, transparent);
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  background: #1fba57;
  box-shadow:
    0 18px 32px color-mix(in srgb, var(--color-black) 26%, transparent),
    0 0 0 1px color-mix(in srgb, var(--color-white) 22%, transparent);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

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

@media (max-width: 920px) {
  .hero {
    min-height: 100svh;
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero-hours {
    top: var(--space-xl);
    right: var(--space-md);
    width: min(320px, calc(100% - (var(--space-md) * 2)));
  }

  .section-grid,
  .counter-layout,
  .counter-item,
  .team-intro,
  .visit-inner {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-credit {
    justify-self: start;
  }

  .counter-item {
    height: auto;
    min-height: unset;
  }

  .counter-item img {
    height: auto;
    min-height: 340px;
    max-height: 58svh;
  }

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

  .team-intro {
    align-items: start;
  }

  .team-portrait {
    width: min(520px, 100%);
  }

  .team-copy {
    padding-bottom: 0;
  }

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

  .process-tile img {
    aspect-ratio: 1.08;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(140px, 25vw, 210px);
  }

  .gallery-item:nth-child(1) {
    grid-column: 1 / span 4;
    grid-row: span 2;
  }

  .gallery-item:nth-child(2) {
    grid-column: 5 / span 2;
    grid-row: span 2;
  }

  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    grid-row: span 1;
  }

  .gallery-item:nth-child(3) {
    grid-column: 1 / span 3;
  }

  .gallery-item:nth-child(4) {
    grid-column: 4 / span 3;
  }

  .gallery-item:nth-child(5) {
    grid-column: 1 / span 6;
    grid-row: span 2;
  }

  .gallery-item:nth-child(6) {
    grid-column: 1 / span 6;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 100svh;
    align-content: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-md) var(--space-xl);
  }

  .hero-media-layer > img,
  img.hero-media-layer {
    object-position: center top;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, var(--color-overlay) 0%, var(--color-overlay-light) 72%, transparent 100%),
      linear-gradient(90deg, var(--color-overlay-light) 0%, transparent 100%);
  }

  .hero-hours {
    position: static;
    width: 100%;
    padding: var(--space-md);
  }

  .hero-hours div {
    gap: var(--space-sm);
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.8rem);
  }

  h2 {
    font-size: clamp(var(--text-2xl), 11vw, 3.4rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero .hero-actions {
    margin-bottom: var(--space-md);
  }

  .button {
    width: 100%;
  }

  .section-pad {
    padding: clamp(var(--space-2xl), 10vw, var(--space-3xl)) var(--space-md);
  }

  .section-heading {
    margin-bottom: var(--space-xl);
  }

  .gallery,
  .process-strip {
    display: none;
  }

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

  .counter-tab {
    padding-inline: var(--space-sm);
  }

  .counter-item img {
    min-height: 260px;
    max-height: 54svh;
  }

  .inline-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: var(--space-2xs);
  }

  .raves-list,
  .process-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .team-intro {
    gap: var(--space-xl);
  }

  .team-copy {
    display: contents;
    justify-items: start;
  }

  .team-copy h2 {
    order: -1;
    text-align: left;
  }

  .team-portrait {
    width: 100%;
  }

  .team-portrait img,
  .process-tile img {
    aspect-ratio: 1;
  }

  .team-portrait figcaption,
  .process-tile figcaption {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
  }

  .team-portrait figcaption {
    right: auto;
    max-width: calc(100% - (var(--space-sm) * 2));
  }

  .process-tile figcaption {
    right: auto;
    max-width: calc(100% - (var(--space-sm) * 2));
  }

  .gallery-grid {
    grid-auto-rows: minmax(220px, 72vw);
  }

  .gallery-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .visit-map-frame {
    height: clamp(300px, 78vw, 340px);
    min-height: 0;
    aspect-ratio: auto;
    transform: none;
  }

  .visit-map-frame iframe {
    height: 100%;
    min-height: 0;
  }

  .site-footer {
    padding-bottom: calc(var(--space-2xl) + 0.5rem);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    justify-items: center;
    text-align: center;
  }

  .footer-brand-block {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-intro,
  .footer-section,
  .footer-bottom {
    justify-items: center;
    text-align: center;
  }

  .footer-placeholder {
    min-height: 0;
  }

  .footer-link,
  .footer-credit {
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding-block: var(--space-2xs);
  }

  .whatsapp-float {
    right: var(--space-md);
    bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0px) + var(--footer-overlap-offset));
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 29px;
    height: 29px;
  }

  .button:hover,
  .counter-tab:hover,
  .whatsapp-float:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: var(--dur-fast) !important;
    animation-duration: var(--dur-fast) !important;
    animation-iteration-count: 1 !important;
  }

  .hero-media {
    transform: none;
  }

  .hero-media-layer {
    transition: none !important;
    transform: none !important;
  }
}
