:root {
  --navy: #1F305E;
  --navy-deep: #14213F;
  --burgundy: #7A1F3D;
  --green: #214E34;
  --ivory: #F6F2EB;
  --ivory-dim: #EDE7DA;
  --charcoal: #2B2B2B;
  --gold: #C6A664;
  --white: #ffffff;

  --font-head: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 96px; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 1000;
  background: var(--navy);
  color: var(--ivory);
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

a:link, a:visited { text-decoration: none; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h2 { font-size: 2.5rem; margin-bottom: 0.9rem; font-weight: 500; }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--navy); font-weight: 600; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 0.7rem;
  display: block;
}
.eyebrow.light { color: var(--gold); }

.center { text-align: center; margin-left: auto; margin-right: auto; }
.lead { max-width: 680px; font-size: 1.08rem; color: #55524c; font-weight: 400; }

h2.light { color: var(--ivory); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
a.btn-primary { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
a.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

a.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
a.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }

a.btn-ghost-dark { background: transparent; color: var(--navy); border-color: rgba(31,48,94,0.35); }
a.btn-ghost-dark:hover { border-color: var(--burgundy); color: var(--burgundy); }

/* Announcement bar */
#announcement {
  background: var(--navy-deep);
  color: var(--gold);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 12px;
  font-weight: 500;
}

/* Header */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 33, 63, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(198, 166, 100, 0.18);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: padding 0.3s ease;
}
#site-header.is-scrolled .header-inner { padding: 10px 32px; }

a.logo, a.footer-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.logo .logo-main, .footer-logo .logo-main {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--ivory);
  letter-spacing: 0.01em;
  transition: font-size 0.3s ease;
}
#site-header.is-scrolled .logo .logo-main { font-size: 1.3rem; }
.logo .logo-sub, .footer-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
  transition: opacity 0.25s ease, margin-top 0.3s ease, height 0.3s ease;
}
#site-header.is-scrolled .logo .logo-sub { opacity: 0; margin-top: 0; height: 0; overflow: hidden; }
.footer-logo { align-items: center; }
.footer-logo .logo-main { font-size: 2rem; }

#main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
#main-nav a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: color 0.2s ease;
}
#main-nav a:hover { color: var(--gold); }
#main-nav a.active { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 22px; }
a.phone { color: var(--ivory); text-decoration: none; font-size: 0.8rem; font-weight: 500; white-space: nowrap; letter-spacing: 0.03em; }
a.phone:hover { color: var(--gold); }

#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
#nav-toggle span { width: 24px; height: 2px; background: var(--ivory); }

/* Hero */
.hero {
  position: relative;
  height: 94vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: -10%; left: 0; right: 0; height: 120%;
  background-size: cover;
  background-position: center;
  filter: grayscale(15%) contrast(1.08) brightness(0.85);
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,33,63,0.55) 0%, rgba(20,33,63,0.45) 45%, rgba(15,15,15,0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 760px;
  padding: 0 24px;
}
.hero-content h1 {
  color: var(--white);
  font-size: 4.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.hero-sub { font-size: 1.08rem; margin-bottom: 1.6rem; color: rgba(246,242,235,0.85); max-width: 560px; margin-left: auto; margin-right: auto; font-weight: 300; }
.hero-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 46px;
}
.scroll-cue span {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(246,242,235,0.5);
  animation: scrollline 2s infinite;
  transform-origin: top;
}
@keyframes scrollline {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Welcome / feature grid */
.welcome { padding: 48px 0; background: var(--ivory); }
.spaces-label { margin-top: 44px; }
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
}
a.space-card { display: block; color: inherit; text-decoration: none; }
.space-card-media {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
}
.space-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(10%) contrast(1.05);
  transition: transform 0.5s ease;
}
a.space-card:hover .space-card-media img { transform: scale(1.06); }
.space-card h3 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.space-card p {
  text-align: center;
  font-size: 0.85rem;
  color: #5c594f;
  line-height: 1.5;
}

/* More at Gough's — compact card grid */
.more-features { padding: 48px 0; background: var(--ivory); }
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.more-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(31,48,94,0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.more-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31,48,94,0.12); }
.more-card-media { aspect-ratio: 4/3; overflow: hidden; }
.more-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(10%) contrast(1.05);
  transition: transform 0.6s ease;
}
.more-card:hover .more-card-media img { transform: scale(1.06); }
.more-card-body { padding: 20px 22px 24px; }
.more-card-body .eyebrow { margin-bottom: 0.4rem; }
.more-card-body h3 { margin-bottom: 0.35rem; }
.more-card-body p { font-size: 0.92rem; color: #55524c; margin: 0 0 1rem; }
.more-card-body .btn { margin-top: 0.2rem; }

/* Split feature sections */
.feature-section { padding: 0; }
.feature-section.dark { background: var(--navy); }
.feature-section.dark h2, .feature-section.dark .eyebrow { color: var(--ivory); }
.feature-section.dark .eyebrow { color: var(--gold); }
.feature-section.dark p:not(.quote) { color: rgba(246,242,235,0.75); }
.feature-section.dark .check-list li { color: rgba(246,242,235,0.85); }
.feature-section.dark .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.feature-section.dark .btn-primary:hover {
  background: #d9bd82;
  border-color: #d9bd82;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  min-height: 380px;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }
.split-media { overflow: hidden; }
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(12%) contrast(1.05);
  min-height: 280px;
  transition: transform 1.2s ease, filter 0.6s ease;
}
.split-media:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.05);
}
.split-text {
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-section:not(.dark) .split-text { background: var(--ivory); }
.check-list { list-style: none; margin: 14px 0 6px; }
.check-list li { padding-left: 24px; position: relative; margin-bottom: 6px; font-size: 0.95rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 12px; height: 1px; background: var(--gold); }
.quote { font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 1.35rem; margin: 10px 0 16px; color: var(--navy); }
.feature-section.dark .quote { color: var(--gold); }
.split-text p { margin-bottom: 0.4rem; color: #55524c; }
.split-text > p { margin-bottom: 1rem; }
.split-text .btn { margin-top: 0.8rem; align-self: flex-start; }

/* Sport banner + inline fixtures */
.sport-banner { width: 100%; aspect-ratio: 16/6; overflow: hidden; }
.sport-banner img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(12%) contrast(1.05); }
@media (max-width: 800px) { .sport-banner { aspect-ratio: 4/3; } }

/* Fixtures */
.fixtures { padding: 48px 0; background: var(--ivory); }
.fixtures-inline { padding: 48px 0 56px; }
.fixtures-inline .btn { margin-top: 28px; }
.fixtures-inline .lead { color: rgba(246,242,235,0.75); }
.fixtures-inline .fixtures-table { background: rgba(255,255,255,0.03); }
.fixtures-inline .fixtures-row { border-bottom-color: rgba(255,255,255,0.08); }
.fixtures-inline .fixtures-event { color: var(--ivory); }
.fixtures-inline a.fixtures-row:hover { background: rgba(255,255,255,0.04); }
.fixtures-inline .fixtures-day { color: var(--ivory); }
.fixtures-inline .fixtures-time { color: rgba(246,242,235,0.6); }
.fixtures-inline .fixtures-note { color: rgba(246,242,235,0.4); }
.fixtures-table {
  margin-top: 32px;
  border: 1px solid rgba(31,48,94,0.15);
  border-radius: 8px;
  overflow: hidden;
}
.fixtures-row {
  display: grid;
  grid-template-columns: 52px 70px 140px 110px 1fr;
  gap: 16px;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(31,48,94,0.1);
}
.fixtures-row:last-child { border-bottom: none; }
a.fixtures-row {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
a.fixtures-row:hover { background: rgba(31,48,94,0.05); }
a.fixtures-row:hover .fixtures-event { color: var(--burgundy); }
.fixtures-head {
  background: var(--navy);
  color: var(--ivory);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 12px 20px;
}
.fixtures-day { font-weight: 700; color: var(--navy); }
.fixtures-time { color: #55524c; font-size: 0.88rem; }
.fixtures-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  width: fit-content;
}
/* Sport icons (static) */
.sport-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sport-icon svg { width: 20px; height: 20px; }
.icon-golf, .icon-rugby, .icon-racing, .icon-soccer, .icon-gaa {
  background: var(--gold);
  color: var(--navy);
}

.tag-golf { background: var(--green); color: var(--ivory); }
.tag-rugby { background: var(--burgundy); color: var(--ivory); }
.tag-racing { background: #7a5e17; color: var(--ivory); }
.tag-soccer { background: var(--navy); color: var(--ivory); }
.tag-gaa { background: var(--burgundy); color: var(--ivory); }
.fixtures-event { color: var(--charcoal); font-weight: 500; font-size: 0.94rem; }
.fixtures-score { font-weight: 700; color: var(--burgundy); }

a.fixtures-row.is-live { background: rgba(122,31,61,0.05); }
a.fixtures-row.is-past { opacity: 0.45; }
.fixtures-time .live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--burgundy);
  margin-right: 6px;
  animation: livePulse 1.4s ease-in-out infinite;
}
.is-live .fixtures-time { color: var(--burgundy); font-weight: 700; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.04em; }
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
.fixtures-note { color: #999; margin-top: 16px; }

/* Gallery */
.gallery { padding: 48px 0; background: var(--navy-deep); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 36px;
}
.gallery-grid img {
  aspect-ratio: 1/1;
  object-fit: cover;
  filter: grayscale(35%) contrast(1.1) brightness(0.92);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.gallery-grid img:hover { filter: grayscale(0%) contrast(1.05) brightness(1); transform: scale(1.02); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.gallery-note { text-align: center; color: rgba(246,242,235,0.4); font-size: 0.78rem; margin-top: 18px; font-style: italic; }

/* Testimonials */
.testimonials { padding: 48px 0; background: var(--ivory-dim); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(31,48,94,0.1);
  border-radius: 8px;
  padding: 28px;
}
.testimonial-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 14px;
}
.testimonial-author {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--burgundy);
  font-weight: 600;
}

/* Visit */
.visit { padding: 48px 0; background: var(--ivory); }
.visit .split { grid-template-columns: 1fr 1fr; min-height: auto; }
.visit .split-text { padding: 0 70px 0 0; }
.info-list { list-style: none; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: baseline; }
.info-list li { font-size: 0.95rem; line-height: 1.45; }
.info-list strong { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; color: var(--burgundy); margin-right: 8px; }
.info-list a { color: var(--navy); }
.info-list em { color: #999; font-size: 0.82rem; font-style: italic; }
.info-list .hours-line:not(:last-child)::after { content: ", "; }
.social-links { display: flex; gap: 14px; margin-top: 14px; }
.social-links a {
  color: var(--navy);
  border: 1px solid rgba(31,48,94,0.3);
  border-radius: 8px;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.social-links a:hover { border-color: var(--burgundy); color: var(--burgundy); }

/* Footer */
#site-footer { background: var(--navy-deep); color: var(--ivory); padding: 48px 0 24px; }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.footer-logo { align-items: center; margin-bottom: 12px; }
.footer-tagline { font-family: var(--font-head); font-style: italic; font-weight: 400; color: var(--gold); margin-bottom: 20px; font-size: 1.05rem; }
.footer-nav { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-nav a { color: rgba(246,242,235,0.75); text-decoration: none; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-nav a:hover { color: var(--gold); }
.copyright { font-size: 0.75rem; color: rgba(246,242,235,0.35); }

/* Responsive */
@media (max-width: 960px) {
  .spaces-grid { grid-template-columns: repeat(2, 1fr); }
  .more-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; min-height: auto; }
  .split.reverse .split-media { order: 1; }
  .split.reverse .split-text { order: 2; }
  .split-media img { min-height: 320px; }
  .split-text { padding: 64px 32px; }
  .visit .split-text { padding: 0 0 50px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  .fixtures-row { grid-template-columns: 40px 1fr 1fr; row-gap: 6px; }
  .sport-icon { width: 34px; height: 34px; }
  .fixtures-head { display: none; }
  .fixtures-event { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .spaces-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  #main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-deep);
    display: none;
    flex-direction: column;
    padding: 10px 32px 26px;
    border-top: 1px solid rgba(198,166,100,0.18);
  }
  #main-nav.open { display: flex; }
  #main-nav ul { flex-direction: column; gap: 18px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .header-actions .phone { display: none; }
  .info-list { flex-direction: column; gap: 16px; }
  .info-list li { display: block; }
  .info-list strong { display: block; margin-bottom: 4px; }
  .info-list .hours-line { display: block; }
  .info-list .hours-line::after { content: none; }
  #nav-toggle { display: flex; }
}
