:root {
  --navy: #163a8c;
  --navy-dark: #0b1f4d;
  --navy-darker: #071433;
  --white: #ffffff;
  --off-white: #f5f7fb;
  --gray: #5b6472;
  --gray-light: #e6e9f0;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-darker);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.15; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 18px rgba(11, 31, 77, 0.08);
  transition: height 0.25s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo {
  height: 52px;
  width: auto;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--navy-dark);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--navy);
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.phone-link {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-darker);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 20, 51, 0.72) 0%, rgba(7, 20, 51, 0.55) 45%, rgba(7, 20, 51, 0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cdd8f5;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--white);
}
.hero h1 span { color: #9fb3e8; }
.hero-tagline {
  max-width: 680px;
  margin: 26px auto 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #e4e9f7;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--white);
  color: var(--navy-dark);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 20px; }
}

/* ---------- Section shared ---------- */
section { padding: 96px 0; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-label.light { color: #9fb3e8; }
section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: var(--navy-darker);
  margin-bottom: 22px;
}

/* ---------- About ---------- */
.about { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-copy p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 54ch;
}
.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--navy);
}
.stat span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}
.about-media img {
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(11, 31, 77, 0.18);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* ---------- Services ---------- */
.services {
  background: linear-gradient(180deg, var(--navy-darker), var(--navy-dark));
  color: var(--white);
  text-align: center;
}
.services h2 { color: var(--white); }
.services-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 36px 30px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
}
.service-icon {
  width: 52px;
  height: 52px;
  color: #9fb3e8;
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--white);
}
.service-card p {
  color: #c3cce6;
  font-size: 0.95rem;
}

/* ---------- Area ---------- */
.area {
  background: var(--off-white);
  text-align: center;
}
.area-inner { max-width: 720px; margin: 0 auto; }
.area p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-top: 4px;
}

/* ---------- Sheep Draw ---------- */
.draw {
  background: var(--off-white);
  text-align: center;
}
.draw-page { padding-top: calc(var(--header-h) + 64px); }
section h1.page-title {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: var(--navy-darker);
  margin-bottom: 22px;
}
.nav a.active::after { width: 100%; }
.draw-intro {
  max-width: 720px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.05rem;
}
.draw-table-wrap { margin: 36px auto 0; max-width: 860px; overflow-x: auto; }
.draw-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.95rem;
}
.draw-table caption {
  caption-side: top;
  padding-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.draw-table th, .draw-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid var(--gray-light);
}
.draw-table thead th { background: var(--navy-darker); color: var(--white); font-size: 0.85rem; }
.draw-table tbody th { color: var(--navy); font-weight: 700; width: 56px; }
.draw-table td { color: var(--gray); white-space: nowrap; }
.draw-table td.is-nuttall { background: var(--navy); color: var(--white); font-weight: 700; }
.draw-table tr:last-child th, .draw-table tr:last-child td { border-bottom: 0; }
.draw-sub { margin: 56px 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.draw-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: left;
}
.draw-month {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 22px 20px 18px;
}
.draw-month h3 {
  font-size: 1.15rem;
  color: var(--navy-darker);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
}
.draw-month ul { list-style: none; margin: 0; padding: 0; }
.draw-month li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.92rem;
  color: var(--gray);
}
.draw-date { font-weight: 600; white-space: nowrap; }
.draw-host { text-align: right; white-space: nowrap; }
.draw-host strong { color: var(--navy); }
.draw-note {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: 0.85rem;
  color: var(--gray);
}
.btn-solid {
  margin-top: 26px;
  background: var(--navy);
  color: var(--white);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,31,77,0.25); }

/* ---------- Contact ---------- */
.contact {
  background: var(--navy-darker);
  color: var(--white);
}
.contact h2 { color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 26px;
  height: 26px;
  flex: none;
  color: #9fb3e8;
  margin-top: 2px;
}
.contact-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fb3e8;
  margin-bottom: 4px;
}
.contact-list a {
  color: var(--white);
  font-size: 1.02rem;
}
.contact-list a:hover { text-decoration: underline; }
.contact-team {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-sub {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  color: var(--white);
  margin: 0;
  text-align: center;
}
.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 56px;
  justify-items: center;
}
.team-list li {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.team-list .contact-icon { margin-top: 0; }

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  min-height: 360px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-darker);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-inner p {
  color: #9aa6c4;
  font-size: 0.85rem;
}
.footer-copy { opacity: 0.7; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { gap: 22px; }
  .phone-link { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .draw-grid { grid-template-columns: 1fr 1fr; }
  .about-media { order: -1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .draw-grid { grid-template-columns: 1fr; }
  .team-list { grid-template-columns: 1fr; }
  .draw-table { font-size: 0.72rem; }
  .draw-table th, .draw-table td { padding: 10px 2px; }
  .draw-table td { white-space: normal; }
  .draw-table tbody th { width: 36px; }
  .draw-table thead th { font-size: 0.7rem; }
  .brand-logo { height: 40px; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    box-shadow: 0 12px 20px rgba(11,31,77,0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--gray-light); }
  .phone-link { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  section { padding: 68px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
}
