/* ---------- Design tokens ---------- */
:root {
  --charcoal: #232A30;
  --charcoal-soft: #2E363D;
  --blue: #084266;
  --blue-light: #0F5A87;
  --gold: #BA8538;
  --gold-light: #D3A557;
  --ivory: #F7F6F3;
  --blue-mist: #DAE3E8;
  --warm-stone: #F5EDE1;
  --grey-light: #E4E7EA;
  --grey-mid: #7C8790;
  --white: #FFFFFF;

  --font-display: "Inter Tight", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(.16,.8,.24,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; line-height: 1.65; }
ul { list-style: none; margin: 0; padding: 0; }
section { position: relative; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow--light { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn--gold:hover { background: var(--gold-light); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(247,246,243,0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(35,42,48,0.08);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__brand { display: block; margin-right: auto; }
.nav__logo { height: 32px; width: auto; transition: opacity .3s ease; }
.nav__logo--dark { display: none; }
.nav.is-scrolled .nav__logo--white { display: none; }
.nav.is-scrolled .nav__logo--dark { display: block; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .3s ease, opacity .3s ease;
  opacity: 0.9;
}
.nav.is-scrolled .nav__links a { color: var(--charcoal); }
.nav__links a:hover { opacity: 1; color: var(--gold); }
.nav__phone {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
  padding: 9px 18px;
  border-radius: var(--radius);
  transition: all .3s ease;
}
.nav.is-scrolled .nav__phone { color: var(--charcoal); border-color: rgba(35,42,48,0.3); }
.nav__phone:hover { border-color: var(--gold); color: var(--gold); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: background .3s ease;
}
.nav.is-scrolled .nav__toggle span { background: var(--charcoal); }
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--ivory);
  padding: 0 32px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.nav__mobile a {
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-light);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.nav__mobile.is-open { max-height: 320px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19,24,28,.55) 0%, rgba(19,24,28,.35) 35%, rgba(19,24,28,.55) 75%, rgba(19,24,28,.82) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 32px;
  text-align: center;
  color: var(--white);
}
.hero__logo { margin: 0 auto 36px; width: 190px; opacity: 0.96; }
.hero__title {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.12;
  font-weight: 500;
  color: var(--white);
}
.hero__title span { color: var(--gold-light); font-weight: 600; }
.hero__sub {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
  font-weight: 300;
}
.hero__actions {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  background: var(--gold-light);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- About ---------- */
.about { padding: 140px 32px; background: var(--ivory); }
.about__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  aspect-ratio: 4/4.6;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
}
.about__media-frame {
  position: absolute;
  top: 22px; left: -22px;
  right: -22px; bottom: -22px;
  border: 1px solid var(--gold);
  z-index: 1;
}
.about__copy h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--charcoal);
  margin-bottom: 22px;
}
.about__lede {
  font-size: 17px;
  line-height: 1.8;
  color: #4A535A;
  font-weight: 300;
  max-width: 46ch;
}
.features {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 32px;
}
.features li { display: flex; gap: 16px; align-items: flex-start; }
.features__icon {
  flex: none;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  border: 1px solid var(--blue-mist);
  border-radius: 50%;
}
.features__icon svg { width: 20px; height: 20px; }
.features h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.features p {
  font-size: 14px;
  color: var(--grey-mid);
  line-height: 1.6;
}

/* ---------- Gallery ---------- */
.gallery { padding: 40px 32px 140px; background: var(--ivory); }
.gallery__head {
  max-width: var(--container);
  margin: 0 auto 56px;
  text-align: center;
}
.gallery__head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--charcoal);
}
.gallery__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gallery__item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,24,28,0) 55%, rgba(19,24,28,0.75) 100%);
}
.gallery__item figcaption {
  position: absolute;
  left: 22px; bottom: 20px;
  z-index: 2;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- CTA banner ---------- */
.cta {
  background: var(--blue);
  padding: 90px 32px;
  text-align: center;
}
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 16px;
}
.cta p {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 34px;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--charcoal);
  padding: 130px 32px;
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}
.contact__info h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 18px;
}
.contact__lede {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  font-weight: 300;
  max-width: 40ch;
  margin-bottom: 48px;
}
.contact__list { display: flex; flex-direction: column; gap: 26px; }
.contact__list li { display: flex; align-items: center; gap: 18px; }
.contact__icon {
  flex: none;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--gold-light);
}
.contact__icon svg { width: 19px; height: 19px; }
.contact__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 3px;
}
.contact__list a, .contact__list span:not(.contact__label) {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}
.contact__list a:hover { color: var(--gold-light); }

.contact__form-wrap {
  background: var(--ivory);
  padding: 48px;
  border-radius: var(--radius);
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 9px;
}
.req { color: var(--gold); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .25s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 90px; }
.field.invalid input, .field.invalid textarea { border-color: #B23A3A; }
.error {
  display: none;
  margin-top: 7px;
  font-size: 12.5px;
  color: #B23A3A;
}
.error.visible { display: block; }
.actions { margin-top: 6px; }
.form-status {
  margin-top: 14px;
  font-size: 13px;
  color: #B23A3A;
  text-align: center;
}
.success { text-align: center; padding: 20px 0; }
.success__mark {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.success h3 { font-size: 20px; margin-bottom: 10px; color: var(--charcoal); }
.success p { color: var(--grey-mid); line-height: 1.6; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal-soft); padding: 60px 32px 36px; }
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.footer__logo { height: 30px; width: auto; opacity: 0.92; }
.footer__tagline { color: rgba(255,255,255,0.55); font-size: 14px; font-weight: 300; max-width: 44ch; }
.footer__contact { display: flex; gap: 26px; margin-top: 8px; }
.footer__contact a { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; }
.footer__contact a:hover { color: var(--gold-light); }
.footer__copy { color: rgba(255,255,255,0.35); font-size: 12.5px; margin-top: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; }

  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 56px; }
  .about__media { max-width: 420px; margin: 0 auto; }
  .about__media-frame { display: none; }
  .contact__form-wrap { padding: 34px 28px; }

  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid .gallery__item:first-child { grid-column: 1 / -1; }
  .gallery__grid .gallery__item:first-child img { aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
  .about { padding: 90px 22px; }
  .gallery { padding: 20px 22px 90px; }
  .cta { padding: 70px 22px; }
  .contact { padding: 90px 22px; }
  .footer { padding: 50px 22px 28px; }

  .features { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__grid .gallery__item:first-child { grid-column: auto; }
  .gallery__grid .gallery__item:first-child img { aspect-ratio: 3/4; }

  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }

  .footer__contact { flex-direction: column; gap: 10px; }
}
