:root {
  --ink: #113241;
  --navy: #0b4358;
  --teal: #48c7bf;
  --aqua: #bfeee9;
  --sky: #e8fbff;
  --foam: #f6fbf7;
  --stone: #f7ecd8;
  --sand: #fff7e8;
  --coral: #ff8f70;
  --sun: #ffd76a;
  --leaf: #6fbf8f;
  --muted: #64757a;
  --line: rgba(17, 50, 65, 0.12);
  --white: #ffffff;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--sky) 0, var(--foam) 430px, var(--sand) 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 30;
  width: min(var(--max), calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 60px rgba(11, 67, 88, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 178px;
  max-width: 44vw;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(17, 50, 65, 0.78);
  font-size: 0.94rem;
  font-weight: 850;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
  background: rgba(72, 199, 191, 0.14);
  outline: none;
}

.site-nav .nav-cta {
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 10px 28px rgba(255, 215, 106, 0.36);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 50, 65, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--navy);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 154px max(22px, calc((100vw - var(--max)) / 2)) 56px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(232, 251, 255, 0.94), rgba(232, 251, 255, 0.72) 38%, rgba(255, 247, 232, 0.34) 66%, rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 247, 232, 0.22) 42%, rgba(246, 251, 247, 0.94)),
    url("assets/photos/harbour-view.jpg") center 52% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24vh;
  background: linear-gradient(180deg, transparent, var(--foam));
  pointer-events: none;
}

.hero-inner,
.hero-rail {
  position: relative;
  z-index: 2;
}

.hero-inner {
  max-width: 760px;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  color: var(--navy);
  font-size: 6.8rem;
  text-shadow: 0 8px 34px rgba(255, 255, 255, 0.84);
}

h2 {
  color: var(--navy);
  font-size: 3.75rem;
}

h3 {
  color: var(--navy);
  font-size: 1.5rem;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(17, 50, 65, 0.82);
  font-size: 1.1rem;
  font-weight: 650;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 18px 44px rgba(255, 215, 106, 0.3);
}

.btn-secondary {
  color: var(--navy);
  border-color: rgba(17, 50, 65, 0.16);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 34px rgba(11, 67, 88, 0.12);
}

.hero-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 54px;
}

.hero-rail span,
.story-points span,
.quiet-note {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
}

.hero-rail span {
  color: var(--navy);
  border: 1px solid rgba(17, 50, 65, 0.12);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 10px 24px rgba(11, 67, 88, 0.1);
}

.section-pad {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

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

.section-heading p:not(.eyebrow),
.story-copy p,
.vibe-copy p,
.visit-card p,
.contact-band p {
  color: var(--muted);
  font-size: 1.04rem;
}

.story-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: center;
}

.story-copy p {
  max-width: 620px;
}

.story-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.story-points span,
.quiet-note {
  color: var(--navy);
  border: 1px solid rgba(72, 199, 191, 0.24);
  background: rgba(191, 238, 233, 0.5);
}

.photo-stack {
  position: relative;
  min-height: 620px;
}

.photo-stack img,
.menu-card,
.gallery-grid figure,
.visit-card,
.contact-band {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 26px 74px rgba(11, 67, 88, 0.14);
}

.photo-stack img,
.menu-card img,
.gallery-grid img,
.vibe-section img {
  filter: saturate(1.04) brightness(1.04);
}

.photo-stack img {
  position: absolute;
  overflow: hidden;
  object-fit: cover;
  background: var(--aqua);
}

.photo-main {
  inset: 0 auto 0 12%;
  width: 48%;
  height: 100%;
}

.photo-small {
  right: 0;
  width: 52%;
}

.photo-small.top {
  top: 34px;
  height: 44%;
}

.photo-small.bottom {
  bottom: 34px;
  height: 38%;
}

.menu-section {
  border-top: 1px solid rgba(17, 50, 65, 0.08);
}

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

.menu-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
}

.menu-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.menu-card div {
  padding: 22px;
}

.menu-card span,
.visit-card span:first-child {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.vibe-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: stretch;
  gap: 0;
  margin: 26px 0;
  background: linear-gradient(135deg, rgba(191, 238, 233, 0.72), rgba(255, 247, 232, 0.9));
  border-block: 1px solid rgba(17, 50, 65, 0.08);
}

.vibe-section img {
  height: 620px;
  object-fit: cover;
}

.vibe-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px max(26px, calc((100vw - var(--max)) / 2)) 64px 56px;
}

.vibe-copy p {
  max-width: 560px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery-grid figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  background: var(--white);
}

.gallery-grid figure.wide {
  grid-column: span 2;
}

.gallery-grid img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.visit-section {
  border-top: 1px solid rgba(17, 50, 65, 0.08);
}

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

.visit-card {
  min-height: 270px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.visit-card h3 {
  font-size: 1.65rem;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 900;
}

.text-link::after {
  content: " ->";
}

.contact-section {
  padding-top: 22px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 46px;
  background:
    linear-gradient(135deg, rgba(72, 199, 191, 0.22), transparent 44%),
    linear-gradient(260deg, rgba(255, 143, 112, 0.2), transparent 48%),
    rgba(255, 255, 255, 0.82);
}

.contact-band p {
  max-width: 650px;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(17, 50, 65, 0.1);
  color: var(--muted);
}

.site-footer a {
  color: var(--navy);
  font-weight: 900;
}

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

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

.delay-one {
  transition-delay: 140ms;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 5.5rem;
  }

  h2 {
    font-size: 3.1rem;
  }

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

  .story-section,
  .vibe-section {
    grid-template-columns: 1fr;
  }

  .vibe-copy {
    padding: 54px max(22px, calc((100vw - var(--max)) / 2));
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(17, 50, 65, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 60px rgba(11, 67, 88, 0.16);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .hero {
    min-height: 92vh;
    padding: 128px 18px 42px;
    background:
      linear-gradient(180deg, rgba(232, 251, 255, 0.95), rgba(232, 251, 255, 0.7) 38%, rgba(255, 247, 232, 0.9)),
      url("assets/photos/harbour-view.jpg") center 42% / cover no-repeat;
  }

  h1 {
    font-size: 3.85rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section-pad {
    width: min(var(--max), calc(100% - 28px));
    padding: 68px 0;
  }

  .photo-stack {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .photo-stack img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .photo-small.top,
  .photo-small.bottom {
    height: auto;
  }

  .menu-grid,
  .gallery-grid,
  .visit-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure.wide {
    grid-column: span 1;
  }

  .gallery-grid figure,
  .gallery-grid img {
    min-height: 300px;
  }

  .vibe-section img {
    height: 360px;
  }

  .contact-band {
    padding: 30px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-rail {
    margin-top: 38px;
  }
}

@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;
  }
}
