@font-face { font-family: Newsreader; src: url('./assets/newsreader-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Newsreader; src: url('./assets/newsreader-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url('./assets/manrope-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('./assets/manrope-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url('./assets/manrope-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --paper: #f4f1ea;
  --ink: #201f1d;
  --pine: #29463e;
  --slate: #555c55;
  --rule: #c8c2b8;
  --serif: Newsreader, Georgia, serif;
  --columns: minmax(0, 542fr) minmax(0, 676fr);
  --gap: clamp(40px, 5.42vw, 78px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 Manrope, system-ui, sans-serif; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
p { color: var(--slate); text-wrap: pretty; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 4px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 8px 14px; transform: translateY(-150%); background: var(--paper); }
.skip-link:focus { transform: none; }
.page { width: min(100%, 1440px); margin-inline: auto; padding-inline: clamp(24px, 5vw, 72px); }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header { min-height: 98px; border-bottom: 1px solid var(--rule); }
.site-header a, .about-link { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark { gap: 10px; font: 500 37px/42px var(--serif); letter-spacing: -.035em; color: var(--pine); text-decoration: none; white-space: nowrap; }
.wordmark img { display: block; flex: none; }
.site-header nav { display: flex; gap: clamp(12px, 3vw, 32px); }
.site-header nav a { font-size: 15px; font-weight: 600; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.hero, .about, .contact { display: grid; grid-template-columns: var(--columns); align-items: center; gap: var(--gap); border-bottom: 1px solid var(--rule); }
.hero { padding-block: 76px; }
.hero-copy { display: grid; gap: 28px; }
h1 { font-size: clamp(55px, 6.32vw, 91px); line-height: .978; letter-spacing: -.048em; }
.hero-copy p { max-width: 425px; font-size: 19px; line-height: 32px; }
.about-link { justify-self: start; gap: 10px; font-size: 15px; font-weight: 700; color: var(--pine); }
.about-link svg { flex: none; }
.shoreline { display: block; width: 100%; height: auto; aspect-ratio: 676 / 480; object-fit: cover; outline: 1px solid rgb(0 0 0 / 10%); outline-offset: -1px; }
.about { padding-block: 42px 45px; scroll-margin-top: 20px; }
.about h2, .contact h2 { font-size: 44px; line-height: 48px; letter-spacing: -.028em; }
.about p { max-width: 475px; font-size: 17px; line-height: 29px; }
.contact { align-items: start; padding-block: 56px; scroll-margin-top: 20px; }
.contact h2 { margin-bottom: 10px; }
.contact form, .contact label, .contact-fields { display: grid; gap: 8px; }
.contact form, .contact-fields { gap: 16px; }
.contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact input, .contact textarea, .contact button { font: inherit; }
.contact input, .contact textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--rule); background: transparent; color: var(--ink); }
.contact textarea { resize: vertical; }
.contact button { justify-self: start; min-height: 44px; padding: 8px 18px; border: 1px solid var(--pine); background: var(--pine); color: var(--paper); cursor: pointer; }
.contact button:disabled { opacity: .65; cursor: default; }
.contact-note { font-size: 14px; line-height: 1.5; }
#contact-status:empty { position: absolute; }
#contact-challenge:empty { display: none; }
.site-footer { min-height: 76px; font-size: 13px; color: var(--slate); }
.site-footer span:first-child { color: var(--pine); font-weight: 600; }

@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  .wordmark { font-size: 30px; line-height: 34px; }
  .wordmark img { width: 32px; height: 32px; }
  .site-header nav a { font-size: 14px; }
  .hero, .about, .contact, .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 32px; padding-block: 54px 42px; }
  .hero-copy { gap: 20px; }
  h1 { font-size: clamp(44px, 14.87vw, 58px); line-height: .966; }
  .hero-copy p { max-width: 315px; font-size: 16px; line-height: 27px; }
  .shoreline { aspect-ratio: 342 / 248; }
  .about { gap: 14px; padding-block: 33px 36px; }
  .about h2, .contact h2 { font-size: 34px; line-height: 37px; }
  .contact { gap: 24px; padding-block: 36px; }
  .about p { max-width: 333px; font-size: 15px; line-height: 25px; }
  .site-footer { min-height: 66px; }
}

@media (max-width: 360px) {
  .wordmark { gap: 6px; font-size: 25px; }
  .wordmark img { width: 26px; height: 26px; }
  .site-header { gap: 10px; }
  .site-header nav { gap: 12px; }
}
