/* ============================================================
   BRAND FONTS
   Drop font files into /assets/fonts/. These declarations
   will activate automatically. Google Fonts in the <head>
   are fallbacks until then.
   ============================================================ */
@font-face {
  font-family: 'Monument Extended';
  src: url('assets/fonts/MonumentExtended-Ultrabold.woff2') format('woff2'),
       url('assets/fonts/MonumentExtended-Ultrabold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Stara';
  src: url('assets/fonts/Stara-Medium.woff2') format('woff2'),
       url('assets/fonts/Stara-Medium.woff') format('woff'),
       url('assets/fonts/Stara-Medium.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Stara';
  src: url('assets/fonts/Stara-SemiBold.woff2') format('woff2'),
       url('assets/fonts/Stara-SemiBold.woff') format('woff'),
       url('assets/fonts/Stara-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* === TOKENS === */
:root {
  --red: #b23125;
  --teal: #257188;
  --dark: #0e1f2e;
  --dark-footer: #07121c;
  --cream: #f9f6e8;
  --white: #ffffff;
  --gray-light: #eeece6;
  --gray-mid: #888880;

  /* H1, H2 */
  --font-monument: 'Monument Extended', 'Barlow Condensed', sans-serif;
  /* H3, H4 + body */
  --font-stara: 'Stara', 'Lato', sans-serif;

  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);
  --nav-height: 70px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-stara);
  font-weight: 400;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
  font-family: var(--font-monument);
  font-weight: 800;
}

h3, h4 {
  font-family: var(--font-stara);
  font-weight: 600;
}

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

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

ul {
  list-style: none;
}

/* === LAYOUT === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-stara);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

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

.btn--red:hover {
  background: #9e2a20;
  border-color: #9e2a20;
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--teal);
}

.btn--outline:hover {
  background: var(--teal);
  color: var(--white);
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.05;
}

.section-header p {
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--gray-mid);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.services .section-header p {
  max-width: none;
}

/* === FADE-IN === */
.fade-in-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: var(--cream);
  box-shadow: 0 2px 20px rgba(14, 31, 46, 0.12);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo swap */
.nav__logo-white { display: block; }
.nav__logo-color { display: none; }

.nav.scrolled .nav__logo-white { display: none; }
.nav.scrolled .nav__logo-color { display: block; }

.nav__logo img {
  height: 34px;
  width: auto;
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links > a:not(.btn) {
  font-family: var(--font-stara);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color 0.2s ease;
}

.nav__links > a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav__links > a:not(.btn):hover,
.nav__links > a.is-active {
  color: var(--teal);
}

.nav__links > a:not(.btn):hover::after,
.nav__links > a.is-active::after {
  transform: scaleX(1);
}

/* Scrolled link color override (desktop only) */
@media (min-width: 768px) {
  .nav.scrolled .nav__links > a:not(.btn) {
    color: var(--dark);
  }

  .nav.scrolled .nav__links > a:not(.btn):hover,
  .nav.scrolled .nav__links > a.is-active {
    color: var(--teal);
  }
}

.nav__links .btn {
  padding: 0.5rem 1.3rem;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 201;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  transform-origin: center;
}

.nav.scrolled .nav__hamburger span {
  background: var(--dark);
}

.nav__hamburger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* === HERO === */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin: 0 1.5rem 2.5rem;
  border-radius: 24px;
  /* CSS custom props for the circle reveal, updated by JS */
  --reveal-x: 50%;
  --reveal-y: 50%;
  --reveal-r: 0px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Base layer: always sharp */
.hero__bg-img--base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.07);
  filter: brightness(0.46);
}

/* Blur layer: revealed (blurred) by circular mask centered on cursor */
.hero__bg-img--sharp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  filter: blur(20px) brightness(0.46);
  -webkit-mask-image: radial-gradient(
    circle var(--reveal-r) at var(--reveal-x) var(--reveal-y),
    black 55%, transparent 100%
  );
  mask-image: radial-gradient(
    circle var(--reveal-r) at var(--reveal-x) var(--reveal-y),
    black 55%, transparent 100%
  );
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 31, 46, 0.42) 0%,
    rgba(14, 31, 46, 0.28) 50%,
    rgba(14, 31, 46, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 5rem;
}

.hero__headline {
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(249, 246, 232, 0.75);
  max-width: 600px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(14, 31, 46, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(14, 31, 46, 0.12);
  transform: translateY(-4px);
}

.card__image {
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__image img {
  transform: scale(1.06);
}

.card__body {
  padding: 1.75rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.card p {
  font-family: var(--font-stara);
  font-weight: 400;
  color: #4a4a44;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
  flex: 1;
}

.card__details {
  border-top: 1px solid var(--gray-light);
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card__details li {
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--gray-mid);
  padding-left: 1.1rem;
  position: relative;
}

.card__details li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Bundle bar */
.bundle-bar {
  background: var(--red);
  color: var(--white);
  border-radius: 18px;
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.55;
}

.bundle-bar strong {
  font-weight: 700;
  font-size: 1.2rem;
}

.bundle-bar__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

/* === WHY CLEAN === */
.why {
  padding: 6rem 0;
  background: linear-gradient(to right, #060e1a 0%, #152d42 100%);
  color: var(--white);
}

.why__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  align-items: start;
}

.why__stats {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  position: sticky;
  top: calc(var(--nav-height) + 3rem);
}

.stat {
  border-left: 3px solid rgba(249, 246, 232, 0.2);
  padding-left: 1.25rem;
}

.stat__number {
  display: block;
  font-family: var(--font-stara);
  font-weight: 600;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  color: #7ecfe8;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}

.stat__label {
  display: block;
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: 0.875rem;
  color: rgba(249, 246, 232, 0.55);
  line-height: 1.55;
  max-width: 210px;
}

.why__copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.75rem;
  line-height: 1.1;
}

.why__copy p {
  font-family: var(--font-stara);
  font-weight: 400;
  color: rgba(249, 246, 232, 0.7);
  line-height: 1.8;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}

.why__tagline {
  margin-top: 2rem;
  color: var(--cream) !important;
  font-size: 1.05rem !important;
  border-left: 3px solid var(--teal);
  padding-left: 1.1rem;
  line-height: 1.7 !important;
}

.why__tagline strong {
  font-weight: 600;
}

/* === GALLERY === */
.gallery {
  background: var(--dark);
  overflow: hidden;
}

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

.gallery__item {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.9) saturate(0.9);
}

.gallery__item:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}

/* === ABOUT === */
.about {
  padding: 6rem 0;
  background: var(--cream);
}

.about__inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 4.5rem;
  align-items: start;
}

.about__image-col {
  position: sticky;
  top: calc(var(--nav-height) + 2.5rem);
}

.about__image-frame {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
}

.about__image-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about__copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.about__copy p {
  font-family: var(--font-stara);
  font-weight: 400;
  color: #4a4a44;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.values {
  margin: 2rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-left: 3px solid var(--red);
  padding-left: 1.25rem;
}

.values li {
  font-family: var(--font-stara);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
}

.about__license-bar {
  background: var(--teal);
  color: var(--white);
  border-radius: 18px;
  padding: 1rem 1.5rem;
  display: inline-block;
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  margin-top: 0.5rem;
}

/* === CONTACT === */
.contact {
  padding: 7rem 0;
  background: linear-gradient(to bottom, #060e1a 0%, #152d42 100%);
  color: var(--white);
  text-align: center;
}

.contact h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.05;
}

.contact__sub {
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: 1.05rem;
  color: rgba(249, 246, 232, 0.6);
  max-width: 560px;
  margin: 0 auto 3.5rem;
  line-height: 1.75;
}

.contact__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0 auto 2.5rem;
}

.contact__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2.25rem 1.75rem 2rem;
  background: #152d42;
  border-radius: 18px;
  border: 1px solid rgba(249, 246, 232, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  color: var(--white);
}

a.contact__option:hover {
  background: rgba(249, 246, 232, 0.08);
  border-color: var(--teal);
  transform: translateY(-3px);
}

.contact__option--location { cursor: default; }

.contact__icon {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 0.25rem;
}

.contact__icon svg {
  width: 100%;
  height: 100%;
}

.contact__label {
  font-family: var(--font-stara);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(249, 246, 232, 0.65);
}

.contact__value {
  font-family: var(--font-stara);
  font-weight: 600;
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.45;
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.contact__google { margin-top: 0.5rem; }

.contact__google-link {
  display: inline-block;
  font-family: var(--font-stara);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(249, 246, 232, 0.7);
  border-bottom: 2px solid rgba(249, 246, 232, 0.25);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact__google-link:hover {
  color: var(--cream);
  border-color: rgba(249, 246, 232, 0.6);
}

/* === FOOTER === */
.footer {
  background: var(--dark-footer);
  color: var(--white);
  padding: 3.5rem 0 2rem;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  text-align: center;
}

.footer__logo img {
  height: 30px;
  width: auto;
}

.footer__tagline {
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(249, 246, 232, 0.55);
}

.footer__license {
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: 0.75rem;
  color: rgba(249, 246, 232, 0.35);
  margin-top: 0.4rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.75rem;
  margin-bottom: 2rem;
}

.footer__nav a {
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(249, 246, 232, 0.75);
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--cream);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(249, 246, 232, 0.1);
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: 0.78rem;
  color: rgba(249, 246, 232, 0.5);
  text-align: left;
}

.footer__credit {
  font-family: var(--font-stara);
  font-weight: 400;
  font-size: 0.78rem;
  color: rgba(249, 246, 232, 0.5);
  text-align: right;
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.footer__credit-link {
  display: inline-flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer__credit-link:hover {
  opacity: 1;
}

.footer__credit-logo {
  height: 28px;
  width: auto;
  margin-left: 0.5rem;
}

/* === RESPONSIVE: TABLET === */
@media (max-width: 1023px) {
  .why__inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .why__stats {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .stat { flex: 1; min-width: 150px; }

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

  .about__image-col { position: static; }

  .about__image-frame { aspect-ratio: 1/1; padding: 2.5rem 2rem; }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === RESPONSIVE: MOBILE === */
@media (max-width: 767px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid rgba(249, 246, 232, 0.07);
    overflow-y: auto;
    padding: 2rem;
  }

  .nav__links.is-open { display: flex; }

  /* Mobile menu links always white (dark bg) */
  .nav.scrolled .nav__links > a:not(.btn) {
    color: var(--white);
  }

  .nav__links > a:not(.btn) { font-size: 1.3rem; }

  .nav__links .btn {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .hero {
    margin: 0 0.75rem 1.5rem;
    border-radius: 16px;
  }

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

  .contact__options { grid-template-columns: 1fr; }
  .contact__option { padding: 1.75rem 1.25rem 1.5rem; }

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

  .footer__nav { gap: 0.75rem 1.25rem; }
}

/* === REDUCE MOTION === */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .fade-in-section {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Keep blur layer hidden so the sharp base is always shown */
  .hero__bg-img--sharp {
    display: none;
  }

  .btn:hover,
  .card:hover,
  a.contact__option:hover,
  .gallery__item:hover img {
    transform: none;
  }
}
