@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;600;700&family=Plus+Jakarta+Sans:wght@600;700&family=Staatliches&display=swap");

:root {
  --bg: #080704;
  --ink: #0d0b08;
  --paper: #eee7d8;
  --paper-soft: #d9cfbd;
  --text: #f4efe6;
  --muted: #b9ad9b;
  --accent: #dd8427;
  --accent-2: #ffb65a;
  --danger: #962f2f;
  --line: rgba(244, 239, 230, 0.18);
  --line-strong: rgba(244, 239, 230, 0.36);
  --hero-bg-y: 0px;
  --map-bg-y: 0px;
  --ticket-shift-x: 0px;
  --ticket-shift-y: 0px;
  --ticket-tilt: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  max-width: 100%;
  background-color: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100%;
  margin: 0;
  font-family: "Oswald", Impact, "Arial Narrow", sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(244, 239, 230, 0.035) 1px, transparent 1px) 0 0 / 42px 42px,
    radial-gradient(circle at 84% 8%, rgba(221, 132, 39, 0.28), transparent 30rem),
    linear-gradient(135deg, #050403 0%, #11100d 58%, #070604 100%);
  background-color: var(--bg);
  line-height: 1.52;
  overflow-x: hidden;
  overflow-x: clip;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(244, 239, 230, 0.04) 58% 58.5%, transparent 58.5%),
    linear-gradient(170deg, transparent 0 22%, rgba(221, 132, 39, 0.12) 22% 22.5%, transparent 22.5%);
  opacity: 0.9;
}

body.lightbox-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

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

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

h1,
h2,
h3,
.logo,
.button,
.ticker,
.eyebrow,
.card-label {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.035em;
}

h1 {
  max-width: 880px;
  margin-bottom: 26px;
  font-size: clamp(5rem, 12vw, 12rem);
  line-height: 0.76;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.9rem, 5.4vw, 6.2rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: 2rem;
  line-height: 0.95;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.eyebrow::before {
  content: "/ ";
}

[data-i18n],
[data-i18n-html] {
  white-space: pre-line;
}

.site-header {
  min-height: 86vh;
  padding:
    calc(22px + env(safe-area-inset-top, 0px))
    calc(28px + env(safe-area-inset-right, 0px))
    calc(34px + env(safe-area-inset-bottom, 0px))
    calc(28px + env(safe-area-inset-left, 0px));
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.92), rgba(5, 4, 3, 0.62) 48%, rgba(5, 4, 3, 0.12));
}

.site-header::before {
  content: "";
  position: absolute;
  inset: -90px 0;
  z-index: 0;
  background: url("assets/hero-workshop-inspection.jpg") center / cover no-repeat;
  pointer-events: none;
  transform: translate3d(0, var(--hero-bg-y), 0) scale(1.04);
  will-change: transform;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.92), rgba(5, 4, 3, 0.62) 48%, rgba(5, 4, 3, 0.12)),
    linear-gradient(0deg, rgba(5, 4, 3, 0.34), transparent 40%);
  pointer-events: none;
}

.nav {
  max-width: 1560px;
  margin: 0 auto;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
  border-bottom: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.55rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  /* border: 1px solid var(--line-strong);
   background: #050403; */
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--paper-soft);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  padding: 9px 12px;
  border: 1px solid transparent;
  color: var(--nav-admin-color, inherit);
  font-family: var(--nav-admin-font-family, inherit);
  font-size: var(--nav-admin-font-size, 100%);
  font-weight: var(--nav-admin-font-weight, 700);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--nav-admin-hover-color, var(--text));
  background: var(--nav-admin-hover-background, transparent);
  border-color: var(--line);
}

.nav-links a:hover span,
.nav-links a:focus-visible span {
  color: var(--nav-admin-hover-color, var(--text)) !important;
}

.content-edit-tools.nav-edit-tools {
  position: fixed !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0;
  transform: none;
}

.nav-links.is-menu-editing {
  outline: 1px dashed rgba(221, 132, 39, 0.72);
  outline-offset: 5px;
}

.language-toggle {
  min-width: 0;
  height: 42px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--paper-soft);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.flag {
  position: relative;
  width: 22px;
  height: 14px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.55);
  box-shadow: 0 0 0 1px rgba(13, 11, 8, 0.42);
}

.flag-et {
  background: linear-gradient(to bottom, #0072ce 0 33.333%, #000 33.333% 66.666%, #fff 66.666% 100%);
}

.flag-us {
  background: repeating-linear-gradient(to bottom, #b22234 0 1.08px, #fff 1.08px 2.16px);
}

.flag-us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 7.6px;
  background: #3c3b6e;
}

.flag-us::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.6px;
  width: 1px;
  height: 1px;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    3px 0 0 #fff,
    6px 0 0 #fff,
    1.5px 2px 0 #fff,
    4.5px 2px 0 #fff,
    0 4px 0 #fff,
    3px 4px 0 #fff,
    6px 4px 0 #fff;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  outline: none;
}

.mobile-hero-rule,
.mobile-hero-services,
.mobile-hero-assist {
  display: none;
}

.hero-title-line {
  display: block;
}

.hero-title .content-inline-style {
  white-space: nowrap;
}

.hero-title-accent {
  color: var(--accent);
}

.hero {
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(78px, 10vw, 150px) 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 560px);
  gap: 52px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 650px;
  color: var(--paper-soft);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.waze-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  white-space: nowrap;
}

.waze-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location .hero-actions {
  display: grid;
  grid-template-columns: minmax(190px, 248px) minmax(260px, 1fr);
  width: min(100%, 560px);
  gap: 18px;
}

.location .hero-actions .button {
  width: 100%;
  min-width: 0;
}

.location .waze-button {
  min-width: 260px;
}

.location .waze-button span {
  white-space: nowrap;
}

.button {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  min-height: 54px;
  padding: 3px 18px 0;
  background: transparent;
  color: var(--text);
  text-transform: uppercase;
  font-size: 1.02rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.site-header .hero-actions .button:not(.social-button)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-left: 0;
  align-self: center;
  background-color: currentColor;
  transform: translateY(-50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M4%2012h14M12%206l6%206-6%206%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272.25%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M4%2012h14M12%206l6%206-6%206%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272.25%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-2);
  outline: none;
}

.button.primary {
  background: linear-gradient(90deg, #ff941f, var(--accent));
  border-color: rgba(255, 148, 31, 0.95);
  color: var(--ink);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: linear-gradient(90deg, #ffb34a, #ff8a13);
  border-color: #ffbd64;
  color: #050403;
  box-shadow: 0 0 0 1px rgba(255, 179, 74, 0.28), 0 12px 28px rgba(221, 132, 39, 0.28);
}

.button.ghost {
  color: rgba(244, 239, 230, 0.9);
  background: rgba(5, 4, 3, 0.36);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: rgba(221, 132, 39, 0.18);
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: 0 0 0 1px rgba(221, 132, 39, 0.18);
}

.button.gallery-cta {
  background: rgba(5, 4, 3, 0.36);
  border-color: rgba(244, 239, 230, 0.36);
}

.button.gallery-cta:hover,
.button.gallery-cta:focus-visible {
  background: rgba(221, 132, 39, 0.16);
  border-color: var(--accent);
  color: var(--accent-2);
}

.button.social-button {
  width: auto;
  min-height: 0;
  min-width: 0;
  padding: 8px 6px;
  gap: 0;
  border-radius: 0;
  border-color: transparent;
  background: transparent;
  color: var(--text);
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.button.social-button:hover,
.button.social-button:focus-visible {
  background: transparent;
  border-color: transparent;
  color: var(--accent-2);
}

.social-button svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.button.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

.admin-shortcut {
  position: fixed;
  top: auto;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--accent);
}

.key-icon {
  width: 25px;
  height: 25px;
  display: block;
  fill: currentColor;
  transform: rotate(-8deg);
}

.admin-shortcut:hover {
  background: transparent;
  color: #fff;
}

.admin-shortcut:focus-visible {
  background: transparent;
  color: #fff;
  outline: 1px dashed currentColor;
  outline-offset: -5px;
}

.login-button-desktop-hidden .admin-shortcut {
  display: none;
}

.content-edit-tools {
  position: fixed;
  z-index: 110;
  width: 32px;
  height: 32px;
  visibility: hidden;
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 0.12s ease;
}

.content-edit-tools.is-positioned {
  visibility: visible;
  opacity: 1;
}

.content-extra-tools {
  position: absolute;
  top: -6px;
  right: calc(100% + 7px);
  z-index: 1;
  min-width: 0;
  min-height: 48px;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 8px;
  padding: 10px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(24, 23, 20, 0.96), rgba(8, 8, 7, 0.96));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(8px, 0);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0s linear 0.14s;
}

.content-extra-tools::after {
  content: "";
  position: absolute;
  top: 0;
  right: -9px;
  width: 10px;
  height: 100%;
}

.content-edit-tools:hover .content-extra-tools,
.content-edit-tools:focus-within .content-extra-tools {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, 0);
  transition-delay: 0s;
}

.content-edit-button {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--accent-2);
  cursor: pointer;
}

.content-size-button {
  width: 19px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-family: "Staatliches", Impact, sans-serif;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 0;
}

.content-size-controls {
  width: 56px;
  display: grid;
  grid-template-columns: 18px 20px 18px;
  grid-template-rows: 30px 22px;
  place-items: center;
  row-gap: 2px;
}

.content-size-value {
  grid-column: 1 / -1;
  min-width: 56px;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 0.9;
  text-align: center;
}

.content-size-letter {
  grid-column: 2;
  grid-row: 2;
  color: rgba(255, 255, 255, 0.86);
  font: 800 0.95rem/1 "Plus Jakarta Sans", Arial, sans-serif;
}

.content-size-controls .content-size-button:first-of-type {
  grid-column: 1;
  grid-row: 2;
}

.content-size-controls .content-size-button:last-of-type {
  grid-column: 3;
  grid-row: 2;
}

.content-color-input {
  width: 34px;
  height: 32px;
  flex: 0 0 34px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.content-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.content-color-input::-webkit-color-swatch {
  border: 0;
  border-radius: 2px;
}

.content-color-input::-moz-color-swatch {
  border: 0;
  border-radius: 2px;
}

.nav-font-select {
  width: 142px;
  height: 32px;
  padding: 3px 26px 3px 8px;
  border: 0;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  background: #000;
  color: var(--text);
  font-family: "Oswald", Arial, sans-serif;
  cursor: pointer;
}

.nav-bold-toggle {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.nav-bold-toggle.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.nav-color-control {
  display: grid;
  grid-template-columns: auto 74px 34px;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
}

.content-edit-tools.is-saving button {
  cursor: progress;
  opacity: 0.62;
}

.content-edit-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.content-edit-button::before {
  content: "\270E";
  font-family: Arial, sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

.content-edit-button:hover,
.content-edit-button:focus-visible,
.content-size-button:hover,
.content-size-button:focus-visible {
  outline: none;
}

.content-edit-button:hover,
.content-edit-button:focus-visible {
  background: rgba(0, 0, 0, 0.8);
  color: var(--accent);
}

.content-size-button:hover,
.content-size-button:focus-visible {
  color: var(--accent);
}

.content-drag-handle,
.content-delete-button {
  width: 30px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1;
}

.content-drag-handle {
  position: relative;
  cursor: grab;
}

.content-drag-handle span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.content-drag-handle:active {
  cursor: grabbing;
}

.content-admin [data-content-inline] {
  cursor: text;
}

.content-admin [data-content-inline]:focus {
  outline: 1px dashed rgba(221, 132, 39, 0.72);
  outline-offset: 5px;
}

.content-admin [data-content-inline][data-inline-saving="true"] {
  opacity: 0.72;
}

.content-delete-button {
  cursor: pointer;
  font-size: 1.15rem;
}

.content-delete-button:hover,
.content-delete-button:focus-visible {
  color: #ff8585;
  outline: none;
}

.content-editor {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 10.5vw, 200px);
  overflow-y: auto;
  background: rgba(3, 3, 3, 0.72);
}

.content-editor.is-open {
  display: flex;
}

.content-editor button:not(.content-editor-close) {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.content-editor-panel {
  width: min(1200px, 100%);
  overflow: visible;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: #11110f;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 0, 0, 0.5);
}

.content-editor-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  margin: 0;
  padding: 16px 68px 15px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background: #171714;
  border-radius: 12px 12px 0 0;
}

.content-editor-heading label {
  display: block;
  color: var(--text);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.content-editor-language,
.content-editor-status {
  margin: 0;
  color: var(--muted);
}

.content-editor-language {
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.content-editor-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font: 400 1.7rem/1 Arial, sans-serif;
  cursor: pointer;
}

.content-editor-close:hover,
.content-editor-close:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  outline: none;
}

.content-editor-surface {
  width: calc(100% - 44px);
  min-height: 360px;
  max-height: 720px;
  margin: 8px 22px 20px;
  padding: 22px 24px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: var(--content-editor-source-background, #080704);
  caret-color: currentColor;
  font-size: 1.84rem;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(0, 0, 0, 0.18);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.content-editor-surface:focus {
  border-color: rgba(221, 132, 39, 0.8);
  box-shadow:
    0 0 0 3px rgba(221, 132, 39, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  outline: none;
}

.content-editor-surface::selection,
.content-editor-surface *::selection {
  background: #1677ff;
  color: #fff;
  text-shadow: none;
}

.content-editor-surface:empty::before {
  content: "Sisesta tekst...";
  color: rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.content-editor-surface a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.content-editor-surface blockquote,
[data-i18n-html] blockquote,
[data-i18n] blockquote {
  margin: 0.25em 0 0.25em 1.5em;
  padding-left: 0.75em;
  border-left: 2px solid rgba(221, 132, 39, 0.55);
}

.content-editor-surface .content-paragraph-gap {
  height: calc(1em * var(--content-paragraph-spacing, 1));
}

.content-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background: #141412;
}

.content-editor-tool-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.content-editor-tool-group + .content-editor-tool-group,
.content-editor-alignment,
.content-editor-bullet-tools {
  position: relative;
}

.content-editor-format-tools,
.content-editor-alignment,
.content-editor-bullet-tools {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.065);
}

.content-editor-toolbar button {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.content-editor-toolbar button:disabled {
  opacity: 0.3;
  cursor: default;
}

.content-editor-toolbar button:disabled:hover {
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
}

.content-editor-toolbar button:hover,
.content-editor-toolbar button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.content-editor-toolbar button.is-active {
  background: rgba(221, 132, 39, 0.2);
  color: var(--accent-2);
}

.content-editor-toolbar button[data-rich-command="indent"],
.content-editor-toolbar button[data-rich-command="outdent"] {
  display: inline-grid;
  place-items: center;
  padding-inline: 8px;
}

.indent-icon {
  position: relative;
  width: 21px;
  height: 16px;
  display: block;
}

.indent-icon i {
  position: absolute;
  right: 0;
  width: 13px;
  height: 2px;
  background: currentColor;
}

.indent-icon i:nth-child(1) {
  top: 1px;
}

.indent-icon i:nth-child(2) {
  top: 7px;
}

.indent-icon i:nth-child(3) {
  top: 13px;
}

.indent-icon::before {
  content: "";
  position: absolute;
  top: 5px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.indent-icon-indent::before {
  left: 1px;
  border-left: 6px solid currentColor;
}

.indent-icon-outdent::before {
  right: 15px;
  border-right: 6px solid currentColor;
}

.content-editor-toolbar .content-editor-italic-button {
  font-style: italic;
}

.content-editor-toolbar .content-editor-bold-button,
.content-editor-toolbar .content-editor-italic-button,
.content-editor-toolbar .content-editor-underline-button {
  font-size: 1.32rem;
  line-height: 1;
}

.content-editor-toolbar .content-editor-underline-button {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.content-editor-toolbar .content-editor-undo-button,
.content-editor-toolbar .content-editor-redo-button {
  display: inline-grid;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 1.48rem;
  font-weight: 400;
  line-height: 1;
}

.content-editor-list-picker {
  position: relative;
}

.content-editor-toolbar .content-editor-list-toggle {
  display: grid;
  place-items: center;
  padding: 0;
}

.list-toggle-icon {
  width: 22px;
  display: grid;
  gap: 3px;
}

.list-toggle-icon i {
  position: relative;
  width: 15px;
  height: 2px;
  margin-left: 7px;
  background: currentColor;
}

.list-toggle-icon i::before {
  content: "";
  position: absolute;
  left: -7px;
  top: -1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.content-editor-list-picker.is-open .content-editor-list-toggle {
  background: rgba(221, 132, 39, 0.2);
  color: var(--accent-2);
}

.content-editor-list-panel {
  position: absolute;
  z-index: 12;
  top: calc(100% + 7px);
  right: 0;
  width: 330px;
  max-width: calc(100vw - 28px);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: #171714;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.58);
}

.content-editor-list-panel[hidden] {
  display: none;
}

.content-editor-toolbar .content-editor-list-panel > button {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 13px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  text-transform: none;
}

.content-editor-list-panel .list-style-symbol,
.content-editor-list-panel .text-icon {
  justify-self: center;
  margin: 0;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 1.3rem;
}

.content-editor-list-panel > button > span:last-child {
  white-space: nowrap;
}

.content-editor-list-spacing {
  display: grid;
  grid-template-columns: 1fr 64px;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 14px 10px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font: 700 13px/1.2 "Plus Jakarta Sans", sans-serif;
}

.content-editor-list-spacing input {
  width: 64px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: #0c0c0a;
  color: var(--text);
  text-align: center;
}

.content-editor-toolbar .content-editor-undo-button {
  padding-top: 5px;
}

.content-editor-toolbar .content-editor-redo-button {
  padding-top: 5px;
}

.text-icon {
  display: inline-block;
  width: 1.45em;
  height: 1em;
  margin-right: 0.32em;
  background-color: currentColor;
  vertical-align: -0.14em;
}

.text-icon-v2 {
  -webkit-mask: url("assets/icons/v2-engine.svg?v=2") center / contain no-repeat;
  mask: url("assets/icons/v2-engine.svg?v=2") center / contain no-repeat;
}

.content-editor-toolbar .content-editor-v2-button {
  display: inline-grid;
  place-items: center;
}

.content-editor-toolbar .content-editor-v2-button .text-icon {
  width: 27px;
  height: 21px;
  margin: 0;
}

.content-editor-bullet-tools {
  gap: 0;
  margin-left: 0;
  padding-right: 4px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.content-editor-bullet-tools > button {
  min-width: 36px;
  padding-inline: 7px;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", Arial, sans-serif;
  font-size: 1.28rem;
  line-height: 1;
}

.content-editor-emoji-picker {
  position: relative;
}

.content-editor-toolbar .content-editor-emoji-toggle {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
}

.content-editor-emoji-toggle svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.content-editor-emoji-picker.is-open .content-editor-emoji-toggle {
  background: rgba(221, 132, 39, 0.2);
  color: var(--accent-2);
}

.content-editor-emoji-panel {
  position: absolute;
  z-index: 10;
  top: calc(100% + 7px);
  left: 0;
  width: min(352px, calc(100vw - 72px));
  min-height: 80px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: #171714;
  color: var(--muted);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.58);
}

.content-editor-emoji-panel[hidden] {
  display: none;
}

.content-editor-full-emoji-picker {
  width: 100%;
  height: 340px;
  --background: #080704;
  --border-color: rgba(238, 231, 216, 0.24);
  --button-active-background: rgba(221, 132, 39, 0.28);
  --button-hover-background: rgba(255, 255, 255, 0.09);
  --category-emoji-padding: 0.35rem;
  --input-border-color: rgba(238, 231, 216, 0.3);
  --input-font-color: #eee7d8;
  --input-placeholder-color: #a79f90;
  --outline-color: #dd8427;
  --indicator-color: #dd8427;
}

.content-editor-workshop-pictograms {
  margin-bottom: 8px;
}

.content-editor-workshop-pictograms p {
  margin: 0 0 6px;
  color: var(--muted);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.content-editor-emoji-fallback {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.content-editor-emoji-fallback button {
  min-width: 0;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 1.15rem;
  text-transform: none;
  cursor: pointer;
}

.content-editor-emoji-fallback button:hover,
.content-editor-emoji-fallback button:focus-visible {
  background: var(--accent);
  color: var(--ink);
  outline: none;
}

.content-editor-alignment {
  display: flex;
  gap: 2px;
  margin-left: 0;
}

.content-editor-alignment button {
  min-width: 36px;
  display: grid;
  place-items: center;
  padding: 0;
}

.text-align-icon {
  width: 19px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.text-align-icon i {
  width: 19px;
  height: 2px;
  display: block;
  background: currentColor;
}

.text-align-icon i:nth-child(2) {
  width: 12px;
}

.content-editor-alignment button[data-text-align="left"] .text-align-icon {
  align-items: flex-start;
}

.content-editor-alignment button[data-text-align="center"] .text-align-icon {
  align-items: center;
}

.content-editor-alignment button[data-text-align="right"] .text-align-icon {
  align-items: flex-end;
}

.content-editor-alignment button.is-active {
  background: rgba(221, 132, 39, 0.2);
  color: var(--accent-2);
}

.content-editor-line-height {
  display: grid;
  grid-template-columns: 30px 40px 12px 30px;
  align-items: center;
  justify-items: center;
  column-gap: 4px;
  row-gap: 7px;
  margin: 0;
  min-height: 68px;
  padding: 7px 24px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.content-editor-line-height > span:first-child {
  grid-column: 1 / -1;
  justify-self: stretch;
  text-align: center;
  color: rgba(255, 255, 255, 0.48);
  font: 700 11px/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.04em;
}

.content-editor-spacing-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background: #10100e;
}

.content-editor-font-size-control {
  display: grid;
  grid-template-columns: 30px 40px 14px 30px;
  justify-items: center;
  align-items: center;
  column-gap: 4px;
  row-gap: 7px;
  min-height: 68px;
  padding: 7px 24px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 0;
  background: transparent;
}

.content-editor-font-size-control > span:not(:first-child),
.content-editor-line-height > input + span {
  justify-self: start;
  color: rgba(255, 255, 255, 0.48);
  font: 700 11px/1 "Plus Jakarta Sans", sans-serif;
  text-transform: lowercase;
}

.content-editor-font-size-control input {
  box-sizing: border-box;
  width: 40px;
  height: 30px;
  padding: 3px 2px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  font: 700 18px/1 "Plus Jakarta Sans", sans-serif;
  text-align: center;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.content-editor-font-size-control input:hover,
.content-editor-font-size-control input:focus {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.065);
  outline: none;
}

.content-editor-color-control {
  display: grid;
  grid-template-columns: 24px 24px;
  justify-items: center;
  align-items: center;
  gap: 8px;
  min-height: 68px;
  padding: 7px 24px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.content-editor-color-control::after {
  content: "";
  grid-column: 2;
  grid-row: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--editor-control-color, #f4efe6);
  pointer-events: none;
}

.content-editor-color-control:not(.content-editor-highlight-control)::after {
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.content-editor-highlight-control {
  border-right: 0;
}

.content-editor-field-label {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.42);
  font: 700 11px/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  justify-self: stretch;
  text-align: center;
}

.content-editor-color-control input[type="color"] {
  grid-column: 2;
  grid-row: 2;
  z-index: 1;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  cursor: pointer;
}

.content-editor-control-icon {
  position: relative;
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  font: 700 19px/1 "Plus Jakarta Sans", sans-serif;
  text-transform: none;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.content-editor-control-icon:hover,
.content-editor-control-icon:focus-visible {
  background-color: rgba(221, 132, 39, 0.16);
  outline: none;
  transform: scale(1.06);
}

.content-editor-text-color-icon {
  color: var(--text);
}

.content-editor-highlight-icon {
  padding: 0 3px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--editor-control-color, #dd8427) 44%, transparent);
}

.content-editor-size-icon::after {
  content: "↗";
  position: absolute;
  right: -2px;
  top: -4px;
  font-size: 12px;
}

.content-editor-color-control input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  border: 0;
  border-radius: 999px;
}

.content-editor-color-control input[type="color"]::-webkit-color-swatch,
.content-editor-color-control input[type="color"]::-moz-color-swatch {
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

.hex-color-input {
  width: 78px;
  height: 32px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: #10100e;
  color: var(--text);
  font: 700 12px/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hex-color-input:focus {
  border-color: rgba(221, 132, 39, 0.8);
  outline: none;
}

.content-editor-font-control {
  position: relative;
  display: grid;
  grid-template-columns: 122px;
  align-items: center;
  justify-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  min-height: 68px;
  margin-left: 12px;
  padding: 7px 24px 7px 36px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 0;
  background: transparent;
}

.content-editor-native-font-select {
  display: none;
}

.content-editor-font-picker {
  position: relative;
  width: 122px;
}

.content-editor-font-trigger {
  position: relative;
  width: 122px;
  height: 34px;
  padding: 3px 24px 3px 0;
  border: 0;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: 700 16px/1 "Oswald", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.content-editor-font-trigger::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
}

.content-editor-font-picker.is-open .content-editor-font-trigger::after {
  transform: translateY(-25%) rotate(225deg);
}

.content-editor-font-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 1px);
  left: 0;
  width: max-content;
  min-width: 122px;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: #050403;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
}

.content-editor-font-option {
  display: block;
  width: 100%;
  min-width: 122px;
  padding: 10px 14px;
  border: 0;
  border-radius: 0;
  background: #050403;
  color: var(--text);
  font-size: 18px;
  line-height: 1.1;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.content-editor-font-option:hover,
.content-editor-font-option:focus-visible,
.content-editor-font-option.is-selected {
  background: var(--accent);
  color: #050403;
  outline: none;
}

.content-editor-reset-formatting {
  width: auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font: 700 12px/1 "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  text-transform: none;
}

.content-editor-toolbar .content-editor-reset-formatting {
  margin-left: auto;
  min-width: max-content;
  padding-inline: 11px;
  font-size: 13px;
}

.content-editor-reset-formatting svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-editor-reset-formatting:hover,
.content-editor-reset-formatting:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-2);
  outline: none;
}

.content-editor-line-height button,
.content-editor-font-size-control button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.085);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.content-editor-line-height button,
.content-editor-font-size-control button {
  display: grid;
  place-items: center;
}

.content-editor-line-height button,
.content-editor-font-size-control button {
  padding-bottom: 4px;
}

.content-editor-line-height input {
  box-sizing: border-box;
  width: 40px;
  height: 30px;
  padding: 3px 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: 700 18px/1 "Plus Jakarta Sans", sans-serif;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.content-editor-line-height input:hover,
.content-editor-line-height input:focus {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.065);
  outline: none;
}

.content-editor-line-height input::-webkit-inner-spin-button,
.content-editor-line-height input::-webkit-outer-spin-button,
.content-editor-font-size-control input::-webkit-inner-spin-button,
.content-editor-font-size-control input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.content-editor-font-size-control input {
  appearance: textfield;
  -moz-appearance: textfield;
}

.content-editor-line-height button:hover,
.content-editor-line-height button:focus-visible,
.content-editor-font-size-control button:hover,
.content-editor-font-size-control button:focus-visible {
  background: rgba(221, 132, 39, 0.18);
  color: var(--accent-2);
  outline: none;
}

.content-paragraph-gap {
  display: block;
  height: calc(1em * var(--content-paragraph-spacing, 1));
}

.content-rich-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-rich-list li {
  position: relative;
  min-height: 1em;
  padding-left: 1.55em;
  line-height: var(--list-line-height, 1.15);
}

.content-rich-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-2);
}

.content-rich-list[data-bullet="dot"] li::before { content: "•"; }
.content-rich-list[data-bullet="dash"] li::before { content: "–"; }
.content-rich-list[data-bullet="bolt"] li::before { content: "⚡"; }
.content-rich-list[data-bullet="fire"] li::before { content: "🔥"; }
.content-rich-list[data-bullet="wrench"] li::before { content: "🔧"; }
.content-rich-list[data-bullet="number"] {
  counter-reset: tm-list;
}
.content-rich-list[data-bullet="number"] li {
  counter-increment: tm-list;
}
.content-rich-list[data-bullet="number"] li::before {
  content: counter(tm-list) ".";
}
.content-rich-list[data-bullet="v2"] li::before {
  content: "";
  width: 1.15em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("assets/icons/v2-engine.svg?v=2") center / contain no-repeat;
  mask: url("assets/icons/v2-engine.svg?v=2") center / contain no-repeat;
}

mark {
  padding: 0 0.08em;
  color: inherit;
}

.content-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 15px 22px 18px;
  border-top: 0;
  background: #141412;
  border-radius: 0 0 12px 12px;
}

.content-editor-status {
  min-height: 21px;
  padding: 12px 22px 0 42px;
  font-size: 0.78rem;
}

.content-editor-actions .button {
  min-width: 104px;
  min-height: 40px;
  border-radius: 7px;
  padding: 11px 18px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.02em;
}

.content-editor-actions .button::after {
  content: "";
  position: static;
  top: auto;
  right: auto;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-left: 12px;
  background-color: currentColor;
  transform: none;
}

.content-editor-actions .content-editor-cancel-button::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M6%206l12%2012M18%206L6%2018%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272.7%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M6%206l12%2012M18%206L6%2018%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272.7%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-editor-actions .content-editor-save-button::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M5%2012.5l4.4%204.4L19%207.3%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M5%2012.5l4.4%204.4L19%207.3%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%272.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-editor-actions .button.ghost {
  border-color: transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
}

.content-editor-actions .button.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 760px) {
  .content-editor {
    padding: 14px;
  }

  .content-editor-panel {
    width: 100%;
  }

  .content-editor-heading {
    padding-left: 16px;
  }

  .content-editor-toolbar {
    padding-inline: 10px;
  }

  .content-editor-spacing-controls {
    gap: 10px 16px;
    padding-inline: 14px;
  }

  .content-editor-surface {
    width: calc(100% - 28px);
    margin: 8px 14px 14px;
    padding: 17px;
    font-size: 1.5rem;
  }

  .content-editor-status {
    padding-right: 14px;
    padding-left: 34px;
  }

  .content-editor-actions {
    padding-inline: 14px;
  }
}

.section-rail {
  position: fixed;
  right: max(12px, calc((100vw - 1560px) / 2 - 68px));
  top: 50%;
  z-index: 80;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.section-rail button,
.section-rail a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--ink);
  color: var(--text);
  font: inherit;
  font-family: "Staatliches", Impact, sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.section-rail a {
  font-size: 0.95rem;
}

.section-rail .rail-call {
  margin-top: 16px;
  background: var(--ink);
  color: var(--accent);
}

.phone-icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.section-rail button:hover,
.section-rail button:focus-visible,
.section-rail a:hover,
.section-rail a:focus-visible {
  background: var(--accent);
  color: var(--ink);
  outline: none;
}

.admin-section-rail {
  right: max(12px, calc((100vw - 1260px) / 2 - 64px));
}

.hero-card,
.info-panel,
.map-card,
.contact-form,
.admin-panel,
.gallery-item,
.service {
  border: 1px solid var(--line-strong);
  background: rgba(13, 11, 8, 0.74);
}

.hero-card {
  padding: 26px;
  min-height: 590px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  position: relative;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(13, 11, 8, 0.05) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.42), transparent 14rem),
    linear-gradient(145deg, #f3ead8 0%, #e7d9bf 100%);
  transform:
    translate3d(var(--ticket-shift-x), var(--ticket-shift-y), 0)
    rotate(calc(-1.2deg + var(--ticket-tilt)));
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.44),
    inset 0 0 0 8px rgba(13, 11, 8, 0.06);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(13, 11, 8, 0.28);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(84deg, transparent 0 71%, rgba(221, 132, 39, 0.92) 71.3% 72.4%, transparent 72.6%),
    radial-gradient(circle at 20% 70%, rgba(13, 11, 8, 0.16) 0 1px, transparent 1.7px) 0 0 / 34px 29px,
    linear-gradient(0deg, rgba(13, 11, 8, 0.08), transparent 24%, transparent 74%, rgba(13, 11, 8, 0.08));
  mix-blend-mode: multiply;
  opacity: 0.45;
}

.hero-card a {
  color: var(--ink);
  text-decoration: underline;
}

.ticket-top,
.ticket-body,
.ticket-footer {
  position: relative;
  z-index: 1;
}

.ticket-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  align-items: flex-start;
  gap: 22px;
}

.hero-logo {
  width: 128px;
  height: 128px;
  justify-self: center;
  object-fit: cover;
}

.ticket-location {
  margin: 12px 0 0;
  justify-self: center;
  color: rgba(13, 11, 8, 0.88);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: left;
}

.ticket-location::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 12px;
  background: var(--accent);
}

.ticket-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  gap: 22px;
  align-items: stretch;
}

.hero-card h2,
.ticket-title {
  margin: 8px 0 20px;
  font-size: clamp(3rem, 4.8vw, 4.8rem);
  line-height: 0.84;
  color: var(--ink);
  white-space: pre-line;
}

.hero-card h2::first-line,
.ticket-title::first-line {
  color: var(--ink);
}

.hero-card p {
  color: rgba(13, 11, 8, 0.76);
}

.ticket-services {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(13, 11, 8, 0.38);
}

.ticket-services li {
  position: relative;
  padding: 11px 0 11px 42px;
  border-bottom: 1px solid rgba(13, 11, 8, 0.38);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ticket-services li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 22px;
  height: 22px;
  background: var(--ink);
  transform: translateY(-50%) rotate(-12deg);
  clip-path: polygon(42% 0, 58% 0, 58% 36%, 100% 36%, 100% 56%, 58% 56%, 58% 100%, 42% 100%, 42% 56%, 0 56%, 0 36%, 42% 36%);
  opacity: 0.78;
}

.ticket-photo {
  margin: 0;
  min-height: 330px;
  border: 1px solid rgba(13, 11, 8, 0.28);
  border-radius: 3px;
  background: var(--ink);
  overflow: hidden;
  transform: skewX(-5deg);
  transform-origin: bottom right;
  box-shadow: 10px 10px 0 rgba(221, 132, 39, 0.9);
}

.ticket-photo img {
  width: 125%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 55% center;
  filter: grayscale(1) contrast(1.24) brightness(0.76);
  transform: skewX(5deg) translateX(-10%);
}

.ticket-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  border: 1px solid rgba(13, 11, 8, 0.34);
}

.ticket-contact {
  margin: 0;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--text) !important;
  font-weight: 800;
  text-transform: uppercase;
}

.ticket-contact a {
  display: block;
  margin: 2px 0 4px;
  color: var(--text);
  font-size: 2.1rem;
  line-height: 1;
  text-decoration: none;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  border: 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-meta span {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 10px 8px;
  text-align: center;
  border-left: 1px solid rgba(13, 11, 8, 0.34);
}

.hero-meta span:first-child {
  font-size: 1.4rem;
  line-height: 0.9;
}

.hero-meta span:nth-child(3) {
  grid-column: span 2;
  border-top: 1px solid rgba(13, 11, 8, 0.34);
  font-size: 1rem;
}

.ticker {
  overflow: hidden;
  white-space: nowrap;
  /* border-bottom: 1px solid var(--line-strong);*/
  background: var(--accent);
  color: var(--ink);
  font-size: clamp(2.2rem, 5.2vw, 5.2rem);
  line-height: 0.9;
  font-variant-emoji: text;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 48s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ticker span,
.ticker [data-i18n] {
  flex: 0 0 auto;
  display: block;
  padding: 14px 0 12px;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

main {
  border-top: 1px solid rgba(13, 11, 8, 0.52);
}

.section {
  max-width: 1560px;
  margin: 0 auto;
  padding: 64px 28px;
}

.gallery.section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  max-width: 1680px;
}

.section-heading {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  column-gap: 30px;
  row-gap: 10px;
  margin-bottom: 28px;
}

[data-section-layout] {
  position: relative;
}

.section-heading .eyebrow {
  grid-row: 1 / span 2;
}

.section-heading h2,
.section-heading p:not(.eyebrow) {
  grid-column: 2;
}

.section-heading[data-section-layout] h2,
.section-heading[data-section-layout] p:not(.eyebrow) {
  max-width: calc(var(--section-heading-copy-pct, 100) * 1%);
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
}

.section-heading[data-section-layout] p:not(.eyebrow) {
  max-width: calc(var(--section-heading-copy-pct, 100) * 1%);
}

.section-heading[data-heading-mode="stack"] {
  grid-template-columns: minmax(0, 1fr);
}

.section-heading[data-heading-mode="stack"] .eyebrow,
.section-heading[data-heading-mode="stack"] h2,
.section-heading[data-heading-mode="stack"] p:not(.eyebrow) {
  grid-column: 1;
  grid-row: auto;
}

.section-copy[data-section-layout] {
  max-width: min(100%, calc(var(--section-heading-copy-pct, 100) * 1%));
}

.section-copy[data-heading-mode="side"] {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  column-gap: 30px;
  row-gap: 10px;
  max-width: 100%;
}

.section-copy[data-heading-mode="side"] .eyebrow {
  grid-column: 1;
  grid-row: 1 / span 4;
}

.section-copy[data-heading-mode="side"] h2,
.section-copy[data-heading-mode="side"] p:not(.eyebrow),
.section-copy[data-heading-mode="side"] .hero-actions,
.section-copy[data-heading-mode="side"] .intro-body,
.section-copy[data-heading-mode="side"] .intro-block-admin-actions {
  grid-column: 2;
}

.section-copy[data-heading-mode="side"] h2,
.section-copy[data-heading-mode="side"] p:not(.eyebrow),
.section-copy[data-heading-mode="side"] .hero-actions,
.section-copy[data-heading-mode="side"] .intro-body,
.section-copy[data-heading-mode="side"] .intro-block-admin-actions {
  max-width: calc(var(--section-heading-copy-pct, 100) * 1%);
}

.section-layout-resizer {
  display: none;
}

.section-layout-mode {
  display: none;
}

.content-admin .section-layout-resizer {
  position: absolute;
  z-index: 14;
  top: -4px;
  bottom: -4px;
  left: var(--section-layout-handle-left, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--accent);
  cursor: ew-resize;
  transform: translateX(-50%);
}

.content-admin .section-layout-resizer::before {
  content: "";
  width: 3px;
  height: min(100%, 170px);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.58);
  opacity: 0.72;
}

.content-admin .section-layout-resizer::after {
  content: attr(data-width-label);
  position: absolute;
  top: -25px;
  left: 50%;
  min-width: 54px;
  padding: 5px 7px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.82);
  color: var(--text);
  font: 700 0.68rem/1 "Plus Jakarta Sans", Arial, sans-serif;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 140ms ease;
}

.content-admin .section-layout-mode {
  display: none;
}

.content-admin .content-edit-tools .section-layout-mode {
  position: static;
  z-index: auto;
  display: inline-grid;
  place-items: center;
  min-width: 56px;
  min-height: 28px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--accent);
  font: 700 0.68rem/1 "Plus Jakarta Sans", Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  transform: none;
}

.content-admin .content-edit-tools .section-layout-mode:hover,
.content-admin .content-edit-tools .section-layout-mode:focus-visible {
  background: var(--accent);
  color: var(--ink);
  outline: none;
}

.content-admin .section-layout-resizer:hover::before,
.content-admin .section-layout-resizer:focus-visible::before,
.content-admin .section-layout-resizer.is-dragging::before {
  opacity: 1;
}

.content-admin .section-layout-resizer:hover::after,
.content-admin .section-layout-resizer:focus-visible::after,
.content-admin .section-layout-resizer.is-dragging::after {
  opacity: 1;
}

.content-admin .section-layout-resizer:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gallery-row-control {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  margin: -12px 0 24px 240px;
  padding: 0;
  color: var(--text);
  font: 700 0.78rem/1.15 "Plus Jakarta Sans", Arial, sans-serif;
  transition: opacity 150ms ease;
}

.gallery .section-heading .eyebrow {
  grid-row: 1;
}

.gallery-row-control[hidden] {
  display: none;
}

.gallery-row-control.is-saving {
  opacity: 0.55;
  pointer-events: none;
}

.gallery-row-control-label {
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-row-stepper {
  display: inline-grid;
  grid-template-columns: 26px 24px 26px;
  align-items: center;
  text-align: center;
}

.gallery-row-stepper button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font: 700 1.1rem/1 Arial, sans-serif;
  cursor: pointer;
}

.gallery-row-stepper button:hover,
.gallery-row-stepper button:focus-visible {
  background: var(--accent);
  color: var(--ink);
  outline: none;
}

.gallery-row-stepper button:disabled {
  opacity: 0.28;
  cursor: default;
}

.gallery-row-stepper strong {
  font-size: 1rem;
}

.section-heading p,
.split p,
.service p,
.info-panel li,
.form-note,
.gallery-empty,
.admin-help {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 430px;
  gap: 48px;
  align-items: center;
}

.split > div:first-child {
  max-width: 960px;
}

.split > .section-copy[data-section-layout]:first-child {
  max-width: min(100%, calc(var(--section-heading-copy-pct, 100) * 1%));
}

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

.intro-body p {
  margin: 0;
}

.intro-text-block:first-child {
  grid-column: 1 / -1;
}

.intro-text-block[hidden] {
  display: none;
}

.intro-text-block.is-dragging {
  opacity: 0.42;
}

.content-admin .intro-text-block:not([hidden]) {
  min-height: 48px;
  outline: 1px dashed transparent;
  outline-offset: 8px;
}

.content-admin .intro-text-block:not([hidden]):hover,
.content-admin .intro-text-block.is-dragging {
  outline-color: rgba(221, 132, 39, 0.36);
}

.intro-block-admin-actions {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.content-admin .intro-block-admin-actions {
  display: flex;
}

.content-admin .intro-block-admin-actions[hidden] {
  display: none;
}

.intro-block-add {
  min-height: 38px;
  padding: 8px 12px;
}

.intro-block-add:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.intro-block-admin-actions span {
  color: var(--muted);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.82rem;
}

.info-panel,
.admin-panel {
  padding: 28px;
}

.info-panel {
  background: var(--paper);
  color: var(--ink);
  transform: rotate(1deg);
}

.info-panel h3 {
  color: var(--ink);
}

.info-panel ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.info-panel [data-i18n-html="focusText"],
.info-panel li,
.info-panel .content-rich-list li {
  color: rgba(13, 11, 8, 0.78);
}

.info-panel [data-i18n-html="focusText"] {
  margin-top: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.info-panel .content-rich-list {
  margin: 18px 0 0;
  padding-left: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service {
  min-height: 230px;
  padding: 26px;
}

.gallery-grid {
  display: block;
  columns: 7 152px;
  column-gap: 8px;
}

.mobile-gallery-reveal,
.mobile-gallery-toggle {
  position: relative;
}

.mobile-gallery-reveal {
  z-index: 0;
  isolation: isolate;
  max-height: var(--gallery-collapsed-height, 430px);
  overflow: hidden;
  transition: max-height 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-gallery-reveal.is-expanded {
  max-height: calc(var(--gallery-expanded-height, 2000px) + 12px);
}

.mobile-gallery-fade {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(8, 7, 5, 0.9) 72%, #080705);
  pointer-events: none;
  transition: opacity 220ms ease;
}

.mobile-gallery-reveal.is-collapsible .mobile-gallery-fade {
  display: block;
}

.mobile-gallery-reveal.is-expanded .mobile-gallery-fade {
  opacity: 0;
}

.mobile-gallery-toggle {
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  min-height: 44px;
  margin: -42px auto 0;
  padding: 10px 18px;
  border: 1px solid rgba(221, 132, 39, 0.7);
  border-radius: 3px;
  background: #080705;
  color: var(--text);
  font: 700 0.88rem/1 "Plus Jakarta Sans", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  transition: margin 520ms cubic-bezier(0.22, 1, 0.36, 1), background 150ms ease, color 150ms ease;
}

.mobile-gallery-toggle[hidden] {
  display: none !important;
}

.mobile-gallery-reveal.is-expanded + .mobile-gallery-toggle {
  margin-top: 16px;
}

.mobile-gallery-toggle:hover,
.mobile-gallery-toggle:focus-visible {
  background: var(--accent);
  color: var(--ink);
  outline: none;
}

.mobile-gallery-toggle-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

.mobile-gallery-toggle:hover .mobile-gallery-toggle-icon,
.mobile-gallery-toggle:focus-visible .mobile-gallery-toggle-icon {
  color: inherit;
}

.gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 8px;
  overflow: visible;
  break-inside: avoid;
  border-color: rgba(244, 239, 230, 0.16);
  background: #050403;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.content-admin .gallery-item {
  cursor: grab;
}

.content-admin .gallery-item.is-dragging {
  cursor: grabbing;
  opacity: 0.42;
}

.content-admin .gallery-item.drop-before::before,
.content-admin .gallery-item.drop-after::after {
  content: "";
  position: absolute;
  z-index: 4;
  right: 0;
  left: 0;
  height: 6px;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.content-admin .gallery-item.drop-before::before {
  top: 0;
}

.content-admin .gallery-item.drop-after::after {
  bottom: 0;
}

.content-admin .gallery-item.drop-replace {
  outline: 4px solid var(--accent);
  outline-offset: -4px;
}

.content-admin .gallery-item.drop-replace::after {
  content: "VAHETA KOHAD";
  position: absolute;
  z-index: 4;
  inset: 50% auto auto 50%;
  padding: 8px 11px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.86);
  color: var(--accent);
  font: 700 0.75rem/1 "Plus Jakarta Sans", sans-serif;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--ink);
  filter: saturate(0.88) contrast(1.04);
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.gallery-item:hover img {
  opacity: 0.92;
  filter: saturate(1.05) contrast(1.08);
  transform: scale(1.018);
}

.motion-gallery-depth .gallery-item:hover {
  border-color: rgba(255, 182, 90, 0.42);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(221, 132, 39, 0.14);
  z-index: 6;
  transform: translateY(-4px) scale(1.035);
}

.motion-gallery-depth .gallery-item:hover img {
  filter: saturate(1.08) contrast(1.12);
  transform: scale(1.018);
}

.gallery-item a {
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 115;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(34, 30, 25, 0.72), transparent 58%),
    rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(14px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-dialog {
  position: relative;
  width: min(1880px, 100%);
  max-width: min(1880px, 100%);
  max-height: 100%;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.lightbox-stage {
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(96px, 0.22fr) minmax(0, 1fr) minmax(96px, 0.22fr);
  gap: clamp(20px, 3vw, 58px);
  align-items: center;
}

.lightbox-image-shell {
  position: relative;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  display: grid;
  place-items: center;
  justify-self: center;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 204px);
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 8px;
  object-fit: contain;
  background: #050403;
  touch-action: pan-y;
  user-select: none;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

.lightbox-image-hit {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 34%;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.lightbox-image-hit::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.lightbox-image-hit:hover::after,
.lightbox-image-hit:focus-visible::after {
  opacity: 1;
}

.lightbox-image-hit-prev {
  left: 0;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='17' fill='%23080705' fill-opacity='.72'/%3E%3Cpath d='M21.5 10.5 14 18l7.5 7.5' fill='none' stroke='%23f18513' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 18 18, w-resize;
}

.lightbox-image-hit-prev::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.26), transparent 72%);
}

.lightbox-image-hit-close {
  left: 34%;
  width: 32%;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42'%3E%3Ccircle cx='18' cy='18' r='11' fill='none' stroke='%23f18513' stroke-width='3.2'/%3E%3Cpath d='M26 26l8 8' fill='none' stroke='%23f18513' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M13 18h10' fill='none' stroke='%23f4efe6' stroke-width='3.4' stroke-linecap='round'/%3E%3Ccircle cx='18' cy='18' r='17' fill='%23080705' fill-opacity='.36'/%3E%3C/svg%3E") 21 21, zoom-out;
}

.lightbox-image-hit-close.is-full {
  left: 0;
  width: 100%;
}

.lightbox-image-hit-close::after {
  background: radial-gradient(circle, rgba(0, 0, 0, 0.12), transparent 72%);
}

.lightbox-image-hit-next {
  right: 0;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='17' fill='%23080705' fill-opacity='.72'/%3E%3Cpath d='M14.5 10.5 22 18l-7.5 7.5' fill='none' stroke='%23f18513' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 18 18, e-resize;
}

.lightbox-image-hit-next::after {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.26), transparent 72%);
}

.lightbox-image-hit[hidden] {
  display: none;
}

.lightbox-group-preview {
  position: relative;
  width: 100%;
  height: min(48vh, 520px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #050403;
  cursor: pointer;
  opacity: 0.42;
  filter: saturate(0.72);
  transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
}

.lightbox-group-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lightbox-group-preview-previous {
  transform: translateX(-12%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 54%);
  mask-image: linear-gradient(90deg, transparent, #000 54%);
}

.lightbox-group-preview-previous::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent 74%);
}

.lightbox-group-preview-next {
  transform: translateX(12%);
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 54%);
  mask-image: linear-gradient(270deg, transparent, #000 54%);
}

.lightbox-group-preview-next::after {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.82), transparent 74%);
}

.lightbox-group-preview:hover,
.lightbox-group-preview:focus-visible {
  opacity: 0.82;
  filter: saturate(1);
  outline: none;
}

.lightbox-group-preview-previous:hover,
.lightbox-group-preview-previous:focus-visible {
  transform: translateX(-6%);
}

.lightbox-group-preview-next:hover,
.lightbox-group-preview-next:focus-visible {
  transform: translateX(6%);
}

.lightbox-group-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.lightbox-group-preview-label {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  left: 14px;
  color: rgba(255, 255, 255, 0.88);
  font: 700 0.72rem/1.2 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.lightbox-caption {
  margin: 0;
  color: var(--muted);
  font: 600 0.92rem/1.45 "Plus Jakarta Sans", sans-serif;
  text-align: center;
}

.lightbox-thumbnails {
  display: flex;
  width: min(100%, 900px);
  gap: 8px;
  padding: 2px 2px 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.08);
}

.lightbox-thumbnail {
  flex: 0 0 96px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(244, 239, 230, 0.24);
  border-radius: 5px;
  background: #050403;
  cursor: pointer;
  opacity: 0.68;
  transition: border-color 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.lightbox-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.lightbox-thumbnail:hover,
.lightbox-thumbnail:focus-visible,
.lightbox-thumbnail.is-active {
  border-color: var(--accent);
  opacity: 1;
  outline: none;
  transform: translateY(-2px);
}

.lightbox-thumbnails[hidden] {
  display: none;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(244, 239, 230, 0.24);
  border-radius: 7px;
  background: rgba(8, 7, 5, 0.78);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.lightbox-close {
  z-index: 5;
  top: 0;
  right: 0;
  font-size: 2rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 7, 5, 0.1);
  border-color: rgba(244, 239, 230, 0.12);
  color: rgba(244, 239, 230, 0.92);
  font-size: 0;
}

.lightbox-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 30px;
  height: 30px;
  background: currentColor;
  transform: translate(-50%, -50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-prev::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.lightbox-next {
  right: 18px;
}

.lightbox-next::before {
  transform: translate(-50%, -50%);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.04);
}

.lightbox-close:hover {
  transform: scale(1.04);
}

.lightbox-nav[hidden] {
  display: none;
}

.admin-gallery-lightbox {
  z-index: 130;
}

.admin-lightbox-dialog {
  width: min(1580px, 100%);
}

.admin-lightbox-stage {
  grid-template-columns: minmax(0, 1fr);
}

.admin-gallery-lightbox .lightbox-image {
  max-height: calc(100vh - 210px);
}

.admin-gallery-lightbox .lightbox-thumbnails {
  width: min(100%, 980px);
}

.location {
  position: relative;
  z-index: 1;
  isolation: isolate;
  align-items: center;
  overflow: hidden;
}

.location::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -180px;
  bottom: -150px;
  left: 50%;
  width: min(100vw, 2120px);
  background:
    linear-gradient(rgba(8, 8, 6, 0.38), rgba(8, 8, 6, 0.38)),
    url("assets/tallinn-map-background.png") center / cover no-repeat;
  opacity: 0.52;
  pointer-events: none;
  transform: translate3d(-50%, calc(var(--map-bg-y) * 0.72), 0) scale(1.12);
  will-change: transform;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 5%, #000 18%, #000 82%, rgba(0, 0, 0, 0.08) 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 5%, #000 18%, #000 82%, rgba(0, 0, 0, 0.08) 95%, transparent 100%);
  mask-composite: intersect;
}

.location > * {
  position: relative;
  z-index: 2;
}

.map-card {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.map-card a {
  display: block;
}

.map-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 430 / 258;
  object-fit: cover;
  background: var(--paper);
}

.map-card figcaption {
  padding: 13px 15px;
  color: rgba(13, 11, 8, 0.72);
  border-top: 1px solid rgba(13, 11, 8, 0.2);
}

.contact {
  position: relative;
  isolation: isolate;
  padding-bottom: 72px;
}

.contact::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -120px;
  bottom: -36px;
  left: 50%;
  width: min(100vw, 2120px);
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 4, 3, 0.38) 24%, rgba(5, 4, 3, 0.58) 58%, rgba(5, 4, 3, 0.78) 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 100%);
  pointer-events: none;
  transform: translateX(-50%);
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact-form,
.admin-form {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.contact-form {
  border: 1px solid rgba(244, 239, 230, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(8, 8, 6, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

.admin-setting-card {
  display: grid;
  grid-template-rows: auto auto;
  gap: 28px;
  min-width: 0;
  padding: 28px 30px 26px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #111;
}

.admin-setting-card-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  justify-self: center;
  gap: 17px;
  width: max-content;
  max-width: 100%;
  padding: 0;
}

.admin-page .admin-setting-card-header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.15rem, 1.45vw, 1.4rem);
  line-height: 1;
  white-space: nowrap;
}

.admin-login-card-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
}

.admin-login-card-header > span {
  min-width: 0;
}

.admin-key-icon img {
  display: block;
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.admin-setting-header-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.25;
  text-align: left;
  text-transform: none;
}

.admin-auto-setting-form.is-saving {
  opacity: 0.68;
  pointer-events: none;
}

.admin-setting-heading-icon {
  position: relative;
  display: grid;
  place-items: center;
}

.admin-phone-icon {
  position: relative;
  width: 23px;
  height: 42px;
  justify-self: center;
  border: 3px solid var(--accent);
  border-radius: 6px;
}

.admin-phone-icon::before,
.admin-phone-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

.admin-phone-icon::before {
  top: 3px;
  width: 10px;
  height: 2px;
  border-radius: 2px;
}

.admin-phone-icon::after {
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.admin-setting-controls {
  justify-self: center;
  width: 75%;
  min-width: 0;
  min-height: 92px;
  align-items: center;
}

.admin-preview-button {
  display: grid;
  place-items: center;
  color: var(--text);
}

.admin-preview-button {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  background: #0d0d0d;
  font-family: "Staatliches", Impact, sans-serif;
  font-size: 1.8rem;
}

.admin-preview-top {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.admin-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.admin-toggle-track {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 160ms ease;
}

.admin-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 160ms ease;
}

.admin-toggle input:checked + .admin-toggle-track {
  background: var(--accent);
}

.admin-toggle input:checked + .admin-toggle-track::after {
  transform: translateX(18px);
}

.admin-toggle input:focus-visible + .admin-toggle-track {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.admin-toggle-copy {
  color: var(--text);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-login-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-login-controls .admin-auto-setting-form {
  display: flex;
  justify-content: center;
}

.admin-mobile-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(60px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 24px;
}

.admin-mobile-controls .admin-auto-setting-form {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.admin-auto-setting-form {
  margin: 0;
}

.admin-toggle-labeled {
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}

.admin-partner-panel {
  display: grid;
  gap: 18px;
}

.admin-partner-add-form {
  grid-template-columns: minmax(150px, 0.7fr) minmax(240px, 1.3fr) minmax(210px, 1fr) auto;
  align-items: end;
  padding-top: 0;
}

.admin-partner-list {
  display: grid;
  gap: 10px;
}

.admin-partner-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(150px, 0.7fr) minmax(240px, 1.3fr) minmax(190px, 0.9fr) auto;
  align-items: end;
  gap: 14px;
  padding: 14px;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  background: rgba(255, 255, 255, 0.018);
}

.admin-partner-logo-preview {
  height: 72px;
  display: grid;
  place-items: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: grab;
  user-select: none;
}

.admin-partner-logo-preview:active {
  cursor: grabbing;
}

.admin-partner-logo-preview img {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
  pointer-events: none;
}

.admin-partner-list.is-saving {
  pointer-events: none;
  opacity: 0.72;
}

.admin-partner-item.is-dragging {
  opacity: 0.5;
  background: rgba(241, 133, 19, 0.1);
}

.admin-partner-item.drop-before::before,
.admin-partner-item.drop-after::after,
.admin-gallery-item.drop-before:not(.is-group-child)::before,
.admin-gallery-item.drop-after::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(241, 133, 19, 0.18);
  pointer-events: none;
}

.admin-partner-item.drop-before::before,
.admin-gallery-item.drop-before:not(.is-group-child)::before {
  top: -6px;
}

.admin-partner-item.drop-after::after,
.admin-gallery-item.drop-after::after {
  bottom: -6px;
}

.admin-gallery-item.is-group-child.drop-before {
  box-shadow: 0 -3px 0 -1px var(--accent);
}

.admin-partner-actions {
  display: flex;
  gap: 8px;
}

.admin-partner-actions .button {
  min-height: 48px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
}

.contact-layout .section-heading {
  margin-bottom: 0;
}

.contact-layout .contact-form {
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

.contact-form label {
  gap: 10px;
  color: rgba(244, 239, 230, 0.82);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.045em;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(244, 239, 230, 0.09);
  border-radius: 12px;
  background: rgba(15, 15, 12, 0.92);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 10px 24px rgba(0, 0, 0, 0.16);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(158, 151, 139, 0.72);
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(244, 239, 230, 0.16);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(18, 18, 14, 0.98);
  box-shadow:
    0 0 0 1px rgba(221, 132, 39, 0.44),
    0 18px 44px rgba(0, 0, 0, 0.28);
}

.contact-form textarea {
  min-height: 190px;
  resize: vertical;
}

select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  background-color: #050403;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 13px) 50%,
    calc(100% - 8px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
  color-scheme: dark;
}

select option {
  background: #050403;
  color: var(--text);
}

.contact-native-select {
  display: none;
}

.contact-select {
  position: relative;
  width: 100%;
}

.contact-select-trigger {
  position: relative;
  width: 100%;
  min-height: 54px;
  padding: 12px 44px 12px 15px;
  border: 1px solid rgba(244, 239, 230, 0.09);
  border-radius: 12px;
  background: rgba(15, 15, 12, 0.92);
  color: var(--text);
  font: 700 1.75rem/1.15 "Oswald", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.contact-select-trigger:hover,
.contact-select-trigger:focus-visible,
.contact-select.is-open .contact-select-trigger {
  border-color: var(--accent);
  outline: none;
  box-shadow:
    0 0 0 1px rgba(221, 132, 39, 0.44),
    0 18px 44px rgba(0, 0, 0, 0.28);
}

.contact-form .social-links {
  display: none;
}

.contact-select-trigger::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
}

.contact-select.is-open .contact-select-trigger::after {
  transform: translateY(-25%) rotate(225deg);
}

.contact-select-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(244, 239, 230, 0.09);
  border-radius: 14px;
  background: #0f0f0c;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.contact-select-option {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: 700 1.75rem/1.15 "Oswald", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.contact-select-option:hover,
.contact-select-option:focus-visible,
.contact-select-option.is-selected {
  background: var(--accent);
  color: #050403;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: none;
}

.partners {
  padding-top: 72px;
  padding-bottom: 86px;
}

.partners-heading {
  margin-bottom: 38px;
}

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

.partner-logo {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 28px 32px;
  background: transparent;
  transition: background-color 180ms ease;
}

.partner-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.66;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.partner-logo:hover,
.partner-logo:focus-visible {
  background: rgba(221, 132, 39, 0.08);
  outline: none;
}

.partner-logo:hover img,
.partner-logo:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px) scale(1.035);
}

.content-admin .partner-logo {
  position: relative;
  cursor: grab;
  user-select: none;
}

.content-admin .partner-logo::after {
  content: "↔";
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(221, 132, 39, 0.72);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--accent);
  font: 700 17px/1 Arial, sans-serif;
  opacity: 0;
  transition: opacity 150ms ease;
  pointer-events: none;
}

.content-admin .partner-logo:hover::after,
.content-admin .partner-logo:focus-visible::after {
  opacity: 1;
}

.content-admin .partner-logo:active {
  cursor: grabbing;
}

.partner-logo.is-dragging {
  opacity: 0.42;
}

.partner-logo.drop-before {
  box-shadow: inset 4px 0 0 var(--accent);
}

.partner-logo.drop-after {
  box-shadow: inset -4px 0 0 var(--accent);
}

.content-admin .mobile-hero-service[data-service-id] {
  position: relative;
  cursor: grab;
  user-select: none;
}

.content-admin .mobile-hero-service[data-service-id]::after {
  content: "↔";
  position: absolute;
  top: -18px;
  right: 50%;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(221, 132, 39, 0.72);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.82);
  color: var(--accent);
  font: 700 15px/1 Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translateX(50%);
  transition: opacity 150ms ease;
}

.content-admin .mobile-hero-service[data-service-id]:hover::after,
.content-admin .mobile-hero-service[data-service-id]:focus-visible::after {
  opacity: 1;
}

.content-admin .mobile-hero-service[data-service-id]:active {
  cursor: grabbing;
}

.mobile-hero-service.is-dragging {
  opacity: 0.42;
}

.mobile-hero-service.drop-before {
  box-shadow: inset 4px 0 0 var(--accent);
}

.mobile-hero-service.drop-after {
  box-shadow: inset -4px 0 0 var(--accent);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.35rem;
}

.footer {
  max-width: 1560px;
  margin: 0 auto;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.form-note a,
.footer a,
.section-heading a {
  color: var(--accent-2);
  font-weight: 800;
}

.form-note a:hover,
.footer a:hover,
.section-heading a:hover {
  color: var(--text);
}

.admin-page {
  min-height: 100vh;
  padding: 28px;
}

.admin-page h1 {
  font-size: clamp(3rem, 5vw, 5rem);
}

.admin-page h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
}

.admin-shell {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-home-link {
  font-size: 1.08rem;
  padding-inline: 22px;
}

.notice,
.error {
  padding: 14px 16px;
  border: 1px solid var(--line);
}

.notice {
  background: rgba(47, 179, 109, 0.14);
  border-color: rgba(47, 179, 109, 0.36);
}

.error {
  background: rgba(150, 47, 47, 0.18);
  border-color: rgba(150, 47, 47, 0.42);
}

.admin-gallery {
  display: grid;
  gap: 8px;
}

.admin-new-stack-dropzone {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.admin-new-stack-dropzone strong,
.admin-new-stack-dropzone small {
  display: block;
}

.admin-new-stack-dropzone strong {
  font: 800 1.05rem/1.2 "Oswald", Arial, sans-serif;
  text-transform: uppercase;
}

.admin-new-stack-dropzone small {
  margin-top: 6px;
  color: var(--muted);
}

.admin-new-stack-dropzone.is-dragging {
  border-color: var(--accent);
  background: rgba(241, 133, 19, 0.12);
}

.admin-new-stack-dropzone.is-uploading {
  pointer-events: none;
  opacity: 0.5;
}

.admin-new-stack-dropzone-icon {
  position: relative;
  width: 48px;
  height: 40px;
  flex: 0 0 48px;
}

.admin-new-stack-dropzone-icon i {
  position: absolute;
  width: 34px;
  height: 27px;
  border: 2px solid #fff;
  border-radius: 5px;
  background: #111;
}

.admin-new-stack-dropzone-icon i:nth-child(1) {
  inset: 0 auto auto 0;
}

.admin-new-stack-dropzone-icon i:nth-child(2) {
  inset: 6px auto auto 6px;
}

.admin-new-stack-dropzone-icon i:nth-child(3) {
  inset: 12px auto auto 12px;
  border-color: var(--accent-2);
}

.admin-gallery-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px 38px 58px 148px minmax(220px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.admin-gallery-item.has-collapse-control {
  grid-template-columns: 30px 68px 38px 58px 148px minmax(220px, 1fr) auto auto;
}

.admin-gallery-order-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-content: center;
  gap: 2px;
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: 5px;
  background: rgba(5, 5, 5, 0.46);
  color: var(--text);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.admin-gallery-order-number small {
  color: var(--muted);
  font: 700 0.58rem/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-gallery-order-number strong {
  font: 800 1.15rem/1 "Plus Jakarta Sans", sans-serif;
}

.admin-gallery-select {
  display: grid;
  width: 30px;
  height: 44px;
  place-items: center;
  align-self: center;
  cursor: crosshair;
  touch-action: none;
  user-select: none;
}

.admin-gallery-select input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-gallery-select span {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 5px;
  background: #090909;
  transition: border-color 140ms ease, background 140ms ease;
}

.admin-gallery-select input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
}

.admin-gallery-select input:checked + span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border-right: 3px solid #111;
  border-bottom: 3px solid #111;
  transform: rotate(45deg);
}

.admin-gallery-select input:focus-visible + span {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.admin-gallery-item.is-selected {
  border-color: rgba(241, 133, 19, 0.74);
  background: rgba(241, 133, 19, 0.09);
}

.admin-gallery-collapse-leading {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: 900 2.3rem/1 sans-serif;
  cursor: pointer;
}

.admin-gallery-collapse-leading:hover,
.admin-gallery-collapse-leading:focus-visible {
  background: transparent;
  color: #fff;
  outline: none;
  opacity: 0.72;
}

.admin-gallery-item.is-group-child .admin-gallery-collapse-leading {
  display: none;
}

.admin-gallery-item.is-group-cover {
  border-left: 4px solid var(--accent);
}

.admin-gallery-item.is-group-cover.is-group-collapsed {
  box-shadow:
    7px 7px 0 -3px rgba(241, 133, 19, 0.22),
    13px 13px 0 -6px rgba(241, 133, 19, 0.12);
  margin-bottom: 10px;
}

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

.admin-gallery-item.is-group-child {
  width: calc(100% - 56px);
  margin-left: 56px;
  border-left-color: rgba(241, 133, 19, 0.42);
  background: rgba(255, 255, 255, 0.025);
}

.admin-gallery-item.is-group-child::before {
  content: "";
  position: absolute;
  left: -34px;
  top: -9px;
  width: 24px;
  height: calc(50% + 9px);
  border-left: 2px solid rgba(241, 133, 19, 0.42);
  border-bottom: 2px solid rgba(241, 133, 19, 0.42);
  pointer-events: none;
}

.admin-gallery-group-control {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.admin-gallery-group-label {
  min-width: 76px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.admin-gallery-group-summary {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.admin-gallery-item.is-group-child .admin-gallery-group-summary,
.admin-gallery-item.is-group-child .admin-gallery-delete-group {
  display: none;
}

.admin-gallery-delete-actions {
  display: grid;
  gap: 6px;
}

.admin-gallery-indent-actions {
  display: flex;
  gap: 4px;
}

.admin-gallery-indent-actions button[hidden] {
  display: none;
}

.admin-gallery-indent-actions button {
  width: 34px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(5, 5, 5, 0.42);
  color: var(--text);
  font: 800 1rem/1 sans-serif;
  cursor: pointer;
}

.admin-gallery-indent-actions button:hover,
.admin-gallery-indent-actions button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  outline: none;
}

.admin-gallery-delete-group {
  padding: 6px 8px;
  border: 1px solid rgba(150, 47, 47, 0.7);
  border-radius: 0;
  background: rgba(150, 47, 47, 0.16);
  color: #ffb3aa;
  font: 800 0.68rem/1 "Plus Jakarta Sans", sans-serif;
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-gallery-delete-group:hover,
.admin-gallery-delete-group:focus-visible {
  background: var(--danger);
  color: #fff;
  outline: none;
}

.admin-gallery-item.is-group-cover .admin-gallery-group-label {
  color: var(--accent-2);
}

.admin-gallery-item.drop-into-group {
  border-color: var(--accent);
  background: rgba(241, 133, 19, 0.14);
  box-shadow: inset 0 0 0 2px rgba(241, 133, 19, 0.28);
}

.admin-gallery-item.drop-promote-cover {
  border-color: var(--accent-2);
  background: rgba(241, 133, 19, 0.16);
  box-shadow: inset 0 0 0 2px rgba(241, 133, 19, 0.34);
}

.admin-gallery-item.drop-promote-cover::after {
  content: "Muuda põhipildiks";
  position: absolute;
  z-index: 8;
  inset: 8px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--accent-2);
  background: rgba(7, 6, 4, 0.88);
  color: var(--accent-2);
  font: 800 1rem/1 "Oswald", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.admin-gallery-item.is-quick-upload-target {
  border-color: var(--accent);
  background: rgba(241, 133, 19, 0.12);
  box-shadow: inset 0 0 0 2px rgba(241, 133, 19, 0.3);
}

.admin-gallery-item.is-quick-upload-target::after {
  content: "Lisa sellesse gruppi";
  position: absolute;
  z-index: 8;
  inset: 8px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--accent);
  background: rgba(7, 6, 4, 0.9);
  color: var(--accent-2);
  font: 800 1rem/1 "Oswald", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.admin-gallery-item.is-quick-uploading {
  pointer-events: none;
  opacity: 0.58;
}

.admin-gallery-delete-notice {
  display: flex;
  min-height: 118px;
  align-items: center;
  padding: 14px 18px;
  overflow: hidden;
  border: 1px solid rgba(47, 179, 109, 0.42);
  border-left: 4px solid #2fb36d;
  background: rgba(47, 179, 109, 0.14);
  color: var(--text);
  font-weight: 800;
  opacity: 1;
  transform: scaleY(1);
  transform-origin: top;
  transition:
    min-height 65ms ease,
    max-height 65ms ease,
    padding 65ms ease,
    border-width 65ms ease,
    opacity 45ms ease,
    transform 65ms ease;
  max-height: 118px;
}

.admin-gallery-delete-notice.is-disappearing {
  min-height: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top-width: 0;
  border-bottom-width: 0;
  opacity: 0;
  transform: scaleY(0);
}

.admin-caption-dialog[hidden] {
  display: none;
}

.admin-caption-dialog {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-caption-dialog-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: default;
}

.admin-caption-dialog-card {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #141414;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
}

.admin-caption-dialog-card h3 {
  max-width: 390px;
  margin: 7px 0 10px;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.admin-caption-dialog-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-caption-dialog-x {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: 400 1.45rem/1 sans-serif;
  cursor: pointer;
}

.admin-caption-dialog-x:hover,
.admin-caption-dialog-x:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.admin-caption-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.admin-caption-dialog-actions .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.admin-caption-choice-icon {
  position: relative;
  display: inline-block;
  width: 29px;
  height: 25px;
  flex: 0 0 29px;
}

.admin-caption-choice-icon span {
  position: absolute;
  width: 21px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: #141414;
}

.admin-caption-choice-icon.is-single span {
  top: 4px;
  left: 4px;
}

.admin-caption-choice-icon.is-stack span:nth-child(1) {
  top: 0;
  left: 0;
}

.admin-caption-choice-icon.is-stack span:nth-child(2) {
  top: 4px;
  left: 4px;
}

.admin-caption-choice-icon.is-stack span:nth-child(3) {
  top: 8px;
  left: 8px;
  border-color: var(--accent-2);
}

.admin-caption-dialog-actions .button.primary .admin-caption-choice-icon span {
  background: #e98318;
}

.admin-caption-dialog-actions .button.primary .admin-caption-choice-icon.is-stack span:nth-child(3) {
  border-color: #111;
}

body.has-admin-dialog {
  overflow: hidden;
}

.admin-gallery-item img {
  width: 148px;
  height: 96px;
  object-fit: cover;
}

.admin-gallery-item img[data-gallery-drag-image] {
  cursor: grab;
  user-select: none;
}

.admin-gallery-item img[data-gallery-drag-image]:active {
  cursor: grabbing;
}

.admin-gallery-item.is-dragging {
  opacity: 0.55;
  border-color: var(--accent);
  background: rgba(241, 133, 19, 0.1);
}

.admin-gallery-item.is-dragging-with-stack {
  opacity: 0.38;
  border-color: rgba(241, 133, 19, 0.6);
}

.admin-gallery-item.is-dragging.is-horizontal-grouping {
  opacity: 0.82;
  border-color: var(--accent);
  background: rgba(241, 133, 19, 0.18);
  box-shadow: inset 4px 0 0 var(--accent);
}

.admin-drag-handle {
  width: 38px;
  height: 96px;
  display: grid;
  grid-template-columns: repeat(2, 5px);
  grid-template-rows: repeat(3, 5px);
  place-content: center;
  gap: 7px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.36);
  color: var(--accent);
  cursor: grab;
  user-select: none;
}

.admin-drag-handle:active {
  cursor: grabbing;
}

.admin-drag-handle span {
  width: 5px;
  height: 5px;
  display: block;
  border-radius: 50%;
  background: currentColor;
  pointer-events: none;
}

.admin-panel-compact {
  border: 0;
  background: transparent;
  padding-bottom: 34px;
}

.admin-gallery-panel {
  position: relative;
  border: 0;
  background: transparent;
}

.admin-gallery-panel::before {
  content: none;
}

.admin-panel-title,
.admin-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.admin-gallery-heading-tools {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.admin-gallery-selection-summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.admin-gallery-selection-summary[hidden] {
  display: none;
}

.admin-gallery-selection-summary strong {
  color: var(--accent-2);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.9rem;
}

.admin-gallery-selection-summary button {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  background: #0b0b0b;
  color: var(--text);
  font: 700 0.72rem/1 "Oswald", Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-gallery-selection-summary button:hover,
.admin-gallery-selection-summary button:focus-visible {
  border-color: var(--accent);
  color: var(--accent-2);
  outline: none;
}

.admin-selection-clear-floating {
  position: fixed;
  z-index: 95;
  top: 50%;
  left: max(12px, calc((100vw - 1260px) / 2 - 64px));
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--ink);
  color: var(--text);
  cursor: pointer;
  transform: translateY(-50%);
}

.admin-selection-clear-floating[hidden] {
  display: none;
}

.admin-selection-clear-floating span {
  position: relative;
  width: 23px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.admin-selection-clear-floating span::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 9px;
  width: 31px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transform: rotate(-45deg);
}

.admin-selection-clear-floating:hover,
.admin-selection-clear-floating:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  outline: none;
}

.admin-selection-clear-floating:hover span::after,
.admin-selection-clear-floating:focus-visible span::after {
  background: var(--ink);
}

.admin-panel-compact .admin-panel-title {
  display: block;
}

.admin-panel-compact .admin-panel-title .admin-help {
  max-width: 900px;
  margin: 8px 0 0;
}

.admin-panel-title h1,
.admin-gallery-heading h2 {
  margin-bottom: 0;
}

.admin-gallery-heading {
  margin-bottom: 10px;
}

.admin-gallery-order-help {
  margin: 5px 0 0;
}

.admin-gallery.is-saving {
  pointer-events: none;
  opacity: 0.72;
}

.admin-upload-form {
  grid-template-columns: minmax(280px, 0.72fr) minmax(430px, 1.28fr);
  gap: 30px 54px;
  margin-top: 28px;
  padding: 38px 40px 34px;
  border: 1px solid rgba(244, 239, 230, 0.13);
  border-radius: 24px;
  background: linear-gradient(145deg, #0d0e0e, #070808);
}

.admin-upload-form h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}

.admin-upload-titles,
.admin-upload-media {
  min-width: 0;
  display: grid;
  align-content: start;
}

.admin-upload-titles {
  gap: 22px;
}

.admin-upload-media {
  gap: 18px;
}

.admin-upload-title-field {
  position: relative;
  display: block;
}

.admin-upload-title-field .flag {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
}

.admin-upload-title-field input[type="text"] {
  width: 100%;
  min-height: 74px;
  padding: 12px 20px 12px 72px;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 12px;
  background: #0e0f0f;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 150ms ease, background 150ms ease;
}

.admin-upload-title-field input[type="text"]::placeholder {
  color: rgba(244, 239, 230, 0.52);
  font-style: italic;
}

.admin-upload-title-field input[type="text"]:focus {
  border-color: rgba(241, 133, 19, 0.7);
  background: rgba(241, 133, 19, 0.035);
  outline: none;
}

.admin-upload-media > input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.admin-file-picker {
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 26px;
  border: 1px dashed rgba(244, 239, 230, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.012);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.admin-file-picker:hover,
.admin-file-picker.is-dragging {
  border-color: var(--accent);
  background: rgba(241, 133, 19, 0.035);
  transform: translateY(-1px);
}

.admin-file-picker.has-files {
  border-style: solid;
  border-color: rgba(244, 239, 230, 0.24);
  background: rgba(255, 255, 255, 0.02);
}

.admin-file-picker-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  color: var(--text);
  text-align: center;
}

.admin-file-picker-empty strong {
  font-size: 1.15rem;
  text-transform: none;
}

.admin-file-picker-empty u {
  color: var(--accent-2);
  text-underline-offset: 4px;
}

.admin-file-picker-empty small {
  color: var(--muted);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.admin-file-picker-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.28);
  background: #181919;
}

.admin-file-picker-icon svg {
  width: 45px;
  height: 45px;
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-file-picker-selected {
  width: 100%;
  display: none;
  grid-template-columns: 54px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(244, 239, 230, 0.13);
  border-radius: 10px;
  background: #191a1a;
}

.admin-file-picker.has-files .admin-file-picker-empty {
  display: none;
}

.admin-file-picker.has-files .admin-file-picker-selected {
  display: grid;
}

.admin-file-selected-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #292a2a;
  color: var(--accent-2);
  font-size: 1.3rem;
}

.admin-file-picker-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-file-picker-copy strong {
  color: var(--text);
  font-size: 1rem;
  text-transform: uppercase;
}

.admin-file-picker-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-file-picker-selected button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 500 1.5rem/1 sans-serif;
  cursor: pointer;
}

.admin-file-picker-selected button:hover,
.admin-file-picker-selected button:focus-visible {
  color: #fff;
  outline: none;
}

.admin-upload-group-option {
  width: 100%;
  min-height: 104px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 22px;
  padding: 20px 24px;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 12px;
  background: #0e0f0f;
  cursor: pointer;
}

.admin-upload-group-option input {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  appearance: none;
  display: grid;
  place-items: center;
  border: 1px solid #777;
  border-radius: 7px;
  background: #030404;
  cursor: pointer;
}

.admin-upload-group-option input::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 13px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  opacity: 0;
  transform: translate(-42%, -61%) rotate(45deg) scale(0.65);
  transform-origin: center;
  transition: opacity 120ms ease, transform 120ms ease;
}

.admin-upload-group-option input:checked {
  border-color: #aaa;
  background: #030404;
}

.admin-upload-group-option input:checked::before {
  opacity: 1;
  transform: translate(-42%, -61%) rotate(45deg) scale(1);
}

.admin-upload-group-option input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.admin-upload-stack-icon {
  position: relative;
  width: 56px;
  height: 48px;
  flex: 0 0 56px;
}

.admin-upload-stack-icon i {
  position: absolute;
  width: 30px;
  height: 27px;
  border: 2px solid rgba(244, 239, 230, 0.8);
  border-radius: 4px;
  background: #111212;
}

.admin-upload-stack-icon i:nth-child(1) {
  top: 0;
  left: 5px;
}

.admin-upload-stack-icon i:nth-child(2) {
  top: 9px;
  left: 14px;
}

.admin-upload-stack-icon i:nth-child(3) {
  top: 18px;
  left: 23px;
  border-color: var(--accent-2);
}

.admin-upload-group-copy {
  display: grid;
  gap: 8px;
}

.admin-upload-group-option strong {
  color: var(--text);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.admin-upload-group-option small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
}

.admin-upload-submit {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 72px;
  margin: 6px 0 0;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, #ffae2a 0%, #ff7a13 55%, #ff5310 100%);
  color: #0b0906;
  font-size: 1.25rem;
  letter-spacing: 0.015em;
  box-shadow: none;
}

.admin-upload-submit:hover,
.admin-upload-submit:focus-visible {
  background: linear-gradient(100deg, #ffc04a 0%, #ff8a22 55%, #ff651f 100%);
  color: #0b0906;
  outline: none;
}

.admin-caption-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.admin-caption-fields label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--muted);
}

.admin-caption-fields input {
  min-height: 32px;
  padding: 7px 88px 7px 9px;
  font-size: 0.9rem;
}

.admin-caption-control {
  position: relative;
  display: block;
  min-width: 0;
}

.admin-save-state {
  position: absolute;
  right: 6px;
  top: 50%;
  z-index: 1;
  max-width: calc(100% - 12px);
  min-height: 0;
  margin: 0;
  padding: 4px 7px 3px;
  border-radius: 999px;
  background: rgba(47, 179, 109, 0.96);
  color: #fff;
  font-size: 0.65rem;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.admin-save-state:empty {
  display: none;
}

.admin-save-state[data-status="saving"] {
  background: var(--accent-2);
  color: var(--ink);
}

.admin-save-state[data-status="error"] {
  background: #ff8585;
  color: var(--ink);
}

.admin-gallery-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  padding: 12px 0 0;
  background: linear-gradient(to top, var(--bg), rgba(8, 7, 4, 0));
}

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

  .ticker-track {
    animation-duration: 96s;
  }

  .button,
  .gallery-item img {
    transition: none;
  }

  html:not(.motion-force-enabled) .site-header,
  html:not(.motion-force-enabled) .location,
  html:not(.motion-force-enabled) .hero-card {
    --hero-bg-y: 0px !important;
    --map-bg-y: 0px !important;
    --ticket-shift-x: 0px !important;
    --ticket-shift-y: 0px !important;
    --ticket-tilt: 0deg !important;
  }

  html:not(.motion-force-enabled) .hero-card {
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: auto;
    padding-bottom: 0;
    background-position: center center;
    background-size: cover;
  }

  .hero,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: clamp(54px, 7vw, 76px);
    padding-bottom: clamp(44px, 6vw, 64px);
    align-items: center;
  }

  .hero-copy {
    align-self: center;
  }

  .info-panel {
    transform: none;
  }

  .hero-card {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading[data-section-layout] {
    --section-heading-copy-pct: 100 !important;
  }

  .section-copy[data-section-layout] {
    --section-heading-copy-pct: 100 !important;
    max-width: 100%;
  }

  .section-copy[data-heading-mode="side"] {
    display: block;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .content-admin .section-layout-resizer {
    display: none;
  }

  .content-admin .section-layout-mode {
    display: none;
  }

  .gallery-row-control {
    display: inline-flex;
    margin: -2px 0 18px 0;
  }

  .gallery-grid {
    columns: 4 150px;
  }

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

  .location .map-card {
    width: min(100%, 720px);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .admin-shortcut {
    display: grid;
    top: auto;
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .info-panel {
    display: none;
  }

  .site-header,
  .section,
  .admin-page {
    padding-left: calc(18px + env(safe-area-inset-left, 0px));
    padding-right: calc(18px + env(safe-area-inset-right, 0px));
  }

  .site-header {
    min-height: auto;
  }

  .hero-copy,
  .split > *,
  .section-heading > *,
  .contact-form,
  .partner-grid,
  .footer > * {
    min-width: 0;
    max-width: 100%;
  }

  h1,
  h2,
  h3,
  .hero-text,
  .section-heading p,
  .footer {
    overflow-wrap: anywhere;
  }

  .nav {
    align-items: center;
    gap: 10px;
  }

  .nav-links {
    display: flex;
    gap: 2px;
    white-space: nowrap;
  }

  .nav-links a {
    display: none;
    padding: 8px 5px;
    font-size: min(var(--nav-admin-font-size, 100%), 100%);
  }

  .nav-links a:nth-child(3),
  .nav-links a:nth-child(4) {
    display: inline-flex;
    align-items: center;
  }

  .nav-actions {
    margin-left: auto;
    gap: 5px;
  }

  .logo {
    flex: 0 1 auto;
    min-width: 0;
    gap: 7px;
    font-size: 1rem;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .admin-shortcut {
    top: auto;
    width: 42px;
    height: 42px;
  }

  .nav-edit-tools {
    display: none !important;
  }

  .language-toggle {
    height: 40px;
    padding: 0;
  }

  .flag {
    width: 20px;
    height: 13px;
  }

  .location h2 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  .section-rail {
    right: 12px;
    gap: 6px;
  }

  .section-rail button,
  .section-rail a {
    width: 42px;
    height: 42px;
  }

  .mobile-top-hidden .section-rail .rail-top,
  .mobile-prev-hidden .section-rail .rail-prev,
  .mobile-next-hidden .section-rail .rail-next {
    display: none;
  }

  .mobile-top-hidden.mobile-prev-hidden.mobile-next-hidden .section-rail .rail-call {
    margin-top: 0;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 34px;
  }

  .hero-card {
    display: none;
  }

  .ticker {
    display: none;
  }

  .intro-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .location::before {
    width: calc(100vw + 72px);
    background-position: 58% center;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 9%,
      #000 91%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 9%,
      #000 91%,
      transparent 100%
    );
  }

  .location .map-card {
    width: 100%;
  }

  .intro-text-block:first-child {
    grid-column: 1;
  }

  .hero-meta,
  .service-grid,
  .form-row,
  .admin-upload-form,
  .admin-gallery-item {
    grid-template-columns: 1fr;
  }

  .admin-upload-group-option {
    width: 100%;
  }

  .admin-upload-form {
    gap: 24px;
    padding: 24px 18px 20px;
    border-radius: 16px;
  }

  .admin-upload-titles,
  .admin-upload-media {
    gap: 16px;
  }

  .admin-upload-title-field input[type="text"] {
    min-height: 62px;
    padding-left: 62px;
  }

  .admin-file-picker {
    min-height: 210px;
    padding: 20px 14px;
  }

  .admin-file-picker-icon {
    width: 66px;
    height: 66px;
  }

  .admin-file-picker-icon svg {
    width: 38px;
    height: 38px;
  }

  .admin-upload-group-option {
    min-height: 92px;
    gap: 14px;
    padding: 16px;
  }

  .admin-upload-stack-icon {
    transform: scale(0.86);
    transform-origin: center;
  }

  .admin-upload-submit {
    min-height: 62px;
  }

  .admin-gallery-item.is-group-child {
    width: calc(100% - 24px);
    margin-left: 24px;
  }

  .admin-gallery-select {
    position: absolute;
    z-index: 4;
    top: 8px;
    left: 8px;
  }

  .admin-gallery-item.is-group-child::before {
    left: -16px;
    width: 10px;
  }

  .admin-gallery-group-control {
    justify-items: start;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .partner-logo {
    min-width: 0;
    min-height: 66px;
    padding: 9px 8px;
  }

  .partner-logo img {
    width: auto;
    max-width: 100%;
    max-height: 38px;
  }

  .admin-drag-handle {
    width: 100%;
    height: 34px;
    grid-auto-flow: column;
    padding: 0 14px;
  }

  .admin-panel-title,
  .admin-gallery-heading {
    display: block;
  }

  .admin-settings-grid {
    grid-template-columns: 1fr;
  }

  .admin-selection-clear-floating {
    left: 8px;
    width: 42px;
    height: 42px;
  }

  .admin-setting-card {
    gap: 22px;
    padding: 24px 20px;
  }

  .admin-setting-controls {
    width: min(100%, 430px);
  }

  .admin-login-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .admin-toggle-labeled {
    display: grid;
    justify-items: center;
    gap: 8px;
  }

  .admin-mobile-controls {
    gap: 12px;
  }

  .admin-partner-add-form,
  .admin-partner-item {
    grid-template-columns: 1fr;
  }

  .admin-partner-logo-preview {
    width: 100%;
    height: 84px;
  }

  .admin-partner-actions {
    justify-content: flex-end;
  }

  .login-button-desktop-hidden:not(.login-button-mobile-hidden) .admin-shortcut {
    display: grid;
  }

  .login-button-mobile-hidden .admin-shortcut {
    display: none;
  }

  .hero-meta span + span {
    border-left: 0;
    border-top: 1px solid rgba(13, 11, 8, 0.28);
  }

  .gallery-grid {
    column-count: 2;
    column-width: auto;
    column-gap: 8px;
  }

  .mobile-gallery-reveal {
    z-index: 0;
    isolation: isolate;
    max-height: var(--gallery-collapsed-height, 430px);
    overflow: hidden;
    transition: max-height 520ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-gallery-reveal.is-expanded {
    max-height: calc(var(--gallery-expanded-height, 2000px) + 12px);
  }

  .mobile-gallery-reveal.is-collapsible .mobile-gallery-fade {
    position: absolute;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(8, 7, 5, 0.88) 70%, #080705);
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .mobile-gallery-reveal.is-expanded .mobile-gallery-fade {
    opacity: 0;
  }

  .mobile-gallery-toggle {
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: max-content;
    min-height: 44px;
    margin: -42px auto 0;
    padding: 10px 18px;
    border: 1px solid rgba(221, 132, 39, 0.7);
    border-radius: 3px;
    background: #080705;
    color: var(--text);
    font: 700 0.88rem/1 "Plus Jakarta Sans", sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: margin 520ms cubic-bezier(0.22, 1, 0.36, 1), background 150ms ease, color 150ms ease;
  }

  .mobile-gallery-reveal.is-expanded + .mobile-gallery-toggle {
    margin-top: 16px;
  }

  .mobile-gallery-toggle:hover,
  .mobile-gallery-toggle:focus-visible {
    background: var(--accent);
    color: var(--ink);
    outline: none;
  }

  .mobile-gallery-toggle-icon {
    color: var(--accent);
    font-size: 1.1rem;
  }

  .mobile-gallery-toggle:hover .mobile-gallery-toggle-icon,
  .mobile-gallery-toggle:focus-visible .mobile-gallery-toggle-icon {
    color: inherit;
  }

  .gallery-item {
    margin-bottom: 8px;
  }

  .footer {
    flex-direction: column;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-dialog {
    gap: 8px;
  }

  .lightbox-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .lightbox-group-preview {
    display: none;
  }

  .lightbox-image {
    max-height: calc(100dvh - 158px);
    border-radius: 5px;
  }

  .lightbox-thumbnails {
    width: 100%;
  }

  .lightbox-thumbnail {
    flex-basis: 72px;
    height: 54px;
  }

  .lightbox-close {
    position: fixed;
    top: calc(16px + env(safe-area-inset-top, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 980px) and (orientation: landscape) {
  .site-header,
  .section,
  .admin-page,
  .footer {
    padding-left: calc(56px + env(safe-area-inset-left, 0px));
    padding-right: calc(56px + env(safe-area-inset-right, 0px));
  }

  .section-rail {
    right: calc(6px + env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 380px) {
  .site-header,
  .section,
  .admin-page,
  .footer {
    padding-left: calc(12px + env(safe-area-inset-left, 0px));
    padding-right: calc(12px + env(safe-area-inset-right, 0px));
  }

  .nav {
    gap: 6px;
  }

  .logo {
    gap: 5px;
    font-size: 0.8rem;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
  }

  .nav-actions {
    gap: 3px;
  }

  .nav-links a {
    padding-inline: 4px;
    font-size: min(var(--nav-admin-font-size, 100%), 88%);
  }

  .admin-shortcut {
    top: auto;
    right: calc(8px + env(safe-area-inset-right, 0px));
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .section-rail {
    right: 6px;
  }

  .section-rail button,
  .section-rail a {
    width: 38px;
    height: 38px;
  }

  .partner-grid {
    gap: 6px;
  }

  .partner-logo {
    min-height: 58px;
    padding: 7px 5px;
  }

  .partner-logo img {
    max-height: 32px;
  }

  .gallery-grid {
    column-gap: 6px;
  }
}

/* Admin mobile layout: keep all existing controls, but arrange them as touch-friendly cards. */
@media (max-width: 760px) {
  .admin-gallery-order-number {
    display: none;
  }

  html,
  body.admin-page {
    max-width: 100%;
    overflow-x: clip;
  }

  body.admin-page {
    padding:
      12px
      calc(12px + env(safe-area-inset-right, 0px))
      calc(92px + env(safe-area-inset-bottom, 0px))
      calc(12px + env(safe-area-inset-left, 0px));
  }

  .admin-shell {
    width: 100%;
    gap: 14px;
  }

  .admin-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 14px;
  }

  .admin-header .logo {
    width: max-content;
    max-width: 100%;
    font-size: 1.2rem;
  }

  .admin-header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(104px, auto);
    width: 100%;
    gap: 8px;
  }

  .admin-header-actions form,
  .admin-header-actions .button {
    width: 100%;
  }

  .admin-header-actions .button {
    min-height: 48px;
    padding: 11px 12px;
    font-size: 1rem;
  }

  .admin-section-rail {
    position: fixed;
    z-index: 110;
    top: auto;
    right: auto;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    display: flex;
    gap: 7px;
    padding: 5px;
    border: 1px solid rgba(244, 239, 230, 0.18);
    border-radius: 8px;
    background: rgba(5, 4, 3, 0.94);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
  }

  .admin-section-rail button,
  .admin-section-rail a {
    width: auto;
    min-width: 44px;
    height: 42px;
    padding-inline: 10px;
    border-radius: 4px;
  }

  .admin-page h1 {
    font-size: clamp(2.35rem, 14vw, 3.8rem);
  }

  .admin-page h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .admin-panel,
  .admin-panel-compact,
  .admin-gallery-panel {
    min-width: 0;
    padding: 18px 14px;
  }

  .admin-panel-compact,
  .admin-gallery-panel {
    padding-inline: 0;
  }

  .admin-form {
    min-width: 0;
    padding: 18px 14px;
    gap: 16px;
  }

  .admin-form label,
  .admin-form input,
  .admin-form select,
  .admin-form textarea,
  .admin-form button {
    min-width: 0;
    max-width: 100%;
  }

  .admin-form input,
  .admin-form select,
  .admin-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .admin-form input[type="file"] {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .admin-setting-card {
    gap: 18px;
    padding: 18px 14px;
    border-radius: 12px;
  }

  .admin-setting-card-header,
  .admin-login-card-header {
    grid-template-columns: 36px minmax(0, 1fr);
    justify-self: stretch;
    width: 100%;
    gap: 12px;
  }

  .admin-page .admin-setting-card-header h2 {
    font-size: 1.2rem;
    white-space: normal;
  }

  .admin-setting-header-help {
    font-size: 0.9rem;
  }

  .admin-setting-controls {
    width: 100%;
  }

  .admin-mobile-controls {
    grid-template-columns: repeat(3, minmax(48px, 1fr));
    gap: clamp(5px, 3.8vw, 14px);
    width: min(100%, 330px);
    margin-inline: auto;
  }

  .admin-preview-button {
    width: clamp(44px, 14vw, 54px);
    height: clamp(44px, 14vw, 54px);
    font-size: clamp(1.2rem, 5.5vw, 1.65rem);
  }

  .admin-preview-top {
    font-size: 0.78rem;
  }

  .admin-toggle {
    min-height: 44px;
  }

  .admin-login-controls {
    grid-template-columns: repeat(2, minmax(74px, 1fr));
    gap: clamp(8px, 5vw, 20px);
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .admin-upload-form {
    margin-top: 18px;
    padding: 18px 12px;
    border-radius: 14px;
  }

  .admin-upload-form h2 {
    font-size: 1.2rem;
  }

  .admin-upload-title-field .flag {
    left: 16px;
  }

  .admin-upload-title-field input[type="text"] {
    min-height: 58px;
    padding-left: 54px;
  }

  .admin-file-picker {
    min-height: 176px;
  }

  .admin-file-picker-empty strong {
    font-size: 1rem;
  }

  .admin-file-picker-selected {
    grid-template-columns: 44px minmax(0, 1fr) 38px;
    gap: 10px;
    padding: 12px;
  }

  .admin-file-selected-icon {
    width: 44px;
    height: 44px;
  }

  .admin-upload-group-option {
    min-height: 86px;
    gap: 10px;
    padding: 14px 12px;
  }

  .admin-upload-group-option input {
    width: 28px;
    height: 28px;
  }

  .admin-upload-stack-icon {
    width: 46px;
    flex-basis: 46px;
  }

  .admin-upload-group-option strong {
    font-size: 1rem;
  }

  .admin-upload-group-option small {
    font-size: 0.82rem;
  }

  .admin-gallery-heading,
  .admin-gallery-heading-tools {
    display: grid;
    justify-items: stretch;
    gap: 8px;
  }

  .admin-gallery-heading-tools {
    margin-top: 14px;
  }

  .admin-gallery-selection-summary {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .admin-gallery-item,
  .admin-gallery-item.has-collapse-control {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-areas:
      "drag image collapse"
      "captions captions captions"
      "group group delete";
    gap: 10px;
    align-items: stretch;
    padding: 10px;
    border-radius: 8px;
  }

  .admin-gallery-item.is-group-child {
    width: calc(100% - 14px);
    margin-left: 14px;
  }

  .admin-gallery-select {
    top: 14px;
    left: 60px;
    width: 32px;
    height: 32px;
  }

  .admin-gallery-collapse-leading {
    grid-area: collapse;
    width: 44px;
    height: 100%;
    min-height: 108px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.045);
    font-size: 1.8rem;
  }

  .admin-gallery-collapse-leading:hover,
  .admin-gallery-collapse-leading:focus-visible {
    background: rgba(241, 133, 19, 0.14);
  }

  .admin-drag-handle {
    grid-area: drag;
    width: 44px;
    height: 100%;
    min-height: 108px;
    grid-auto-flow: row;
    padding: 0;
    border-radius: 5px;
    touch-action: none;
  }

  .admin-gallery-item > img {
    grid-area: image;
    width: 100%;
    height: clamp(108px, 38vw, 168px);
    border-radius: 5px;
    object-fit: cover;
  }

  .admin-caption-fields {
    grid-area: captions;
    gap: 8px;
  }

  .admin-caption-fields label {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
  }

  .admin-caption-fields input {
    min-height: 46px;
    padding: 9px 72px 9px 10px;
    font-size: 16px;
  }

  .admin-gallery-group-control {
    grid-area: group;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
  }

  .admin-gallery-group-label {
    min-width: 0;
    text-align: left;
  }

  .admin-gallery-group-summary {
    white-space: normal;
  }

  .admin-gallery-indent-actions button {
    width: 44px;
    height: 40px;
    border-radius: 4px;
  }

  .admin-gallery-delete-actions {
    grid-area: delete;
    align-self: end;
    gap: 6px;
  }

  .admin-gallery-delete-actions .button,
  .admin-gallery-delete-group {
    min-height: 40px;
    padding: 8px 10px;
  }

  .admin-new-stack-dropzone {
    min-height: 96px;
    gap: 12px;
    padding: 16px 12px;
    border-radius: 10px;
  }

  .admin-new-stack-dropzone-icon {
    transform: scale(0.84);
  }

  .admin-caption-dialog {
    padding: 12px;
  }

  .admin-caption-dialog-card {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 24px 16px 18px;
    border-radius: 14px;
  }

  .admin-caption-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-caption-dialog-actions .button {
    width: 100%;
  }

  .admin-partner-add-form {
    padding: 16px 12px;
  }

  .admin-partner-item {
    gap: 12px;
    padding: 14px 12px;
    border: 1px solid rgba(244, 239, 230, 0.1);
    border-radius: 8px;
  }

  .admin-partner-logo-preview {
    height: 96px;
    border-radius: 6px;
    touch-action: none;
  }

  .admin-partner-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-partner-actions .button {
    width: 100%;
    min-height: 48px;
    padding-inline: 10px;
  }

  .admin-selection-clear-floating {
    top: auto;
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    left: auto;
    transform: none;
  }

  .admin-gallery-lightbox {
    padding: 10px;
  }

  .admin-gallery-lightbox .lightbox-image {
    max-height: calc(100dvh - 164px);
  }
}

@media (max-width: 420px) {
  .admin-header-actions {
    grid-template-columns: 1fr;
  }

  .admin-login-controls {
    grid-template-columns: repeat(2, minmax(68px, 1fr));
    width: min(100%, 230px);
  }

  .admin-mobile-controls {
    grid-template-columns: repeat(3, minmax(42px, 1fr));
    gap: 5px;
    width: min(100%, 252px);
  }

  .admin-preview-button {
    width: 42px;
    height: 42px;
    font-size: 1.16rem;
  }

  .admin-preview-top {
    font-size: 0.66rem;
  }

  .admin-toggle-track {
    width: 38px;
    height: 22px;
  }

  .admin-toggle-track::after {
    width: 16px;
    height: 16px;
  }

  .admin-toggle input:checked + .admin-toggle-track::after {
    transform: translateX(16px);
  }

  .admin-toggle-copy {
    font-size: 0.84rem;
  }

  .admin-section-rail {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .admin-section-rail button,
  .admin-section-rail a {
    min-width: 42px;
    height: 40px;
    padding-inline: 9px;
  }

  .admin-gallery-item,
  .admin-gallery-item.has-collapse-control {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    grid-template-areas:
      "drag image collapse"
      "captions captions captions"
      "group group group"
      "delete delete delete";
  }

  .admin-gallery-select {
    left: 52px;
  }

  .admin-drag-handle,
  .admin-gallery-collapse-leading {
    width: 38px;
  }

  .admin-gallery-delete-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-new-stack-dropzone {
    display: grid;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 760px), (max-width: 980px) and (orientation: landscape) {
  body {
    background: #050403;
  }

  .site-header {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding:
      calc(20px + env(safe-area-inset-top, 0px))
      calc(20px + env(safe-area-inset-right, 0px))
      calc(28px + env(safe-area-inset-bottom, 0px))
      calc(20px + env(safe-area-inset-left, 0px));
    border-bottom: 0;
    background: #050403;
  }

  .site-header::before {
    inset: -24px -34vw -24px -20vw;
    background-position: 61% center;
    filter: grayscale(1) contrast(1.08) brightness(0.86);
    transform: translate3d(0, var(--hero-bg-y), 0) scale(1.02);
  }

  .site-header::after {
    background:
      linear-gradient(90deg, rgba(5, 4, 3, 0.88) 0%, rgba(5, 4, 3, 0.62) 45%, rgba(5, 4, 3, 0.22) 100%),
      linear-gradient(0deg, rgba(5, 4, 3, 0.58) 0%, rgba(5, 4, 3, 0.08) 46%, rgba(5, 4, 3, 0.18) 100%);
  }

  .ticker {
    display: none;
  }

  .nav {
    width: 100%;
    min-height: 78px;
    border-bottom: 0;
    gap: 14px;
  }

  .logo {
    gap: 14px;
    font-size: clamp(1.28rem, 6vw, 1.95rem);
    letter-spacing: 0.035em;
  }

  .logo-mark {
    width: clamp(58px, 15vw, 82px);
    height: clamp(58px, 15vw, 82px);
  }

  .nav-actions {
    position: relative;
    gap: 0;
  }

  .language-toggle {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 5;
    width: min(72vw, 320px);
    display: none;
    padding: 12px;
    border: 1px solid rgba(244, 239, 230, 0.24);
    background: rgba(5, 4, 3, 0.94);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.4);
  }

  .nav-links a,
  .nav-links a:nth-child(3),
  .nav-links a:nth-child(4) {
    display: flex;
    width: 100%;
    padding: 11px 12px;
    color: var(--text);
    font-size: 1rem;
  }

  .hero {
    width: 100%;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    padding: clamp(132px, 23vh, 218px) 0 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 690px;
  }

  .eyebrow {
    margin-bottom: clamp(22px, 5vw, 38px);
    font-size: clamp(1.35rem, 5.7vw, 2.45rem);
    line-height: 1;
    letter-spacing: 0.075em;
  }

  .hero-title {
    max-width: none;
    margin: 0;
    font-size: clamp(2.88rem, 12.15vw, 7.85rem);
    line-height: 0.82;
    letter-spacing: 0.015em;
  }

  .hero-title-line {
    display: block;
    white-space: nowrap;
    color: var(--text);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
  }

  .hero-title-accent {
    color: var(--accent);
  }

  .mobile-hero-rule {
    width: 88px;
    height: 5px;
    margin: clamp(24px, 5vw, 44px) 0 clamp(28px, 5.4vw, 46px);
    border-radius: 999px;
    background: var(--accent);
  }

  .hero-text {
    max-width: 610px;
    margin-bottom: clamp(28px, 6vw, 46px);
    color: rgba(244, 239, 230, 0.78) !important;
    font-size: clamp(1.3rem, 5.15vw, 2.95rem) !important;
    line-height: 1.34 !important;
    letter-spacing: 0.005em;
  }

  .mobile-hero-services {
    width: min(100%, 620px);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: clamp(10px, 3vw, 24px);
    margin: 0 0 clamp(26px, 6vw, 46px);
  }

  .mobile-hero-service {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 8px;
    color: rgba(244, 239, 230, 0.86);
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(1.05rem, 4.15vw, 1.9rem);
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mobile-hero-service img {
    width: clamp(35px, 9.8vw, 58px);
    height: clamp(35px, 9.8vw, 58px);
    display: block;
    object-fit: contain;
  }

  .mobile-service-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    margin-bottom: clamp(24px, 7vw, 44px);
    border-radius: 50%;
    background: var(--accent);
  }

  .hero-actions {
    width: min(100%, 620px);
    display: grid;
    gap: 14px;
    margin-top: 0;
  }

  .hero-actions .button {
    min-height: clamp(58px, 14vw, 82px);
    width: 100%;
    justify-content: center;
    padding: 0 clamp(54px, 13vw, 92px);
    font-size: clamp(1.28rem, 5.35vw, 2.2rem);
    letter-spacing: 0.08em;
  }

  .site-header .hero-actions .button::after {
    right: clamp(22px, 6vw, 48px);
  }

  .hero-actions .button.primary {
    background: linear-gradient(90deg, #ff8d18, var(--accent));
    border-color: rgba(255, 141, 24, 0.95);
    color: #050403;
  }

  .hero-actions .button.ghost {
    background: rgba(5, 4, 3, 0.42);
    border-color: rgba(244, 239, 230, 0.44);
    color: rgba(244, 239, 230, 0.84);
  }

  .hero-actions .button.social-button {
    display: none;
  }

  .gallery-cta + .social-button {
    margin-left: 0;
  }

  .mobile-hero-assist {
    width: min(100%, 620px);
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 4vw, 28px);
    margin: clamp(28px, 6vw, 46px) 0 0;
    color: rgba(244, 239, 230, 0.64);
    font-size: clamp(1.05rem, 4.55vw, 1.95rem);
    line-height: 1.25;
  }

  .mobile-hero-assist img {
    width: clamp(35px, 9.5vw, 58px);
    height: clamp(35px, 9.5vw, 58px);
    flex: 0 0 auto;
    display: block;
    object-fit: contain;
  }
}

@media (max-width: 980px) and (orientation: landscape) {
  .site-header {
    min-height: 100svh;
    padding:
      calc(12px + env(safe-area-inset-top, 0px))
      calc(24px + env(safe-area-inset-right, 0px))
      calc(20px + env(safe-area-inset-bottom, 0px))
      calc(24px + env(safe-area-inset-left, 0px));
  }

  .site-header::before {
    inset: -38px -10vw -38px -8vw;
    background-position: 70% 46%;
  }

  .nav {
    min-height: 52px;
  }

  .logo {
    gap: 10px;
    font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  }

  .logo-mark {
    width: 46px;
    height: 46px;
  }

  .hero {
    padding-top: clamp(14px, 4.8vh, 30px);
  }

  .hero-copy {
    max-width: min(58vw, 560px);
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: clamp(0.92rem, 2.2vw, 1.18rem);
  }

  .hero-title {
    font-size: clamp(2.35rem, 6.4vw, 4.2rem);
    line-height: 0.78;
  }

  .mobile-hero-rule {
    width: 62px;
    height: 4px;
    margin: 12px 0 11px;
  }

  .hero-text {
    max-width: 470px;
    margin-bottom: 12px;
    font-size: clamp(0.9rem, 2.15vw, 1.18rem) !important;
    line-height: 1.16 !important;
  }

  .mobile-hero-services {
    width: min(100%, 440px);
    margin-bottom: 12px;
  }

  .mobile-hero-service {
    gap: 4px;
    font-size: clamp(0.74rem, 1.85vw, 0.96rem);
  }

  .mobile-hero-service img {
    width: clamp(24px, 4vw, 31px);
    height: clamp(24px, 4vw, 31px);
  }

  .mobile-service-dot {
    width: 5px;
    height: 5px;
    margin-bottom: 17px;
  }

  .hero-actions {
    width: min(100%, 440px);
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .hero-actions .button {
    min-height: 42px;
    padding-inline: 16px;
    font-size: clamp(0.82rem, 2.1vw, 1.05rem);
  }

  .mobile-hero-assist {
    width: min(100%, 470px);
    gap: 10px;
    margin-top: 12px;
    font-size: clamp(0.78rem, 1.9vw, 0.98rem);
    line-height: 1.18;
  }

  .mobile-hero-assist img {
    width: 28px;
    height: 28px;
  }
}

@media (min-width: 981px) and (orientation: landscape) {
  .site-header {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding:
      calc(34px + env(safe-area-inset-top, 0px))
      calc(56px + env(safe-area-inset-right, 0px))
      calc(46px + env(safe-area-inset-bottom, 0px))
      calc(56px + env(safe-area-inset-left, 0px));
    border-bottom: 0;
    background: #050403;
  }

  .site-header::before {
    inset: -70px -8vw -70px -8vw;
    background-position: 67% center;
    filter: grayscale(1) contrast(1.08) brightness(0.82);
    transform: translate3d(0, var(--hero-bg-y), 0) scale(1.02);
  }

  .site-header::after {
    background:
      linear-gradient(90deg, rgba(5, 4, 3, 0.9) 0%, rgba(5, 4, 3, 0.58) 38%, rgba(5, 4, 3, 0.18) 100%),
      linear-gradient(0deg, rgba(5, 4, 3, 0.6) 0%, rgba(5, 4, 3, 0.06) 48%, rgba(5, 4, 3, 0.14) 100%);
  }

  .ticker,
  .language-toggle {
    display: none;
  }

  .nav {
    width: 100%;
    max-width: 1560px;
    min-height: 82px;
    border-bottom: 0;
  }

  .logo {
    gap: 18px;
    font-size: clamp(1.55rem, 2.1vw, 2.1rem);
    letter-spacing: 0.035em;
  }

  .logo-mark {
    width: clamp(70px, 5.8vw, 96px);
    height: clamp(70px, 5.8vw, 96px);
  }

  .nav-actions {
    position: relative;
    gap: 0;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 5;
    width: min(320px, 58vw);
    display: none;
    padding: 12px;
    border: 1px solid rgba(244, 239, 230, 0.24);
    background: rgba(5, 4, 3, 0.94);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.4);
  }

  .nav-links a,
  .nav-links a:nth-child(3),
  .nav-links a:nth-child(4) {
    display: flex;
    width: 100%;
    padding: 12px 14px;
    color: var(--text);
    font-size: 1.05rem;
  }

  .hero {
    width: 100%;
    max-width: 1560px;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 560px);
    gap: clamp(36px, 5vw, 84px);
    align-items: center;
    padding: clamp(58px, 7vh, 96px) 0 0;
  }

  .hero-copy {
    width: min(100%, 760px);
    align-self: center;
  }

  .hero-card {
    display: grid;
    width: min(100%, 560px);
    min-height: clamp(500px, 58vh, 650px);
    align-self: center;
    justify-self: end;
    transform:
      translate3d(var(--ticket-shift-x), var(--ticket-shift-y), 0)
      rotate(calc(-1.2deg + var(--ticket-tilt)));
  }

  .eyebrow {
    margin-bottom: clamp(22px, 2.3vw, 36px);
    font-size: clamp(1.3rem, 2vw, 2.1rem);
    line-height: 1;
    letter-spacing: 0.075em;
  }

  .hero-title {
    max-width: none;
    margin: 0;
    font-size: clamp(5rem, 8.4vw, 9.3rem);
    line-height: 0.8;
    letter-spacing: 0.015em;
  }

  .hero-title-line {
    display: block;
    white-space: nowrap;
    color: var(--text);
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.42);
  }

  .hero-title-accent {
    color: var(--accent);
  }

  .mobile-hero-rule {
    width: 98px;
    height: 5px;
    margin: clamp(24px, 2.8vw, 42px) 0 clamp(24px, 2.8vw, 42px);
    border-radius: 999px;
    background: var(--accent);
  }

  .hero-text {
    max-width: 690px;
    margin-bottom: clamp(24px, 2.8vw, 40px);
    color: rgba(244, 239, 230, 0.78) !important;
    font-size: clamp(1.55rem, 2.35vw, 2.65rem) !important;
    line-height: 1.26 !important;
  }

  .mobile-hero-services {
    width: min(100%, 660px);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 clamp(24px, 2.9vw, 42px);
  }

  .mobile-hero-service {
    display: grid;
    justify-items: center;
    gap: 9px;
    color: rgba(244, 239, 230, 0.86);
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(1.25rem, 1.65vw, 1.9rem);
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mobile-hero-service img {
    width: clamp(44px, 4vw, 64px);
    height: clamp(44px, 4vw, 64px);
    display: block;
    object-fit: contain;
  }

  .mobile-service-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    margin-bottom: clamp(32px, 3.4vw, 48px);
    border-radius: 50%;
    background: var(--accent);
  }

  .hero-actions {
    width: min(100%, 660px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 0;
  }

  .hero-actions .button {
    min-height: clamp(62px, 5.3vw, 82px);
    width: 100%;
    justify-content: center;
    padding: 0 clamp(56px, 5vw, 96px);
    font-size: clamp(1.35rem, 2vw, 2.2rem);
    letter-spacing: 0.08em;
  }

  .site-header .hero-actions .button::after {
    right: clamp(26px, 3vw, 48px);
  }

  .hero-actions .button.primary {
    background: linear-gradient(90deg, #ff8d18, var(--accent));
    border-color: rgba(255, 141, 24, 0.95);
    color: #050403;
  }

  .hero-actions .button.ghost {
    background: rgba(5, 4, 3, 0.42);
    border-color: rgba(244, 239, 230, 0.44);
    color: rgba(244, 239, 230, 0.84);
  }

  .hero-actions .button.social-button {
    display: none;
  }

  .gallery-cta + .social-button {
    margin-left: 0;
  }

  .mobile-hero-assist {
    width: min(100%, 660px);
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin: clamp(24px, 2.8vw, 40px) 0 0;
    color: rgba(244, 239, 230, 0.64);
    font-size: clamp(1.25rem, 1.8vw, 2rem);
    line-height: 1.24;
  }

  .mobile-hero-assist img {
    width: clamp(42px, 3.8vw, 60px);
    height: clamp(42px, 3.8vw, 60px);
    flex: 0 0 auto;
    display: block;
    object-fit: contain;
  }
}

@media (max-width: 760px), (max-width: 980px) and (orientation: landscape) {
  .nav-actions {
    position: static;
    gap: 5px;
  }

  .language-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: static;
    width: auto;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    gap: 2px;
    white-space: nowrap;
  }

  .nav-links a {
    display: none;
    width: auto;
    padding: 8px 5px;
    font-size: min(var(--nav-admin-font-size, 100%), 100%);
  }

  .nav-links a:nth-child(3),
  .nav-links a:nth-child(4) {
    display: inline-flex;
    align-items: center;
  }
}

@media (min-width: 981px) and (orientation: landscape) {
  .site-header {
    min-height: min(930px, calc(100svh + 34px));
    padding-top: calc(46px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }

  .site-header::before {
    inset: -120px -8vw -120px -8vw;
  }

  .ticker {
    display: block;
  }

  .language-toggle {
    display: inline-flex;
  }

  .nav {
    border-bottom: 0;
  }

  .nav-actions {
    position: static;
    gap: 12px;
  }

  .nav-links {
    position: static;
    width: auto;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    gap: 8px;
  }

  .nav-links a,
  .nav-links a:nth-child(3),
  .nav-links a:nth-child(4) {
    display: inline-flex;
    width: auto;
    padding: 9px 12px;
    font-size: var(--nav-admin-font-size, 100%);
  }

  .hero {
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 520px);
    gap: clamp(32px, 4vw, 68px);
    align-items: start;
    padding-top: clamp(22px, 3.4vh, 46px);
  }

  .hero-copy {
    width: min(100%, 900px);
    align-self: start;
  }

  .hero-card {
    width: min(38vw, 540px);
    min-height: clamp(500px, 52vh, 560px);
    align-self: start;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: clamp(1.18rem, 1.55vw, 1.75rem);
  }

  .hero-title {
    font-size: clamp(4.6rem, 6.8vw, 8.25rem);
    line-height: 0.82;
  }

  .mobile-hero-rule {
    display: none;
  }

  .hero-text {
    max-width: 720px;
    margin-top: 22px;
    margin-bottom: 24px;
    font-size: clamp(1.3rem, 1.55vw, 1.9rem) !important;
    line-height: 1.24 !important;
  }

  .mobile-hero-services {
    width: min(100%, 650px);
    justify-content: flex-start;
    gap: clamp(20px, 2.1vw, 34px);
    margin-bottom: 30px;
  }

  .mobile-hero-service {
    gap: 7px;
    min-width: 104px;
    font-size: clamp(1.08rem, 1.22vw, 1.45rem);
  }

  .mobile-hero-service img {
    width: clamp(34px, 2.8vw, 48px);
    height: clamp(34px, 2.8vw, 48px);
  }

  .mobile-service-dot {
    width: 1px;
    height: 42px;
    margin: 0;
    align-self: center;
    border-radius: 0;
    background: rgba(244, 239, 230, 0.34);
  }

  .hero-actions {
    width: min(100%, 560px);
    grid-template-columns: minmax(220px, 248px) minmax(240px, 260px);
    gap: 24px;
  }

  .hero-actions .button {
    min-height: 64px;
    justify-content: center;
    padding-inline: 46px;
    font-size: clamp(1.1rem, 1.34vw, 1.55rem);
  }

  .hero-actions .button.ghost {
    border-color: var(--accent);
    background: rgba(5, 4, 3, 0.32);
    color: var(--text);
  }

  .hero-socials {
    display: flex;
    gap: 24px;
    margin-top: 18px;
  }

  .button.social-button {
    display: inline-flex;
    padding: 0;
    color: var(--text);
  }

  .social-button svg {
    width: 30px;
    height: 30px;
  }

  .mobile-hero-assist {
    width: min(100%, 560px);
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 18px 0 0;
    color: rgba(244, 239, 230, 0.62);
    font-size: clamp(1rem, 1.18vw, 1.38rem);
    line-height: 1.25;
  }

  .mobile-hero-assist img {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }
}

/* Responsive hero cleanup: keep the desktop landscape language, but stop narrow views from
   inheriting the oversized poster spacing from older mobile experiments. */
@media (min-width: 761px) and (max-width: 980px) and (orientation: portrait) {
  .site-header {
    min-height: auto;
    padding:
      calc(26px + env(safe-area-inset-top, 0px))
      calc(32px + env(safe-area-inset-right, 0px))
      calc(54px + env(safe-area-inset-bottom, 0px))
      calc(32px + env(safe-area-inset-left, 0px));
  }

  .site-header::before {
    inset: -72px -34vw -72px -20vw;
    background-position: 66% center;
    filter: grayscale(1) contrast(1.08) brightness(0.82);
  }

  .site-header::after {
    background:
      linear-gradient(90deg, rgba(5, 4, 3, 0.9) 0%, rgba(5, 4, 3, 0.62) 46%, rgba(5, 4, 3, 0.2) 100%),
      linear-gradient(0deg, rgba(5, 4, 3, 0.68) 0%, rgba(5, 4, 3, 0.08) 50%, rgba(5, 4, 3, 0.16) 100%);
  }

  .nav {
    min-height: 70px;
  }

  .logo {
    font-size: clamp(1.2rem, 2.7vw, 1.55rem);
  }

  .logo-mark {
    width: 58px;
    height: 58px;
  }

  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2),
  .nav-links a:nth-child(5) {
    display: inline-flex;
  }

  .hero {
    display: block;
    width: min(100%, 680px);
    padding: clamp(78px, 12vh, 118px) 0 0;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-title {
    font-size: clamp(4.6rem, 12.6vw, 7.4rem);
    line-height: 0.8;
  }

  .hero-text {
    max-width: 600px;
    margin: 18px 0 24px;
    font-size: clamp(1.45rem, 3.4vw, 2.1rem) !important;
    line-height: 1.22 !important;
  }

  .mobile-hero-services {
    width: min(100%, 600px);
    margin-bottom: 26px;
  }

  .mobile-hero-service {
    gap: 6px;
    font-size: clamp(1rem, 2.8vw, 1.45rem);
  }

  .mobile-hero-service img {
    width: clamp(34px, 7vw, 46px);
    height: clamp(34px, 7vw, 46px);
  }

  .mobile-service-dot {
    margin-bottom: clamp(22px, 5vw, 34px);
  }

  .hero-actions {
    width: min(100%, 600px);
  }

  .hero-actions .button {
    min-height: 66px;
    font-size: clamp(1.32rem, 3.1vw, 1.85rem);
  }

  .mobile-hero-assist {
    width: min(100%, 600px);
    gap: 16px;
    margin-top: 22px;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  }

  .mobile-hero-assist img {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 761px) and (max-width: 900px) and (orientation: portrait) {
  .nav {
    align-items: center;
    gap: 10px;
  }

  .logo {
    flex: 0 0 auto;
    min-width: 0;
    gap: 7px;
    font-size: 1rem;
    white-space: nowrap;
  }

  .logo-mark {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
  }

  .nav-actions {
    margin-left: auto;
    gap: 8px;
  }

  .nav-links {
    display: flex;
    gap: 4px;
    white-space: nowrap;
  }

  .nav-links a,
  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2),
  .nav-links a:nth-child(5) {
    display: none;
  }

  .nav-links a:nth-child(3),
  .nav-links a:nth-child(4) {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: 8px 7px;
    font-size: min(var(--nav-admin-font-size, 100%), 100%);
  }

  .language-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }
}

@media (max-width: 980px) and (orientation: landscape) {
  .site-header {
    min-height: auto;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .site-header::before {
    inset: -62px -10vw -62px -8vw;
    background-position: 70% 48%;
  }

  .hero {
    display: block;
    width: min(58vw, 560px);
    padding-top: clamp(16px, 4vh, 34px);
  }

  .hero-title {
    font-size: clamp(2.65rem, 6.2vw, 4.6rem);
  }

  .hero-text {
    max-width: 500px;
    margin: 12px 0 14px;
  }

  .mobile-hero-services {
    width: min(100%, 460px);
    margin-bottom: 14px;
  }

  .mobile-hero-service img {
    width: clamp(24px, 3.7vw, 32px);
    height: clamp(24px, 3.7vw, 32px);
  }

  .hero-actions {
    width: min(100%, 460px);
  }

  .hero-actions .button {
    min-height: 44px;
    padding-inline: 38px;
  }

  .mobile-hero-assist {
    width: min(100%, 460px);
    margin-top: 12px;
    gap: 10px;
    font-size: clamp(0.76rem, 1.7vw, 0.95rem);
  }

  .mobile-hero-assist img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  .site-header {
    min-height: auto;
    padding:
      calc(18px + env(safe-area-inset-top, 0px))
      calc(20px + env(safe-area-inset-right, 0px))
      calc(42px + env(safe-area-inset-bottom, 0px))
      calc(20px + env(safe-area-inset-left, 0px));
  }

  .site-header::before {
    inset: -44px -58vw -56px -34vw;
    background-position: 69% 38%;
    filter: grayscale(1) contrast(1.08) brightness(0.84);
  }

  .site-header::after {
    background:
      linear-gradient(90deg, rgba(5, 4, 3, 0.92) 0%, rgba(5, 4, 3, 0.62) 54%, rgba(5, 4, 3, 0.22) 100%),
      linear-gradient(0deg, rgba(5, 4, 3, 0.74) 0%, rgba(5, 4, 3, 0.12) 48%, rgba(5, 4, 3, 0.16) 100%);
  }

  .nav {
    min-height: 62px;
    gap: 8px;
  }

  .logo {
    gap: 10px;
    font-size: clamp(1rem, 5.1vw, 1.42rem);
  }

  .logo-mark {
    width: clamp(46px, 12vw, 58px);
    height: clamp(46px, 12vw, 58px);
  }

  .nav-links {
    gap: 1px;
  }

  .nav-links a {
    padding: 7px 4px;
    font-size: clamp(0.72rem, 2.7vw, 0.92rem);
  }

  .language-toggle {
    width: 34px;
    height: 34px;
  }

  .hero {
    display: block;
    padding: clamp(92px, 23vw, 132px) 0 0;
  }

  .hero-copy {
    max-width: none;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: clamp(0.86rem, 3.5vw, 1.08rem);
  }

  .hero-title {
    font-size: clamp(3rem, 12.4vw, 4.85rem);
    line-height: 0.8;
    letter-spacing: 0.01em;
  }

  .hero-title .content-inline-style {
    white-space: nowrap;
  }

  .hero-text {
    max-width: 560px;
    margin: 14px 0 22px;
    font-size: clamp(1.28rem, 5.5vw, 1.72rem) !important;
    line-height: 1.22 !important;
  }

  .mobile-hero-services {
    width: 100%;
    gap: clamp(8px, 2.6vw, 16px);
    margin-bottom: 24px;
  }

  .mobile-hero-service {
    gap: 5px;
    font-size: clamp(0.9rem, 4vw, 1.22rem);
    letter-spacing: 0.1em;
  }

  .mobile-hero-service img {
    width: clamp(28px, 8vw, 38px);
    height: clamp(28px, 8vw, 38px);
  }

  .mobile-service-dot {
    width: 5px;
    height: 5px;
    margin-bottom: clamp(19px, 5.4vw, 27px);
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-actions .button {
    min-height: clamp(58px, 12.8vw, 68px);
    padding-inline: clamp(48px, 12vw, 72px);
    font-size: clamp(1.35rem, 5.8vw, 1.9rem);
  }

  .site-header .hero-actions .button::after {
    right: clamp(20px, 5.5vw, 32px);
    width: 20px;
    height: 20px;
  }

  .mobile-hero-assist {
    width: 100%;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    font-size: clamp(0.88rem, 3.4vw, 1.08rem);
    line-height: 1.28;
  }

  .mobile-hero-assist img {
    width: 32px;
    height: 32px;
  }

  .hero-socials {
    margin-top: 16px;
    gap: 18px;
  }

  .social-button svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 420px) and (orientation: portrait) {
  .hero {
    padding-top: clamp(76px, 21vw, 108px);
  }

  .hero-title {
    font-size: clamp(2.7rem, 11.8vw, 4.1rem);
  }

  .hero-text {
    font-size: clamp(1.08rem, 5vw, 1.36rem) !important;
  }

  .mobile-hero-service img {
    width: 28px;
    height: 28px;
  }

  .mobile-hero-service {
    font-size: clamp(0.78rem, 3.8vw, 1rem);
  }

  .mobile-hero-assist {
    font-size: 0.86rem;
  }
}

/* Final hero service/icon normalization across non-wide layouts. */
@media (max-width: 1250px) {
  .site-header .mobile-hero-services {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: end;
    justify-items: center;
    column-gap: clamp(12px, 2.6vw, 28px);
    width: min(100%, 620px);
  }

  .site-header .mobile-hero-service {
    width: 100%;
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: clamp(5px, 0.9vw, 8px);
    text-align: center;
  }

  .site-header .mobile-hero-service img {
    width: clamp(30px, 4vw, 46px);
    height: clamp(30px, 4vw, 46px);
  }

  .site-header .mobile-service-dot {
    width: 1px;
    height: clamp(36px, 4vw, 48px);
    margin: 0;
    align-self: center;
    border-radius: 0;
    background: rgba(244, 239, 230, 0.34);
  }
}

@media (min-width: 981px) and (max-width: 1250px) and (orientation: landscape) {
  .site-header {
    min-height: min(860px, calc(100svh + 18px));
    padding:
      calc(32px + env(safe-area-inset-top, 0px))
      calc(34px + env(safe-area-inset-right, 0px))
      calc(48px + env(safe-area-inset-bottom, 0px))
      calc(34px + env(safe-area-inset-left, 0px));
  }

  .site-header::before {
    inset: -96px -12vw -96px -10vw;
    background-position: 68% center;
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 420px);
    gap: clamp(22px, 3vw, 42px);
    padding-top: clamp(16px, 2.8vh, 34px);
  }

  .hero-copy {
    width: min(100%, 600px);
    max-width: 600px;
  }

  .hero-card {
    width: min(38vw, 420px);
    min-height: clamp(430px, 55vh, 520px);
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: clamp(0.95rem, 1.35vw, 1.22rem);
  }

  .hero-title {
    max-width: 620px;
    font-size: clamp(3.6rem, 6.8vw, 5.5rem);
    line-height: 0.8;
  }

  .hero-title .content-inline-style {
    white-space: normal;
  }

  .hero-text {
    max-width: 520px;
    margin-top: 14px;
    margin-bottom: 18px;
    font-size: clamp(1.06rem, 1.55vw, 1.38rem) !important;
    line-height: 1.2 !important;
  }

  .mobile-hero-services {
    width: min(100%, 500px);
    margin-bottom: 22px;
  }

  .mobile-hero-service {
    font-size: clamp(0.95rem, 1.35vw, 1.16rem);
  }

  .hero-actions {
    width: min(100%, 490px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
  }

  .hero-actions .button {
    min-height: 54px;
    padding-left: 24px;
    padding-right: 52px;
    font-size: clamp(0.95rem, 1.3vw, 1.22rem);
  }

  .site-header .hero-actions .button::after {
    right: 18px;
    width: 18px;
    height: 18px;
  }

  .mobile-hero-assist {
    width: min(100%, 500px);
    margin-top: 14px;
    gap: 12px;
    font-size: clamp(0.86rem, 1.1vw, 1rem);
  }

  .mobile-hero-assist img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 980px) {
  .site-header .mobile-hero-services {
    width: min(100%, 560px);
    column-gap: clamp(10px, 3vw, 18px);
  }

  .site-header .mobile-hero-service {
    font-size: clamp(0.86rem, 2.7vw, 1.16rem);
  }

  .site-header .mobile-hero-service img {
    width: clamp(28px, 5.8vw, 38px);
    height: clamp(28px, 5.8vw, 38px);
  }

  .site-header .mobile-service-dot {
    height: clamp(34px, 6vw, 42px);
  }

  .site-header .hero-actions .button {
    padding-left: clamp(18px, 5vw, 34px);
    padding-right: clamp(52px, 11vw, 74px);
  }

  .site-header .hero-actions .button::after {
    right: clamp(18px, 4.6vw, 28px);
  }
}

@media (max-width: 430px) {
  .site-header .mobile-hero-services {
    column-gap: clamp(8px, 2.2vw, 12px);
  }

  .site-header .mobile-hero-service {
    font-size: clamp(0.76rem, 3.5vw, 0.96rem);
    letter-spacing: 0.09em;
  }

  .site-header .mobile-hero-service img {
    width: 28px;
    height: 28px;
  }

  .site-header .mobile-service-dot {
    height: 34px;
  }

  .site-header .hero-actions .button {
    padding-left: 18px;
    padding-right: 52px;
  }

  .site-header .hero-actions .button::after {
    right: 18px;
    width: 18px;
    height: 18px;
  }
}

/* Tight responsive correction: let the orange title wrap instead of colliding with the ticket. */
@media (max-width: 1250px) {
  .site-header .hero-title {
    overflow: visible;
    text-wrap: balance;
  }

  .site-header .hero-title .content-inline-style {
    white-space: normal !important;
  }
}

@media (min-width: 981px) and (max-width: 1250px) and (orientation: landscape) {
  .site-header .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: clamp(22px, 3vw, 34px);
  }

  .site-header .hero-copy {
    max-width: 670px;
  }

  .site-header .hero-card {
    width: min(34vw, 390px);
    min-height: clamp(410px, 54vh, 500px);
  }

  .site-header .hero-title {
    max-width: 670px;
    font-size: clamp(3.35rem, 6.25vw, 5.05rem);
  }

  .site-header .hero-text {
    max-width: 560px;
  }
}

@media (max-width: 980px) {
  .site-header .hero-title {
    max-width: 100%;
  }
}

/* iPad/tablet hero correction: preserve the newer hero content, but use the older,
   tighter landscape proportions so the ticket does not clip or crowd the rail. */
@media (min-width: 981px) and (max-width: 1390px) and (orientation: landscape) {
  .site-header {
    min-height: auto;
    padding:
      calc(24px + env(safe-area-inset-top, 0px))
      calc(74px + env(safe-area-inset-right, 0px))
      calc(34px + env(safe-area-inset-bottom, 0px))
      calc(34px + env(safe-area-inset-left, 0px));
  }

  .site-header::before {
    inset: -80px -10vw -72px -8vw;
    background-position: 63% center;
  }

  .site-header .hero {
    max-width: 1240px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: clamp(20px, 2.4vw, 34px);
    align-items: center;
    padding: clamp(18px, 3.2vh, 42px) 0 22px;
  }

  .site-header .hero-copy {
    width: min(100%, 650px);
    max-width: 650px;
  }

  .site-header .eyebrow {
    margin-bottom: 10px;
    font-size: clamp(0.82rem, 1vw, 1rem);
  }

  .site-header .hero-title {
    max-width: 670px;
    font-size: clamp(3.2rem, 5.7vw, 5.15rem);
    line-height: 0.82;
  }

  .site-header .hero-text {
    max-width: 540px;
    margin-top: 14px;
    margin-bottom: 18px;
    font-size: clamp(0.98rem, 1.3vw, 1.18rem) !important;
    line-height: 1.28 !important;
  }

  .site-header .mobile-hero-services {
    width: min(100%, 560px);
    margin: 0 0 18px;
  }

  .site-header .mobile-hero-service {
    font-size: clamp(0.82rem, 1.05vw, 0.96rem);
  }

  .site-header .mobile-hero-service img {
    width: clamp(30px, 3.2vw, 40px);
    height: clamp(30px, 3.2vw, 40px);
  }

  .site-header .mobile-service-dot {
    height: clamp(34px, 3.2vw, 42px);
  }

  .site-header .hero-actions {
    width: min(100%, 530px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
  }

  .site-header .hero-actions .button {
    min-height: 50px;
    padding: 0 48px 0 22px;
    font-size: clamp(0.86rem, 1.05vw, 1rem);
  }

  .site-header .hero-actions .button::after {
    right: 18px;
    width: 17px;
    height: 17px;
  }

  .site-header .mobile-hero-assist {
    width: min(100%, 540px);
    margin-top: 12px;
    font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  }

  .site-header .mobile-hero-assist img {
    width: 28px;
    height: 28px;
  }

  .site-header .hero-card {
    width: min(31vw, 360px);
    min-height: 0;
    padding: 16px;
    gap: 11px;
    justify-self: end;
  }

  .site-header .ticket-top,
  .site-header .ticket-body {
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 13px;
  }

  .site-header .hero-logo {
    width: 86px;
    height: 86px;
  }

  .site-header .ticket-location {
    margin-top: 5px;
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .site-header .ticket-location::after {
    width: 45px;
    height: 2px;
    margin-top: 8px;
  }

  .site-header .ticket-title {
    margin: 3px 0 12px;
    font-size: clamp(2.15rem, 3.5vw, 3.15rem);
    line-height: 0.86;
  }

  .site-header .ticket-services li {
    padding: 8px 0 8px 31px;
    font-size: 0.82rem;
    line-height: 1.05;
    letter-spacing: 0.01em;
  }

  .site-header .ticket-services li::before {
    left: 3px;
    width: 17px;
    height: 17px;
  }

  .site-header .ticket-photo {
    min-height: 230px;
    box-shadow: 7px 7px 0 rgba(221, 132, 39, 0.9);
  }

  .site-header .ticket-footer {
    grid-template-columns: minmax(0, 1.28fr) minmax(120px, 1fr);
  }

  .site-header .ticket-contact {
    padding: 11px 13px;
    font-size: 0.72rem;
  }

  .site-header .ticket-contact a {
    font-size: clamp(1.32rem, 2.3vw, 1.75rem);
  }

  .site-header .hero-meta span {
    padding: 10px 7px;
    font-size: 0.72rem;
  }

  .section-rail {
    right: calc(10px + env(safe-area-inset-right, 0px));
    transform: translateY(-50%) scale(0.88);
    transform-origin: right center;
  }
}

@media (min-width: 761px) and (max-width: 980px) and (orientation: portrait) {
  .site-header {
    min-height: auto;
  }

  .site-header .hero {
    align-items: start;
    padding-top: clamp(84px, 12vh, 124px);
  }

  .site-header .hero-card {
    display: none;
  }
}

@media (min-width: 981px) and (max-width: 1120px) and (orientation: landscape) {
  .site-header {
    padding-right: calc(70px + env(safe-area-inset-right, 0px));
  }

  .site-header .hero {
    grid-template-columns: minmax(0, 1fr) minmax(286px, 320px);
    gap: 22px;
  }

  .site-header .hero-copy {
    max-width: 560px;
  }

  .site-header .hero-title {
    max-width: 590px;
    font-size: clamp(3rem, 5.25vw, 3.85rem);
  }

  .site-header .hero-text {
    max-width: 500px;
  }

  .site-header .mobile-hero-services,
  .site-header .hero-actions,
  .site-header .mobile-hero-assist {
    width: min(100%, 500px);
  }

  .site-header .hero-card {
    width: min(30vw, 320px);
    padding: 14px;
  }

  .site-header .ticket-top,
  .site-header .ticket-body {
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 11px;
  }

  .site-header .hero-logo {
    width: 76px;
    height: 76px;
  }

  .site-header .ticket-title {
    font-size: clamp(2rem, 3.15vw, 2.55rem);
  }

  .site-header .ticket-services li {
    padding-left: 27px;
    font-size: 0.74rem;
  }

  .site-header .ticket-services li::before {
    width: 15px;
    height: 15px;
  }

  .site-header .ticket-photo {
    min-height: 205px;
  }

  .site-header .ticket-contact a {
    font-size: 1.35rem;
  }

  .site-header .hero-meta {
    font-size: 0.68rem;
  }
}

/* Hero title safety: never split words like "Hooldame" into letter chunks.
   Multi-word lines such as "Toome teele tagasi" may still wrap at spaces. */
.site-header .hero-title,
.site-header .hero-title .content-inline-style {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

@media (min-width: 761px) and (max-width: 1390px) {
  .site-header .hero-title {
    text-wrap: auto;
  }

  .site-header .hero-title .content-inline-style {
    white-space: normal !important;
  }
}

@media (min-width: 981px) and (max-width: 1120px) and (orientation: landscape) {
  .site-header .hero-title {
    font-size: clamp(2.72rem, 4.7vw, 3.42rem);
  }
}

/* Final tablet/narrow-desktop hero pass. Keep this at the end so it wins over
   older breakpoint layers that were making the ticket too large in Opera. */
.site-header .hero-actions .button:not(.social-button) {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-right: 52px !important;
  line-height: 1 !important;
}

.site-header .hero-actions .button:not(.social-button)::after {
  top: 50% !important;
  right: 18px !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
}

@media (min-width: 900px) and (max-width: 1500px) {
  .site-header {
    min-height: auto !important;
    padding-right: calc(86px + env(safe-area-inset-right, 0px)) !important;
  }

  .site-header .hero {
    max-width: 1320px !important;
    grid-template-columns: minmax(0, 0.98fr) minmax(260px, 0.66fr) !important;
    gap: clamp(16px, 2.2vw, 30px) !important;
    align-items: center !important;
    padding-top: clamp(16px, 2.6vh, 34px) !important;
    padding-bottom: 26px !important;
  }

  .site-header .hero-copy {
    max-width: 610px !important;
  }

  .site-header .hero-title {
    max-width: 640px !important;
    font-size: clamp(3.05rem, 5.15vw, 4.85rem) !important;
    line-height: 0.82 !important;
  }

  .site-header .hero-text {
    max-width: 520px !important;
    margin-top: 12px !important;
    margin-bottom: 16px !important;
  }

  .site-header .mobile-hero-services,
  .site-header .hero-actions,
  .site-header .mobile-hero-assist {
    width: min(100%, 500px) !important;
  }

  .site-header .hero-actions {
    gap: 12px !important;
  }

  .site-header .hero-actions .button:not(.social-button) {
    min-height: 48px !important;
    padding-left: 20px !important;
    padding-right: 46px !important;
    font-size: clamp(0.8rem, 0.95vw, 0.98rem) !important;
  }

  .site-header .hero-actions .button:not(.social-button)::after {
    right: 15px !important;
    width: 17px !important;
    height: 17px !important;
  }

  .site-header .hero-card {
    width: clamp(276px, 29vw, 382px) !important;
    min-height: 0 !important;
    padding: clamp(12px, 1.25vw, 16px) !important;
    gap: clamp(8px, 0.9vw, 11px) !important;
    justify-self: end !important;
  }

  .site-header .ticket-top,
  .site-header .ticket-body {
    grid-template-columns: minmax(0, 1fr) clamp(94px, 10vw, 126px) !important;
    gap: clamp(8px, 0.9vw, 12px) !important;
  }

  .site-header .hero-logo {
    width: clamp(68px, 7.2vw, 92px) !important;
    height: clamp(68px, 7.2vw, 92px) !important;
  }

  .site-header .ticket-location {
    margin-top: 4px !important;
    font-size: clamp(0.58rem, 0.82vw, 0.75rem) !important;
    line-height: 1.05 !important;
  }

  .site-header .ticket-location::after {
    width: clamp(34px, 4vw, 44px) !important;
    margin-top: 7px !important;
  }

  .site-header .ticket-title {
    margin: 2px 0 10px !important;
    font-size: clamp(1.95rem, 3.05vw, 2.85rem) !important;
    line-height: 0.86 !important;
  }

  .site-header .ticket-services li {
    padding: 7px 0 7px 28px !important;
    font-size: clamp(0.64rem, 0.82vw, 0.78rem) !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
  }

  .site-header .ticket-services li::before {
    left: 3px !important;
    width: 15px !important;
    height: 15px !important;
  }

  .site-header .ticket-photo {
    min-height: clamp(172px, 19vw, 220px) !important;
    box-shadow: 6px 6px 0 rgba(221, 132, 39, 0.9) !important;
  }

  .site-header .ticket-contact {
    padding: 9px 11px !important;
    font-size: clamp(0.55rem, 0.75vw, 0.68rem) !important;
  }

  .site-header .ticket-contact a {
    font-size: clamp(1.12rem, 1.72vw, 1.5rem) !important;
  }

  .site-header .hero-meta span {
    padding: 8px 6px !important;
    font-size: clamp(0.54rem, 0.72vw, 0.66rem) !important;
  }

  .site-header .hero-meta span:first-child {
    font-size: clamp(0.86rem, 1.3vw, 1.08rem) !important;
  }

  .section-rail {
    right: calc(10px + env(safe-area-inset-right, 0px)) !important;
    transform: translateY(-50%) scale(0.82) !important;
    transform-origin: right center !important;
  }
}

@media (min-width: 900px) and (max-width: 1180px) {
  .site-header {
    padding-right: calc(78px + env(safe-area-inset-right, 0px)) !important;
  }

  .site-header .hero {
    grid-template-columns: minmax(0, 1fr) minmax(248px, 318px) !important;
    gap: 18px !important;
  }

  .site-header .hero-copy {
    max-width: 540px !important;
  }

  .site-header .hero-title {
    max-width: 545px !important;
    font-size: clamp(2.55rem, 4.55vw, 3.45rem) !important;
  }

  .site-header .hero-card {
    width: clamp(248px, 28vw, 318px) !important;
    padding: 12px !important;
  }

  .site-header .ticket-top,
  .site-header .ticket-body {
    grid-template-columns: minmax(0, 1fr) 96px !important;
  }

  .site-header .hero-logo {
    width: 68px !important;
    height: 68px !important;
  }

  .site-header .ticket-title {
    font-size: clamp(1.72rem, 2.75vw, 2.18rem) !important;
  }

  .site-header .ticket-services li {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    font-size: 0.64rem !important;
  }

  .site-header .ticket-photo {
    min-height: 168px !important;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .site-header .nav {
    align-items: center !important;
    gap: 10px !important;
  }

  .site-header .logo {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    gap: 7px !important;
    font-size: clamp(0.92rem, 2.1vw, 1.15rem) !important;
    white-space: nowrap !important;
  }

  .site-header .logo-mark {
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px !important;
  }

  .site-header .nav-actions {
    margin-left: auto !important;
    gap: 8px !important;
  }

  .site-header .nav-links {
    display: flex !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }

  .site-header .nav-links a,
  .site-header .nav-links a:nth-child(1),
  .site-header .nav-links a:nth-child(2),
  .site-header .nav-links a:nth-child(5) {
    display: none !important;
  }

  .site-header .nav-links a:nth-child(3),
  .site-header .nav-links a:nth-child(4) {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    padding: 8px 7px !important;
    font-size: min(var(--nav-admin-font-size, 100%), 100%) !important;
  }

  .site-header .language-toggle {
    display: inline-flex !important;
    flex: 0 0 auto !important;
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .site-header .logo {
    flex: 0 0 auto !important;
    gap: 9px !important;
    font-size: clamp(1.02rem, 1.65vw, 1.28rem) !important;
    white-space: nowrap !important;
  }

  .site-header .logo-mark {
    flex: 0 0 54px !important;
    width: 54px !important;
    height: 54px !important;
  }

  .site-header .nav-actions {
    margin-left: auto !important;
    gap: 8px !important;
  }

  .site-header .nav-links {
    gap: 4px !important;
    white-space: nowrap !important;
  }

  .site-header .nav-links a {
    padding: 8px 8px !important;
  }
}

.site-header .hero-text {
  line-height: 1.22 !important;
}

/* Final safety pass for hero service pictograms. Older breakpoint layers can
   leave this row hidden in tablet-ish widths, so this keeps the icons stable. */
@media (max-width: 980px), (min-width: 981px) and (max-width: 1500px) {
  .site-header .mobile-hero-services {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr) !important;
    align-items: end !important;
    justify-items: center !important;
    column-gap: clamp(10px, 2.4vw, 26px) !important;
    width: min(100%, 620px) !important;
    max-width: 100% !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .site-header .mobile-hero-service {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    justify-items: center !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .site-header .mobile-hero-service img {
    width: clamp(28px, 3.8vw, 52px) !important;
    height: clamp(28px, 3.8vw, 52px) !important;
    min-width: 28px !important;
    min-height: 28px !important;
    display: block !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .site-header .mobile-hero-service > span {
    display: block !important;
  }

  .site-header .mobile-service-dot {
    display: block !important;
    width: 1px !important;
    height: clamp(34px, 4vw, 48px) !important;
    margin: 0 !important;
    align-self: center !important;
    border-radius: 0 !important;
    background: rgba(244, 239, 230, 0.34) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
