:root {
  --ink: #1c1714;
  --ink-soft: #4a403a;
  --paper: #f7f3ee;
  --paper-deep: #ebe4db;
  --sea: #1f4a4f;
  --sea-deep: #16363a;
  --rose: #97636f;
  --rose-deep: #7d4f5a;
  --sand: #d9cfc3;
  --white: #fffdf9;
  --line: rgba(28, 23, 20, 0.12);
  --shadow: 0 24px 60px rgba(28, 23, 20, 0.14);
  --radius: 4px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(151, 99, 111, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(31, 74, 79, 0.12), transparent 50%),
    linear-gradient(180deg, #faf7f2 0%, var(--paper) 40%, #f3eee7 100%);
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section-lead {
  max-width: 38rem;
  color: var(--ink-soft);
  margin: 0;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--rose);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--rose-deep);
}

.btn-ghost {
  background: rgba(255, 253, 249, 0.12);
  color: var(--white);
  border-color: rgba(255, 253, 249, 0.45);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 253, 249, 0.22);
}

.btn-dark {
  background: var(--sea);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--sea-deep);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header:not(.is-scrolled) .nav-logo img {
  filter: brightness(0) invert(1);
}

.site-header:not(.is-scrolled) .nav-links a:not(.btn) {
  color: rgba(255, 253, 249, 0.88);
}

.site-header:not(.is-scrolled) .nav-links a:not(.btn):hover,
.site-header:not(.is-scrolled) .nav-links a:not(.btn).is-active {
  color: #e7b7c0;
}

.site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 253, 249, 0.35);
  background: rgba(28, 23, 20, 0.25);
}

.site-header:not(.is-scrolled) .nav-toggle span {
  background: var(--white);
}

.site-header.is-scrolled {
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.nav-logo img {
  width: clamp(110px, 16vw, 150px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--rose);
}

.nav-links a.nav-cta {
  color: var(--white);
  background: var(--rose);
  border-color: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta:focus-visible {
  color: var(--white);
  background: var(--rose-deep);
  transform: translateY(-2px);
}

.site-header:not(.is-scrolled) .nav-links a.nav-cta {
  color: var(--white);
  background: var(--rose);
}

.site-header:not(.is-scrolled) .nav-links a.nav-cta:hover,
.site-header:not(.is-scrolled) .nav-links a.nav-cta:focus-visible {
  color: var(--white);
  background: var(--rose-deep);
}

.nav-cta {
  display: inline-flex;
  min-height: 2.5rem;
  padding: 0.55rem 1.1rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.7);
  cursor: pointer;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.nav-toggle span {
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  display: block;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 18, 16, 0.35) 0%, rgba(22, 18, 16, 0.15) 35%, rgba(22, 18, 16, 0.72) 100%),
    linear-gradient(90deg, rgba(22, 18, 16, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 4.5rem;
}

.hero-brand {
  width: min(420px, 72vw);
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0;
  animation: riseIn 0.9s ease 0.15s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin: 0 0 1rem;
  opacity: 0;
  animation: riseIn 0.9s ease 0.3s forwards;
}

.hero p {
  max-width: 28rem;
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 253, 249, 0.88);
  opacity: 0;
  animation: riseIn 0.9s ease 0.45s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: riseIn 0.9s ease 0.6s forwards;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  opacity: 0;
  animation: riseIn 0.9s ease 0.75s forwards;
}

.hero-badges a {
  display: block;
  line-height: 0;
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.hero-badges img {
  display: block;
  width: auto;
  height: 56px;
  background: none;
  border: 0;
  box-shadow: none;
}

/* Sections */
section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-copy p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.about-copy strong {
  color: var(--ink);
  font-weight: 560;
}

.about-copy a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-visual {
  position: relative;
  min-height: 420px;
}

.about-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-visual .float-img {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: min(48%, 240px);
  height: 280px;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow);
  animation: floatY 6s ease-in-out infinite;
}

/* Menu */
.menu-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.menu-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.menu-tab.is-active,
.menu-tab:hover {
  background: var(--sea);
  border-color: var(--sea);
  color: var(--white);
}

.menu-panel {
  display: none;
}

.menu-panel.is-active {
  display: block;
  animation: fadeUp 0.45s ease;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.menu-item {
  display: grid;
  grid-template-rows: auto 1fr;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: default;
}

.menu-item figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}

.menu-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.menu-item:hover img {
  transform: scale(1.04);
}

.menu-item-body {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0.1rem 0.2rem;
  border-bottom: 1px solid var(--line);
}

.menu-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.menu-item .price {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--rose);
  white-space: nowrap;
}

/* Pinsa */
.pinsa {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.pinsa-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pinsa-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.pinsa-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(22, 54, 58, 0.92) 10%, rgba(28, 23, 20, 0.78) 70%);
}

.pinsa .container {
  position: relative;
  z-index: 1;
}

.pinsa .eyebrow {
  color: #e7b7c0;
}

.pinsa .section-lead,
.pinsa p {
  color: rgba(255, 253, 249, 0.86);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(255, 253, 249, 0.2);
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.75rem;
  margin-top: 2rem;
}

.gallery-grid a {
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.gallery-grid a:first-child {
  grid-row: 1 / span 2;
}

/* Reviews */
.reviews-track-wrap {
  overflow: hidden;
  margin-top: 2rem;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.reviews-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.reviews-track:hover {
  animation-play-state: paused;
}

.review {
  width: min(340px, 78vw);
  padding: 1.4rem;
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.review-top img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-top h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.stars {
  color: #c9a227;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.review p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Reservation */
.reserve {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.reserve-aside {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  color: var(--white);
}

.reserve-aside img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reserve-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 18, 16, 0.2), rgba(22, 18, 16, 0.78));
}

.reserve-aside-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.reserve-aside-copy h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.reserve-aside-copy p {
  margin: 0;
  color: rgba(255, 253, 249, 0.88);
}

.reserve-form {
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(151, 99, 111, 0.35);
  border-color: var(--rose);
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.form-success {
  display: none;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: rgba(31, 74, 79, 0.1);
  color: var(--sea-deep);
}

.form-success.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--sea-deep);
  color: rgba(255, 253, 249, 0.88);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 253, 249, 0.15);
}

.site-footer img {
  width: 160px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.site-footer h4 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a:hover {
  color: #e7b7c0;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.socials a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 253, 249, 0.25);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 253, 249, 0.65);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .about,
  .reserve,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-visual .float-img {
    right: 8%;
    bottom: -6%;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }

  .gallery-grid a:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 240px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1.25rem;
    left: 1.25rem;
    background: rgba(247, 243, 238, 0.97);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0.5rem;
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.35rem;
    justify-content: center;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

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

  .form-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: auto;
  }

  .about-visual img {
    height: 360px;
  }

  .about-visual .float-img {
    width: 42%;
    height: 180px;
    bottom: -8%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
