:root {
  --ivory: #f8f6f2;
  --paper: #fffdf9;
  --sand: #d9c9b9;
  --taupe: #a89b8e;
  --stone: #bdb1a3;
  --charcoal: #3e3a36;
  --onyx: #0e0e0e;
  --gold: #d4b57a;
  --gold-light: #e3cb98;
  --bronze: #8c7243;
  --sage: #66705e;
  --line: #dccfc1;
  --body: #5a524b;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul {
  margin: 0;
}

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

a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

a:hover {
  color: var(--bronze);
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
}

.hero {
  background: var(--charcoal);
  color: var(--ivory);
}

.hero__inner {
  padding: clamp(28px, 5vw, 48px) var(--gutter) clamp(80px, 11vw, 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo img {
  width: clamp(150px, 24vw, 210px);
}

.hero__title {
  margin-top: clamp(56px, 9vw, 100px);
  max-width: 1100px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 7.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__lede {
  margin-top: 28px;
  max-width: 640px;
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--sand);
  text-wrap: pretty;
}

.domain {
  margin-top: 44px;
  width: 100%;
  max-width: 560px;
  padding: 28px 20px;
  border: 1px solid rgba(212, 181, 122, .42);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.domain__old {
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--stone);
  text-decoration: line-through;
  text-decoration-color: var(--gold);
  overflow-wrap: anywhere;
}

.domain__line {
  display: block;
  width: 1px;
  height: 28px;
  background: var(--gold);
  transform-origin: top;
}

.domain__new {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(25px, 4.6vw, 38px);
  line-height: 1.1;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.hero__note {
  margin-top: 32px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ivory);
  text-wrap: pretty;
}

.hero__note[hidden] {
  display: none;
}

.hero__actions {
  margin-top: 36px;
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero__actions .btn {
  flex: 1 1 280px;
}

.btn {
  min-height: 56px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.btn--gold {
  background: var(--gold);
  color: var(--onyx);
}

.btn--gold:hover {
  background: var(--gold-light);
  color: var(--onyx);
}

.btn--line {
  border: 1px solid rgba(248, 246, 242, .5);
  color: var(--ivory);
}

.btn--line:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--dark {
  margin-top: 28px;
  min-height: 54px;
  padding: 0 32px;
  background: var(--charcoal);
  color: var(--ivory);
}

.btn--dark:hover {
  background: var(--onyx);
  color: var(--ivory);
}

.services {
  padding: clamp(72px, 10vw, 128px) var(--gutter);
}

.services__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.heading {
  max-width: 760px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  color: var(--charcoal);
  text-wrap: balance;
}

.heading--sm {
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.1;
}

.intro {
  margin-top: 22px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}

.services__grid {
  margin-top: clamp(44px, 6vw, 72px);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
}

@media (min-width: 760px) {
  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card {
    padding-left: clamp(18px, 2.4vw, 40px);
    padding-right: clamp(18px, 2.4vw, 40px);
  }
}

.card {
  min-height: 380px;
  padding: clamp(44px, 5vw, 64px) clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .35s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card__mark {
  display: block;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

.card__title {
  margin-top: 28px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.1;
}

.card__text {
  margin-top: 14px;
  max-width: 320px;
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

.card__link {
  margin-top: 28px;
  padding: 10px 0 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
}

.card--sage {
  background: var(--sage);
  color: var(--ivory);
}

.card--charcoal {
  background: var(--charcoal);
  color: var(--ivory);
}

.card--charcoal .card__text {
  color: var(--sand);
}

.card--sage .card__link,
.card--charcoal .card__link {
  color: var(--ivory);
}

.card--sage .card__link:hover,
.card--charcoal .card__link:hover {
  color: var(--gold-light);
}

.card--sand {
  background: var(--sand);
  color: var(--charcoal);
}

.card--sand .card__mark {
  background: var(--sage);
}

.card--sand .card__link {
  color: var(--charcoal);
  border-bottom-color: var(--charcoal);
}

.card--sand .card__link:hover {
  color: var(--onyx);
}

.split {
  padding: 0 var(--gutter) clamp(72px, 10vw, 128px);
}

.split__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.panel {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 64px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.panel__title {
  max-width: 460px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.1;
  text-wrap: balance;
}

.panel__text {
  margin-top: 20px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  text-wrap: pretty;
}

.rule {
  display: block;
  margin-top: 32px;
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.panel__label {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.panel__license {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--body);
}

.panel__phone {
  margin-top: 24px;
  padding: 6px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.1;
}

.panel__email {
  margin-top: 6px;
  padding: 8px 0;
  font-size: 18px;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--gold);
}

.panel__small {
  margin-top: 18px;
  max-width: 380px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  text-wrap: pretty;
}

.areas {
  padding: 0 var(--gutter) clamp(80px, 11vw, 136px);
}

.areas__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.areas__list {
  margin-top: 32px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.areas__list li {
  padding: 10px 18px;
  border: 1px solid var(--line);
  font-size: 15px;
}

.areas .intro {
  margin-top: 28px;
  max-width: 520px;
  font-size: 16px;
}

.footer {
  background: var(--onyx);
  color: var(--ivory);
  padding: clamp(64px, 8vw, 96px) var(--gutter) 40px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__logo img {
  width: 150px;
}

.footer__tag {
  margin-top: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--sand);
}

.footer__nav {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
}

.footer__nav a {
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ivory);
}

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

.footer__social {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer__social a {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--charcoal);
  font-size: 14px;
  color: var(--sand);
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer__legal {
  margin-top: 56px;
  padding-top: 28px;
  width: 100%;
  border-top: 1px solid #2a2724;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--taupe);
}

.footer__legal a {
  color: var(--taupe);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal a:hover {
  color: var(--gold);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__logo,
  .hero__title,
  .hero__lede,
  .domain,
  .hero__actions {
    animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
  }

  .hero__title { animation-delay: .08s; }
  .hero__lede { animation-delay: .16s; }
  .domain { animation-delay: .24s; }
  .hero__actions { animation-delay: .32s; }

  .domain__line {
    animation: draw .8s ease .7s both;
  }

  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }

  @keyframes draw {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
  }
}
