/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-gold {
  background: var(--gold-500);
  color: #201a08;
}

.btn-gold:hover {
  background: var(--gold-300);
  color: #201a08;
}

.btn-navy {
  background: var(--navy-800);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-600);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
  padding: 0.9rem 1.7rem;
  font-size: 1.05rem;
}

/* Header */
.site-header {
  background: var(--navy-900);
  color: #cdd5e1;
  border-bottom: 3px solid var(--gold-500);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}

.site-brand:hover {
  color: var(--white);
}

.site-logo {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  color: var(--gold-500);
}

.site-name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--white);
}

.site-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  color: var(--white);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  border-color: var(--gold-300);
}

.nav-toggle .bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  margin: 3px auto;
  border-radius: 2px;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list > li {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 0.55rem 0.7rem;
  color: #dfe6f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-list > li > a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-list > li > a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--gold-500);
  margin-top: 2px;
  border-radius: 2px;
}

.nav-drop {
  display: flex;
  align-items: center;
}

.sub-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: 0.15rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  color: var(--white);
  cursor: pointer;
  padding: 0;
}

.sub-toggle:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
}

.sub-toggle svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.has-dropdown.is-open .sub-toggle svg {
  transform: rotate(180deg);
}

.has-dropdown > .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 60;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
}

.dropdown a:hover {
  background: var(--neutral);
  color: var(--navy-600);
}

.header-cta {
  margin-left: 0.75rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.93rem;
  flex: 0 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--neutral);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding-block: 0.7rem;
  font-size: 0.88rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--navy-600);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--muted);
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(182, 146, 58, 0.35), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #dfe6f0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.35em;
}

.hero .hero-sub {
  font-size: 1.15rem;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-facts .fact-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-300);
}

.hero-facts dd {
  margin: 0;
  display: grid;
  gap: 0.15rem;
}

.hero-facts .fact-label {
  font-size: 0.82rem;
  color: #9fb0c6;
}

.hero-media {
  position: relative;
}

.hero-media figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-media img {
  width: 100%;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: rgba(13, 22, 38, 0.85);
  color: #dfe6f0;
  font-size: 0.82rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-media {
  overflow: hidden;
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.card-body h3 {
  margin: 0;
}

.card-body p {
  margin: 0;
  flex: 1;
}

.card-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--navy-600);
}

.card-link:hover {
  color: var(--gold-600);
}

.card-list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card-list .card {
  padding: 1.5rem;
}

/* Feature / tick lists */
.tick-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.6rem;
}

.tick-list li {
  padding-left: 1.9rem;
  position: relative;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--gold-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.5 6.5 11 12 5.5' stroke='%23201a08' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 0.85rem;
  background-position: center;
  background-repeat: no-repeat;
}

/* Two column content split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}

.split-flip .split-media {
  order: 2;
}

.split-media figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.split-media figcaption {
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.split-media img {
  width: 100%;
}

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.stat {
  border-left: 3px solid var(--gold-500);
  padding-left: 1rem;
}

.stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-900);
}

.section-dark .stat-value {
  color: var(--white);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.section-dark .stat-label {
  color: #9fb0c6;
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(182, 146, 58, 0.3), transparent 60%),
    var(--navy-800);
  color: #dfe6f0;
}

.cta-band h2 {
  color: var(--white);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* FAQ */
.faq-list {
  max-width: 52rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: var(--white);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-q {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1rem 1.15rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q:hover {
  color: var(--gold-600);
}

.faq-icon {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold-500);
  transition: transform 0.2s ease;
}

.faq-item[data-open="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 1.15rem 1.1rem;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

.faq-item[data-open="true"] .faq-a {
  display: block;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

caption {
  text-align: left;
  font-weight: 600;
  color: var(--navy-900);
  padding-bottom: 0.6rem;
}

th,
td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--neutral);
  color: var(--navy-900);
  font-weight: 600;
}

/* Badges */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--neutral);
  border: 1px solid var(--line);
  color: var(--navy-700);
  font-size: 0.82rem;
  font-weight: 600;
}

/* Material accents */
.mat-brass {
  border-top: 4px solid var(--gold-500);
}

.mat-copper {
  border-top: 4px solid var(--copper);
}

.mat-aluminium {
  border-top: 4px solid var(--silver);
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: #9fb0c6;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-block: 3rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: #9fb0c6;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-300);
  text-decoration: underline;
}

.footer-about {
  max-width: 22rem;
}

.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  margin-bottom: 0.45rem;
}

.footer-contact a {
  color: var(--gold-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* Page hero (inner pages) */
.page-hero {
  background:
    radial-gradient(800px 300px at 90% 0%, rgba(182, 146, 58, 0.3), transparent 55%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #dfe6f0;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.4em;
}

.page-hero .lead {
  color: #cdd5e1;
  max-width: 46rem;
}

.page-hero .page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Figure + content */
figure.featured {
  margin-bottom: 2rem;
}

.featured figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.6rem 0.2rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 0.25rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step h3 {
  margin-bottom: 0.35rem;
}

.step p {
  margin: 0;
}
