:root {
  color-scheme: light;
  --paper: #f6f4ef;
  --paper-deep: #e7e2d6;
  --ink: #24231f;
  --muted: #6e6a60;
  --line: rgba(36, 35, 31, 0.14);
  --eucalyptus: #24483f;
  --eucalyptus-soft: #d9e4dc;
  --wine: #79364a;
  --gold: #c6a65a;
  --mist: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 70px rgba(36, 35, 31, 0.16);
  --soft-shadow: 0 14px 40px rgba(36, 35, 31, 0.1);
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(36, 72, 63, 0.09), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  min-width: 320px;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(36, 35, 31, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 35, 31, 0.03) 1px, transparent 1px);
  background-size: 4.7rem 4.7rem;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 72%, transparent);
}

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

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

button,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-140%);
  transition: transform 180ms var(--ease);
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(246, 244, 239, 0.78);
  border-bottom: 1px solid rgba(36, 35, 31, 0.08);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr auto;
  left: 0;
  padding: 0.72rem clamp(1rem, 4vw, 2rem);
  position: sticky;
  right: 0;
  top: 0;
  transition:
    box-shadow 260ms var(--ease),
    background 260ms var(--ease);
  z-index: 20;
}

.site-header.is-raised {
  background: rgba(246, 244, 239, 0.92);
  box-shadow: 0 10px 34px rgba(36, 35, 31, 0.08);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
}

.wordmark span:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-style: italic;
  text-transform: none;
}

.wordmark span:last-child {
  font-size: 0.8rem;
  font-weight: 760;
}

.main-nav {
  display: none;
}

.main-nav a,
.footer-links a {
  color: rgba(36, 35, 31, 0.68);
  font-size: 0.78rem;
  font-weight: 720;
  position: relative;
  text-transform: uppercase;
  transition: color 200ms var(--ease);
}

.main-nav a::after,
.footer-links a::after {
  background: currentColor;
  bottom: -0.32rem;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
  width: 100%;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.main-nav a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.language-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.45rem;
  padding: 0.32rem 0.42rem 0.32rem 0.72rem;
}

.language-control span {
  color: var(--muted);
  display: none;
  font-size: 0.72rem;
  font-weight: 720;
  text-transform: uppercase;
}

.language-control select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%),
    var(--paper);
  background-position:
    calc(100% - 14px) calc(50% - 2px),
    calc(100% - 9px) calc(50% - 2px),
    0 0;
  background-size:
    5px 5px,
    5px 5px,
    100% 100%;
  background-repeat: no-repeat;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 780;
  min-width: 4.1rem;
  padding: 0.42rem 1.55rem 0.42rem 0.72rem;
}

.hero {
  isolation: isolate;
  min-height: 88svh;
  overflow: hidden;
  position: relative;
}

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

.hero-media {
  z-index: -3;
}

.hero-media img {
  filter: saturate(0.96) contrast(1.08) brightness(0.86);
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(19, 27, 23, 0.78), rgba(19, 27, 23, 0.28) 58%, rgba(19, 27, 23, 0.48)),
    linear-gradient(180deg, rgba(19, 27, 23, 0.16), rgba(19, 27, 23, 0.42));
  z-index: -2;
}

.hero::after {
  background: rgba(246, 244, 239, 0.76);
  bottom: -1px;
  content: "";
  height: 4.4rem;
  left: 0;
  position: absolute;
  right: 0;
  transform: skewY(-2deg);
  transform-origin: left bottom;
  z-index: -1;
}

.hero-inner {
  color: #fffaf1;
  max-width: 50rem;
  padding: clamp(7rem, 18svh, 10rem) clamp(1.15rem, 7vw, 5rem) 7rem;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.45rem, 13vw, 10.4rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.88;
  margin: 0;
  max-width: 100%;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  font-size: 0.74em;
}

.hero-copy {
  color: rgba(255, 250, 241, 0.82);
  font-size: clamp(1rem, 3.9vw, 1.28rem);
  margin: 1.35rem 0 0;
  max-width: 35rem;
}

.hero-actions,
.visit-actions,
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.55rem;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 790;
  justify-content: center;
  min-height: 2.8rem;
  min-width: 9.8rem;
  padding: 0.82rem 1.12rem;
  text-align: center;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    background 220ms var(--ease),
    border-color 220ms var(--ease);
}

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

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

.button-primary {
  background: var(--eucalyptus);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 38px rgba(36, 72, 63, 0.24);
  color: #fffaf1;
}

.button-primary:hover {
  background: #1a3d35;
  box-shadow: 0 18px 44px rgba(36, 72, 63, 0.3);
}

.button-quiet {
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.hero .button-quiet {
  background: rgba(255, 250, 241, 0.16);
  border-color: rgba(255, 250, 241, 0.42);
  color: #fffaf1;
}

.hero-status {
  align-items: center;
  bottom: 1.15rem;
  color: rgba(255, 250, 241, 0.88);
  display: grid;
  gap: 0.45rem;
  left: clamp(1.15rem, 7vw, 5rem);
  max-width: min(23rem, calc(100% - 2.3rem));
  position: absolute;
}

.hero-status span {
  backdrop-filter: blur(14px);
  background: rgba(18, 24, 21, 0.34);
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 760;
  padding: 0.52rem 0.72rem;
  width: max-content;
}

.section-pad {
  padding: clamp(4.4rem, 11vw, 7.5rem) 0;
}

.section-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 clamp(1.15rem, 4vw, 2rem);
  width: 100%;
}

.intro {
  margin-top: -1px;
}

.intro-grid,
.atmosphere-grid,
.order-grid,
.visit-grid,
.footer-grid {
  display: grid;
  gap: clamp(1.45rem, 5vw, 3.5rem);
}

.intro-copy h2,
.atmosphere-copy h2,
.section-heading h2,
.order-copy h2,
.visit-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 8vw, 4.8rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  text-wrap: balance;
}

.section-heading {
  max-width: 48rem;
}

.facts-panel {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  padding: 0.35rem;
}

.facts-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.facts-list div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.3rem;
  padding: 1.05rem;
}

.facts-list div:last-child {
  border-bottom: 0;
}

.facts-list dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.facts-list dd {
  font-size: 1rem;
  font-weight: 650;
  margin: 0;
}

.atmosphere {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(217, 228, 220, 0.64)),
    var(--eucalyptus-soft);
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.portrait-frame {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(36, 35, 31, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 22rem;
  overflow: hidden;
  position: relative;
}

.portrait-frame::after,
.gallery-card::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
    linear-gradient(0deg, rgba(36, 35, 31, 0.24), transparent 35%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.portrait-frame img {
  filter: saturate(0.95) contrast(1.08) brightness(1.02);
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 800ms var(--ease);
  width: 100%;
}

.portrait-frame:hover img {
  transform: scale(1.055);
}

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

.atmosphere-copy p:not(.section-kicker),
.order-copy p,
.footer-grid p {
  color: rgba(36, 35, 31, 0.72);
  font-size: 1rem;
  margin: 1.2rem 0 0;
  max-width: 35rem;
}

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

.gallery-grid {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: 1fr;
  margin-top: 1.6rem;
}

.gallery-card {
  aspect-ratio: 1 / 1.24;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: zoom-in;
  min-height: 11rem;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
  transition:
    box-shadow 260ms var(--ease),
    transform 260ms var(--ease);
}

.gallery-card:nth-child(3n + 1) {
  aspect-ratio: 1 / 1.38;
}

.gallery-card:nth-child(4n) {
  aspect-ratio: 1 / 0.92;
}

.gallery-card:hover {
  box-shadow: var(--soft-shadow);
  transform: translateY(-4px);
}

.gallery-card img {
  filter: saturate(0.98) contrast(1.07) brightness(1.02);
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms var(--ease);
  width: 100%;
}

.gallery-card:hover img {
  transform: scale(1.045);
}

.gallery-card.image-error {
  cursor: default;
}

.gallery-card.image-error::before,
.image-fallback {
  align-items: center;
  color: var(--muted);
  content: attr(data-fallback);
  display: flex;
  font-size: 0.84rem;
  font-weight: 700;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: absolute;
  text-align: center;
}

.order-band {
  background:
    linear-gradient(135deg, rgba(36, 72, 63, 0.96), rgba(121, 54, 74, 0.88)),
    var(--eucalyptus);
  color: #fffaf1;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 6.6rem) 0;
  position: relative;
}

.order-band::before {
  background: rgba(255, 250, 241, 0.08);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 26%;
  transform: rotate(-3deg) scaleX(1.4);
}

.order-copy .section-kicker,
.order-copy p {
  color: rgba(255, 250, 241, 0.78);
}

.order-actions {
  align-content: center;
}

.order-actions .button-quiet {
  background: rgba(255, 250, 241, 0.12);
  border-color: rgba(255, 250, 241, 0.28);
  color: #fffaf1;
}

.order-actions .button-primary {
  background: #fffaf1;
  color: var(--ink);
}

.visit {
  background: linear-gradient(180deg, rgba(246, 244, 239, 0), rgba(231, 226, 214, 0.72));
}

.visit-copy address {
  color: rgba(36, 35, 31, 0.76);
  font-style: normal;
  font-weight: 650;
  margin-top: 1.25rem;
  max-width: 30rem;
}

.map-card {
  align-items: end;
  aspect-ratio: 4 / 4.7;
  background:
    linear-gradient(135deg, rgba(36, 72, 63, 0.18), transparent 42%),
    linear-gradient(90deg, rgba(36, 35, 31, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 35, 31, 0.06) 1px, transparent 1px),
    #ebe8de;
  background-size:
    100% 100%,
    2.8rem 2.8rem,
    2.8rem 2.8rem,
    100% 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  display: flex;
  min-height: 18rem;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.map-card::before {
  background: rgba(121, 54, 74, 0.82);
  border: 0.45rem solid #fffaf1;
  border-radius: 999px;
  box-shadow: 0 12px 38px rgba(121, 54, 74, 0.3);
  content: "";
  height: 1.2rem;
  left: 52%;
  position: absolute;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 1.2rem;
}

.map-pulse {
  animation: pulse 2.9s var(--ease) infinite;
  border: 1px solid rgba(121, 54, 74, 0.46);
  border-radius: 999px;
  height: 6.5rem;
  left: 52%;
  position: absolute;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 6.5rem;
}

.map-card div:last-child {
  backdrop-filter: blur(18px);
  background: var(--mist);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  padding: 1rem;
  width: 100%;
}

.map-card p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1;
  margin: 0 0 0.35rem;
}

.map-card span,
.microcopy {
  color: var(--muted);
  font-size: 0.86rem;
}

.microcopy {
  min-height: 1.4rem;
}

.confirm {
  background: var(--paper);
}

.confirm-grid {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}

.confirm-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.confirm-item strong {
  font-size: 0.98rem;
}

.confirm-item span {
  color: var(--wine);
  font-size: 0.84rem;
  font-weight: 800;
}

.site-footer {
  background: var(--ink);
  color: #fffaf1;
  padding: 3.6rem 0;
}

.footer-grid {
  align-items: start;
}

.footer-wordmark {
  color: #fffaf1;
}

.footer-grid p {
  color: rgba(255, 250, 241, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 250, 241, 0.74);
}

.lightbox {
  background: transparent;
  border: 0;
  inset: 0;
  margin: auto;
  max-height: min(88svh, 900px);
  max-width: min(92vw, 1040px);
  padding: 0;
}

.lightbox::backdrop {
  backdrop-filter: blur(18px);
  background: rgba(18, 24, 21, 0.74);
}

.lightbox img {
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  max-height: min(88svh, 900px);
  object-fit: contain;
  width: 100%;
}

.lightbox-close {
  align-items: center;
  background: rgba(255, 250, 241, 0.94);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  display: flex;
  font-size: 1.8rem;
  height: 2.6rem;
  justify-content: center;
  line-height: 1;
  position: fixed;
  right: 1rem;
  top: 1rem;
  width: 2.6rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}

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

@keyframes pulse {
  0% {
    opacity: 0.76;
    transform: translate(-50%, -50%) scale(0.72);
  }
  78%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.24);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img {
    animation: heroDrift 14s var(--ease) infinite alternate;
  }

  @keyframes heroDrift {
    from {
      transform: scale(1.04) translate3d(-0.4rem, 0, 0);
    }
    to {
      transform: scale(1.075) translate3d(0.5rem, -0.45rem, 0);
    }
  }
}

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

@media (min-width: 520px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 680px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    display: flex;
    gap: clamp(1rem, 4vw, 2.5rem);
    justify-content: center;
  }

  .language-control span {
    display: inline;
  }

  .intro-grid,
  .atmosphere-grid,
  .order-grid,
  .visit-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  }

  .intro-grid,
  .visit-grid {
    align-items: center;
  }

  .facts-list div {
    grid-template-columns: minmax(7rem, 0.48fr) 1fr;
  }

  .atmosphere-grid {
    align-items: center;
  }

  .atmosphere-copy {
    order: -1;
  }

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

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(6) {
    grid-row: span 2;
  }

  .gallery-card:nth-child(3) {
    grid-column: span 2;
  }

  .hero h1 {
    font-size: clamp(5rem, 10.8vw, 10.4rem);
    line-height: 0.82;
    max-width: 9ch;
  }

  .hero h1 span:last-child {
    font-size: 1em;
  }

  .hero-status {
    display: flex;
    flex-wrap: wrap;
    max-width: none;
    right: 1.15rem;
  }

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

@media (min-width: 980px) {
  .hero {
    min-height: 86svh;
  }

  .hero-inner {
    padding-top: 9rem;
  }

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