/* Nova Pierogova — Szafarnia Dock Dumpling (nov-*) */
:root {
  --navy: #0B1F33;
  --cream: #F4EDE3;
  --rope: #8B6914;
  --teal: #1A6B6B;
  --coral: #C45C4A;
  --brass: #C9A227;
  --foam: #FAF8F5;
  --ink: #0B1F33;
  --muted: rgba(11, 31, 51, 0.68);
  --radius-hull: 50% 50% 8% 8% / 62% 62% 12% 12%;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-hand: "Patrick Hand", cursive;
  --shadow-soft: 0 18px 40px rgba(11, 31, 51, 0.14);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.nov-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.nov-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 11px,
      rgba(139, 105, 20, 0.07) 11px,
      rgba(139, 105, 20, 0.07) 12px
    );
}

.nov-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--foam);
  padding: 0.6rem 1rem;
  z-index: 10000;
}
.nov-skip:focus { left: 1rem; top: 1rem; }

.nov-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* —— sticky rope-rail nav —— */
.nov-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.65rem 1.25rem;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--rope);
  box-shadow: inset 0 -1px 0 rgba(201, 162, 39, 0.45), 0 8px 24px rgba(11, 31, 51, 0.06);
}
.nov-nav::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 4px;
  background:
    radial-gradient(circle at 8px 2px, var(--brass) 2.5px, transparent 3px) 0 0 / 28px 4px repeat-x;
  opacity: 0.85;
}
.nov-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.nov-logo em {
  display: block;
  font-family: var(--font-hand);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--teal);
  letter-spacing: 0.02em;
}
.nov-logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 50% 50% 40% 40% / 55% 55% 40% 40%;
  object-fit: cover;
  border: 2px solid var(--brass);
  box-shadow: 0 0 0 3px rgba(26, 107, 107, 0.2);
}
.nov-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.nov-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.nov-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}
.nov-nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
}
.nov-nav-links a:hover { border-bottom-color: var(--brass); color: var(--teal); }
.nov-nav-cta {
  background: var(--navy) !important;
  color: var(--foam) !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px !important;
  border-bottom: 0 !important;
  box-shadow: 0 4px 0 var(--rope);
}
.nov-nav-cta:hover { background: var(--teal) !important; transform: translateY(-1px); }
.nov-lang {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(139, 105, 20, 0.35);
}
.nov-lang a {
  font-family: var(--font-hand);
  font-size: 1.05rem !important;
  opacity: 0.55;
  border-bottom: 0 !important;
}
.nov-lang a.is-active { opacity: 1; color: var(--coral); }

@media (max-width: 860px) {
  .nov-nav-toggle { display: grid; }
  .nov-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--foam);
    padding: 1rem 1.25rem 1.4rem;
    border-bottom: 3px solid var(--rope);
    box-shadow: var(--shadow-soft);
  }
  .nov-nav.is-open .nov-nav-links { display: flex; }
  .nov-nav-links a { padding: 0.7rem 0.2rem; min-height: 44px; display: flex; align-items: center; }
  .nov-lang { border-left: 0; padding-left: 0; padding-top: 0.5rem; }
}

/* —— panoramic dock Ken Burns hero —— */
.nov-hero {
  position: relative;
  min-height: clamp(520px, 86vh, 760px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 1.5rem;
  padding: 2.5rem 1.25rem 3rem;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, #12304a 45%, var(--teal) 100%);
  color: var(--foam);
}
.nov-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.nov-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.12);
  animation: nov-kb 22s ease-in-out infinite alternate;
}
@keyframes nov-kb {
  from { transform: scale(1.12) translate(0, 0); }
  to { transform: scale(1.22) translate(-2%, -1.5%); }
}
.nov-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 31, 51, 0.88) 0%, rgba(11, 31, 51, 0.55) 48%, rgba(26, 107, 107, 0.35) 100%),
    linear-gradient(to top, rgba(11, 31, 51, 0.75), transparent 42%);
  pointer-events: none;
}
.nov-hero-copy, .nov-hero-visual { position: relative; z-index: 1; }
.nov-eyebrow {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--brass);
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}
.nov-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.nov-hero h1 span { color: var(--brass); }
.nov-hero-script {
  font-family: var(--font-hand);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  color: #d8efe9;
  margin: 0 0 1rem;
}
.nov-hero-lead {
  max-width: 38ch;
  font-size: 1.02rem;
  color: rgba(250, 248, 245, 0.88);
  margin: 0 0 1.5rem;
}
.nov-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.nov-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.nov-btn:hover { transform: translateY(-2px); }
.nov-btn-solid {
  background: var(--coral);
  color: var(--foam);
  box-shadow: 0 6px 0 #8f3d31;
}
.nov-btn-ghost {
  background: transparent;
  color: var(--foam);
  border: 1.5px solid rgba(250, 248, 245, 0.55);
}
.nov-btn-brass {
  background: var(--brass);
  color: var(--navy);
  box-shadow: 0 5px 0 #8d7114;
}
.nov-hero-visual {
  display: grid;
  justify-items: end;
  align-content: end;
  gap: 1rem;
}
.nov-dock-frame {
  width: min(100%, 420px);
  aspect-ratio: 4 / 3;
  border-radius: 18px 18px 42% 42% / 18px 18px 28% 28%;
  overflow: hidden;
  border: 3px solid var(--brass);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 0 0 6px rgba(11, 31, 51, 0.25);
}
.nov-dock-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: nov-kb 18s ease-in-out infinite alternate-reverse;
}
.nov-hero-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1.15rem;
  background: rgba(250, 248, 245, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  text-align: right;
}
.nov-hero-badge strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brass);
}
.nov-hero-badge span {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.78);
}

@media (max-width: 860px) {
  .nov-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
  .nov-hero-visual { justify-items: stretch; order: -1; }
  .nov-dock-frame { width: 100%; max-width: none; }
  .nov-hero-badge { text-align: left; width: fit-content; }
}

/* —— infinite POKŁAD ticker —— */
.nov-ticker {
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
  border-block: 2px solid var(--rope);
  padding: 0.7rem 0;
}
.nov-ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: nov-ticker 38s linear infinite;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.nov-ticker-track span { display: inline-flex; align-items: center; gap: 2rem; }
.nov-ticker-track span::after {
  content: "●";
  color: var(--brass);
  font-size: 0.55rem;
}
@keyframes nov-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* —— about —— */
.nov-about {
  padding: 4.5rem 0;
  background: var(--cream);
}
.nov-about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}
.nov-about-visual {
  position: relative;
}
.nov-about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 50% 50% 12% 12% / 42% 42% 10% 10%;
  border: 3px solid var(--rope);
  box-shadow: var(--shadow-soft);
}
.nov-about-visual::after {
  content: "pokład";
  position: absolute;
  right: -0.4rem;
  bottom: 1.5rem;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--foam);
  background: var(--teal);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  transform: rotate(-6deg);
  box-shadow: 0 4px 0 var(--navy);
}
.nov-about h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  margin: 0 0 0.85rem;
  line-height: 1.15;
}
.nov-about-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
}
.nov-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nov-chips li {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(26, 107, 107, 0.1);
  color: var(--teal);
  border: 1px solid rgba(26, 107, 107, 0.25);
}
@media (max-width: 760px) {
  .nov-about-grid { grid-template-columns: 1fr; }
  .nov-about-visual::after { right: 0.5rem; }
}

/* —— chapters —— */
.nov-chapters {
  padding: 3.5rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(26, 107, 107, 0.08), transparent 30%),
    var(--foam);
}
.nov-chapters h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 0.35rem;
  text-align: center;
}
.nov-chapters-sub {
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--rope);
  margin: 0 0 2rem;
}
.nov-chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.nov-chapter {
  background: var(--cream);
  border: 1.5px solid rgba(139, 105, 20, 0.28);
  border-radius: 18px 18px 40% 40% / 18px 18px 18% 18%;
  padding: 1.35rem 1.2rem 1.6rem;
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nov-chapter:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.nov-chapter-num {
  display: block;
  font-family: var(--font-hand);
  color: var(--coral);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.nov-chapter h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
}
.nov-chapter p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 760px) {
  .nov-chapter-grid { grid-template-columns: 1fr; }
}

/* —— half-moon dumpling-hull cards —— */
.nov-menu {
  padding: 4rem 0;
  background: var(--cream);
}
.nov-menu-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.nov-menu-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin: 0;
}
.nov-menu-note {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0;
}
.nov-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.nov-tab {
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(11, 31, 51, 0.18);
}
.nov-tab.is-active,
.nov-tab:hover {
  background: var(--navy);
  color: var(--foam);
  border-color: var(--navy);
}
.nov-panel { display: none; }
.nov-panel.is-active { display: block; }
.nov-hull-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.nov-hull {
  background: var(--foam);
  border-radius: var(--radius-hull);
  overflow: hidden;
  border: 1.5px solid rgba(139, 105, 20, 0.22);
  box-shadow: 0 12px 28px rgba(11, 31, 51, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.nov-hull:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: 0 22px 44px rgba(11, 31, 51, 0.16);
}
.nov-hull-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  background: var(--navy);
}
.nov-hull-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.nov-hull:hover .nov-hull-media img { transform: scale(1.06); }
.nov-hull-body {
  padding: 0.95rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.nov-hull-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.2;
}
.nov-hull-body p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  flex: 1;
}
.nov-price {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--coral);
  margin-top: 0.25rem;
}
.nov-price small {
  font-size: 0.85rem;
  color: var(--teal);
  font-family: var(--font-body);
  font-weight: 600;
}
@media (max-width: 980px) {
  .nov-hull-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nov-hull-grid { grid-template-columns: 1fr; gap: 1rem; }
  .nov-hull-media { aspect-ratio: 4 / 3; }
}

/* —— vertical quay ledger —— */
.nov-ledger {
  padding: 3.5rem 0 4rem;
  background: var(--navy);
  color: var(--cream);
}
.nov-ledger h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 0.4rem;
  color: var(--brass);
}
.nov-ledger-sub {
  font-family: var(--font-hand);
  font-size: 1.2rem;
  margin: 0 0 2rem;
  color: rgba(244, 237, 227, 0.75);
}
.nov-ledger-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  border-top: 1px dashed rgba(201, 162, 39, 0.35);
  padding-top: 1.5rem;
}
.nov-ledger-col h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.85rem;
  color: var(--brass);
  letter-spacing: 0.02em;
}
.nov-ledger-col li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px dotted rgba(244, 237, 227, 0.18);
  font-size: 0.92rem;
}
.nov-ledger-col li span:last-child {
  font-family: var(--font-hand);
  color: var(--brass);
  white-space: nowrap;
}
@media (max-width: 800px) {
  .nov-ledger-cols { grid-template-columns: 1fr; }
}

/* —— glass marina hours —— */
.nov-hours {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(26, 107, 107, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(196, 92, 74, 0.12), transparent 45%),
    var(--cream);
}
.nov-hours-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: 28px;
  background: rgba(250, 248, 245, 0.55);
  border: 1.5px solid rgba(201, 162, 39, 0.4);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.nov-hours-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 0.75rem;
}
.nov-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(11, 31, 51, 0.08);
  font-weight: 600;
}
.nov-hours-list li span:last-child {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--teal);
}
.nov-hours-side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: center;
}
.nov-hours-side a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: var(--navy);
  color: var(--foam);
  font-weight: 700;
}
.nov-hours-side a.nov-fb { background: var(--teal); }
.nov-hours-side a.nov-eat { background: var(--coral); }
.nov-hours-side p {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
@media (max-width: 760px) {
  .nov-hours-card { grid-template-columns: 1fr; }
}

/* —— footer —— */
.nov-footer {
  background: var(--navy);
  color: rgba(244, 237, 227, 0.78);
  padding: 2.25rem 0 2.5rem;
  border-top: 3px solid var(--rope);
}
.nov-footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: start;
}
.nov-footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brass);
  margin-bottom: 0.35rem;
}
.nov-footer p { margin: 0.2rem 0; font-size: 0.92rem; }
.nov-footer a:hover { color: var(--brass); }

/* —— scroll reveal —— */
.nov-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.nov-reveal.is-in {
  opacity: 1;
  transform: none;
}
.nov-reveal-delay-1 { transition-delay: 0.12s; }
.nov-reveal-delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .nov-hero-bg img,
  .nov-dock-frame img,
  .nov-ticker-track { animation: none !important; }
  .nov-reveal { opacity: 1; transform: none; }
}
