/* ── SHARED STYLES — Herrahholme Working Dogs ─────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0A1F3D;
  --navy2: #0f2a50;
  --gold: #C9A84C;
  --gold2: #dfc06e;
  --cream: #F8F5EF;
  --cream2: #F0EBE1;
  --off: #f4f2ee;
  --grey: #5a5a5a;
  --lgrey: #888;
  --white: #fff;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1a1a1a; background: var(--white); margin: 0; }

/* ── NAV ───────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px;
  background: rgba(10,31,61,0.99);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(201,168,76,0.25);
}
.nav-logo { display: flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 52px; width: 52px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,0.92); padding: 2px; }
.nav-name { font-family: 'EB Garamond', serif; font-size: 15px; color: #fff; font-weight: 600; letter-spacing: 0.3px; line-height: 1.2; }
.nav-sub { font-size: 9px; color: var(--gold); letter-spacing: 1.8px; text-transform: uppercase; }

.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links li a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  display: block;
  white-space: nowrap;
}
.nav-links li a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links li a.active { color: var(--gold); background: rgba(201,168,76,0.1); }
.nav-links li a.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  margin-left: 8px;
}
.nav-links li a.nav-cta:hover { background: var(--gold2) !important; }
.nav-links li a.nav-cta.active { background: var(--gold2) !important; color: var(--navy) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border: none; background: none;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(10,31,61,0.99);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  z-index: 199; flex-direction: column; padding: 12px 20px 20px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 15px; font-weight: 500; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a.active { color: var(--gold); }
.nav-drawer a.cta { color: var(--gold); font-weight: 700; }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: #060f1e;
  padding: 36px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-brand { font-family: 'EB Garamond', serif; font-size: 20px; color: var(--gold); grid-column: 1; }
.footer-links { display: flex; gap: 20px; grid-column: 2; grid-row: 1 / 3; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 12px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); grid-column: 1; }

/* ── TICKER ─────────────────────────────────────────────────── */
.ticker {
  background: var(--gold); height: 42px;
  overflow: hidden; display: flex; align-items: center;
}
.ticker-inner { display: flex; animation: ticker 32s linear infinite; white-space: nowrap; }
.ticker-item {
  font-size: 10.5px; font-weight: 700; color: var(--navy);
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0 32px;
}
.ticker-item::after { content: ' ·'; opacity: 0.35; padding-left: 32px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION BASE ───────────────────────────────────────────── */
section { padding: 88px 24px; }
.container { max-width: 1060px; margin: 0 auto; }
.eyebrow { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.section-h { font-family: 'EB Garamond', serif; font-size: clamp(26px, 3.5vw, 44px); font-weight: 600; color: var(--navy); line-height: 1.12; margin-bottom: 16px; }
.section-h.light { color: #fff; }
.section-p { font-size: 15px; color: var(--grey); line-height: 1.85; max-width: 640px; }
.section-p.light { color: rgba(255,255,255,0.6); }
.rule { width: 40px; height: 3px; background: var(--gold); margin-bottom: 26px; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-gold {
  background: var(--gold); color: var(--navy);
  padding: 13px 28px; border-radius: 2px;
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.5px;
  text-decoration: none; text-transform: uppercase; display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-gold:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.35); color: #fff;
  padding: 13px 28px; border-radius: 2px;
  font-weight: 500; font-size: 12.5px; letter-spacing: 0.3px;
  text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy {
  background: var(--navy); color: #fff;
  padding: 13px 28px; border-radius: 2px;
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.5px;
  text-decoration: none; text-transform: uppercase; display: inline-block;
  transition: background 0.2s;
}
.btn-navy:hover { background: var(--gold); color: var(--navy); }

/* ── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  min-height: 46vh;
  background: var(--navy);
  display: flex; align-items: flex-end;
  padding: 100px 48px 52px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.2; z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,31,61,0.85) 0%, transparent 60%);
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 1; max-width: 680px; }
.page-hero .eyebrow { color: var(--gold); margin-bottom: 10px; }
.page-hero h1 { font-family: 'EB Garamond', serif; font-size: clamp(32px, 5vw, 58px); color: #fff; font-weight: 600; line-height: 1.1; margin-bottom: 14px; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.62); line-height: 1.7; max-width: 520px; }

/* ── CONTACT FORM (shared) ──────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgroup { display: flex; flex-direction: column; gap: 5px; }
label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lgrey); font-weight: 600; }
input, select, textarea {
  background: var(--white); border: 1px solid #ddd;
  color: #1a1a1a; padding: 11px 14px; font-size: 14px;
  font-family: 'Inter', sans-serif; border-radius: 1px;
  transition: border-color 0.2s; outline: none; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { resize: vertical; min-height: 100px; }
.submit-btn {
  background: var(--navy); color: #fff; border: none;
  padding: 14px 32px; font-size: 12.5px; font-weight: 700;
  font-family: 'Inter', sans-serif; cursor: pointer;
  letter-spacing: 1px; text-transform: uppercase;
  transition: background 0.2s; border-radius: 1px; width: 100%;
}
.submit-btn:hover { background: var(--gold); color: var(--navy); }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade { animation: fadeUp 0.65s ease both; }
.fade-1 { animation-delay: 0.1s; }
.fade-2 { animation-delay: 0.2s; }
.fade-3 { animation-delay: 0.3s; }
.fade-4 { animation-delay: 0.42s; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  nav { padding: 0 16px; height: 64px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo img { height: 46px; width: 46px; background: rgba(255,255,255,0.95); padding: 3px; }
  .nav-name { font-size: 14px; }
  .nav-sub { display: none; }
  section { padding: 60px 20px; }
  .page-hero { padding: 82px 24px 40px; }
  footer { grid-template-columns: 1fr; padding: 28px 24px; }
  .footer-links { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .nav-logo img { height: 40px; width: 40px; }
  .nav-name { font-size: 12.5px; }
}
