:root {
  --ink: #071321;
  --muted: #47515d;
  --paper: #f8f6f2;
  --paper-soft: #fffdf9;
  --line: #d9d3ca;
  --gold: #b58752;
  --gold-dark: #9a703f;
  --night: #06131f;
  --night-2: #0b1c2b;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Avenir Next", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

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

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  min-height: 67vh;
  display: grid;
  grid-template-columns: minmax(430px, 44.75%) minmax(0, 55.25%);
  background: var(--paper-soft);
}

.hero__copy {
  padding: clamp(2rem, 4vw, 3.35rem) clamp(2rem, 5vw, 5.45rem) 2.55rem;
  display: flex;
  flex-direction: column;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
  color: var(--ink);
}

.brand__name {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 4.4vw, 4.95rem);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.02em;
}

.brand__rule {
  width: 1px;
  height: 1.55rem;
  background: currentColor;
  opacity: 0.45;
}

.brand__io {
  color: var(--gold);
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  letter-spacing: 0.16em;
  line-height: 1;
}

.tagline,
.eyebrow,
.section-heading h2,
.footer h2 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.43em;
}

.tagline {
  margin-top: 1.55rem;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero__statement {
  margin-top: clamp(3rem, 6vh, 5rem);
  max-width: 35rem;
}

.eyebrow {
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 600;
}

h1 {
  margin: 1.05rem 0 0;
  max-width: 32rem;
  font-family: var(--serif);
  font-size: clamp(3.45rem, 4.55vw, 5.2rem);
  font-weight: 600;
  line-height: 0.97;
  letter-spacing: -0.025em;
}

h1 span {
  color: var(--gold);
}

.accent-line {
  width: 2.55rem;
  height: 1px;
  margin-top: 1.45rem;
  background: var(--gold);
}

.intro {
  margin: 1.05rem 0 0;
  max-width: 32rem;
  color: #1d2b38;
  font-size: 1.01rem;
}

.signup {
  position: relative;
  margin-top: auto;
  padding-top: clamp(2rem, 5vh, 3rem);
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(19rem, 1.3fr);
  gap: 1.45rem;
  align-items: center;
}

.signup__label {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.signup__label svg {
  width: 2.15rem;
  height: auto;
  color: var(--gold-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.signup__label strong,
.signup__label small {
  display: block;
}

.signup__label strong {
  text-transform: uppercase;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
}

.signup__label small {
  color: #263341;
  font-size: 0.74rem;
}

.signup__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 3.25rem;
  border: 1px solid var(--line);
  background: #fff;
}

.signup input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 1.25rem;
  color: var(--ink);
  outline: 0;
}

.signup input::placeholder {
  color: #7b838d;
}

.signup button {
  border: 0;
  padding: 0 1.35rem;
  background: var(--ink);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.signup button:hover,
.signup button:focus-visible {
  background: var(--gold-dark);
}

.signup__message {
  position: absolute;
  right: 0;
  bottom: -1.75rem;
  margin: 0;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.signup.is-error input {
  box-shadow: inset 0 0 0 2px #a44b3d;
}

.signup.is-error .signup__message {
  color: #a44b3d;
}

.hero__image {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  background: var(--night);
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(6 19 31 / 0.08), rgb(6 19 31 / 0.2) 45%, rgb(6 19 31 / 0.1)),
    linear-gradient(0deg, rgb(6 19 31 / 0.35), transparent 46%);
  pointer-events: none;
}

.hero__image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.06);
}

.hero__motto {
  position: absolute;
  right: clamp(2rem, 7vw, 7.25rem);
  bottom: clamp(2rem, 5vw, 4.6rem);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.55rem;
  color: #fff;
}

.hero__motto span {
  width: 1px;
  height: 6.35rem;
  background: var(--gold);
}

.hero__motto p {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.7;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.services {
  padding: 1.45rem clamp(1.25rem, 4vw, 5.4rem) 2.2rem;
  background: #fff;
  box-shadow: 0 -20px 40px rgb(7 19 33 / 0.06);
}

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

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(0.86rem, 1.28vw, 1.2rem);
  font-weight: 700;
}

.accent-line--center {
  margin: 0.7rem auto 0;
}

.services__grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service {
  min-height: 10.8rem;
  padding: 0 2.05rem;
  text-align: center;
}

.service + .service {
  border-left: 1px solid var(--line);
}

.service svg {
  width: 4.15rem;
  height: 4.15rem;
  margin: 0 auto 0.95rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  line-height: 1.3;
}

.service p {
  margin: 0.72rem 0 0;
  color: #1f2e3c;
  font-size: 0.82rem;
}

.footer {
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.04), transparent 38%),
    var(--night);
  color: #fff;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) 2.6fr minmax(13rem, 1fr);
  gap: clamp(1.5rem, 3.6vw, 3.2rem);
  padding: 1.95rem clamp(2rem, 4vw, 5.4rem) 1.7rem;
}

.footer__brand,
.footer__nav > div,
.footer__contact {
  border-left: 1px solid rgb(255 255 255 / 0.24);
  padding-left: clamp(1.4rem, 2.6vw, 3rem);
}

.footer__brand {
  border-left: 0;
  padding-left: 0;
}

.brand--light {
  color: #fff;
}

.brand--light .brand__name {
  font-size: clamp(2.2rem, 3vw, 3rem);
}

.tagline--light {
  margin-top: 0.75rem;
  color: #d8e0e6;
  font-size: 0.58rem;
  letter-spacing: 0.45em;
}

.footer__brand p:not(.tagline) {
  max-width: 18.5rem;
  margin: 1.5rem 0 0;
  color: #e5eaee;
  font-size: 0.82rem;
}

.socials {
  margin-top: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.socials a {
  min-width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
}

.socials svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2.1rem);
}

.footer h2 {
  color: var(--gold);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
}

.footer__nav a,
.footer__contact a {
  display: block;
  color: #f1f4f6;
  font-size: 0.82rem;
}

.footer__nav a {
  margin-top: 0.32rem;
}

.footer__contact {
  margin: 0;
  font-style: normal;
}

.footer__contact a {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  gap: 0.95rem;
  align-items: start;
}

.footer__contact svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.16);
  padding: 0.95rem clamp(2rem, 4vw, 5.4rem) 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #f4f7f9;
  font-size: 0.75rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom p:last-child {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.footer__bottom span {
  width: 1px;
  height: 0.9rem;
  background: rgb(255 255 255 / 0.55);
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    min-height: auto;
  }

  .hero__image {
    min-height: 32rem;
  }

  .signup {
    max-width: 46rem;
  }

  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 0;
  }

  .service:nth-child(4) {
    border-left: 0;
  }

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

  .footer__brand,
  .footer__nav > div,
  .footer__contact {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .hero__copy {
    padding: 1.75rem 1.35rem 2.4rem;
  }

  .brand__name {
    font-size: 3.1rem;
  }

  .tagline,
  .eyebrow,
  .section-heading h2,
  .footer h2 {
    letter-spacing: 0.22em;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

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

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

  .signup input {
    min-height: 3.2rem;
  }

  .signup button {
    min-height: 3.05rem;
  }

  .signup__message {
    position: static;
    min-height: 1.2rem;
  }

  .hero__image {
    min-height: 25rem;
  }

  .hero__motto {
    left: 1.35rem;
    right: 1.35rem;
    bottom: 1.6rem;
  }

  .hero__motto p {
    font-size: 1.05rem;
  }

  .services {
    padding: 1.45rem 1.2rem 2.2rem;
  }

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

  .service {
    min-height: auto;
    padding: 1.35rem 0;
    border-left: 0 !important;
    border-top: 1px solid var(--line);
  }

  .service:first-child {
    border-top: 0;
  }

  .footer__main {
    padding: 1.75rem 1.35rem;
  }

  .footer__nav {
    grid-template-columns: 1fr;
    gap: 1.55rem;
  }

  .footer__bottom {
    padding: 1rem 1.35rem;
    flex-direction: column;
  }
}
