/* ========================================
   Boatique Marine - Static Site Styles
   ======================================== */

:root {
  --color-primary: #1370af;
  --color-accent: #8eb5db;
  --color-light: #dae0e2;
  --color-dark: #1a1a1a;
  --color-white: #ffffff;
  --navbar-height: clamp(80px, 11vw, 122px);
  --section-space-y: clamp(40px, 5vw, 78px);
  --section-space-y-tight: clamp(30px, 3.5vw, 54px);
  --media-radius: clamp(14px, 2vw, 26px);
  --btn-height: 3.2rem;
  --btn-height-mobile: 3rem;
  --btn-padding-y: 1.2em;
  --btn-padding-y-mobile: 1.2em;
  --btn-padding-x: 2em;
  --btn-padding-x-mobile: 2em;
  --btn-min-width: 0;
  --btn-min-width-mobile: 0;
  --font-heading: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Nunito Sans", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5em;
  color: var(--color-dark);
  background-color: #DAE1E3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

main,
section,
.container,
.grid-2,
.section-split,
.split-content,
.split-img {
  min-width: 0;
}

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

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2em;
  color: var(--color-primary);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 0 !important;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

/* ========================================
   Container & Layout Utilities
   ======================================== */

.container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3vw;
  padding-right: 3vw;
}

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }

.h-full { height: 100%; }
.h-screen { height: 100vh; }
.w-full { width: 100%; }
.h-80 { height: clamp(14rem, 52vw, 20rem); }
.h-96 { height: clamp(16rem, 60vw, 24rem); }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

.overflow-hidden { overflow: hidden; }

/* ========================================
   Typography Utilities
   ======================================== */

.text-center { text-align: center; }
.text-right { text-align: right; }

.text-white { color: #ffffff; }
.text-dark { color: #1a1a1a; }
.text-blue { color: #1370af; }
.text-dark-80 { color: rgba(26, 26, 26, 0.8); }
.text-dark-60 { color: rgba(26, 26, 26, 0.6); }

.font-body { font-family: var(--font-body); }
.font-heading { font-family: var(--font-heading); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.75rem; line-height: 2.25rem; }
.text-4xl { font-size: 2rem; line-height: 2.5rem; }
.text-5xl { font-size: 2.5rem; line-height: 1.2; }

.tracking-tight { letter-spacing: -0.02em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-tight { line-height: 1.2em; }
.leading-normal { line-height: 1.5em; }
.leading-relaxed { line-height: 1.625; }

.uppercase { text-transform: uppercase; }

/* ========================================
   Spacing Utilities
   ======================================== */

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.pt-8 { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }

.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ========================================
   Background & Border Utilities
   ======================================== */

.bg-transparent { background-color: transparent; }
.bg-black { background-color: #000000; }
.bg-dark { background-color: #1a1a1a; }
.bg-white { background-color: #DAE1E3; }
.bg-light { background-color: #DAE1E3; }
.bg-accent { background-color: #8eb5db; }

.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-white { border-color: #ffffff; }
.border-dark { border-color: #1a1a1a; }
.border-dark-10 { border-color: rgba(26, 26, 26, 0.1); }
.border-dark-30 { border-color: rgba(26, 26, 26, 0.3); }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 6.4px; }
.rounded-2xl { border-radius: 1rem; }

/* ========================================
   Shadow Utilities
   ======================================== */

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Transition Utilities
   ======================================== */

.transition-all { transition-property: all; }
.transition-colors { transition-property: color, background-color, border-color; }
.transition-transform { transition-property: transform; }

.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }

.ease-out { transition-timing-function: ease-out; }

/* ========================================
   NAVBAR - DARK THEME
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-height);
  background-color: transparent;
  transition: background-color 300ms ease-in-out, padding 140ms ease-in-out, backdrop-filter 300ms ease-in-out;
}

.navbar.scrolled {
  background-color: rgba(42, 42, 42, 0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Logo image */
.logo-box {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 45px;
  width: auto;
  display: block;
}

.navbar .nav-link {
  color: #ffffff;
}

.navbar .mobile-menu-btn {
  color: #ffffff;
}

/* Hamburger lines - always white on dark navbar */
.navbar .burger-line {
  background-color: #ffffff;
}

/* Active link underline */
.nav-link::after {
  background-color: #ffffff;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 3vw;
  position: relative;
}

/* Desktop Navigation */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: inherit;
  transition: opacity 0.2s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  opacity: 0.7;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-spacer {
  display: none;
  width: 8rem;
}

.nav-actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  border-radius: 9999px;
  background-color: #ffffff;
  color: #111111;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--color-accent);
  color: #111111;
  transform: translateY(-1px);
}

/* Logo */
.logo-box {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: clamp(42px, 5vw, 77px);
  width: auto;
  display: block;
  transition: height 300ms ease;
}

/* Mobile Menu Button - Double Line Hamburger */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 101;
}

.burger-box {
  position: relative;
  width: 24px;
  height: 24px;
}

.burger-inner {
  position: absolute;
  width: 100%;
  height: 100%;
}

.burger-line {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: transform 250ms cubic-bezier(0.2, 0.6, 0.3, 1), 
              opacity 250ms cubic-bezier(0.2, 0.6, 0.3, 1);
}

.burger-line.top {
  top: 50%;
  transform: translateY(-5.5px);
}

.burger-line.bottom {
  top: 50%;
  transform: translateY(3.5px);
}

/* Hamburger Animation to X */
.mobile-menu-btn.open .burger-line.top {
  transform: translateY(-1px) rotate(45deg);
}

.mobile-menu-btn.open .burger-line.bottom {
  transform: translateY(-1px) rotate(-45deg);
}

/* Full Screen Mobile Menu - DARK OVERLAY */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1),
              visibility 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  transform: translateY(20px);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open .mobile-nav-content {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  position: relative;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.mobile-nav a:hover {
  opacity: 1;
}

.mobile-nav a.active {
  opacity: 1;
  color: #ffffff;
}

/* ========================================
   Hero with Video Background
   ======================================== */

.hero {
  position: relative;
  min-height: 560px;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: clamp(2.5rem, 8vh, 6rem);
}

.hero-video-container {
  position: absolute;
  inset: 0;
  transform: scale(1.1);
  transition: transform 2000ms ease;
}

.hero-video-container.loaded {
  transform: scale(1);
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-container .hero-fallback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* Fallback for browsers that don't support video */
.hero-video-container video:not([src]) + .hero-fallback-img,
.hero-video-container video[src=""] + .hero-fallback-img {
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-overlay-light {
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-left: 6vw;
  padding-right: 6vw;
  max-width: min(1400px, 100%);
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  max-width: 24ch;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(2rem);
  transition: all 1s ease;
  padding: 0 0.75rem;
}

.hero-title.loaded {
  opacity: 1;
  transform: translateY(0);
}

.hero-btn {
  margin-top: clamp(1.75rem, 4.5vw, 3rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  background-color: var(--color-accent);
  color: #000000;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.5s ease;
  transition-delay: 500ms;
  text-decoration: none;
  min-width: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-btn.loaded {
  opacity: 1;
  transform: translateY(0);
}

.hero-btn:hover {
  background-color: #333333;
  transform: scale(1.02);
}

/* ========================================
   Buttons
   ======================================== */

/* ========================================
   Buttons - Pill Style
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.btn:hover {
  background-color: #333333;
  transform: scale(1.02);
}

.btn-accent {
  background-color: #8eb5db;
  color: #1a1a1a;
}

.btn-accent:hover {
  background-color: #7da5cc;
}

/* ========================================
   Sections & Grids
   ======================================== */

.section {
  padding-top: var(--section-space-y);
  padding-bottom: var(--section-space-y);
  background-color: #DAE1E3;
  overflow-x: clip;
  min-width: 0;
}

.section.bg-accent {
  background-color: #8eb5db;
}

.section-empower {
  position: relative;
  min-height: 420px;
  height: clamp(420px, 68vh, 760px);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(72px, 10vh, 120px);
}

/* ========================================
   Split Layout - Guiding Principles
   ======================================== */

.section-split {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3.2vw, 2.25rem);
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(2.5rem, 4.6vw, 4.5rem) 3vw clamp(2.6rem, 5vw, 4.875rem);
  background-color: #DAE1E3;
}

.split-img {
  order: 2;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.205 / 1;
  height: auto;
}

.split-img img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background-color: #DAE1E3;
  width: 100%;
  max-width: min(36rem, 100%);
}

.split-heading {
  font-family: var(--font-heading);
  font-size: calc((4 - 1) * calc(.012 * min(100svh, 900px)) + 1rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: clamp(1.1rem, 1.8vw, 1.8rem);
}

.split-body {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.85);
  margin-bottom: 0;
  max-width: none;
}

.split-body + .split-body {
  margin-top: clamp(1rem, 1.5vw, 1.4rem);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: clamp(1.45rem, 2.2vw, 2.25rem);
  padding: var(--btn-padding-y) var(--btn-padding-x);
  background-color: #111111;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  line-height: 1.2;
  white-space: nowrap;
  min-width: 0;
}

.btn-pill:hover {
  background-color: #333333;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  min-width: 0;
}

.grid-cols-2 {
  grid-template-columns: 1fr 1fr;
}

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

.square-mask {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.square-mask-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aspect-locked {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.group-img {
  overflow: hidden;
}

.group-img img {
  width: 100%;
  transition: transform 0.7s ease;
}

.group:hover .group-img img {
  transform: scale(1.05);
}

.grayscale {
  filter: grayscale(100%);
}

.max-w-4xl {
  max-width: 56rem;
}

.main-offset {
  padding-top: calc(var(--navbar-height) - clamp(6px, 1vw, 14px));
}

.main-offset .section:first-child {
  padding-top: var(--section-space-y-tight);
}

.media-mask,
.group-img,
.square-mask,
.split-img {
  border-radius: 0;
  overflow: hidden;
}

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

.service-row {
  align-items: start;
}

/* ========================================
   Forms
   ======================================== */

.form-input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: #1a1a1a;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #1370af;
}

.form-input::placeholder {
  color: rgba(26, 26, 26, 0.5);
}

.form-textarea {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: #1a1a1a;
  resize: none;
  transition: border-color 0.3s ease;
}

.form-textarea:focus {
  outline: none;
  border-color: #1370af;
}

.form-textarea::placeholder {
  color: rgba(26, 26, 26, 0.5);
}

.checkbox {
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 0.25rem;
  accent-color: #1a1a1a;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background-color: #8eb5db;
  padding-top: clamp(3.5rem, 6vw, 5.75rem);
  padding-bottom: clamp(1rem, 2vw, 1.75rem);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
}

.footer .container {
  max-width: none;
  padding-left: 3vw;
  padding-right: 3vw;
}

.footer .container > .grid-2 {
  gap: clamp(2rem, 4vw, 4.5rem);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #1a1a1a;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #111111;
  margin-bottom: clamp(0.75rem, 1.2vw, 1.25rem);
}

.footer-text {
  font-family: var(--font-body);
  color: rgba(17, 17, 17, 0.95);
  font-size: clamp(1.125rem, 1.25vw, 1.75rem);
  line-height: 1.4;
}

.footer-link {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 1px;
  transition: all 0.3s ease;
}

.footer-link:hover {
  text-decoration: none;
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1vw, 1.5rem);
  line-height: 1.2;
  color: #0f2e4d;
}

.footer-bottom .footer-link {
  color: #111111;
}

/* ========================================
   Home Parity (Squarespace Reference)
   ======================================== */

.home-page .animate-on-scroll {
  opacity: 1;
  transform: none;
  transition: none;
}

.home-page .section > .container > .animate-on-scroll > h2 {
  line-height: calc(1.2 * (1 + (1 - 4) / 25));
  font-size: calc((4 - 1) * calc(.012 * min(100svh, 900px)) + 1rem);
}

.home-page .group h3 {
  line-height: calc(1.2 * (1 + (1 - 1.6) / 25));
  font-size: calc((1.6 - 1) * calc(.012 * min(100svh, 900px)) + 1rem);
}

.home-page #services .group h3 {
  font-weight: 700;
  color: #111111;
}

.home-page .group p.text-lg {
  line-height: calc(1.5 * (1 + (1 - 1.4) / 25));
  font-size: calc((1.4 - 1) * calc(.012 * min(100svh, 900px)) + 1rem);
}

.home-page .section .text-dark-80,
.home-page .group p,
.home-page .split-body,
.home-page .form-input,
.home-page .form-textarea,
.home-page .footer-text {
  font-size: 1rem;
  line-height: 1.5;
}

.home-page #services .text-dark-80 {
  color: rgba(17, 17, 17, 0.95);
}

.home-page .split-heading {
  line-height: calc(1.2 * (1 + (1 - 4) / 25));
  font-size: calc((4 - 1) * calc(.012 * min(100svh, 900px)) + 1rem);
}

.home-page .footer .container > .grid-2 {
  gap: 11px;
}

.home-page .footer-tagline {
  line-height: calc(1.2 * (1 + (1 - 2.8) / 25));
  font-size: calc((2.8 - 1) * calc(.012 * min(100svh, 900px)) + 1rem);
}

.home-page .footer-heading {
  line-height: calc(1.2 * (1 + (1 - 1.6) / 25));
  font-size: calc((1.6 - 1) * calc(.012 * min(100svh, 900px)) + 1rem);
  margin-bottom: 0.75rem;
}

.home-page .footer-bottom p {
  font-size: 1rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .home-page #services .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(3.2rem, 8.2vw, 8rem);
    row-gap: clamp(2rem, 3.2vw, 2.8rem);
  }

  .home-page #services .group-img {
    margin-bottom: clamp(1.4rem, 2vw, 2rem);
  }

  .home-page #services .animate-on-scroll > h2 {
    margin-bottom: clamp(2.6rem, 4.2vw, 4.6rem);
  }

  .home-page .section > .container > .animate-on-scroll > h2 {
    font-size: calc((4 - 1) * 1.2vw + 1rem);
  }

  .home-page .group h3 {
    font-size: calc((1.6 - 1) * 1.2vw + 1rem);
  }

  .home-page .group p.text-lg {
    font-size: calc((1.4 - 1) * 1.2vw + 1rem);
  }

  .home-page .split-heading {
    font-size: calc((4 - 1) * 1.2vw + 1rem);
  }

  .home-page .footer-tagline {
    font-size: calc((2.8 - 1) * 1.2vw + 1rem);
  }

  .home-page .footer-heading {
    font-size: calc((1.6 - 1) * 1.2vw + 1rem);
  }
}

@media (min-width: 1484px) {
  .home-page .section > .container > .animate-on-scroll > h2 { font-size: 4rem; }
  .home-page .group h3 { font-size: 1.6rem; }
  .home-page .group p.text-lg { font-size: 1.4rem; }
  .home-page .split-heading { font-size: 4rem; }
  .home-page .footer-tagline { font-size: 2.8rem; }
  .home-page .footer-heading { font-size: 1.6rem; }
}

@media (min-width: 900px) {
  .footer .container > .grid-2 {
    grid-template-columns: minmax(0, 1.75fr) minmax(220px, 0.7fr) minmax(220px, 0.7fr);
    column-gap: clamp(2rem, 5vw, 7rem);
    align-items: start;
  }
}

@media (max-width: 899px) {
  .footer .container > .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.7s ease-out;
}

.animate-on-scroll[data-animate="fade-in-up"] {
  transform: translateY(30px);
}

.animate-on-scroll[data-animate="fade-in"] {
  transform: none;
}

.animate-on-scroll[data-animate="slide-in-left"] {
  transform: none;
}

.animate-on-scroll[data-animate="slide-in-right"] {
  transform: none;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

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

@media (min-width: 768px) {
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }

  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }

  .md\:gap-12 { gap: 3rem; }
  .md\:gap-16 { gap: 4rem; }

  .md\:mb-16 { margin-bottom: 4rem; }
  .md\:mb-24 { margin-bottom: 6rem; }

  .md\:h-80 { height: 20rem; }
  .md\:h-96 { height: 24rem; }
  .md\:h-\[500px\] { height: 500px; }
  .md\:h-\[600px\] { height: 600px; }

  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .nav-spacer { display: block; }
  .mobile-menu-btn { display: none; }

  .hero-content {
    padding-left: 3vw;
    padding-right: 3vw;
  }

  .hero-title { font-size: 2.5rem; }
  .hero-btn { font-size: 1rem; }
  .section-empower { height: clamp(500px, 74vh, 820px); }
  .section-split {
    display: grid;
    grid-template-columns: minmax(0, 12fr) clamp(1.5rem, 3vw, 3.4rem) minmax(0, 9fr);
    align-items: center;
    gap: 0;
    padding: clamp(2.9rem, 4.8vw, 4.9rem) 3vw clamp(2.7rem, 5vw, 4.875rem);
  }
  .split-img {
    order: initial;
    grid-column: 1;
    aspect-ratio: 1.205 / 1;
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .split-content {
    order: initial;
    grid-column: 3;
    max-width: none;
    padding: 0;
  }

  .logo-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Desktop Animations */
  .animate-on-scroll[data-animate="slide-in-left"] {
    transform: translateX(-50px);
  }

  .animate-on-scroll[data-animate="slide-in-right"] {
    transform: translateX(50px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-links {
    gap: 1.4rem;
  }

  .nav-link {
    font-size: 0.95rem;
  }

  .nav-cta {
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 1.2;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }

  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1.2; }

  .hero-title { font-size: 2.8rem; }
  .logo-img { height: 77px; }
  .navbar-inner { padding: 0 3vw; }
  .hero-btn { font-size: 1rem; }
  .split-img { min-height: 0; }
  .service-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .btn,
  .btn-pill,
  .hero-btn {
    min-width: var(--btn-min-width-mobile);
    padding: var(--btn-padding-y-mobile) var(--btn-padding-x-mobile);
  }

  .container {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .navbar-inner {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .logo-img {
    height: 27px;
  }

  .aspect-locked {
    aspect-ratio: 1 / 1;
  }

  .section {
    padding-top: 6.6vw;
    padding-bottom: 6.6vw;
  }

  .section-empower {
    height: clamp(390px, 60vh, 520px);
    min-height: 390px;
    padding-top: clamp(56px, 9vh, 84px);
  }

  .hero {
    min-height: 0;
    height: 100vh;
    height: 100dvh;
    padding-bottom: clamp(2rem, 8vh, 3.5rem);
  }

  .hero-content {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .hero-title {
    max-width: 20ch;
    line-height: calc(1.2 * (1 + (1 - 2.8) / 25));
    font-size: calc((2.8 - 1) * calc(.012 * min(100svh, 900px)) + 1rem);
  }

  .section-split {
    padding-left: 6vw;
    padding-right: 6vw;
    padding-top: clamp(2rem, 7vw, 2.9rem);
    padding-bottom: clamp(2.2rem, 7.2vw, 3.2rem);
    gap: clamp(2.25rem, 6vw, 3.25rem);
  }

  .split-content {
    width: 100%;
    max-width: none;
    padding-top: 0;
  }

  .home-page .section-split .btn-pill {
    align-self: center;
  }

  .split-heading,
  .split-body {
    max-width: none;
  }

  .footer { padding-top: clamp(2.75rem, 9vw, 4rem); }

  .footer .container {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .footer-bottom {
    margin-top: clamp(1.75rem, 6vw, 2.5rem);
  }
}

@media (min-width: 768px) {
  .home-page .section-split .btn-pill {
    align-self: flex-start;
  }
}

@media (max-width: 575px) {
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 374px) {
  :root {
    --navbar-height: 76px;
    --section-space-y-tight: 32px;
  }

  .container,
  .navbar-inner {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .mobile-nav a {
    font-size: 1.7rem;
  }

  .hero-title { font-size: calc((2.8 - 1) * calc(.012 * min(100svh, 900px)) + 1rem); }

  .text-3xl {
    font-size: 1.52rem;
    line-height: 1.95rem;
  }
}

@media (min-width: 375px) and (max-width: 430px) {
  .container { padding-left: 6vw; padding-right: 6vw; }

  .hero-title { font-size: calc((2.8 - 1) * calc(.012 * min(100svh, 900px)) + 1rem); }

  .section {
    padding-top: 6.6vw;
    padding-bottom: 6.6vw;
  }
}

@media (min-width: 431px) and (max-width: 767px) {
  .container { padding-left: 6vw; padding-right: 6vw; }

  .hero-title { font-size: calc((2.8 - 1) * calc(.012 * min(100svh, 900px)) + 1rem); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }

  .service-row .square-mask {
    max-width: min(580px, 100%);
    margin-inline: auto;
    aspect-ratio: 16 / 10;
  }

  .service-row .btn {
    margin-top: 1.5rem;
  }
}

@media (min-width: 1440px) {
  .section-split {
    max-width: 1400px;
  }

  .split-content {
    padding-right: 0;
  }
}

/* ========================================
   Toast Notification
   ======================================== */

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.toast {
  background-color: #2e7d32;
  color: #ffffff;
  padding: 1.1rem 2.2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: auto;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
