/* ═══════════════════════════════════════════
   STATESIDE IMPORTS — Global Styles
   ═══════════════════════════════════════════ */

@font-face {
  font-family: 'Apris';
  src: url('../fonts/Apris-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep: #03191E;
  --mid: #1A3A42;
  --white: #FFFFFF;
  --warm-white: #F8F6F3;
  --light-teal: #E8EFEF;
  --copper: #B87333;
  --copper-light: #D4956B;
  --slate: #5A6B6E;
  --soft: #A3B5B8;
  --font-display: 'Apris', 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── SPLASH SCREEN ── */
.splash {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  animation: splashFadeIn 1s ease-out 0.3s forwards;
}

.splash-divider {
  width: 0;
  height: 1px;
  background: var(--copper);
  margin: 16px auto;
  animation: splashLineGrow 0.8s ease-out 0.8s forwards;
}

.splash-sub {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--soft);
  opacity: 0;
  animation: splashFadeIn 0.6s ease-out 1.2s forwards;
}

@keyframes splashFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes splashLineGrow {
  from { width: 0; }
  to { width: 60px; }
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(3, 25, 30, 0.97);
  padding: 14px 50px;
  box-shadow: 0 2px 30px rgba(3, 25, 30, 0.15);
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white) !important;
  padding: 10px 24px;
  border: 1px solid var(--copper);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--copper);
  color: var(--white) !important;
}

.nav-cta::after { display: none !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(184, 115, 51, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 30%, rgba(163, 181, 184, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 2em;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.5em;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.4s forwards;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--soft);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5em;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.6s forwards;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  padding: 16px 44px;
  border: 1px solid var(--copper);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.8s forwards;
}

.hero-cta:hover {
  background: var(--copper);
  color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.2s forwards;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--copper), transparent);
  margin: 0 auto;
}

/* ── SECTIONS ── */
.section {
  padding: 100px 50px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.2em;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 0.6em;
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.75;
  max-width: 580px;
}

/* Dark section variant */
.section-dark {
  background: var(--deep);
}

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

.section-dark .section-subtitle {
  color: var(--soft);
}

/* Warm section variant */
.section-warm {
  background: var(--warm-white);
}

/* ── SERVICES GRID (homepage preview) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  padding: 40px 30px;
  border: 1px solid var(--light-teal);
  border-radius: 2px;
  transition: all 0.4s ease;
}

.service-card:hover {
  border-color: var(--copper);
  box-shadow: 0 8px 40px rgba(3, 25, 30, 0.06);
  transform: translateY(-4px);
}

.service-icon {
  width: 36px;
  height: 1px;
  background: var(--copper);
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--deep);
  margin-bottom: 12px;
}

.service-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 60px;
  counter-reset: step;
}

.step {
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3.5rem;
  color: rgba(184, 115, 51, 0.4);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 10px;
}

.step p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--soft);
  line-height: 1.7;
}

/* ── DIFFERENTIATORS ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.diff-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.diff-line {
  width: 1px;
  min-height: 50px;
  background: var(--copper);
  flex-shrink: 0;
  margin-top: 4px;
}

.diff-item h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--deep);
  margin-bottom: 6px;
}

.diff-item p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--deep);
  padding: 100px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(184, 115, 51, 0.04) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.4em;
}

.cta-banner p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--soft);
  margin-bottom: 2em;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner a {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  padding: 16px 44px;
  border: 1px solid var(--copper);
  transition: all 0.3s ease;
}

.cta-banner a:hover {
  background: var(--copper);
}

/* ── FOOTER ── */
.footer {
  background: var(--deep);
  border-top: 1px solid rgba(163, 181, 184, 0.08);
  padding: 50px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  color: var(--soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-twl {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(163, 181, 184, 0.3);
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(163, 181, 184, 0.6);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(163, 181, 184, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.7rem;
  color: rgba(163, 181, 184, 0.3);
}

/* ── CONTACT FORM ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  max-width: 700px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--deep);
  padding: 14px 16px;
  border: 1px solid var(--light-teal);
  border-radius: 2px;
  background: var(--white);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--copper);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--deep);
  padding: 16px 44px;
  border: 1px solid var(--deep);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.form-submit:hover {
  background: var(--copper);
  border-color: var(--copper);
}

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--deep);
  padding: 160px 50px 80px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 0.3em;
}

.page-hero p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--soft);
  max-width: 520px;
  line-height: 1.7;
}

.page-hero .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── ABOUT CONTENT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
  align-items: start;
}

.about-text h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--deep);
  margin-bottom: 16px;
}

.about-text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  list-style: none;
  margin-top: 30px;
}

.about-values li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.about-values li::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--copper);
  flex-shrink: 0;
  margin-top: 10px;
}

.about-values li span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav { padding: 16px 28px; }
  .nav.scrolled { padding: 12px 28px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--deep);
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 99;
  }

  .nav-links.open a {
    font-size: 1rem;
    color: var(--white);
  }

  .hero { padding: 120px 28px 80px; }
  .section { padding: 70px 28px; }
  .page-hero { padding: 130px 28px 60px; }

  .services-grid,
  .steps { grid-template-columns: 1fr; gap: 30px; }

  .diff-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .cta-banner { padding: 70px 28px; }
}
