:root {
  --afc-navy: #12212e;
  --afc-gold: #a98d5d;
  --white: #ffffff;
  --content-max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--afc-navy);
  background: var(--white);
  font-family: "Sofia Pro", "Avenir Next", Avenir, Montserrat, "Century Gothic", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-width {
  width: min(calc(100% - 3rem), var(--content-max));
  margin-inline: auto;
}

.site-header {
  background: var(--white);
}

.header-inner {
  min-height: clamp(118px, 15vw, 205px);
  display: flex;
  align-items: center;
}

.brand-logo {
  width: clamp(210px, 22vw, 285px);
  height: auto;
}

.hero {
  position: relative;
  min-height: clamp(590px, 59vw, 790px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-image: url("assets/architectural-image.jpg");
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.02) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(70px, 9vw, 125px);
}

.hero-copy {
  width: min(790px, 72%);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 4.25vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.accent-rule {
  width: 136px;
  height: 4px;
  margin: clamp(46px, 5vw, 62px) 0 clamp(38px, 4vw, 48px);
  background: var(--afc-gold);
}

.hero p {
  max-width: 780px;
  margin: 0;
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.site-footer {
  background: var(--white);
}

.footer-inner {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--afc-navy);
  text-decoration: none;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.3;
}

.contact-link:hover,
.contact-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-link strong {
  font-weight: 700;
}

.mail-icon {
  flex: 0 0 auto;
  width: 40px;
  color: var(--afc-gold);
}

.copyright {
  margin: 0;
  color: rgba(18, 33, 46, 0.72);
  font-size: clamp(0.9rem, 1.15vw, 1.08rem);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .content-width {
    width: min(calc(100% - 2.5rem), var(--content-max));
  }

  .hero {
    min-height: 690px;
    background-position: 58% center;
  }

  .hero-copy {
    width: min(760px, 88%);
  }

  .footer-inner {
    min-height: 150px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 0.8rem;
    padding-block: 1.5rem;
  }

  .copyright {
    white-space: normal;
    padding-left: 56px;
  }
}

@media (max-width: 600px) {
  .content-width {
    width: min(calc(100% - 2rem), var(--content-max));
  }

  .header-inner {
    min-height: 108px;
  }

  .brand-logo {
    width: 190px;
  }

  .hero {
    min-height: 690px;
    align-items: end;
    background-position: 63% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.42) 58%, rgba(0, 0, 0, 0.78) 100%);
  }

  .hero-inner {
    padding-block: 5rem 4rem;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.45rem, 11vw, 3.45rem);
    line-height: 1.06;
  }

  .accent-rule {
    width: 96px;
    height: 3px;
    margin: 2rem 0 1.75rem;
  }

  .hero p {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .contact-link {
    align-items: flex-start;
    gap: 0.8rem;
  }

  .mail-icon {
    width: 34px;
    margin-top: 0.08rem;
  }

  .copyright {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
