:root {
  --ink: #19221f;
  --muted: #65736c;
  --paper: #f7f0df;
  --paper-strong: #fff9ea;
  --turquoise: #067d82;
  --turquoise-dark: #04585c;
  --clay: #c54e2d;
  --lime: #c7cf62;
  --line: rgba(25, 34, 31, 0.16);
  --shadow: 0 28px 80px rgba(89, 46, 20, 0.23);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(6, 125, 130, 0.05) 1px, transparent 1px),
    linear-gradient(var(--paper), var(--paper));
  background-size: 58px 58px, auto;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 60;
  top: 14px;
  left: 14px;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 10px;
}

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 58px);
  color: var(--paper-strong);
  background: linear-gradient(to bottom, rgba(8, 39, 41, 0.84), rgba(8, 39, 41, 0));
}

.site-header.solid {
  position: sticky;
  color: var(--ink);
  background: rgba(247, 240, 223, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.desktop-nav,
.header-call {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--paper-strong);
  background: var(--turquoise);
  border-radius: 12px;
  letter-spacing: 0;
}

.desktop-nav {
  justify-self: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.desktop-nav a,
.header-call {
  min-height: 44px;
}

.desktop-nav a {
  display: flex;
  align-items: center;
}

.header-call {
  justify-self: end;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper-strong);
  background: var(--turquoise-dark);
}

.hero picture,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero picture {
  opacity: 0.96;
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(6, 47, 49, 0.86), rgba(6, 47, 49, 0.36) 48%, rgba(6, 47, 49, 0.06)),
    linear-gradient(to top, rgba(6, 47, 49, 0.86), rgba(6, 47, 49, 0.05) 62%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 36px));
  padding: 142px 0 112px clamp(22px, 5vw, 72px);
}

.kicker {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

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

h1,
h2 {
  margin-bottom: 22px;
  font-family: "Arial Black", "Aptos Display", "Segoe UI", system-ui, sans-serif;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.01em;
}

h1 {
  max-width: 900px;
  font-size: clamp(50px, 8.4vw, 110px);
}

h2 {
  font-size: clamp(38px, 5.8vw, 76px);
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-copy p:not(.kicker),
.intro-copy p,
.mariscos-copy p,
.story p,
.menu-hero p,
.order-flow p,
.visit-panel p {
  max-width: 58ch;
  color: color-mix(in srgb, currentColor 78%, transparent);
  font-size: 17px;
  line-height: 1.62;
}

.hero-actions,
.dish-tabs,
.filter-row,
.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.dish-tabs button,
.filter-row button,
.flow-steps button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.button:hover,
.dish-tabs button:hover,
.filter-row button:hover,
.flow-steps button:hover,
.menu-routes a:hover,
.contact-grid a:hover {
  transform: translateY(-2px);
}

.button:active,
.dish-tabs button:active,
.filter-row button:active,
.flow-steps button:active,
.menu-routes a:active,
.contact-grid a:active {
  transform: translateY(1px);
}

.primary,
.dock-primary {
  color: var(--paper-strong);
  background: var(--clay);
  border-color: var(--clay);
}

.ghost {
  color: var(--paper-strong);
  background: rgba(255, 249, 234, 0.12);
  border-color: rgba(255, 249, 234, 0.54);
}

.inline {
  width: fit-content;
  color: var(--paper-strong);
  background: var(--turquoise);
  border-color: var(--turquoise);
}

.hero-card {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 58px);
  bottom: clamp(94px, 8vw, 126px);
  width: min(326px, calc(100% - 36px));
  padding: 22px;
  color: var(--paper-strong);
  background: rgba(6, 47, 49, 0.58);
  border: 1px solid rgba(255, 249, 234, 0.28);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.hero-card span,
.menu-routes span,
.menu-grid span,
.contact-grid span {
  display: block;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-card strong {
  display: block;
  margin: 12px 0;
  font-size: 25px;
  line-height: 1.1;
}

.hero-card small {
  color: rgba(255, 249, 234, 0.78);
  line-height: 1.55;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 128px) 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 78px);
}

.signal-list {
  display: grid;
  gap: 12px;
}

.signal-list article,
.menu-routes a,
.menu-grid article {
  padding: 24px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 44px rgba(54, 66, 42, 0.06);
}

.signal-list span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--turquoise);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.mariscos,
.story,
.order-flow {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.dish-frame,
.story figure,
.order-flow figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dish-frame {
  height: clamp(430px, 54vw, 670px);
}

.dish-tabs,
.flow-steps {
  margin: 28px 0 18px;
}

.dish-tabs button,
.filter-row button,
.flow-steps button {
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dish-tabs button.is-active,
.filter-row button.is-active,
.flow-steps button.is-active {
  color: var(--paper-strong);
  background: var(--turquoise);
  border-color: var(--turquoise);
}

.dish-note,
.step-note {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dish-note strong,
.step-note strong,
.menu-routes strong {
  font-size: 24px;
  line-height: 1.12;
}

.dish-note span,
.step-note span,
.menu-routes small,
.menu-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.section-heading {
  max-width: 780px;
}

.menu-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.menu-routes a {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease;
}

.menu-routes a:hover {
  border-color: rgba(197, 78, 45, 0.42);
}

.story {
  border-top: 1px solid var(--line);
}

.story figure,
.order-flow figure {
  height: 560px;
}

.visit {
  padding-top: 40px;
}

.visit-panel {
  padding: clamp(30px, 5vw, 58px);
  color: var(--paper-strong);
  background:
    linear-gradient(135deg, rgba(199, 207, 98, 0.18), transparent 42%),
    var(--turquoise-dark);
  border-radius: var(--radius);
}

.visit-panel.compact {
  background: var(--turquoise-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: rgba(255, 249, 234, 0.18);
  border: 1px solid rgba(255, 249, 234, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-grid a {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
  background: rgba(4, 88, 92, 0.52);
  transition: transform 180ms ease, background 180ms ease;
}

.contact-grid a:hover {
  background: rgba(255, 249, 234, 0.08);
}

.menu-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(84px, 10vw, 132px) 0 48px;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.menu-hero h1 {
  font-size: clamp(44px, 7vw, 92px);
}

.menu-hero img {
  height: 440px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.filter-row {
  position: sticky;
  z-index: 12;
  top: 72px;
  padding: 14px 0;
  margin-bottom: 20px;
  background: rgba(247, 240, 223, 0.9);
  backdrop-filter: blur(14px);
}

.menu-board {
  padding-top: 28px;
}

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

.menu-grid article {
  min-height: 228px;
}

.menu-grid article[hidden] {
  display: none;
}

.menu-grid h2 {
  margin-top: 18px;
  font-size: 31px;
  line-height: 1.05;
}

.mobile-dock {
  position: fixed;
  z-index: 40;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 4px;
  background: rgba(6, 47, 49, 0.9);
  border: 1px solid rgba(255, 249, 234, 0.2);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(6, 47, 49, 0.32);
}

.mobile-dock a {
  min-height: 52px;
  display: grid;
  place-items: center;
  color: var(--paper-strong);
  border-radius: 14px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 900px) {
  body {
    padding-bottom: 84px;
  }

  .site-header {
    min-height: 64px;
    grid-template-columns: 1fr auto;
    padding: 12px 18px;
  }

  .desktop-nav {
    display: none;
  }

  .brand {
    letter-spacing: 0.11em;
  }

  .header-call {
    padding: 0 14px;
  }

  .hero {
    min-height: 100dvh;
  }

  .hero-wash {
    background:
      linear-gradient(to top, rgba(6, 47, 49, 0.94), rgba(6, 47, 49, 0.26) 68%),
      linear-gradient(90deg, rgba(6, 47, 49, 0.5), rgba(6, 47, 49, 0.1));
  }

  .hero-copy {
    width: calc(100% - 28px);
    padding: 112px 0 198px 14px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 70px);
  }

  h2 {
    font-size: clamp(34px, 10.5vw, 54px);
  }

  .hero-card {
    left: 14px;
    right: 14px;
    bottom: 98px;
    width: auto;
    padding: 16px;
  }

  .section {
    width: min(100% - 28px, 720px);
    padding: 72px 0;
  }

  .intro,
  .mariscos,
  .story,
  .order-flow,
  .menu-hero {
    grid-template-columns: 1fr;
  }

  .dish-frame,
  .story figure,
  .order-flow figure,
  .menu-hero img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

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

  .menu-hero {
    width: min(100% - 28px, 720px);
    padding-top: 92px;
  }

  .menu-hero h1 {
    font-size: clamp(38px, 11.5vw, 62px);
  }

  .filter-row {
    top: 64px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .filter-row button {
    flex: 0 0 auto;
  }

  .mobile-dock {
    display: grid;
  }
}

@media (max-width: 460px) {
  .hero-copy p:not(.kicker),
  .intro-copy p,
  .mariscos-copy p,
  .story p,
  .menu-hero p,
  .order-flow p,
  .visit-panel p {
    font-size: 15px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .button {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
