:root {
  --bg: #ffffff;
  --text: #a2b8af;
  --text-strong: #a2b8af;
  --text-dark: #2a2a2a;
  --muted: #6a6a6a;
  --line: #a2b8af;
  --soft-line: #ccd4d1;
  --shadow: rgba(0, 0, 0, 0.08);
  --max: 1000px;
  --wide-max: 1480px;
  --side: 34px;
  --header-height: 110px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.wrap {
  width: min(var(--max), calc(100% - (var(--side) * 2)));
  margin: 0 auto;
}

.wide-wrap {
  width: min(var(--wide-max), calc(100% - (var(--side) * 2)));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: relative;
  z-index: 2000;
  background: var(--bg);
  border-bottom: 1px solid var(--soft-line);
}

.header-inner {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  width: auto;
  height: 78px;
  display: block;
}

/* HAMBURGER */

.menu-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 2101;
  appearance: none;
  -webkit-appearance: none;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin-left: auto;
  margin-right: 0;
  background: var(--text-strong);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* DROPDOWN MENU */

.main-nav {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  min-width: 320px;
  padding: 24px 26px;
  background: var(--bg);
  border: 1px solid var(--soft-line);
  box-shadow: 0 10px 30px var(--shadow);
  display: none;
  flex-direction: column;
  gap: 14px;
  z-index: 2100;
}

.main-nav.active {
  display: flex;
}

.main-nav a {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-strong);
  white-space: nowrap;
}

.main-nav a::after,
.hero-links a::after,
.text-col a::after,
.related-grid a::after,
.site-footer a::after,
.cta-line a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.7);
  transform-origin: left center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-nav a:hover::after,
.hero-links a:hover::after,
.text-col a:hover::after,
.related-grid a:hover::after,
.site-footer a:hover::after,
.cta-line a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* HERO */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.22) 36%,
    rgba(0, 0, 0, 0.08) 60%,
    rgba(0, 0, 0, 0.02) 100%
  );
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 72px;
  color: #ffffff;
}

.eyebrow,
.section-label {
  margin: 0 0 18px 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 92px);
  color: #ffffff;
}

.hero-text {
  width: min(640px, 100%);
  margin: 28px 0 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 34px;
}

.hero-links a {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* SECTIONS */

.section {
  padding: 88px 0;
}

.border-top {
  border-top: 1px solid var(--soft-line);
}

.grid {
  display: grid;
  gap: 40px;
}

.grid-2 {
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.3fr);
}

.section h2 {
  color: var(--text);
  font-size: clamp(34px, 5vw, 58px);
}

.text-col p {
  margin: 0 0 22px 0;
  max-width: 760px;
  color: var(--text-dark);
}

.text-col a,
.related-grid a,
.site-footer a,
.cta-line a {
  position: relative;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 18px 0 20px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.feature-list span {
  color: var(--text-dark);
}

.image-band {
  padding-top: 0;
  padding-bottom: 0;
}

.image-band img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cta-line {
  margin-top: 34px;
}

.cta-line a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* RELATED */

.related-links {
  padding-top: 6px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 40px;
}

.related-grid a {
  display: inline-block;
  width: fit-content;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--soft-line);
  padding: 48px 0 70px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-title {
  margin: 0 0 12px 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

/* CONTACT FORM */

.contact-form {
  max-width: 720px;
  margin-top: 60px;
}

.form-group {
  margin-bottom: 40px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-dark);
  outline: none;
}

.form-group textarea {
  min-height: 140px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom: 1px solid var(--text-dark);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.form-checkbox span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-submit {
  margin-top: 50px;
  background: none;
  border: none;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  color: var(--text-dark);
}

.form-submit::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.6);
  transition: transform 0.25s ease;
}

.form-submit:hover::after {
  transform: scaleX(1);
}

.hidden-field {
  display: none;
}

/* THANK YOU PAGE */

.thank-you {
  margin-top: 40px;
}

.thank-you-content {
  margin-top: 40px;
  max-width: 600px;
}

.thank-you-content p {
  margin: 0 0 30px 0;
  color: var(--text-dark);
}

.thank-you-link {
  position: relative;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.thank-you-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  transform: scaleX(0.7);
  transform-origin: left;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.thank-you-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .grid-2,
  .footer-inner,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 720px) {
  :root {
    --side: 20px;
    --header-height: 96px;
  }

  .brand img {
    height: 64px;
  }

  .main-nav {
    right: 0;
    min-width: min(320px, calc(100vw - 40px));
    padding: 20px;
  }

  .hero {
    min-height: calc(100vh - var(--header-height));
  }

  .hero-content {
    padding-top: 90px;
    padding-bottom: 46px;
  }

  .hero-text {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }
}