/* Reduta Celebration - reference lock: gold brand, elegant, beauty.jpg. Tokens sampled in DESIGN_SYSTEM.md. */
@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/Outfit-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-canvas: #F1ECDF;
  --color-canvas-2: #F4F0E4;
  --color-nav: #F5F1E5;
  --color-silk-light: #EBE2D4;
  --color-silk-shadow: #DACBB0;
  --color-champagne: #D7C9B2;
  --color-taupe: #AA8F6A;
  --color-gold: #CFA867;
  --color-button: #947135;
  --color-button-hover: #6F4F2A;
  --color-ink: #53381E;
  --color-muted: #746451;
  --color-line: #B9B29F;
  --color-button-ink: #FEF9E6;
  --color-map-fallback: #F4F0E4;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 88px;
  --space-10: 120px;

  --radius-sharp: 2px;
  --radius-frame: 0px;
  --radius-photo: 2px;
  --radius-map: 0px;

  --shadow-subject: 0 28px 80px rgb(83 56 30 / 0.18);
  --shadow-frame: 0 1px 0 rgb(83 56 30 / 0.10);
  --shadow-text: 0 1px 1px rgb(254 249 230 / 0.78), 0 16px 34px rgb(83 56 30 / 0.26);
  --shadow-cta: 0 10px 24px rgb(83 56 30 / 0.14);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-med: 260ms;
  --dur-slow: 700ms;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  overscroll-behavior-y: none;
  background: var(--color-canvas);
  color: var(--color-ink);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

.nowrap {
  white-space: nowrap;
}

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

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

.skip-link {
  position: fixed;
  left: var(--space-4);
  top: var(--space-4);
  z-index: 20;
  transform: translateY(-140%);
  background: var(--color-button);
  color: var(--color-button-ink);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sharp);
  transition: transform var(--dur-fast) var(--ease-out);
}

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

.site-nav {
  position: relative;
  z-index: 10;
  min-height: 68px;
  background: var(--color-nav);
  border-bottom: 1px solid rgb(185 178 159 / 0.58);
}

.site-nav__inner {
  width: min(1220px, calc(100% - 48px));
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-5);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  color: var(--color-button);
  font-size: 13px;
  line-height: 1;
}

.site-nav__links--left {
  justify-content: flex-start;
}

.site-nav__links--right {
  justify-content: flex-end;
}

.site-nav__links a,
.site-nav__mobile-action {
  position: relative;
  padding: 10px 0;
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.site-nav__links a::after,
.site-nav__mobile-action::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--color-gold);
  transition: transform var(--dur-fast) var(--ease-out);
}

.site-nav__links a:hover,
.site-nav__mobile-action:hover {
  color: var(--color-button-hover);
  transform: translateY(-1px);
}

.site-nav__links a:hover::after,
.site-nav__mobile-action:hover::after {
  transform: scaleX(1);
}

.site-nav__links a:focus-visible,
.site-nav__brand:focus-visible,
.site-nav__mobile-action:focus-visible,
.gallery-arrow:focus-visible,
.gallery-track:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.contact-details a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.site-nav__brand {
  display: grid;
  justify-items: center;
  gap: 0;
  color: var(--color-button);
  font-family: var(--font-display);
  line-height: 0.9;
}

.brand-main {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav__mobile-action {
  display: none;
  justify-self: end;
  color: var(--color-button);
  font-size: 13px;
  min-height: 46px;
  align-items: center;
  padding-inline: var(--space-3);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sharp);
}

.hero-material {
  position: relative;
  min-height: clamp(440px, 54dvh, 620px);
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-silk-light);
}

.hero-material__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/images/hero-reduta.jpg");
  background-size: cover;
  background-position: center 58%;
  transform: scale(1.02);
}

.hero-material::before,
.hero-material::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-material::before {
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 47%, rgb(241 236 223 / 0.62), transparent 36%),
    linear-gradient(90deg, rgb(83 56 30 / 0.10), rgb(244 240 228 / 0.18), rgb(83 56 30 / 0.08));
}

.hero-material::after {
  z-index: 0;
  border-top: 1px solid rgb(185 178 159 / 0.42);
  border-bottom: 1px solid rgb(185 178 159 / 0.42);
  mix-blend-mode: multiply;
}

.hero-copy {
  width: min(790px, calc(100% - 48px));
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-button-hover);
  padding: clamp(30px, 5vw, 52px) clamp(22px, 5vw, 60px);
  animation: hero-settle var(--dur-slow) var(--ease-out) both;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgb(254 249 230 / 0.28), transparent 72%);
  pointer-events: none;
}

.hero-kicker,
.section-label {
  margin: 0 0 var(--space-4);
  color: var(--color-button);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--color-button-hover);
  text-shadow: 0 1px 2px rgb(254 249 230 / 0.78);
  font-size: 12px;
}

.hero-title,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.01em;
  color: var(--color-button-hover);
}

.hero-title {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.06;
  text-shadow: var(--shadow-text);
}

.hero-subtitle {
  max-width: 55ch;
  margin: var(--space-4) auto 0;
  color: var(--color-muted);
  font-size: clamp(17px, 1.55vw, 19px);
  line-height: 1.55;
}

h2 {
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.12;
  text-align: center;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius-sharp);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.btn-primary {
  position: relative;
  margin-top: var(--space-5);
  overflow: hidden;
  min-height: 50px;
  padding: 16px 28px;
  background: var(--color-button);
  color: var(--color-button-ink);
  border: 1px solid var(--color-button);
  box-shadow: var(--shadow-cta);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgb(207 168 103 / 0.18), transparent);
  transition: transform var(--dur-med) var(--ease-out);
}

.btn-primary:hover {
  background: var(--color-button-hover);
  border-color: var(--color-button-hover);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-primary:active,
.btn-secondary:active,
.gallery-arrow:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary span,
.btn-primary {
  isolation: isolate;
}

.btn-secondary {
  margin-top: var(--space-6);
  padding: 12px 18px;
  color: var(--color-button);
  background: transparent;
  border: 1px solid var(--color-line);
}

.btn-secondary:hover {
  color: var(--color-button-hover);
  border-color: var(--color-gold);
  background: rgb(207 168 103 / 0.08);
}

.section {
  background: var(--color-canvas-2);
  padding: var(--space-8) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-inner--wide {
  width: min(1280px, 100%);
}

.section-label {
  text-align: center;
}

.section-copy {
  max-width: 62ch;
  margin: var(--space-4) 0 0;
  color: var(--color-muted);
  font-size: 16px;
}

.section-copy--center {
  margin-inline: auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 7vw, 92px);
  margin-top: var(--space-7);
}

.service-item {
  min-width: 0;
}

.service-item h3 {
  margin: 0 0 var(--space-3);
  color: var(--color-button-hover);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.15;
}

.service-item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
}

.section--services .section-inner {
  text-align: center;
}

.section--services .service-item {
  text-align: left;
}

.section-rule {
  width: min(980px, calc(100% - 48px));
  height: 1px;
  margin: 0 auto;
  background: var(--color-line);
}

.section--gallery {
  overflow: clip;
}

.gallery-shell {
  position: relative;
  margin-top: var(--space-7);
}

.gallery-track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, calc((100vw - 1180px) / 2));
  padding: 0 max(24px, calc((100vw - 1180px) / 2)) var(--space-2);
  cursor: grab;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.gallery-card {
  flex: 0 0 clamp(232px, 24vw, 282px);
  margin: 0;
  padding: 18px 18px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-frame);
  background: rgb(245 241 229 / 0.62);
  box-shadow: var(--shadow-frame);
  scroll-snap-align: center;
  text-align: center;
  transition: border-color var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), background-color var(--dur-med) var(--ease-out);
}

.gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
  background: rgb(245 241 229 / 0.84);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  border-radius: var(--radius-photo);
  border: 1px solid rgb(185 178 159 / 0.48);
  filter: saturate(0.88) contrast(0.96);
}

.gallery-card figcaption {
  margin-top: var(--space-3);
  color: var(--color-button);
  font-size: 12px;
  line-height: 1.25;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-canvas-2);
  color: var(--color-button);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.gallery-arrow span {
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}

.gallery-arrow:hover {
  background: var(--color-button);
  color: var(--color-button-ink);
  border-color: var(--color-button);
}

.gallery-arrow--prev {
  left: max(12px, calc((100vw - 1200px) / 2));
}

.gallery-arrow--next {
  right: max(12px, calc((100vw - 1200px) / 2));
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-5);
}

.gallery-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-champagne);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.gallery-dot[aria-current="true"] {
  background: var(--color-button);
  transform: scale(1.14);
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.menu-layout .section-label,
.menu-layout h2 {
  text-align: left;
}

.menu-sheet {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: var(--space-5) 0;
}

.menu-sheet__row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgb(185 178 159 / 0.52);
}

.menu-sheet__row:first-child {
  padding-top: 0;
}

.menu-sheet__row span {
  color: var(--color-button);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.menu-sheet__row p,
.menu-sheet__note {
  margin: 0;
  color: var(--color-muted);
}

.menu-sheet__note {
  padding-top: var(--space-4);
  font-size: 13px;
}

.section--reviews {
  padding-top: var(--space-6);
}

.review-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 86px);
  margin-top: var(--space-7);
}

.review-snippet {
  margin: 0;
  text-align: center;
}

.review-snippet span {
  display: block;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 0.8;
}

.review-snippet blockquote {
  margin: var(--space-2) 0 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.55;
}

.review-snippet figcaption {
  margin-top: var(--space-4);
  color: var(--color-button);
  font-size: 12px;
}

.contact {
  background: var(--color-canvas-2);
}

.contact-material-band {
  min-height: 310px;
  padding: var(--space-8) var(--space-5);
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(90deg, rgb(241 236 223 / 0.14), rgb(244 240 228 / 0.34)),
    url("assets/images/material-band-reduta.jpg");
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgb(185 178 159 / 0.42);
  border-bottom: 1px solid rgb(185 178 159 / 0.42);
}

.contact-material-band__panel {
  width: min(620px, 100%);
  padding: var(--space-7) var(--space-6);
  background: rgb(244 240 228 / 0.90);
  border: 1px solid var(--color-line);
  text-align: center;
}

.contact-material-band__panel p:last-child {
  max-width: 48ch;
  margin: var(--space-4) auto 0;
  color: var(--color-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: stretch;
  padding: var(--space-8) 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
  color: var(--color-muted);
  font-style: normal;
}

.contact-details a,
.contact-details span {
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgb(185 178 159 / 0.52);
  overflow-wrap: anywhere;
}

.contact-details a {
  color: var(--color-button-hover);
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.contact-details a:hover {
  color: var(--color-button);
  transform: translateX(2px);
}

.map-frame {
  min-height: 390px;
  background: var(--color-map-fallback);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-map);
  overflow: clip;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
  background: var(--color-map-fallback);
}

.footer-medweb {
  background: var(--color-nav);
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  font-size: 12px;
}

.footer-medweb p {
  margin: 0;
}

@keyframes hero-settle {
  from {
    opacity: 0.001;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-nav__inner {
    width: min(100% - 32px, 760px);
    grid-template-columns: auto 1fr auto;
  }

  .site-nav__links {
    display: none;
  }

  .site-nav__brand {
    justify-items: start;
  }

  .site-nav__mobile-action {
    display: inline-flex;
  }

  .brand-main {
    font-size: 29px;
  }

  .hero-material {
    min-height: min(72dvh, 620px);
  }

  .services-grid,
  .review-strip {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .section--services .service-item {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

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

  .menu-layout .section-label,
  .menu-layout h2,
  .menu-intro {
    text-align: center;
  }

  .section-copy {
    margin-inline: auto;
  }

  .gallery-arrow {
    display: none;
  }
}

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

  .site-nav,
  .site-nav__inner {
    min-height: 64px;
  }

  .site-nav__inner,
  .section-inner {
    width: calc(100% - 32px);
  }

  .hero-material {
    min-height: calc(72dvh - 8px);
  }

  .hero-copy {
    width: calc(100% - 30px);
    padding: var(--space-6) var(--space-5);
  }

  .hero-kicker {
    margin-bottom: var(--space-3);
  }

  .hero-title {
    font-size: clamp(34px, 10.2vw, 46px);
    line-height: 1.08;
  }

  .hero-subtitle {
    font-size: 15.5px;
  }

  .section {
    padding: var(--space-7) 0;
  }

  .section-copy {
    font-size: 15.5px;
  }

  .gallery-track {
    gap: var(--space-4);
    scroll-padding-inline: 16px;
    padding-inline: 16px;
  }

  .gallery-card {
    flex-basis: 82vw;
    padding: 14px 14px 12px;
  }

  .gallery-card img {
    aspect-ratio: 1.18 / 1;
  }

  .contact-material-band {
    min-height: 300px;
    padding: var(--space-6) var(--space-4);
  }

  .contact-material-band__panel {
    padding: var(--space-6) var(--space-5);
  }
}

@media (max-width: 420px) {
  body {
    font-size: 15.5px;
  }

  .section-inner,
  .site-nav__inner {
    width: calc(100% - 28px);
  }

  .brand-main {
    font-size: 27px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .hero-material {
    min-height: 72dvh;
  }

  .btn-primary,
  .btn-secondary {
    width: auto;
    max-width: 100%;
    white-space: nowrap;
  }

  .service-item h3 {
    font-size: 20px;
  }

  .menu-sheet__row {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .map-frame,
  .map-frame iframe {
    min-height: 330px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 150ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 150ms !important;
  }

  .hero-material__image {
    transform: none;
  }

  .btn-primary::before {
    display: none;
  }
}
