:root {
  --header-h: 82px;
  --ink: #2e251f;
  --muted: #6f6256;
  --paper: #f6efe1;
  --paper-soft: rgba(255, 250, 241, 0.72);
  --paper-strong: rgba(255, 250, 241, 0.86);
  --line: rgba(46, 37, 31, 0.18);
  --blue: #245f75;
  --blue-dark: #173946;
  --copper: #a85b37;
  --red: #a8472c;
  --plum: #4f365e;
  --green: #3d6b45;
  --shadow: 0 22px 70px rgba(24, 19, 15, 0.2);
  --glass-bg: rgba(23, 21, 32, 0.42);
  --glass-bg-strong: rgba(23, 21, 32, 0.58);
  --glass-line: rgba(255, 207, 119, 0.26);
  --glass-text: #fff7e8;
  --glass-muted: rgba(255, 247, 232, 0.82);
  --glass-gold: #ffcf77;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #f6efe1;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding: 10px clamp(18px, 4vw, 54px);
  background:
    linear-gradient(135deg, rgba(255, 207, 119, 0.1), rgba(168, 71, 44, 0.06)),
    rgba(23, 21, 32, 0.58);
  border-bottom: 1px solid rgba(255, 207, 119, 0.3);
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 248px;
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
}

.brand strong {
  display: block;
  color: var(--glass-text);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 247, 232, 0.72);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 30px);
  font-size: 15px;
  font-weight: 800;
}

.nav a {
  position: relative;
  padding: 7px 0;
  color: rgba(255, 247, 232, 0.88);
  text-decoration: none;
}

.nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--glass-gold);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 6vw, 82px);
}

h2 {
  font-size: clamp(32px, 4.4vw, 58px);
}

h3 {
  font-family: var(--font-body);
  font-size: clamp(23px, 1.8vw, 30px);
  font-weight: 850;
}

p {
  margin: 0;
}

.journey {
  overflow: hidden;
}

.journey-section {
  --scene-image: url("assets/slivovice-scene-1-orchard.jpg");
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(18px, 3vw, 42px)) clamp(18px, 5vw, 76px) clamp(22px, 4vw, 54px);
  overflow: hidden;
  scroll-margin-top: 0;
  background: #f6efe1;
  contain: paint;
}

.journey-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--scene-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

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

.home-section {
  --scene-image: url("assets/slivovice-scene-1-orchard.jpg");
}

.services-section {
  --scene-image: url("assets/slivovice-scene-2-fermentation.jpg");
}

.price-section {
  --scene-image: url("assets/slivovice-scene-4-distillery.jpg");
}

.history-section {
  --scene-image: url("assets/slivovice-scene-3-road-to-distillery.jpg");
}

.contact-section {
  --scene-image: url("assets/slivovice-scene-5-celebration.jpg");
  color: #fff7e8;
}

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

.panel {
  border: 1px solid var(--glass-line);
  background:
    linear-gradient(135deg, rgba(255, 207, 119, 0.11), rgba(168, 71, 44, 0.06)),
    var(--glass-bg);
  color: var(--glass-text);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.22);
}

.dark-panel {
  border-color: var(--glass-line);
  background:
    linear-gradient(135deg, rgba(255, 207, 119, 0.12), rgba(168, 71, 44, 0.06)),
    var(--glass-bg);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--glass-gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dark-panel .eyebrow,
.contact-section .eyebrow {
  color: #ffcf77;
}

.lead {
  margin-top: 20px;
  max-width: 640px;
  color: var(--glass-muted);
  font-size: clamp(18px, 2.1vw, 23px);
}

.label-subtitle {
  display: inline-block;
  margin-top: 12px;
  color: var(--glass-gold);
  font-family: var(--font-display);
  font-size: clamp(19px, 2.6vw, 30px);
  line-height: 1.16;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: rgba(168, 71, 44, 0.92);
  color: #fff7e8;
}

.button.primary:hover {
  background: #9c331f;
}

.button.secondary {
  background: rgba(23, 21, 32, 0.34);
  border-color: var(--glass-line);
  color: var(--glass-text);
}

.button.call-button {
  background: rgba(36, 95, 117, 0.9);
  color: #fff7e8;
  letter-spacing: 0;
}

.button.call-button:hover {
  background: #173946;
}

.button.ghost {
  background: transparent;
  border-color: rgba(255, 247, 232, 0.24);
}

.button.light {
  color: #fff7e8;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.5fr) minmax(280px, 0.34fr);
  justify-content: space-between;
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
}

.hero-panel {
  align-self: center;
  max-width: 650px;
  padding: clamp(24px, 4vw, 42px);
}

.notice-stack {
  display: grid;
  gap: 16px;
  align-self: end;
}

.notice-card {
  padding: 20px;
}

.notice-card span,
.card-number {
  display: inline-block;
  color: var(--glass-gold);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.notice-card strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.12;
}

.notice-card p {
  margin-top: 10px;
  color: var(--glass-muted);
  font-size: 17px;
  line-height: 1.5;
}

.notice-card.accent {
  background:
    linear-gradient(135deg, rgba(255, 207, 119, 0.14), rgba(168, 71, 44, 0.08)),
    var(--glass-bg);
}

.services-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(430px, 0.58fr);
  grid-template-areas:
    "intro services"
    "process services";
  gap: clamp(16px, 2.4vw, 28px);
  align-items: end;
}

.section-intro {
  padding: clamp(22px, 3vw, 36px);
}

.section-intro p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--glass-muted);
  font-size: 19px;
  line-height: 1.55;
}

.section-intro .law-link {
  margin-top: 12px;
  color: rgba(255, 247, 232, 0.72);
  font-size: 15px;
  line-height: 1.45;
}

.section-intro .law-link a {
  color: var(--glass-gold);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.mini-card {
  min-height: 178px;
  padding: 22px;
}

.mini-card h3 {
  margin-top: 20px;
}

.mini-card p {
  margin-top: 10px;
  color: var(--glass-muted);
  font-size: 18px;
  line-height: 1.5;
}

.process-card {
  padding: 22px;
}

.services-shell .section-intro {
  grid-area: intro;
}

.services-shell .service-grid {
  grid-area: services;
}

.services-shell .process-card {
  grid-area: process;
}

.process-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: minmax(92px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 207, 119, 0.17);
}

.process-list strong {
  color: var(--glass-gold);
  font-size: 18px;
  line-height: 1.35;
}

.process-list span {
  color: var(--glass-muted);
  font-size: 17px;
  line-height: 1.5;
}

.price-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(460px, 0.56fr);
  justify-content: space-between;
  gap: clamp(22px, 5vw, 76px);
  align-items: center;
}

.price-copy {
  max-width: 540px;
  border-color: rgba(255, 207, 119, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 207, 119, 0.12), rgba(168, 71, 44, 0.06)),
    rgba(23, 21, 32, 0.42);
  color: #fff7e8;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.2);
}

.price-copy p:not(.eyebrow) {
  color: rgba(255, 247, 232, 0.82);
}

.price-card {
  display: grid;
  grid-template-rows: repeat(5, minmax(90px, 1fr));
  overflow: hidden;
  border-color: rgba(255, 207, 119, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 207, 119, 0.1), rgba(168, 71, 44, 0.06)),
    rgba(23, 21, 32, 0.4);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.22);
}

.price-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  min-height: 90px;
  padding: 13px clamp(18px, 2.2vw, 28px);
  border-bottom: 1px solid rgba(255, 207, 119, 0.17);
}

.price-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  background: rgba(255, 207, 119, 0.72);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  display: grid;
  gap: 4px;
  color: rgba(255, 247, 232, 0.92);
  font-size: 19px;
  line-height: 1.25;
}

.price-row small {
  color: #ffcf77;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price-row strong {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  color: #ffcf77;
  font-family: var(--font-body);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.12;
}

.price-row strong small {
  color: rgba(255, 247, 232, 0.82);
  font-size: 15px;
  text-transform: none;
}

.history-shell {
  display: grid;
  grid-template-columns: minmax(310px, 0.42fr) minmax(460px, 0.54fr);
  justify-content: space-between;
  gap: clamp(22px, 5vw, 76px);
  align-items: end;
}

.history-copy {
  align-self: center;
  padding: clamp(22px, 3vw, 36px);
}

.history-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--glass-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-self: end;
}

.gallery-card {
  min-height: 330px;
  padding: 14px 16px 12px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  align-content: stretch;
  row-gap: 5px;
  background:
    linear-gradient(180deg, rgba(255, 207, 119, 0.08), rgba(255, 247, 232, 0.06)),
    rgba(23, 21, 32, 0.36);
}

.gallery-card::before {
  content: none;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin-bottom: 0;
  border: 1px solid rgba(46, 37, 31, 0.2);
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
  box-shadow: 0 10px 24px rgba(46, 37, 31, 0.16);
}

.gallery-card:nth-child(1) .gallery-image {
  object-position: center 40%;
}

.gallery-card:nth-child(2) .gallery-image {
  object-position: center 28%;
}

.gallery-card:nth-child(3) .gallery-image {
  object-position: center 50%;
}

.gallery-card:nth-child(4) .gallery-image {
  object-position: center 48%;
}

.gallery-card strong {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.12;
}

.gallery-card p {
  margin-top: 3px;
  color: var(--glass-muted);
  font-size: 15px;
  line-height: 1.32;
}

.contact-shell {
  --contact-block-h: clamp(420px, 32vw, 540px);
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(420px, 0.68fr);
  gap: clamp(18px, 3.6vw, 58px);
  align-items: stretch;
}

.site-credit {
  position: absolute;
  right: clamp(24px, 4vw, 72px);
  bottom: clamp(18px, 3vh, 42px);
  margin: 0;
  color: rgba(255, 247, 232, 0.5);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-align: right;
  pointer-events: none;
}

.contact-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 30px);
  align-items: stretch;
  width: 100%;
  height: var(--contact-block-h);
  min-height: 0;
  padding: clamp(16px, 1.8vw, 22px);
  border-color: rgba(255, 207, 119, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 207, 119, 0.12), rgba(168, 71, 44, 0.06)),
    rgba(23, 21, 32, 0.38);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 0 clamp(12px, 2.2vw, 28px) 0 0;
  border-right: 1px solid rgba(255, 207, 119, 0.18);
}

.contact-copy h2 {
  font-size: clamp(34px, 3.8vw, 58px);
}

.contact-copy p {
  max-width: 620px;
  margin-top: 14px;
  color: rgba(255, 247, 232, 0.82);
  font-size: 18px;
  line-height: 1.45;
}

.contact-lines {
  display: grid;
  gap: 6px;
  margin-top: clamp(16px, 2.5vh, 28px);
}

.contact-lines a,
.contact-lines strong {
  width: fit-content;
  max-width: 100%;
  color: #fff7e8;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: normal;
  text-decoration: none;
}

.contact-lines strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2vw, 30px);
}

.contact-lines a:hover {
  color: #ffcf77;
}

.contact-lines .facebook-link {
  color: #1877f2;
}

.contact-lines .facebook-link:hover {
  color: #5aa7ff;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto auto;
  align-content: start;
  height: 100%;
  gap: 12px 14px;
  min-width: 0;
  padding: 0;
}

.form-wide,
.booking-form .button {
  grid-column: 1 / -1;
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 247, 232, 0.9);
  font-size: 16px;
  font-weight: 900;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 247, 232, 0.3);
  border-radius: 6px;
  background: rgba(10, 12, 18, 0.52);
  color: #fff7e8;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 247, 232, 0.08);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: #ffcf77;
  outline: 3px solid rgba(255, 207, 119, 0.2);
}

.booking-form textarea {
  min-height: 126px;
  resize: vertical;
}

.note-field {
  min-height: 0;
}

.note-field textarea {
  height: 154px;
  min-height: 150px;
}

.booking-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 247, 232, 0.86);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.booking-form .checkbox input {
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  margin-top: 2px;
  padding: 0;
  accent-color: #ffcf77;
}

.booking-form .button {
  width: fit-content;
  min-width: 180px;
  margin-top: 2px;
  border: 0;
}

.hidden-field {
  display: none;
}

.map-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: var(--contact-block-h);
  padding: 8px;
  justify-self: stretch;
  border-color: rgba(255, 207, 119, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 207, 119, 0.15), rgba(23, 21, 32, 0.18)),
    rgba(255, 247, 232, 0.1);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 247, 232, 0.15);
}

.map-panel iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
  opacity: 1;
}

.map-panel iframe:not([src]) {
  opacity: 0;
}

.map-panel::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 247, 232, 0.12),
    inset 0 0 22px rgba(8, 10, 14, 0.12);
  pointer-events: none;
}

.map-fallback {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  background: rgba(23, 21, 32, 0.62);
  color: #fff7e8;
  font-size: 15px;
}

.map-fallback a {
  color: #ffcf77;
  font-weight: 800;
  text-decoration: none;
}

.admin-page {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 48px);
  background:
    radial-gradient(circle at 6% 4%, rgba(199, 68, 45, 0.24), transparent 20%),
    radial-gradient(circle at 94% 10%, rgba(236, 211, 63, 0.42), transparent 22%),
    linear-gradient(135deg, rgba(20, 95, 131, 0.18), transparent 38%),
    var(--paper);
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(420px, 1fr);
  gap: clamp(22px, 4vw, 44px);
  width: min(1220px, 100%);
  margin: 0 auto;
}

.admin-login,
.admin-panel,
.thanks-card {
  background: rgba(255, 250, 241, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.admin-login {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-height: 620px;
  padding: clamp(24px, 4vw, 42px);
}

.admin-login .brand {
  margin-bottom: auto;
}

.admin-login h1 {
  font-size: clamp(34px, 4.8vw, 58px);
}

.admin-login p:not(.eyebrow),
.admin-grid p,
.thanks-card p:not(.eyebrow) {
  color: var(--muted);
}

.admin-panel {
  overflow: hidden;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: var(--blue-dark);
  color: #fff7e8;
}

.admin-toolbar span {
  color: #ffcf77;
}

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

.admin-grid article {
  min-height: 184px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.admin-grid article:nth-child(2n) {
  border-right: 0;
}

.admin-grid h2 {
  font-size: 24px;
}

.admin-grid span {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 9px;
  background: rgba(246, 239, 225, 0.78);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(173, 91, 55, 0.16), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(61, 107, 69, 0.18), transparent 30%),
    var(--paper);
}

.thanks-card {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 58px);
}

.thanks-card h1 {
  font-size: clamp(44px, 6vw, 68px);
}

.thanks-card .button {
  margin-top: 24px;
}

@media (min-width: 981px) {
  .journey-section {
    height: 100vh;
    min-height: 0;
  }

  @supports (height: 100dvh) {
    .journey-section {
      height: 100dvh;
    }
  }

  .section-shell {
    max-height: none;
  }
}

@media (max-width: 1080px) {
  .services-shell,
  .price-shell,
  .history-shell,
  .contact-shell {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .section-intro,
  .service-grid,
  .process-card,
  .contact-copy,
  .booking-form,
  .map-panel {
    grid-area: auto;
  }

  .map-panel {
    width: min(560px, 100%);
  }
}

@media (min-width: 981px) {
  .services-section,
  .price-section,
  .history-section,
  .contact-section {
    align-items: start;
    padding-bottom: clamp(22px, 3.2vw, 46px);
  }

  .contact-section {
    align-items: center;
  }

  .services-shell,
  .price-shell,
  .contact-shell {
    width: min(1680px, 100%);
    height: min(760px, 100%);
    max-height: none;
  }

  .history-shell {
    width: min(1680px, 100%);
    height: 100%;
  }

  .services-shell {
    grid-template-columns: minmax(360px, 500px) minmax(280px, 1fr) minmax(400px, 520px);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "intro intro ."
      ". . services"
      "process process services";
    align-items: start;
    gap: clamp(12px, 1.8vw, 24px);
  }

  .services-shell .section-intro {
    align-self: start;
    justify-self: start;
    width: min(960px, 100%);
    padding: 24px clamp(30px, 3.6vw, 50px);
    text-align: left;
  }

  .services-shell .section-intro h2 {
    font-size: clamp(48px, 4.7vw, 76px);
    white-space: nowrap;
  }

  .services-shell .section-intro p:not(.eyebrow) {
    max-width: 710px;
    font-size: 20px;
    margin-right: 0;
    margin-left: 0;
  }

  .services-shell .service-grid {
    align-self: end;
    justify-self: end;
    grid-template-columns: 1fr;
    width: min(500px, 100%);
    gap: 12px;
  }

  .mini-card {
    min-height: 0;
    padding: 20px 24px;
    background:
      linear-gradient(135deg, rgba(255, 207, 119, 0.1), rgba(168, 71, 44, 0.06)),
      rgba(23, 21, 32, 0.4);
  }

  .mini-card h3 {
    margin-top: 8px;
    font-size: 27px;
  }

  .mini-card p {
    margin-top: 9px;
    font-size: 18px;
    line-height: 1.45;
  }

  .process-card {
    align-self: end;
    width: min(1140px, 100%);
    padding: 22px 28px 24px;
    background:
      linear-gradient(135deg, rgba(255, 207, 119, 0.1), rgba(168, 71, 44, 0.06)),
      rgba(23, 21, 32, 0.4);
  }

  .process-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 207, 119, 0.17);
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 17px 18px 0;
    border-top: 0;
    border-right: 1px solid rgba(255, 207, 119, 0.17);
  }

  .process-list li:last-child {
    border-right: 0;
  }

  .price-shell {
    grid-template-columns: minmax(620px, 860px) minmax(180px, 1fr) minmax(360px, 520px);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "copy copy ."
      ". . ."
      "table table .";
    align-items: start;
    gap: clamp(18px, 4vw, 64px);
  }

  .price-copy {
    grid-area: copy;
    justify-self: start;
    width: min(920px, 100%);
    max-width: none;
    padding: 24px clamp(30px, 3.6vw, 50px);
    text-align: left;
  }

  .price-copy h2 {
    font-size: clamp(48px, 4.5vw, 72px);
    white-space: nowrap;
  }

  .price-copy p:not(.eyebrow) {
    max-width: 700px;
    font-size: 20px;
    margin-right: 0;
    margin-left: 0;
  }

  .price-card {
    grid-area: table;
    align-self: end;
    justify-self: start;
    width: min(860px, 100%);
    transform: translateX(clamp(-64px, -3vw, -28px));
    background:
      linear-gradient(135deg, rgba(255, 207, 119, 0.1), rgba(168, 71, 44, 0.06)),
      rgba(23, 21, 32, 0.4);
  }

  .price-row {
    grid-template-columns: minmax(300px, 1fr) minmax(320px, 0.82fr);
    padding: 15px clamp(24px, 2.4vw, 36px);
  }

  .history-shell {
    position: relative;
    grid-template-columns: minmax(320px, 700px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "copy ."
      ". .";
    align-items: start;
    gap: clamp(18px, 4vw, 64px);
  }

  .history-copy {
    grid-area: copy;
    align-self: start;
    max-width: 700px;
    padding: 24px 28px;
    text-align: left;
  }

  .history-copy h2 {
    font-size: clamp(34px, 3.4vw, 54px);
    text-wrap: balance;
  }

  .history-copy p:not(.eyebrow) {
    margin-right: 0;
    margin-left: 0;
  }

  .gallery-grid {
    position: absolute;
    right: clamp(-180px, calc(270px - 17.6vw), 0px);
    bottom: clamp(16px, 2.4vh, 32px);
    width: min(1480px, 100%);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1vw, 16px);
    transform: none;
  }

  .gallery-card {
    height: clamp(260px, 34vh, 372px);
    min-height: 0;
    padding: clamp(10px, 0.9vw, 16px) clamp(10px, 0.9vw, 16px) clamp(8px, 0.7vw, 10px);
    row-gap: clamp(3px, 0.45vw, 6px);
    background:
      linear-gradient(180deg, rgba(255, 207, 119, 0.08), rgba(255, 247, 232, 0.06)),
      rgba(23, 21, 32, 0.36);
  }

  .gallery-image {
    height: 100%;
    margin-bottom: 0;
  }

  .gallery-card strong {
    font-size: clamp(18px, 1.2vw, 23px);
    line-height: 1.08;
  }

  .gallery-card p {
    margin-top: 0;
    font-size: clamp(13px, 0.82vw, 15px);
    line-height: 1.32;
  }

  .contact-shell {
    --contact-block-h: min(540px, calc(100vh - var(--header-h) - 150px));
    width: min(1800px, 100%);
    grid-template-columns: minmax(980px, 1.15fr) minmax(500px, 0.55fr);
    align-items: center;
    gap: clamp(20px, 3.2vw, 58px);
    transform: translateY(clamp(-180px, -12vh, -96px));
  }

  .contact-main {
    align-self: center;
    height: var(--contact-block-h);
  }

  .map-panel {
    align-self: center;
    height: var(--contact-block-h);
  }
}

@media (min-width: 981px) and (max-height: 1000px) {
  .history-copy {
    max-width: min(620px, 46vw);
    padding: 20px 24px;
  }

  .history-copy h2 {
    font-size: clamp(32px, 3vw, 46px);
  }

  .history-copy p:not(.eyebrow) {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.42;
  }

  .gallery-grid {
    bottom: clamp(10px, 2vh, 22px);
  }

  .gallery-card {
    height: clamp(248px, 30vh, 326px);
  }
}

@media (min-width: 1281px) and (max-width: 1960px) and (max-height: 1100px) {
  .services-section,
  .price-section {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .services-shell,
  .price-shell {
    height: auto;
  }

  .services-shell {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "intro intro"
      "process services";
    align-items: start;
    gap: 14px 24px;
  }

  .services-shell .section-intro {
    width: min(900px, 100%);
    padding: 18px 28px;
  }

  .services-shell .section-intro h2 {
    font-size: clamp(42px, 4vw, 58px);
  }

  .services-shell .section-intro p:not(.eyebrow) {
    max-width: 820px;
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.35;
  }

  .services-shell .service-grid {
    align-self: start;
    justify-self: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .services-shell .service-grid,
  .services-shell .process-card {
    height: 100%;
  }

  .mini-card {
    padding: 14px 16px;
  }

  .mini-card h3 {
    margin-top: 6px;
    font-size: 22px;
  }

  .mini-card p {
    margin-top: 7px;
    font-size: 15.5px;
    line-height: 1.32;
  }

  .process-card {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px 18px;
  }

  .process-list {
    flex: 1;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 6px;
    border-top: 0;
  }

  .process-list li {
    grid-template-columns: minmax(142px, 0.38fr) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 9px 0;
    border-top: 1px solid rgba(255, 207, 119, 0.17);
    border-right: 0;
  }

  .process-list strong {
    font-size: 16px;
  }

  .process-list span {
    font-size: 15.5px;
    line-height: 1.35;
  }

  .price-shell {
    grid-template-columns: minmax(0, 820px) minmax(240px, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "copy ."
      "table .";
    align-items: start;
    gap: 18px 32px;
  }

  .price-copy {
    width: min(820px, 100%);
    padding: 18px 28px;
  }

  .price-copy h2 {
    font-size: clamp(44px, 4vw, 56px);
  }

  .price-copy p:not(.eyebrow) {
    max-width: 720px;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.38;
  }

  .price-card {
    width: min(820px, 100%);
    grid-template-rows: repeat(5, minmax(64px, 1fr));
    transform: none;
  }

  .price-row {
    grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.85fr);
    min-height: 64px;
    padding: 8px 24px;
  }

  .price-row span {
    font-size: 17px;
  }

  .price-row small {
    font-size: 13px;
  }

  .price-row strong {
    font-size: 23px;
  }

  .contact-shell {
    transform: translateY(0);
  }
}

@media (min-width: 981px) and (max-width: 1700px) {
  .contact-shell {
    --contact-block-h: min(540px, calc(100vh - var(--header-h) - 150px));
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  }

  .map-panel {
    height: var(--contact-block-h);
  }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .home-section,
  .services-section,
  .price-section,
  .contact-section {
    height: auto;
    min-height: 100svh;
  }

  .services-shell,
  .price-shell,
  .contact-shell {
    width: min(960px, 100%);
    height: auto;
    grid-template-columns: 1fr;
    grid-template-areas: none;
    transform: none;
  }

  .site-credit {
    position: static;
    justify-self: end;
    margin-top: 10px;
    font-size: 11px;
  }

  .home-shell {
    align-items: start;
  }

  .hero-panel {
    padding: 26px 32px;
  }

  .hero-panel h1 {
    font-size: clamp(48px, 5vw, 64px);
  }

  .hero-panel .label-subtitle {
    margin-top: 8px;
    font-size: clamp(22px, 2.5vw, 28px);
  }

  .hero-panel .lead {
    margin-top: 14px;
    font-size: 20px;
    line-height: 1.42;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .notice-card {
    padding: 16px;
  }

  .notice-card strong {
    font-size: 22px;
  }

  .notice-card p {
    font-size: 16px;
    line-height: 1.42;
  }

  .services-shell .section-intro,
  .price-copy,
  .process-card,
  .price-card,
  .services-shell .service-grid,
  .contact-main,
  .map-panel {
    grid-area: auto;
    justify-self: stretch;
    width: 100%;
    transform: none;
  }

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

  .services-shell {
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "intro"
      "services"
      "process";
  }

  .services-shell .section-intro {
    grid-area: intro;
    max-width: none;
  }

  .services-shell .service-grid {
    grid-area: services;
    align-self: start;
    justify-self: stretch;
    width: 100%;
  }

  .services-shell .process-card {
    grid-area: process;
    justify-self: stretch;
    width: 100%;
  }

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

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .contact-main {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .contact-copy {
    padding: 0;
    border-right: 0;
  }

  .map-panel {
    height: clamp(360px, 48vw, 500px);
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .history-section {
    height: auto;
    min-height: 100svh;
  }

  .history-shell {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "copy"
      "gallery";
    gap: 24px;
  }

  .history-copy {
    max-width: 720px;
  }

  .gallery-grid {
    position: static;
    width: 100%;
    grid-area: gallery;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card {
    height: 320px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 74px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    min-height: var(--header-h);
    padding: 8px 14px;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    right: 14px;
    display: grid;
    width: min(232px, calc(100vw - 28px));
    padding: 10px;
    gap: 2px;
    overflow: hidden;
    background:
      linear-gradient(135deg, rgba(255, 207, 119, 0.12), rgba(168, 71, 44, 0.08)),
      rgba(23, 21, 32, 0.72);
    border: 1px solid var(--glass-line);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 207, 119, 0.16);
  }

  .nav a::after {
    display: none;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--glass-line);
    border-radius: 4px;
    background: rgba(23, 21, 32, 0.4);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--glass-text);
    transition:
      transform 160ms ease,
      opacity 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .journey-section {
    min-height: auto;
    padding: calc(var(--header-h) + 18px) 18px 28px;
  }

  .journey-section::before {
    background-size: cover;
    background-position: center;
  }

  .home-section {
    --scene-image: url("assets/slivovice-scene-1-orchard-mobile.jpg");
  }

  .services-section {
    --scene-image: url("assets/slivovice-scene-2-fermentation-mobile.jpg");
  }

  .price-section {
    --scene-image: url("assets/slivovice-scene-4-distillery-mobile.jpg");
  }

  .history-section {
    --scene-image: url("assets/slivovice-scene-3-road-to-distillery-mobile.jpg");
  }

  .contact-section {
    --scene-image: url("assets/slivovice-scene-5-celebration-mobile.jpg");
  }

  .panel,
  .dark-panel,
  .price-card,
  .price-copy,
  .map-panel,
  .site-header,
  .nav {
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  }

  .gallery-image {
    box-shadow: none;
  }

  .map-panel::after {
    box-shadow: inset 0 0 0 1px rgba(255, 247, 232, 0.12);
  }

  .section-shell,
  .home-shell,
  .services-shell,
  .price-shell,
  .history-shell,
  .contact-shell,
  .admin-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-shell {
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "intro"
      "services"
      "process";
  }

  .services-shell .section-intro {
    grid-area: intro;
  }

  .services-shell .service-grid {
    grid-area: services;
  }

  .services-shell .process-card {
    grid-area: process;
  }

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

  .contact-main {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    padding: 20px;
  }

  .contact-copy {
    padding: 0;
    border-right: 0;
  }

  .contact-lines {
    margin-top: 24px;
  }

  .booking-form {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }

  .note-field textarea {
    height: auto;
    min-height: 130px;
  }

  .map-panel {
    height: clamp(300px, 72vw, 430px);
  }

  .site-credit {
    position: static;
    justify-self: end;
    margin-top: 10px;
    padding-right: 2px;
    font-size: 11px;
  }
}

@media (max-width: 700px) {
  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .thanks-card h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  h2 {
    font-size: 31px;
  }

  .hero-panel,
  .section-intro,
  .history-copy,
  .contact-copy {
    padding: 20px;
  }

  .contact-main {
    padding: 18px;
    gap: 18px;
  }

  .contact-copy {
    padding: 0;
  }

  .contact-copy h2 {
    font-size: clamp(31px, 10.2vw, 42px);
  }

  .contact-lines {
    gap: 7px;
  }

  .contact-lines a,
  .contact-lines strong {
    font-size: 17px;
  }

  .contact-lines strong {
    font-size: 22px;
  }

  .service-grid,
  .gallery-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .booking-form .button {
    width: 100%;
  }

  .booking-form textarea {
    min-height: 110px;
  }

  .map-panel {
    height: clamp(280px, 82vw, 360px);
  }

  .gallery-image {
    height: 150px;
  }

  .price-row,
  .process-list li {
    grid-template-columns: 1fr;
  }

  .price-card {
    grid-template-rows: none;
  }

  .price-row {
    min-height: 0;
  }

  .admin-grid article,
  .admin-grid article:nth-child(2n) {
    border-right: 0;
  }

  .map-fallback {
    flex-direction: column;
  }
}

.services-shell .section-intro p.law-link {
  margin-top: 10px;
  color: rgba(255, 247, 232, 0.72);
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.45;
}

.services-shell .section-intro p.law-link a {
  color: var(--glass-gold);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
