/* ============================================================
   Murray Mews | Est 1899 — static rebuild v3
   Palette (from original Elementor kit):
   - primary/secondary: #055872   - text/deep:    #003A4E
   - accent cream:      #FBDDB9   - sand:         #F1E2CE
   - peach highlight:   #FFBC7D   - mid blue:     #005B8C
   Type: Oswald (condensed display, Art Deco energy)
         Space Grotesk (body/UI)
   Texture: original diamond pattern PNG
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --deep: #003A4E;
  --primary: #055872;
  --mid-blue: #005B8C;
  --cream: #FBDDB9;
  --sand: #F1E2CE;
  --peach: #FFBC7D;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --sans: 'Space Grotesk', 'Helvetica Neue', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--deep);
  background: #FFFFFF;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

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

.icon { width: 16px; height: 16px; display: inline-block; vertical-align: middle; fill: currentColor; }

/* ---------- ticker topbar ---------- */
.topbar {
  background: var(--deep);
  color: var(--cream);
  overflow: hidden;
  position: relative;
  padding: 9px 0;
}

.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/diamond-pattern.png') center/620px repeat;
  opacity: .28;
  pointer-events: none;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  white-space: nowrap;
  position: relative;
  will-change: transform;
}

/* padding instead of flex-gap so the track splits exactly in half
   at -50% => seamless infinite loop */
.ticker-track span { padding-right: 3rem; }


@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.topbar .socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
  position: relative;
}

/* header social icons (right of nav) */
.header-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-socials a {
  color: var(--deep);
  opacity: .7;
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
}

.header-socials a:hover {
  opacity: 1;
  color: var(--primary);
  transform: translateY(-2px);
}

.header-socials svg.icon { width: 17px; height: 17px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 3px solid var(--deep);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo img { height: 48px; width: auto; transition: transform .25s ease; }
.logo:hover img { transform: scale(1.03); }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; }

.main-nav a {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .9rem;
  text-decoration: none;
  color: var(--deep);
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%;
  height: 3px;
  background: var(--peach);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.6,0,.2,1);
}

.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); transform-origin: left; }

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--cream);
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .88rem;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 3px;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.btn:hover {
  background: var(--deep);
  border-color: var(--deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,58,78,.2);
}

.btn.accent { background: var(--peach); border-color: var(--peach); color: var(--deep); }
.btn.accent:hover { background: var(--cream); border-color: var(--cream); }

.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    url('../images/diamond-pattern.png') center/760px repeat,
    var(--deep);
  color: #fff;
}

.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/aged.svg') center/400px repeat;
  opacity: .22;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-inner { padding: 110px 24px; position: relative; z-index: 1; }

.hero .brandmark {
  width: 120px;
  margin: 0 auto 40px;
  filter: brightness(0) invert(1) drop-shadow(0 8px 30px rgba(0,0,0,.4));
}

.hero .est,
.page-hero .est {
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .55em;
  text-indent: .55em;
  font-size: .8rem;
  color: var(--peach);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hero .est::before,
.hero .est::after {
  content: '';
  width: 44px;
  height: 1px;
  background: rgba(255,188,125,.6);
}

.page-hero .est { justify-content: center; }

.hero-wordmark {
  width: min(680px, 86vw);
  aspect-ratio: 2560 / 707;
  margin: 0 auto 34px;
  background: var(--cream);
  -webkit-mask: url('../images/logotype-deep.png') center / contain no-repeat;
  mask: url('../images/logotype-deep.png') center / contain no-repeat;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,.35));
}

.hero p.tagline {
  max-width: 520px;
  margin: 0 auto 44px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  letter-spacing: .04em;
  color: rgba(255,255,255,.93);
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: 100px 0; }

.section.sand { background-color: var(--sand); }

.overline {
  display: block;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3em;
  text-indent: .3em;
  font-size: .78rem;
  color: var(--mid-blue);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 14px;
}

.section-title em {
  font-style: normal;
  color: var(--primary);
}

.section-sub {
  text-align: center;
  font-size: 1.15rem;
  color: rgba(0,58,78,.85);
  max-width: 600px;
  margin: 0 auto 56px;
}

.rule {
  width: 54px;
  height: 4px;
  border-radius: 0;
  background: var(--peach);
  margin: 0 auto 26px;
  border: none;
}

/* menu cards */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.menu-card {
  position: relative;
  background: #fff;
  border-radius: 4px;
  border: 1px solid rgba(0,58,78,.1);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0,58,78,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 28px 44px;
  gap: 12px;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease, border-color .3s ease;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--peach);
  transform: scaleX(0);
  transition: transform .35s cubic-bezier(.2,.8,.3,1);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,58,78,.16);
  border-color: rgba(0,58,78,.2);
}

.menu-card:hover::before { transform: scaleX(1); }

.menu-card .diamond {
  width: 54px;
  height: 54px;
  background: var(--deep);
  transform: rotate(45deg);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background .3s ease, border-radius .3s ease;
}

.menu-card:hover .diamond { background: var(--primary); border-radius: 50%; }

.menu-card .diamond svg {
  width: 26px;
  height: 26px;
  transform: rotate(-45deg);
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s ease;
}

.menu-card:hover .diamond svg { transform: rotate(-45deg) scale(1.1); }

.menu-card h3 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 1.3rem;
  line-height: 1.25;
}

.menu-card span.view {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mid-blue);
  margin-top: 8px;
}

/* info strip */
.strip {
  background: var(--peach);
  color: var(--deep);
  padding: 60px 0;
  border-top: 3px solid var(--deep);
  border-bottom: 3px solid var(--deep);
}

.strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  text-align: center;
}

.strip h2 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
}

/* page hero */
.page-hero {
  background:
    url('../images/diamond-pattern.png') center/760px repeat,
    var(--deep);
  color: #fff;
  padding: 120px 0 90px;
  text-align: center;
  border-bottom: 3px solid var(--peach);
}

.page-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
}

/* prose / about */
.prose {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: rgba(0,58,78,.92);
}

.prose p { margin-bottom: 1.5em; }

.prose strong { color: var(--deep); font-weight: 600; }
.prose a { color: var(--mid-blue); font-weight: 500; }

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border-radius: 4px;
  border: 1px solid rgba(0,58,78,.1);
  box-shadow: 0 6px 24px rgba(0,58,78,.08);
  padding: 44px 32px;
  text-align: center;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(0,58,78,.14);
}

.contact-card h3 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.contact-card p, .contact-card a {
  color: rgba(0,58,78,.9);
  text-decoration: none;
  font-size: 1.08rem;
}

.contact-card a { color: var(--mid-blue); font-weight: 500; border-bottom: 2px solid rgba(0,91,140,.25); transition: border-color .2s ease; overflow-wrap: anywhere; }
.contact-card a:hover { border-color: var(--peach); }

.map-frame {
  max-width: 900px;
  margin: 44px auto 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0,58,78,.12);
  box-shadow: 0 10px 30px rgba(0,58,78,.12);
  line-height: 0;
}

.map-frame iframe { width: 100%; height: 380px; border: 0; }

/* bookings */
.booking-frame {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  border: 1px solid rgba(0,58,78,.12);
  box-shadow: 0 10px 30px rgba(0,58,78,.12);
  overflow: hidden;
}

/* WOW Apps widget can't auto-size (cross-origin). Tallest step (time list)
   measured ~820px in its two-column layout, ~1170px stacked on phones. */
.booking-frame iframe { width: 100%; height: 860px; border: 0; display: block; }
@media (max-width: 860px) {
  .booking-frame iframe { height: 1200px; }
}

/* ---------- instagram wall ---------- */
.instagram-section {
  background: var(--cream);
  padding: 96px 0 84px;
  border-top: 5px solid var(--peach);
}

.instagram-section .section-sub { color: rgba(0,58,78,.8); }
.instagram-section .overline { color: rgba(0,58,78,.72); }

.instagram-section .ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  max-width: 1140px;
  margin: 44px auto 0;
}

.instagram-section .ig-grid a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 8px 26px rgba(0,58,78,.14);
  position: relative;
  outline: 3px solid transparent;
  outline-offset: -3px;
  transition: outline-color .25s ease;
}

.instagram-section .ig-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.8,.3,1);
}

.instagram-section .ig-grid a:hover { outline-color: var(--peach); }
.instagram-section .ig-grid a:hover img { transform: scale(1.05); }

.instagram-section .ig-follow { text-align: center; margin-top: 52px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,.9);
  padding: 80px 0 36px;
  position: relative;
  border-top: 3px solid var(--peach);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/diamond-pattern.png') center/720px repeat;
  opacity: .2;
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/aged.svg') center/400px repeat;
  opacity: .18;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 44px;
  align-items: start;
}

.footer-brand img { height: 104px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: .95; }

.site-footer h4 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .92rem;
  color: var(--peach);
  margin-bottom: 18px;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }

.site-footer a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: 1.02rem;
  transition: color .2s ease;
}

.site-footer a:hover { color: var(--peach); }

.footer-socials { display: flex; gap: 16px; margin-top: 22px; }
.footer-socials a { color: var(--cream); opacity: .85; }
.footer-socials a:hover { opacity: 1; color: var(--peach); }
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }

.licence {
  position: relative;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

.licence a {
  color: var(--peach);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}
.licence a:hover { color: var(--cream); }

/* floating reserve button */
.reserve-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 200;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}

/* responsive */
@media (max-width: 860px) {
  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    gap: 4px;
    box-shadow: 0 18px 30px rgba(0,58,78,.14);
  }
  .main-nav.open ul { display: flex; }
  .main-nav ul a { display: block; padding: 13px 0; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-family: var(--display);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .9rem;
    color: var(--deep);
    cursor: pointer;
    padding: 8px 0;
  }
  .site-header .container { position: relative; }
  .hero { min-height: 72vh; }
  .reserve-float { right: 16px; bottom: 16px; }
}
