/* Layout: one long page, alternating white / sea-salt / navy bands, nautical red as the action color */
:root {
  --navy: #14204a;
  --navy-deep: #0d1633;
  --red: #a4342d;
  --red-dark: #8a2a24;
  --ink: #2b2f3a;
  --muted: #5d6475;
  --salt: #eef1f6;
  --line: #d9dee8;
  --white: #ffffff;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  padding: 0.85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { font-size: 0.85rem; padding: 0.6em 1.15em; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--salt); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { width: 56px; height: 56px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--red); }
.header-ctas { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .header-row { gap: 12px; }
  .header-ctas { margin-left: auto; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 520px) { .hide-sm { display: none; } }

/* Hero */
.hero {
  position: relative; color: var(--white);
  background: var(--navy) url("images/boathouse-exterior.webp") center 30% / cover no-repeat;
  padding-block: clamp(96px, 16vw, 180px) clamp(72px, 12vw, 140px);
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,22,51,.82) 0%, rgba(13,22,51,.55) 55%, rgba(13,22,51,.15) 100%); }
.hero-inner { position: relative; display: grid; gap: 22px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  font-size: 0.8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 7px 14px; border-radius: 999px;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #e8b04b; }
.hero-kicker.is-open .dot { background: #5fd18b; box-shadow: 0 0 0 4px rgba(95,209,139,.25); }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 6.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.02em; max-width: 14ch; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 34rem; opacity: .95; }

/* Rotating word: each word gets an equal share of a 10s cycle */
.rotator { display: inline-grid; vertical-align: bottom; color: var(--red); }
.rotator span { grid-area: 1 / 1; opacity: 0; transform: translateY(.35em); animation: word 10s infinite; }
.rotator span:nth-child(1) { animation-delay: 0s; }
.rotator span:nth-child(2) { animation-delay: 2.5s; }
.rotator span:nth-child(3) { animation-delay: 5s; }
.rotator span:nth-child(4) { animation-delay: 7.5s; }
@keyframes word {
  0% { opacity: 0; transform: translateY(.35em); }
  4%, 21% { opacity: 1; transform: none; }
  25%, 100% { opacity: 0; transform: translateY(-.35em); }
}
@media (prefers-reduced-motion: reduce) {
  .rotator span { animation: none; }
  .rotator span:first-child { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 110px); }
.section-tint { background: var(--salt); }
.section-navy { background: var(--navy); color: #dfe4f0; }
.section-navy h2 { color: var(--white); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: 40px; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eyebrow-light { color: #f2c46d; }
.lede { font-size: 1.08rem; color: var(--muted); }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Menu */
.menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.menu-card {
  display: grid; gap: 6px; align-content: start; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: var(--radius); padding: 22px 20px 20px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.menu-card:hover { border-top-color: var(--red); box-shadow: 0 10px 24px rgba(20,32,74,.1); transform: translateY(-2px); }
.menu-card-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.menu-card-title { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.menu-card-meta { font-size: .9rem; color: var(--muted); min-height: 2.9em; }
.menu-card-go { margin-top: 8px; font-weight: 700; font-size: .88rem; color: var(--red); }
.menu-card-go::after { content: " →"; }
.food-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.food-strip figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; max-width: 100%; }
.food-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card-meta { min-height: 0; }
  .food-strip { grid-template-columns: 1fr 1fr; }
  .food-strip figure:last-child { display: none; }
}

/* Entertainment */
.ent-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.ent-intro { display: grid; gap: 18px; justify-items: start; position: sticky; top: 100px; }
.lineup { display: grid; gap: 28px; }
.lineup-month { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f2c46d; margin-bottom: 10px; }
.lineup-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.gig { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.gig-date { display: grid; justify-items: center; line-height: 1.1; background: rgba(255,255,255,.08); border-radius: 8px; padding: 8px 4px; }
.gig-dow { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #aeb7cf; }
.gig-day { font-size: 1.45rem; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
.gig-act { font-weight: 700; color: var(--white); font-size: 1.02rem; }
.gig-details { font-size: .88rem; color: #aeb7cf; }
.gig-time { font-weight: 600; font-size: .9rem; color: #dfe4f0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gig.is-today .gig-date { background: var(--red); }
.gig.is-today .gig-dow { color: #ffd9d5; }
.tag-today { display: inline-block; margin-left: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--red); color: var(--white); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.lineup-empty { color: #aeb7cf; }
@media (max-width: 860px) {
  .ent-layout { grid-template-columns: 1fr; }
  .ent-intro { position: static; }
}
@media (max-width: 420px) {
  .gig { grid-template-columns: 56px minmax(0, 1fr); }
  .gig-time { grid-column: 2; margin-top: -10px; }
}

/* About */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; gap: 16px; }
.split-copy p { color: var(--muted); font-size: 1.05rem; max-width: 36rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* VIP */
.vip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 72px); align-items: center; }
.vip-copy { display: grid; gap: 16px; justify-items: start; max-width: 36rem; }
.vip-copy p { color: var(--muted); font-size: 1.05rem; }
.vip-media { margin: 0; width: min(260px, 100%); }
.vip-media img { filter: drop-shadow(0 18px 30px rgba(20,32,74,.22)); }
@media (max-width: 700px) {
  .vip { grid-template-columns: 1fr; }
  .vip-media { width: 200px; justify-self: center; }
}

/* Visit */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.visit-info { display: grid; gap: 20px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:first-child { font-weight: 600; color: var(--navy); }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.is-today td { color: var(--red); font-weight: 700; }
.fine { font-size: .88rem; color: var(--muted); }
.contact-list { margin: 8px 0 0; display: grid; gap: 18px; }
.contact-list dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.contact-list dd { margin: 4px 0 0; font-weight: 600; color: var(--navy); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.socials { display: flex; gap: 18px; flex-wrap: wrap; }
.contact-card { background: var(--salt); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); display: grid; gap: 12px; }
.contact-card > p { color: var(--muted); }
form { display: grid; gap: 14px; margin-top: 6px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: .85rem; font-weight: 600; color: var(--navy); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1e7a47; }
.form-status.err { color: var(--red); }
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .field-row { grid-template-columns: 1fr; } }

/* Careers */
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.role-group { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.role-group h3 { margin-bottom: 14px; }
.role-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.role-group li { font-size: .9rem; font-weight: 600; color: var(--navy); background: var(--salt); border-radius: 999px; padding: 6px 14px; }
@media (max-width: 640px) { .roles { grid-template-columns: 1fr; } }

/* Gallery */
.g-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.g-filter {
  font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
  color: #dfe4f0; background: transparent; border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 7px 16px; transition: background .2s, color .2s, border-color .2s;
}
.g-filter:hover { border-color: var(--white); }
.g-filter.is-active { background: var(--white); color: var(--navy); border-color: var(--white); }
.g-grid { columns: 3 260px; column-gap: 12px; }
.g-item {
  display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: rgba(255,255,255,.06);
  border-radius: 8px; overflow: hidden; cursor: zoom-in; break-inside: avoid;
}
.g-item img { width: 100%; height: auto; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-item[hidden] { display: none !important; }
.g-grid:not(.show-all) .g-extra { display: none; }
@media (max-width: 560px) { .g-grid { columns: 2; column-gap: 8px; } .g-item { margin-bottom: 8px; } }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10,16,38,.94); color: var(--white);
}
.lightbox[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; }
.lightbox::backdrop { background: rgba(10,16,38,.6); }
.lb-prev { grid-area: 1 / 1; }
.lb-next { grid-area: 1 / 3; }
.lb-figure { grid-area: 1 / 2; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 10px; justify-items: center; padding-block: 56px 24px; min-width: 0; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 6px; object-fit: contain; }
.lb-figure figcaption { font-size: .9rem; color: #c7cede; text-align: center; padding-inline: 8px; }
.lb-btn {
  font: inherit; color: var(--white); background: rgba(255,255,255,.1); border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
  justify-self: center; transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; font-size: 1.8rem; }
@media (max-width: 560px) {
  .lightbox[open] { grid-template-columns: minmax(0, 1fr); }
  .lb-figure { grid-area: 1 / 1; }
  .lb-prev, .lb-next { grid-area: auto; position: fixed; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-figure { padding-block: 56px 84px; }
  .lb-figure img { max-height: calc(100vh - 200px); }
}

/* Social connect (entertainment) */
.social-connect { display: grid; gap: 12px; padding-top: 6px; }
.social-connect-label { font-size: .9rem; font-weight: 600; color: #dfe4f0; }
.btn-icon { gap: 8px; }
.btn-icon svg { flex: none; }

/* Job application */
.application { margin-top: 36px; }
.app-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 40px); gap: 28px; max-width: 880px; margin-inline: auto;
}
.app-head { display: grid; gap: 6px; }
.app-head h3 { font-size: 1.4rem; }
.app-head p { color: var(--muted); }
.req { color: var(--red); font-weight: 700; }
fieldset { border: 0; border-top: 2px solid var(--navy); margin: 0; padding: 18px 0 0; display: grid; gap: 16px; min-width: 0; }
legend { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); padding-right: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sub { display: grid; gap: 14px; padding: 16px; background: var(--salt); border-radius: 8px; }
.sub-title { font-weight: 700; color: var(--navy); font-size: .95rem; }
.choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.choice .q { width: 100%; font-size: .9rem; font-weight: 600; color: var(--navy); }
.choice label, .inline-check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); cursor: pointer; }
.choice input, .inline-check input { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
.days { display: flex; flex-wrap: wrap; gap: 8px; }
.days label { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--white); }
.days label:has(input:checked) { border-color: var(--navy); background: var(--salt); }
input[readonly] { background: var(--salt); color: var(--muted); }
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { background: var(--navy-deep); color: #aeb7cf; padding-block: 36px; font-size: .88rem; }
.footer-row { display: flex; gap: 20px; align-items: center; }
.footer-row img { width: 64px; height: 64px; border-radius: 50%; background: var(--white); flex: none; }
.footer-text { display: grid; gap: 4px; min-width: 0; }
.footer-text strong { color: var(--white); }
.site-footer a { color: #dfe4f0; }
@media (max-width: 560px) { .footer-row { flex-direction: column; text-align: center; } }
