@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Source+Sans+3:wght@300;400;600&display=swap");

:root {
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Source Sans 3", "Segoe UI", sans-serif;
  --bg: #faf9f7;
  --bg-soft: #f0ebe3;
  --bg-footer: #e6ddd2;
  --text: #2a2622;
  --muted: #5a524a;
  --accent: #0097a7;
  --accent-dark: #007a87;
  --border: #d5cbc0;
  --frame: #ebe3d9;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(17px, 2.5vw, 19px);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

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

.site-header {
  background: #fff;
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px clamp(48px, 8vw, 112px) 56px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--text);
}

.lead {
  font-size: 1.15rem;
  max-width: 34em;
}

a {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 28px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border-radius: 2px;
}
.btn:hover {
  background: var(--accent-dark);
  color: #fff;
}

.hero__logo-link {
  display: block;
  line-height: 0;
  border-radius: 4px;
  transition: opacity 0.15s ease;
}
.hero__logo-link:hover {
  opacity: 0.88;
}

.hero__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}
.hero__logo {
  width: 100%;
  max-width: 520px;
  height: auto;
}

@media (min-width: 901px) {
  .hero__frame {
    justify-content: flex-end;
  }
  .hero__logo {
    margin-left: auto;
  }
}

.page-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px 48px;
}
.page-hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 12px;
}

.section {
  padding: 48px 32px 64px;
}
.section--soft {
  background: var(--bg-soft);
}
.section__inner {
  max-width: 720px;
  margin: 0 auto;
}
.section__inner h2 {
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 16px;
}

.muted {
  color: var(--muted);
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 32px;
}

.vcard {
  text-align: center;
}
.vcard__name {
  font-size: 1.25rem;
  margin: 0 0 12px;
}
.vcard__address {
  font-style: normal;
  margin: 0 0 16px;
  line-height: 1.6;
}
.vcard__lines {
  margin: 0;
}
.vcard__action {
  margin: 24px 0 0;
}

.site-footer {
  background: var(--bg-footer);
  padding: 32px;
  font-family: var(--font-ui);
  font-size: 14px;
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer__copy {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    padding: 32px max(20px, env(safe-area-inset-right)) 40px
      max(20px, env(safe-area-inset-left));
  }
  .hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__visual {
    order: -1;
    width: 100%;
    max-width: min(400px, 92vw);
    margin: 0 auto;
  }
  .hero__frame {
    padding: 0;
  }
  .lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    max-width: 28em;
  }
  .section {
    padding: 40px max(20px, env(safe-area-inset-right)) 48px
      max(20px, env(safe-area-inset-left));
  }
  .page-hero {
    padding: 32px max(20px, env(safe-area-inset-right)) 40px
      max(20px, env(safe-area-inset-left));
    text-align: center;
  }
  .site-footer {
    padding: 24px max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom))
      max(20px, env(safe-area-inset-left));
  }
}

@media (max-width: 480px) {
  .hero {
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 32px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .section__inner h2 {
    font-size: 1.5rem;
  }
  .vcard__lines {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
  }
}
