/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark:   #101921;
  --bg-steel:  #304c68;
  --text:      #fcf9e2;
  --border:    rgba(252, 249, 226, 0.1);
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}


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

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

.hero-anim-heading {
  animation: fadeUp 0.75s ease both;
}

.hero-anim-tagline {
  animation: fadeUp 0.75s ease 0.2s both;
}

.hero-anim-image {
  animation: fadeIn 1s ease 0.35s both;
}

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.12s; }
.fade-up.delay-2 { transition-delay: 0.24s; }
.fade-up.delay-3 { transition-delay: 0.36s; }

body {
  background-color: var(--bg-dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}


/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-cta {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--text);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.6;
}

.nav-menu-btn {
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}

.nav-menu-btn:hover {
  opacity: 0.6;
}


/* === OVERLAY MENU === */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.menu-close-btn {
  position: absolute;
  top: 1.4rem;
  right: 2.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.menu-overlay-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 7rem;
  padding: 4rem 2.5rem;
}

.menu-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.menu-link {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 300;
  letter-spacing: -1.5px;
  transition: opacity 0.2s;
}

.menu-link:hover {
  opacity: 0.5;
}

.menu-overlay-image {
  width: 300px;
  flex-shrink: 0;
}

.menu-overlay-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.menu-image-caption {
  margin-top: 0.75rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}


/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  background-color: var(--bg-dark);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  font-weight: 300;
  letter-spacing: -2.8px;
  line-height: 1;
  color: var(--text);
}

.hero-tagline {
  margin-top: 1.5rem;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

.hero-image {
  flex: 0 0 48%;
}

.hero-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border: 1px solid var(--border);
}


/* === SERVICES === */
.services {
  background-color: var(--bg-steel);
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: -2px;
  line-height: 1;
}

.section-heading.center {
  text-align: center;
}

.section-subtext {
  margin-top: 0.75rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

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

.service-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  border: 1px solid rgba(252, 249, 226, 0.15);
}

.service-icon {
  margin: 0 auto 1.5rem;
  width: 52px;
  height: 52px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.8;
}


/* === ABOUT === */
.about {
  background-color: var(--bg-dark);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.ghost-heading-wrap {
  position: absolute;
  top: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
  overflow: hidden;
}

.ghost-heading {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 300;
  letter-spacing: -3px;
  color: rgba(252, 249, 226, 0.05);
  white-space: nowrap;
}

.about-inner {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  position: relative;
  padding-top: 4rem;
}

.about-images {
  flex: 0 0 400px;
}

.about-images img {
  width: 100%;
  height: 800px;
  object-fit: cover;
}

.about-text {
  flex: 1;
  padding-top: 1rem;
}

.about-text p {
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.88;
  margin-bottom: 1.5rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--text);
  opacity: 1;
  font-weight: 500;
}


/* === WHO WE SERVE === */
.who-we-serve {
  background-color: var(--bg-dark);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.who-intro {
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 3rem;
  font-size: 14px;
  letter-spacing: 0.06em;
  opacity: 0.6;
}

.who-stack {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.who-block-heading {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.65;
  margin-bottom: 0.75rem;
}

.who-list {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.who-list li {
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.85;
}


/* === TESTIMONIALS === */
.testimonials {
  background-color: var(--bg-dark);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.9;
}

.testimonial-author {
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.5;
  text-transform: uppercase;
}


/* === CONTACT === */
.contact {
  background-color: var(--bg-steel);
  color: var(--text);
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-form-col {
  flex: 2;
}

.contact-form-col .section-heading {
  margin-bottom: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
}

.form-optional {
  font-weight: 400;
  opacity: 0.5;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: rgba(16, 25, 33, 0.3);
  border: 1px solid rgba(252, 249, 226, 0.25);
  padding: 0.65rem 0.875rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(252, 249, 226, 0.35);
}

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

.form-group textarea {
  resize: vertical;
}

.form-submit {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #101921;
  background-color: var(--text);
  border: none;
  padding: 0.85rem 2.5rem;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  opacity: 0.85;
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  margin-top: 1rem;
  font-size: 14px;
  min-height: 1.4rem;
}

.form-status--success {
  color: #a8d5b5;
}

.form-status--error {
  color: #f4a4a4;
}

.contact-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 6rem;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.75;
}

.contact-info-col a {
  color: var(--text);
  transition: opacity 0.2s;
}

.contact-info-col a:hover {
  opacity: 0.5;
}

address {
  font-style: normal;
}

.footer {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.5;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}



/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 4rem;
  }

  .hero-image {
    flex: none;
    width: 100%;
  }

  .hero-image img {
    height: 300px;
  }

  .services-grid,
  .who-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    flex-direction: column;
    padding-top: 2rem;
  }

  .about-images {
    flex: none;
    width: 100%;
  }

  .about-images img {
    height: auto;
  }

  .contact-inner {
    flex-direction: column;
  }

  .contact-info-col {
    padding-top: 0;
  }

  .menu-overlay-image {
    display: none;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 1rem 1.25rem;
  }

  .menu-overlay-inner {
    padding: 5rem 1.5rem 2rem;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .menu-link {
    font-size: 2rem;
  }
}
