:root {
  --color-navy: #0A192F;
  --color-mint: #64FFDA;
  --color-mint-dark: #4BC0A3;
  --color-white: #FFFFFF;
  --color-light-gray: #F0F4F8;
  --color-text-main: #1D2D35;
  --color-text-muted: #586770;
  
  --font-main: 'Bahnschrift', 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
  --font-body: system-ui, -apple-system, sans-serif;
  
  --radius-squircle: 16px;
  --shadow-hard: 6px 6px 0px rgba(0, 0, 0, 0.15);
  --shadow-hard-hover: 3px 3px 0px rgba(0, 0, 0, 0.2);
  
  --spacing-base: 6px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-light-gray);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-navy);
  margin-top: 0;
}

/* Header */
.site-header {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--spacing-md) var(--spacing-lg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid var(--color-mint);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-mint);
}

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: block;
  }
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-main);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-mint);
}

.nav-link.cta-button {
  background-color: var(--color-mint);
  color: var(--color-navy);
  padding: 8px 24px;
  border-radius: var(--radius-squircle);
  box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

.nav-link.cta-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
  background-color: var(--color-mint-dark);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--color-mint);
  cursor: pointer;
  padding: 4px;
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-nav-overlay {
  position: fixed;
  top: 76px; /* Header height approx */
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  background: var(--color-navy);
  padding: var(--spacing-lg);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-overlay.is-open {
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.mobile-link {
  font-family: var(--font-main);
  font-size: 1.5rem;
  color: var(--color-white);
  text-decoration: none;
  text-transform: uppercase;
  display: block;
}

.mobile-cta {
  color: var(--color-mint);
  border: 2px solid var(--color-mint);
  padding: 12px;
  border-radius: var(--radius-squircle);
  margin-top: 12px;
}

/* Footer */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 60px var(--spacing-md) 24px;
  margin-top: 60px;
  border-top: 8px solid var(--color-mint);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-heading {
  color: var(--color-mint);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: #B0BEC5;
  margin-top: 12px;
  max-width: 300px;
  line-height: 1.5;
}

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

.footer-nav li, .contact-list li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: #E0E0E0;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--color-mint);
  text-decoration: underline;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #E0E0E0;
}

.contact-list a {
  color: var(--color-mint);
  text-decoration: none;
  font-weight: 600;
}

/* ------------------------------------------------------------------
   Utility helpers used throughout the HTML templates
   (Some pages rely on these class names in addition to Tailwind.)
-------------------------------------------------------------------*/

.bg-navy { background-color: var(--color-navy) !important; }
.text-navy { color: var(--color-navy) !important; }
.border-navy { border-color: var(--color-navy) !important; }

.bg-mint { background-color: var(--color-mint) !important; }
.text-mint { color: var(--color-mint) !important; }
.border-mint { border-color: var(--color-mint) !important; }

.font-condensed {
  font-family: var(--font-main) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.squircle { border-radius: var(--radius-squircle) !important; }
.hard-shadow { box-shadow: var(--shadow-hard) !important; }
.hard-shadow-sm { box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.12) !important; }

.btn-shadow {
  border-radius: var(--radius-squircle) !important;
  box-shadow: var(--shadow-hard) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-shadow:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hard-hover) !important;
}

/* ------------------------------------------------------------------
   Fix: low-contrast text on image hero (services page)
-------------------------------------------------------------------*/

html[data-page="services.html"] #hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 25, 47, 0.86) 0%,
    rgba(10, 25, 47, 0.62) 55%,
    rgba(10, 25, 47, 0.46) 100%
  );
  z-index: 1;
}

html[data-page="services.html"] #hero .hero-bg {
  z-index: 0;
}

html[data-page="services.html"] #hero .hero-bg img {
  filter: saturate(0.95) contrast(1.05) brightness(0.9);
}

html[data-page="services.html"] #hero .hero-content {
  position: relative;
  z-index: 2;
}

html[data-page="services.html"] #hero h1,
html[data-page="services.html"] #hero p {
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

/* ------------------------------------------------------------------
   Contact form styling (contact page)
-------------------------------------------------------------------*/

.ls-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ls-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

.ls-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ls-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy);
}

.ls-input,
.ls-select,
.ls-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--color-navy);
  border-radius: var(--radius-squircle);
  background: #ffffff;
  color: var(--color-text-main);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.ls-input:focus,
.ls-select:focus,
.ls-textarea:focus {
  outline: none;
  border-color: var(--color-mint-dark);
  box-shadow: 0 0 0 4px rgba(100, 255, 218, 0.25);
}

.ls-textarea {
  min-height: 120px;
  resize: vertical;
}

.ls-help {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.ls-submit {
  width: 100%;
  background: var(--color-navy);
  color: #ffffff;
  border: 2px solid var(--color-navy);
  padding: 14px 16px;
  border-radius: var(--radius-squircle);
  font-family: var(--font-main);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-hard);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.ls-submit:hover {
  background: #0d2342;
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hard-hover);
}

.ls-submit:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.ls-privacy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.ls-privacy a {
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.ls-privacy a:hover {
  color: var(--color-mint-dark);
}

.contact-list svg {
  flex-shrink: 0;
  color: var(--color-mint);
}

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: #78909C;
  font-size: 0.85rem;
}
/* footer extras */
.footer__extras{margin-top:16px;}
.footer__extrasInner{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start;justify-content:space-between;}
.footer__social{display:flex;gap:10px;align-items:center;}
.footer-social{display:inline-flex;gap:8px;align-items:center;text-decoration:none;}
.footer-social__icon{display:block;}
.footer__poemWrap{max-width:520px;}
.footer-poem{opacity:0.9;font-size:0.95em;line-height:1.35;}
