:root {
  color-scheme: light;
  --paper: #f4f0e9;
  --ink: #1f1e1c;
  --quiet: #68635c;
  --accent: #6f3039;
  --rule: rgba(31, 30, 28, 0.18);
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  transition: color 180ms ease, border-color 180ms ease,
    text-decoration-color 180ms ease;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.8rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main {
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-block: 2rem;
}

.identity {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.identity-wordmark {
  display: block;
  width: clamp(11rem, 18vw, 14.5rem);
  height: auto;
}

.identity-pr,
.header-link,
.copyright {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.identity-pr {
  margin: 0.25rem 0 0 0.2rem;
  color: var(--quiet);
}

.header-link {
  padding: 0.35rem 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.header-link:hover,
.header-link:focus-visible {
  border-color: currentColor;
}

.hero {
  display: grid;
  align-content: center;
  min-height: min(640px, 70vh);
  padding-block: 5rem 6rem;
  border-top: 1px solid var(--rule);
}

h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 9.4vw, 8.4rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h1 em {
  color: var(--accent);
  font-weight: inherit;
}

.hero-copy {
  max-width: 610px;
  margin: 3rem 0 0 auto;
}

.introduction {
  margin: 0;
  color: var(--quiet);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.25;
}

.hero-note {
  max-width: 500px;
  margin: 1.5rem 0 0;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.6;
}

.services,
.about {
  display: grid;
  grid-template-columns: minmax(9rem, 0.45fr) minmax(18rem, 1.55fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(5rem, 9vw, 8rem);
  border-top: 1px solid var(--rule);
}

.services h2,
.about h2 {
  margin: 0;
  padding-top: 0.35rem;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 4rem);
}

.service {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-content: start;
  column-gap: 0.85rem;
  padding-block: 1.4rem 2.8rem;
  border-top: 1px solid var(--rule);
}

.service-number {
  grid-column: 1;
  padding-top: 0.32rem;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.service h3 {
  grid-column: 2;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.05;
}

.service p {
  grid-column: 2;
  max-width: 34ch;
  margin: 0.9rem 0 0;
  color: var(--quiet);
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  line-height: 1.6;
}

.about-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(13rem, 0.75fr);
  align-items: start;
  column-gap: clamp(2.5rem, 5vw, 5rem);
  row-gap: 2.25rem;
}

.about-copy p {
  margin: 0;
}

.about-statement {
  grid-column: 1;
  grid-row: 1;
  max-width: 13ch;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.about-portrait {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: min(100%, 19rem);
  margin: 0;
  padding: 0.42rem;
  justify-self: end;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.18);
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 26%;
  filter: saturate(0.82) contrast(0.97);
}

.about-detail {
  grid-column: 1;
  grid-row: 2;
  max-width: 38ch;
  color: var(--quiet);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.7;
}

.site-footer {
  width: 100%;
  margin-top: clamp(1rem, 4vw, 4rem);
  background: var(--accent);
  color: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
  padding-block: clamp(5rem, 9vw, 8rem) 2rem;
}

.footer-prompt {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.footer-invitation {
  grid-column: 1 / -1;
  margin: 1.25rem 0 0;
  color: rgba(244, 240, 233, 0.72);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.footer-email {
  margin: 1.5rem 0 0;
  color: var(--paper);
  font-size: 0.9rem;
  text-decoration-color: rgba(244, 240, 233, 0.35);
  text-underline-offset: 0.3em;
}

.footer-email:hover,
.footer-email:focus-visible {
  text-decoration-color: currentColor;
}

.copyright {
  margin: 2rem 0 0;
  color: rgba(244, 240, 233, 0.62);
  text-align: right;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header,
.hero h1,
.hero-copy {
  animation: settle 700ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.hero h1 {
  animation-delay: 70ms;
}

.hero-copy {
  animation-delay: 150ms;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .site-header,
  main,
  .footer-inner {
    width: min(100% - 2rem, 1180px);
  }

  .site-header {
    padding-block: 1.5rem;
  }

  .identity-wordmark {
    width: 10.5rem;
  }

  .hero {
    min-height: auto;
    padding-block: 5.5rem 6rem;
  }

  h1 {
    font-size: clamp(3.6rem, 17vw, 4.75rem);
  }

  .hero-copy {
    margin-top: 2.5rem;
  }

  .services,
  .about {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .service {
    padding-block: 1.25rem 2.25rem;
  }

  .about-copy {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }

  .about-statement,
  .about-portrait,
  .about-detail {
    grid-column: 1;
  }

  .about-statement {
    grid-row: 1;
  }

  .about-portrait {
    grid-row: 2;
    width: min(82%, 20rem);
  }

  .about-detail {
    grid-row: 3;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-email,
  .copyright {
    margin-top: 1rem;
  }

  .copyright {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .hero h1,
  .hero-copy {
    animation: none;
  }
}
