/* ============================================================
   Flight Incorporated — Global Stylesheet
   Design: Warm white and cream palette with gold accents,
   architectural spacing, and refined typography (Inter).
   ============================================================ */

:root {
  --white:       #ffffff;
  --cream:       #faf8f5;
  --stone:       #e8e4de;
  --text:        #1a1a1a;
  --text-mid:    #4a4640;
  --text-light:  #8a8580;
  --gold:        #b39a6a;
  --gold-hover:  #9a8355;
  --gold-dim:    rgba(179, 154, 106, 0.10);
  --border:      rgba(26, 26, 26, 0.08);
  --border-mid:  rgba(26, 26, 26, 0.12);
  --nav-height:  80px;
  --section-pad: clamp(5rem, 10vw, 9rem);
  --gutter:      clamp(2rem, 5vw, 8vw);
  --max-w:       1200px;
}

/* ---------- Reset ---------- */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}

p {
  color: var(--text-mid);
}

/* ---------- Utility ---------- */

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.eyebrow.eyebrow-dark {
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- Scroll Reveal Animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for child elements within a group */
.reveal-stagger .reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible .reveal-child {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible .reveal-child:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible .reveal-child:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible .reveal-child:nth-child(3) { transition-delay: 0.24s; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--gutter);
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 40px rgba(0,0,0,0.04);
}

.logo {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text);
}

.logo span {
  color: var(--gold);
}

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

.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  position: relative;
}

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

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

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

.header-contact {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.header-phone {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.header-cta {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.55rem 1.4rem;
  transition: all 0.25s ease;
}

.header-cta:hover {
  background: var(--gold);
  color: var(--white);
}

/* Hamburger Toggle (visible on tablet/mobile) */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile Navigation Overlay */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 2.2rem;
  color: var(--text);
}

.mobile-nav a:hover {
  color: var(--gold);
}

.mobile-nav .mobile-phone {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-top: 2rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 1rem 2.4rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-mid);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--white);
}

/* ---------- Hero Scroll Sequence ---------- */

/* Outer wrapper: sets scroll height (200vh = 1 viewport of
   sticky image + 1 viewport of scrollable travel for the parallax) */
.hero-sequence {
  position: relative;
  height: 250vh;
  background: var(--white);
}

/* Pinned frame: sticks to top while user scrolls through hero-sequence */
.hero-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #1a1a2e;
}

/* Background image: natural size, vignette edges to dark */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  -webkit-mask-image:
    radial-gradient(ellipse 65% 70% at 50% 50%,
      rgba(0,0,0,1) 25%,
      rgba(0,0,0,0.85) 40%,
      rgba(0,0,0,0.5) 55%,
      rgba(0,0,0,0.15) 70%,
      rgba(0,0,0,0) 82%);
  mask-image:
    radial-gradient(ellipse 65% 70% at 50% 50%,
      rgba(0,0,0,1) 25%,
      rgba(0,0,0,0.85) 40%,
      rgba(0,0,0,0.5) 55%,
      rgba(0,0,0,0.15) 70%,
      rgba(0,0,0,0) 82%);
}

/* Brand text — starts below, scrolls up through the scene */
.hero-brand {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(45vh);
  will-change: transform;
  pointer-events: none;
}

.hero-brand-text {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 5.2vw;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--white);
  text-shadow:
    0 0 120px rgba(0,0,0,0.6),
    0 0 60px rgba(0,0,0,0.4),
    0 2px 20px rgba(0,0,0,0.5),
    0 1px 3px rgba(0,0,0,0.3);
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}

.hero-pipe {
  color: var(--gold);
  margin: 0 0.12em;
  text-shadow:
    0 0 80px rgba(179,154,106,0.5),
    0 0 40px rgba(179,154,106,0.3),
    0 2px 20px rgba(0,0,0,0.5);
}

/* Foreground: duplicate image masked to the airplane area.
   Sits above the brand text so letters peek BEHIND the jet. */
.hero-fg {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-fg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  /* Tighter mask: just the jet area, for the peek-behind effect */
  -webkit-mask-image:
    radial-gradient(ellipse 45% 40% at 50% 50%,
      rgba(0,0,0,1) 20%,
      rgba(0,0,0,0.6) 45%,
      rgba(0,0,0,0) 70%);
  mask-image:
    radial-gradient(ellipse 45% 40% at 50% 50%,
      rgba(0,0,0,1) 20%,
      rgba(0,0,0,0.6) 45%,
      rgba(0,0,0,0) 70%);
}

/* Bottom fade: blends the pinned hero into white section below */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  z-index: 4;
  opacity: 0;
  background: linear-gradient(0deg,
    #ffffff 0%,
    rgba(255,255,255,0.92) 25%,
    rgba(255,255,255,0.5) 55%,
    rgba(255,255,255,0) 100%);
  pointer-events: none;
  will-change: opacity;
}

/* Scroll hint: subtle animated chevron */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  opacity: 1;
  will-change: opacity;
  pointer-events: none;
}

.hero-scroll-hint span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 1.5px solid rgba(255,255,255,0.6);
  border-bottom: 1.5px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* Header: transparent when over hero */
.site-header.header-hero {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.site-header.header-hero .logo {
  color: var(--white);
}

.site-header.header-hero .nav-links a {
  color: rgba(255,255,255,0.7);
}

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

.site-header.header-hero .nav-links a::after {
  background: var(--gold);
}

.site-header.header-hero .header-phone {
  color: rgba(255,255,255,0.6);
}

.site-header.header-hero .header-cta {
  color: var(--gold);
  border-color: rgba(255,255,255,0.3);
}

.site-header.header-hero .header-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.site-header.header-hero .menu-toggle span {
  background: var(--white);
}

/* ---------- Hero (standard — for about/contact) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter);
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--cream);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(250,248,245,1) 0%, rgba(250,248,245,0.6) 30%, rgba(250,248,245,0) 55%),
    linear-gradient(90deg, rgba(250,248,245,0.85) 0%, rgba(250,248,245,0) 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero .lede {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.intro-section .hero-ctas {
  margin-top: 2.5rem;
}

/* Short Hero Variant (About, Contact, Insights pages) */

.hero-short {
  min-height: 60vh;
  align-items: center;
  background: var(--cream);
}

.hero-short .hero-content {
  padding-bottom: 0;
  padding-top: 2rem;
}

.hero-short .hero-image img {
  object-position: center center;
}

.hero-short .hero-image::after {
  background:
    linear-gradient(0deg, rgba(250,248,245,0.9) 0%, rgba(250,248,245,0.5) 40%, rgba(250,248,245,0.1) 80%),
    linear-gradient(90deg, rgba(250,248,245,0.9) 0%, rgba(250,248,245,0.2) 60%);
}

/* ---------- Section: Intro / Tagline ---------- */

.intro-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--white);
}

.intro-inner {
  max-width: 680px;
}

.intro-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.intro-inner p {
  font-size: 1.1rem;
  line-height: 1.85;
}

.intro-inner .lede {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 540px;
}

/* Intro Variant: Parallax Image on Right (Homepage) */
.intro-with-image {
  position: relative;
  overflow: hidden;
}

.intro-with-image .intro-inner {
  position: relative;
  z-index: 2;
}

.intro-parallax-img {
  position: absolute;
  right: 5%;
  top: 55%;
  transform: translateY(calc(-50% + 80px));
  width: 42%;
  height: 80%;
  z-index: 1;
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
}

.intro-parallax-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
}

.intro-parallax-img::after {
  content: '';
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
    transparent 10%,
    rgba(255,255,255,0.15) 22%,
    rgba(255,255,255,0.4) 32%,
    rgba(255,255,255,0.65) 40%,
    rgba(255,255,255,0.85) 48%,
    rgba(255,255,255,0.95) 55%,
    var(--white) 62%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .intro-parallax-img {
    width: 80%;
    right: -5%;
    opacity: 0;
  }

  .intro-parallax-img::after {
    inset: -15%;
    background: radial-gradient(ellipse 55% 45% at 50% 50%,
      rgba(255,255,255,0.4) 0%,
      rgba(255,255,255,0.6) 20%,
      rgba(255,255,255,0.8) 35%,
      rgba(255,255,255,0.93) 45%,
      var(--white) 55%);
  }
}

/* ---------- Section: Three-Column Services ---------- */

.services-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--cream);
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.services-header {
  margin-bottom: 4rem;
}

.services-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 460px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-card {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-top: 1px solid var(--border-mid);
  position: relative;
}

.service-card:first-child { padding-left: 0; }

.service-card:not(:first-child) {
  padding-left: 2.5rem;
}

.service-card:not(:last-child) {
  border-right: 1px solid var(--border);
  padding-right: 2.5rem;
}

.service-num {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-mid);
}

/* ---------- Parallax Image Band ---------- */

.parallax-band {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-band .parallax-bg {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.parallax-band .parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(26, 26, 26, 0.45);
}

.parallax-band .parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  padding: 2rem var(--gutter);
}

.parallax-band .parallax-content .eyebrow {
  color: var(--gold);
}

.parallax-band .parallax-content .eyebrow.eyebrow-dark {
  color: var(--text);
}

.parallax-band .parallax-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.parallax-band .parallax-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.parallax-band .parallax-content .btn-gold:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--text);
}

/* Short Parallax Band Variant (About page) */
.parallax-band.parallax-short {
  height: 50vh;
  min-height: 360px;
}

/* ---------- Section: Split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.split-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-pad) var(--gutter);
  background: var(--white);
}

.split-body h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.split-body > p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 460px;
  color: var(--text-mid);
}

/* ---------- Section: CTA Band ---------- */

.cta-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--text);
  text-align: center;
}

.cta-section .eyebrow {
  color: var(--gold);
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  margin: 0 auto 2.5rem;
}

.cta-section .btn-gold:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--text);
}

/* ---------- Section: Company Story (About page) ---------- */

.story-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--white);
}

.story-inner {
  max-width: 680px;
}

.story-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.story-inner p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  color: var(--text-mid);
}

/* ---------- Section: Leadership Credentials (About page) ---------- */

.values-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--cream);
}

.values-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.values-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 2.5rem;
}

.values-content h3 {
  margin-bottom: 1.5rem;
}

.value-item {
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.value-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.value-item h4 {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-light);
}

/* ---------- Contact ---------- */

.contact-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--white);
}

.contact-layout {
  max-width: 960px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  margin-bottom: 2rem;
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail .label {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.3rem;
  display: block;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.92rem;
  color: var(--text-mid);
}

.contact-detail a:hover {
  color: var(--gold);
}

.nda-note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--gold);
  background: var(--gold-dim);
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Contact Form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

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

.form-group label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-mid);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--stone);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.contact-form select { cursor: pointer; }

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.72rem;
  color: var(--text-light);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3.5rem var(--gutter) 2.5rem;
  background: var(--text);
}

.footer-upper {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand .logo span {
  color: var(--gold);
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  max-width: 260px;
}

.footer-columns {
  display: flex;
  gap: 4rem;
}

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

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

.footer-col p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-lower {
  padding-top: 2rem;
}

.footer-lower p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
}

/* ---------- Responsive ---------- */

@media (min-width: 1024px) {
  .header-contact {
    display: flex;
  }
}

@media (max-width: 1023px) {
  .nav-links,
  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.75rem 0;
    border-right: none !important;
  }

  .service-card:not(:first-child) {
    padding-left: 0;
  }

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

  .split-image {
    min-height: 300px;
    order: -1;
  }

  .split-body {
    padding: 3rem var(--gutter);
  }

  .values-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-upper {
    flex-direction: column;
  }

  .footer-columns {
    flex-direction: column;
    gap: 2rem;
  }

  .hero {
    min-height: 90vh;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-short {
    min-height: 55vh;
  }

  .parallax-band {
    height: 50vh;
    min-height: 360px;
  }

  .parallax-band.parallax-short {
    height: 40vh;
    min-height: 280px;
  }

  /* Hero sequence mobile */
  .hero-brand-text {
    letter-spacing: 0.14em;
  }

  .hero-bg img {
    -webkit-mask-image:
      radial-gradient(ellipse 80% 55% at 50% 50%,
        rgba(0,0,0,1) 15%,
        rgba(0,0,0,0.7) 35%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0) 65%);
    mask-image:
      radial-gradient(ellipse 80% 55% at 50% 50%,
        rgba(0,0,0,1) 15%,
        rgba(0,0,0,0.7) 35%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0) 65%);
  }

  .hero-fg img {
    -webkit-mask-image:
      radial-gradient(ellipse 70% 40% at 50% 45%,
        rgba(0,0,0,1) 10%,
        rgba(0,0,0,0.5) 30%,
        rgba(0,0,0,0) 55%);
    mask-image:
      radial-gradient(ellipse 70% 40% at 50% 45%,
        rgba(0,0,0,1) 10%,
        rgba(0,0,0,0.5) 30%,
        rgba(0,0,0,0) 55%);
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    text-align: center;
  }

  .hero-brand-text {
    letter-spacing: 0.08em;
  }
}
