/* ============================================
   Domhnall Group — Style Sheet
   Palette: Navy #0A1628 | Off-white #F8F9FA | Gold #C9A84C
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1A1A2E;
  background: #F8F9FA;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
p  { margin-bottom: 1rem; }

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0A1628;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #FFFFFF;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__shield {
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: #C9A84C;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
  background: #0A1628;
  color: #FFFFFF;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__tagline {
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.hero__tagline .accent {
  color: #C9A84C;
}

.hero__body {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 620px;
}

.hero__scroll {
  display: inline-block;
  margin-top: 3rem;
  color: #C9A84C;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.hero__scroll:hover {
  opacity: 0.7;
}

.hero__scroll::after {
  content: ' \2193';
}

/* --- Hero Wave Art (crashing wave silhouette) --- */
.hero__wave-art {
  position: absolute;
  left: -5%;
  bottom: 10%;
  width: 65%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

.hero__wave-art svg {
  width: 100%;
  height: auto;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

/* --- Hero Wave (bottom transition) --- */
.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.hero__wave svg {
  width: 100%;
  height: 180px;
}

/* --- Metrics --- */
.metrics {
  background: #0D1B30;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.metrics__grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  text-align: center;
}

.metrics__item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.metrics__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #C9A84C;
  line-height: 1.1;
}

.metrics__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* --- About --- */
.about {
  background: #F8F9FA;
  color: #1A1A2E;
}

.about__section {
  margin-bottom: 3.5rem;
}

.about__section:last-child {
  margin-bottom: 0;
}

.about h2 {
  color: #0A1628;
}

.about h3 {
  color: #0A1628;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.about__lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  max-width: 700px;
}

.about__list {
  list-style: none;
  padding: 0;
}

.about__list li {
  padding: 0.6rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

.about__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  background: #C9A84C;
  border-radius: 50%;
}

.about__list li strong {
  color: #0A1628;
}

.section-divider {
  margin-bottom: 2rem;
  line-height: 0;
}

.section-divider .celtic-knot {
  width: 200px;
  height: 20px;
  opacity: 0.85;
}

/* --- Criteria --- */
.criteria {
  background: #0A1628;
  color: #FFFFFF;
}

.criteria h2 {
  color: #FFFFFF;
}

.criteria__intro {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.criteria__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 700px;
}

.criteria__card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2rem;
}

.criteria__card h3 {
  color: #C9A84C;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.criteria__card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Contact --- */
.contact {
  background: #F8F9FA;
  color: #1A1A2E;
}

.contact h2 {
  color: #0A1628;
}

.contact__body {
  font-size: 1.05rem;
  color: #333;
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact__details {
  list-style: none;
}

.contact__details li {
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #333;
}

.contact__details a {
  color: #0A1628;
  text-decoration: none;
  border-bottom: 1px solid #C9A84C;
  transition: color 0.2s;
}

.contact__details a:hover {
  color: #C9A84C;
}

.contact__label {
  font-weight: 600;
  color: #0A1628;
}

/* --- Footer --- */
.footer {
  background: #0A1628;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.footer__etymology {
  color: #C9A84C;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer__social {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer__social:hover {
  color: #C9A84C;
}

.footer__privacy {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer__privacy:hover {
  color: #C9A84C;
}

.footer__copy {
  margin-bottom: 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  h1, .hero__tagline { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  section { padding: 4rem 0; }

  .hero__wave-art { display: none; }
  .hero__wave svg { height: 120px; }

  .metrics { padding: 2.5rem 0; }
  .metrics__grid { gap: 2rem; }
  .metrics__number { font-size: 2rem; }

  .criteria__grid { grid-template-columns: 1fr; }

  /* Nav mobile */
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0A1628;
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  }

  .nav__links.active {
    display: flex;
  }

  /* Hamburger animation */
  .nav__hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  h1, .hero__tagline { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .hero__body { font-size: 1rem; }

  .hero__wave svg { height: 80px; }

  .metrics__grid { flex-direction: column; gap: 1.5rem; }
  .metrics__number { font-size: 1.75rem; }

  .criteria__card { padding: 1.5rem; }
}
