/* ============================================================
   CHIPPY TEMPLATE — Fish & Chip Shop
   Palette: ocean #0A3D62 | gold #F0A500 | cream #F5F0E8
   Fonts: Playfair Display (display) | Barlow Condensed (bold labels) | Barlow (body)
   ============================================================ */

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

:root {
  --ocean:  #0A3D62;
  --ocean2: #0D2235;
  --sky:    #1B6CA8;
  --gold:   #F0A500;
  --gold-l: #FFD166;
  --cream:  #F5F0E8;
  --cream2: #EBE4D5;
  --white:  #FAFEFF;
  --ink:    #0D1B2A;
  --stone:  #4A6080;
  --border: #C8DDEF;
  --r:      3px;
  --ease:   cubic-bezier(0.16,1,0.3,1);
}

/* grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section { padding: 88px 0; }

.section__label {
  font-family: 'Barlow', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}
.section__label--light { color: var(--gold-l); }

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--ocean);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.section__title em { font-style: italic; color: var(--sky); }
.section__title--condensed {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: .95;
  margin-bottom: 0;
}
.title--gold { color: var(--gold-l); }
.title-rule { width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin: 0 0 20px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--r);
  font-family: 'Barlow', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .25s var(--ease);
}
.btn--gold {
  background: var(--gold);
  color: var(--ocean);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-l);
  border-color: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,165,0,.35);
}
.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.85);
}
.btn--outline:hover {
  border-color: var(--gold-l);
  color: var(--gold-l);
}
.btn--white {
  background: var(--white);
  color: var(--sky);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--gold-l);
  color: var(--ocean);
  border-color: var(--gold-l);
  transform: translateY(-2px);
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 62px;
  background: var(--ocean);
  border-bottom: 3px solid var(--gold);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo-main {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--white);
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav__links a {
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--gold) !important;
  color: var(--ocean) !important;
  padding: 8px 18px;
  border-radius: var(--r);
  font-weight: 800 !important;
}
.nav__cta:hover { background: var(--gold-l) !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .28s ease;
}

/* ---- HERO ---- */
.hero {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: calc(100dvh - 62px);
  overflow: hidden;
}
.hero__photo {
  position: relative;
  overflow: hidden;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.75) contrast(1.05) saturate(1.1);
}
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 55%, rgba(10,61,98,.97) 100%);
}
.est-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(240,165,0,.45);
}
.est-badge__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ocean);
}
.est-badge__year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ocean);
  line-height: 1;
}
.hero__content {
  background: var(--ocean);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 64px 64px 56px;
  position: relative;
}
.hero__content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--sky) 100%);
}
.hero__eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-l);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp .7s .05s var(--ease) forwards;
}
.hero__eyebrow::before { content: '≋'; font-size: 14px; }
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: .95;
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp .7s .15s var(--ease) forwards;
}
.hero__tagline {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  font-weight: 300;
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp .7s .25s var(--ease) forwards;
}
.hero__open-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .7s .32s var(--ease) forwards;
}
.open-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
}
.open-dot.open { background: #00D2D3; animation: blink 2s infinite; }
.open-dot.closed { background: #e74c3c; }
.open-text { font-size: .85rem; color: rgba(255,255,255,.75); font-weight: 500; }
.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp .7s .4s var(--ease) forwards;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  overflow: hidden;
  opacity: 0;
  animation: fadeUp .7s .5s var(--ease) forwards;
}
.hstat {
  background: rgba(255,255,255,.04);
  padding: 14px 12px;
  text-align: center;
}
.hstat__val {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-l);
  line-height: 1;
}
.hstat__lbl {
  display: block;
  font-size: .6rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ---- WAVE ---- */
.wave { line-height: 0; overflow: hidden; }
.wave--cream { background: var(--ocean); }
.wave--navy { background: var(--cream); }
.wave svg { width: 100%; height: 60px; }

/* ---- ABOUT ---- */
.about { background: var(--cream); padding-top: 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__image-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/11;
  background: var(--ocean);
  box-shadow: 0 20px 60px rgba(10,61,98,.2);
}
.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__image-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--sky) 100%);
}
.about__text p {
  font-size: .97rem;
  color: var(--stone);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 24px;
}
.about__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: .75rem;
  color: var(--sky);
  font-weight: 600;
}

/* ---- MENU ---- */
.menu { background: var(--ocean); padding-top: 0; }
.menu .section { padding-top: 88px; }
.menu__hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.menu__cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.05);
  border-radius: var(--r);
  overflow: hidden;
}
/* Generated by builder.js */
.menu__cat {
  background: #0D2235;
  padding: 32px 24px;
  transition: background .25s;
}
.menu__cat:hover { background: #162D47; }
.menu__cat-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu__cat-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--gold);
  border-radius: 2px;
}
.menu__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.menu__item:last-child { border-bottom: none; }
.menu__item-header { flex: 1; }
.menu__item-name {
  font-size: .88rem;
  color: rgba(255,255,255,.78);
  font-weight: 400;
  line-height: 1.3;
}
.menu__item-desc {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  margin-top: 2px;
  line-height: 1.4;
}
.menu__item-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-l);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- PHOTO STRIP ---- */
.photo-strip {
  position: relative;
  height: 380px;
  overflow: hidden;
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.65) contrast(1.05) saturate(1.1);
}
.photo-strip__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10,61,98,.65) 0%, transparent 60%),
              linear-gradient(to top, rgba(10,61,98,.55) 0%, transparent 50%);
}
.photo-strip__quote { text-align: center; padding: 0 40px; }
.photo-strip__text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 14px;
}
.photo-strip__source {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-l);
}

/* ---- HOURS ---- */
.hours { background: var(--ocean); color: var(--white); }
.hours__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.hours__card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  overflow: hidden;
}
.hours__card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hours__card-hd h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
}
.status-badge.open { background: rgba(0,210,211,.1); border-color: rgba(0,210,211,.2); color: #00D2D3; }
.status-badge.closed { background: rgba(231,76,60,.1); border-color: rgba(231,76,60,.2); color: #e74c3c; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.hours__table { width: 100%; border-collapse: collapse; }
.hours__table td {
  padding: 11px 24px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  font-weight: 300;
}
.hours__table tr:last-child td { border-bottom: none; }
.hours__table td:last-child {
  text-align: right;
  color: var(--gold-l);
  font-weight: 500;
}
.hours__table tr.today td { color: var(--white); font-weight: 600; }

.hours__info { display: flex; flex-direction: column; gap: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; }
.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .2s;
}
.info-row:last-child { border-bottom: none; }
.info-row:hover { background: rgba(255,255,255,.04); }
.info-accent {
  width: 3px;
  align-self: stretch;
  min-height: 18px;
  background: linear-gradient(to bottom, var(--sky), var(--gold));
  border-radius: 2px;
  flex-shrink: 0;
}
.info-lbl {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.info-val { font-size: .9rem; color: rgba(255,255,255,.8); font-weight: 300; line-height: 1.5; }
.info-val--link { color: var(--gold-l); transition: color .2s; }
.info-val--link:hover { color: var(--white); }

/* ---- CTA ---- */
.cta { background: var(--sky); text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,.015) 20px, rgba(255,255,255,.015) 40px);
}
.cta__inner { position: relative; z-index: 1; }
.cta__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 14px;
}
.cta__title em { font-style: italic; color: var(--gold-l); }
.cta__sub { font-size: 1rem; color: rgba(255,255,255,.7); max-width: 420px; margin: 0 auto 36px; font-weight: 300; line-height: 1.8; }
.cta__actions { margin-bottom: 36px; }
.cta__meta {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}
.meta-lbl { font-size: .62rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.meta-val { font-size: .95rem; color: rgba(255,255,255,.9); font-weight: 500; }

/* ---- FOOTER ---- */
.footer { background: var(--ink); border-top: 3px solid var(--gold); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 44px 0 32px;
}
.footer__brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__sub { font-size: .8rem; color: rgba(255,255,255,.3); font-weight: 300; max-width: 220px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: .8rem; color: rgba(255,255,255,.45); font-weight: 500; letter-spacing: .04em; transition: color .2s; }
.footer__links a:hover { color: var(--gold-l); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  color: rgba(255,255,255,.4);
  transition: all .2s;
}
.footer__social a:hover { color: var(--gold-l); border-color: var(--gold-l); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 14px 0;
  font-size: .75rem;
  text-align: center;
  color: rgba(255,255,255,.2);
}

/* ---- KEYFRAMES ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* ---- SCROLL REVEAL ---- */
.ri { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.ri.in { opacity: 1; transform: none; }
.ri-l { opacity: 0; transform: translateX(-30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.ri-l.in { opacity: 1; transform: none; }
.ri-r { opacity: 0; transform: translateX(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.ri-r.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { height: 55vw; min-height: 280px; }
  .hero__photo::after { background: linear-gradient(to bottom, transparent 40%, rgba(10,61,98,.97) 100%); }
  .hero__content { padding: 40px 24px 56px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .menu__cats { grid-template-columns: 1fr; }
  .hours__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 62px; left: 0; right: 0; bottom: 0;
    background: var(--ocean);
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
    overflow-y: auto;
  }
  .nav__links.open { display: flex; }
  .nav__links li { border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav__links a { display: block; padding: 16px 24px; font-size: .85rem; }
  .nav__links .nav__cta { margin: 16px 24px; display: inline-block; border-radius: var(--r); }
  .nav__burger { display: flex; }
  .section { padding: 64px 0; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .cta__meta { gap: 24px; justify-content: flex-start; }
  .photo-strip { height: 260px; }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr 1fr 1fr; }
  .about__chips { gap: 6px; }
}
