:root {
  --navy: #212d48;
  --gold: #c39319;
  --gold-soft: #d8b15b;
  --white: #ffffff;
  --ivory: #f8f5ef;
  --sand: #efe7d9;
  --text: #272421;
  --muted: #635d54;
  --border: rgba(33, 45, 72, 0.14);
  --shadow: 0 20px 55px rgba(20, 28, 46, 0.10);
  --container: 1220px;
  --transition: 280ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a.button { font: inherit; }
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 0.8rem 1rem;
}

:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  box-shadow: 0 0 0 3px rgba(216, 177, 91, 0.3);
}
.container { width: min(calc(100% - 2.25rem), var(--container)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(33, 45, 72, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(10, 16, 28, 0.14);
}
.nav-shell { position: relative; }
.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 96px;
  gap: 1rem;
}
.nav-group { display: flex; align-items: center; gap: 1.2rem; }
.nav-group-left { justify-content: flex-end; padding-right: 0.75rem; }
.nav-group-right { justify-content: flex-start; padding-left: 0.75rem; }
.site-nav a {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
}
.nav-logo { justify-self: center; }
.nav-logo img {
  width: min(360px, 100%);
  max-height: 48px;
  object-fit: contain;
}
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent; border-radius: 999px;
  padding: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-menu {
  display: none;
  padding: 0 0 1.15rem;
  flex-direction: column;
  gap: 0.8rem;
}
.mobile-menu a {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.79rem;
}

.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 860px);
  display: flex;
  align-items: center;
}
.hero-image-wrap,
.hero-image-wrap img,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(22,29,45,0.20) 0%, rgba(22,29,45,0.30) 50%, rgba(22,29,45,0.40) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; color: var(--white);
  padding: 7rem 0 5rem;
  max-width: 920px;
}
.eyebrow {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  color: var(--white);
  font-weight: 700;
}
.eyebrow-light { color: rgba(255,255,255,0.78); }

h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0.01em;
}
h1 {
  font-size: clamp(3.2rem, 6.3vw, 5.65rem);
  text-shadow: 0 8px 30px rgba(0,0,0,0.16);
}
.hero-subheadline {
  margin: 1rem auto 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.06rem, 1.7vw, 1.65rem);
  line-height: 1.45;
}
.hero-actions,
.builder-actions,
.contact-actions {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.9rem;
}
.hero-actions { margin-top: 2rem; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0.95rem 1.55rem;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.button:hover, .button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(18,26,42,0.12);
}
.button-gold {
  background: linear-gradient(135deg, #8c6510 0%, #b88710 16%, #c39319 34%, #f0d37b 50%, #c39319 66%, #b88710 84%, #8c6510 100%);
  background-size: 200% 200%;
  color: var(--white);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 12px 24px rgba(123, 90, 16, 0.22);
  position: relative;
  overflow: hidden;
}
.button-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.26) 28%, transparent 48%);
  transform: translateX(-140%);
  transition: transform 700ms ease;
  pointer-events: none;
}
.button-gold:hover::before,
.button-gold:focus-visible::before {
  transform: translateX(140%);
}
.button-gold:hover, .button-gold:focus-visible {
  background-position: 100% 50%;
  box-shadow: 0 16px 30px rgba(123, 90, 16, 0.28);
}
.button-navy { background: var(--navy); color: var(--white); }
.button-outline { border-color: rgba(255,255,255,0.55); color: var(--white); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { background: rgba(255,255,255,0.08); }
.button-outline-light { border-color: rgba(255,255,255,0.45); color: var(--white); }
.button-small { min-height: 46px; padding-inline: 1.15rem; }
.button-full { width: 100%; }
.button-primary { background: var(--gold); color: var(--white); }

.section { padding: 5.4rem 0; }
.section-collections { background: var(--ivory); }

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.8rem;
}
.section-heading h2 {
  text-align: center;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  color: var(--navy);
}
.section-line {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(195,147,25,0.45) 100%);
}
.section-line:last-child {
  background: linear-gradient(90deg, rgba(195,147,25,0.45) 0%, transparent 100%);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.collection-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1.1rem;
  align-content: stretch;
}
.collection-copy {
  padding: 0 0.15rem;
  display: flex;
  flex-direction: column;
}
.collection-copy h3,
.solution-card h3,
.about-copy h2,
.contact-copy h2,
.cta-panel h2,
.builder-copy h2,
.legal-content h2,
.legal-hero h1 {
  color: var(--navy);
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
}
.collection-tagline,
.solution-partner,
.contact-label,
.collection-note {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}
.collection-copy p,
.solution-card p,
.about-copy p,
.contact-copy p,
.contact-item p,
.footer-brand p,
.footer-links a,
.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.97rem;
}
.collection-image {
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #eee;
}
.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  margin: 0.95rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.solutions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: start;
}
.intro-panel h2,
.builder-copy h2,
.cta-panel h2,
.contact-copy h2,
.about-copy h2 {
  font-size: clamp(2rem, 3.3vw, 3.1rem);
}
.intro-panel p,
.builder-copy p,
.cta-panel p,
.contact-copy p,
.about-copy p {
  max-width: 66ch;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.solution-card,
.stat-card,
.contact-card,
.legal-content {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.solution-card { padding: 1.7rem; }

.section-builders {
  background: linear-gradient(135deg, #202d48 0%, #2f4066 100%);
}
.builder-panel {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
.builder-copy { max-width: 840px; }
.builder-copy h2, .builder-copy p { color: var(--white); }

.section-gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}
.gallery-item {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  background: #eee;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33,45,72,0.02) 0%, rgba(33,45,72,0.44) 100%);
}
.gallery-label {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  z-index: 1;
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: start;
}
.about-stats { display: grid; gap: 0.9rem; }
.stat-card { padding: 1.4rem; }
.stat-card strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  margin-bottom: 0.4rem;
}
.stat-card span { color: var(--muted); font-size: 0.97rem; }

.section-cta { padding-top: 0; }
.cta-panel {
  background: linear-gradient(180deg, rgba(195,147,25,0.12) 0%, rgba(195,147,25,0.08) 100%);
  border: 1px solid rgba(195,147,25,0.22);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.section-contact { padding-top: 1.4rem; }
.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  height: 100%;
}
.contact-card {
  padding: 1.9rem;
}
.contact-item + .contact-item { margin-top: 0.9rem; }
.contact-label { display: inline-block; margin-bottom: 0.2rem; }
.contact-card a:not(.button),
.footer-links a,
.legal-content a { color: var(--navy); }
.contact-actions {
  justify-content: flex-start;
  margin-top: 1.35rem;
}
.contact-image-wrap {
  height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #eee;
}
.contact-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}
.button-outline:not(.button-small):not(.button-outline-light) {
  color: var(--navy);
  border-color: rgba(33,45,72,0.22);
}
.button-outline:not(.button-small):not(.button-outline-light):hover,
.button-outline:not(.button-small):not(.button-outline-light):focus-visible {
  background: rgba(33,45,72,0.05);
}

.section-powered-by {
  padding-top: 0;
  background: linear-gradient(180deg, #2b395b 0%, #212d48 100%);
}
.powered-by-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
}
.powered-by-copy h2,
.powered-by-copy p {
  color: var(--white);
}
.powered-by-copy h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}
.powered-by-copy p:last-child {
  color: rgba(255,255,255,0.82);
  max-width: 62ch;
}
.powered-by-actions {
  display: flex;
  justify-content: flex-end;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 3.7rem 0 2.3rem;
}
.footer-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.75rem;
}
.footer-logo-link img {
  width: min(280px, 100%);
  margin-bottom: 1rem;
}
.footer-brand p,
.footer-links li,
.footer-links a,
.footer-links h3 {
  color: rgba(255,255,255,0.88);
}
.footer-links h3 {
  font-size: 0.96rem;
  margin-bottom: 0.8rem;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: 0.55rem; }
.footer-note { color: rgba(255,255,255,0.66) !important; font-size: 0.9rem; }

.back-to-top {
  position: fixed;
  right: 1.2rem; bottom: 1.2rem;
  width: 52px; height: 52px;
  border: 0; border-radius: 999px;
  background: var(--gold); color: var(--navy);
  font-size: 1.4rem;
  box-shadow: 0 14px 26px rgba(14,22,36,0.2);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
  cursor: pointer; z-index: 45;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover, .back-to-top:focus-visible { background: #c39319; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .button-gold::before {
    display: none;
  }
}


.legal-page { background: var(--ivory); }
.site-header-legal { position: sticky; }
.legal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 94px;
}
.legal-logo img {
  width: min(320px, 100%);
  max-height: 52px;
}
.legal-nav-links { display: flex; gap: 1rem; align-items: center; }
.legal-main { padding-bottom: 3rem; }
.legal-hero { padding: 4.6rem 0 1rem; }
.legal-hero h1 { color: var(--navy); margin-bottom: 0.75rem; }
.legal-content-section { padding-top: 1rem; }
.legal-content { padding: 2.2rem; }
.legal-content h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  font-size: 1.55rem;
}
.legal-footer-layout { grid-template-columns: 1.5fr 1fr; }

@media (max-width: 1180px) {
  .nav-group { gap: 0.9rem; }
  .nav-group-left { padding-right: 0.5rem; }
  .nav-group-right { padding-left: 0.5rem; }
  .site-nav a { font-size: 0.68rem; }
  .nav-logo img { width: min(320px, 100%); }
  .collection-grid, .gallery-grid, .footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .site-nav {
    grid-template-columns: auto 1fr;
    min-height: 82px;
  }
  .nav-toggle {
    display: inline-block;
    order: 2;
    justify-self: end;
  }
  .nav-logo { justify-self: start; }
  .nav-logo img {
    width: min(290px, 100%);
    max-height: 46px;
  }
  .mobile-menu.open { display: flex; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .solutions-layout,
  .about-layout,
  .contact-layout,
  .footer-layout,
  .legal-footer-layout,
  .powered-by-panel {
    grid-template-columns: 1fr;
    display: grid;
  }
  .contact-image-wrap {
    min-height: 360px;
  }
  .contact-image-wrap img {
    min-height: 360px;
  }
  .cta-panel {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: start;
  }
  .solutions-grid,
  .collection-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .collection-image,
  .gallery-item { min-height: 0; }
  .legal-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
  }
  .legal-nav-links { flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 1rem), var(--container)); }
  .section { padding: 4rem 0; }
  .hero { min-height: 590px; }
  .hero-content { padding-top: 5.2rem; padding-bottom: 4rem; }
  h1 { font-size: clamp(2.55rem, 10vw, 3.65rem); }
  .hero-subheadline { font-size: 1rem; max-width: 30rem; }
  .hero-actions,
  .builder-actions,
  .contact-actions,
  .powered-by-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .button,
  .button-small { width: 100%; }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-bottom: 2rem;
  }
  .section-line { display: none; }
  .contact-card,
  .solution-card,
  .stat-card,
  .legal-content,
  .cta-panel { padding: 1.4rem; }
  .contact-image-wrap { min-height: 300px; }
  .contact-image-wrap img { min-height: 300px; }
  .site-footer { padding-top: 3rem; }
  .footer-logo-link img,
  .legal-logo img,
  .nav-logo img { width: min(240px, 100%); }
  .gallery-label { font-size: 1rem; }
}

@media (max-width: 480px) {
  .site-nav { min-height: 76px; }
  .nav-logo img { width: min(215px, 100%); max-height: 42px; }
  .hero { min-height: 540px; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; }
  .button { min-height: 50px; padding: 0.9rem 1.2rem; font-size: 0.7rem; }
  .collection-copy p,
  .solution-card p,
  .about-copy p,
  .contact-copy p,
  .contact-item p,
  .feature-list,
  .stat-card span,
  .legal-content p,
  .legal-content li {
    font-size: 0.94rem;
  }
}
