@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600 700; font-display: swap; src: url(/assets/fonts/fraunces-latin.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/work-sans.woff2) format("woff2"); }

:root {
  --shaving: #f3ece1;
  --bog-oak: #2b1f17;
  --oak: #9a6736;
  --oak-deep: #7a4f27;
  --bark: #5e4c3d;
  --line: #d9cbb6;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--shaving);
  color: var(--bog-oak);
  font: 400 1.0625rem/1.65 "Work Sans", system-ui, sans-serif;
}

a { color: inherit; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--bog-oak); color: var(--shaving);
  padding: .6rem 1rem; border-radius: 4px; text-decoration: none;
}
.skip:focus { top: 1rem; }

main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1180px, 100% - 3rem);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) 0;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 6.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0 0 1.25rem;
}

.lede {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.3;
  color: var(--oak-deep);
  margin: 0 0 1.75rem;
  max-width: 26ch;
}

.copy p { max-width: 36rem; margin: 0 0 1rem; }
.copy .soon { color: var(--bark); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 3rem; padding: .75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn-solid { background: var(--bog-oak); color: var(--shaving); border: 1.5px solid var(--bog-oak); }
.btn-line { color: var(--bog-oak); border: 1.5px solid var(--bog-oak); }
.btn:focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }

@media (hover: hover) {
  .btn-solid:hover { background: var(--oak-deep); border-color: var(--oak-deep); }
  .btn-line:hover { background: var(--bog-oak); color: var(--shaving); }
}

.art { color: var(--oak); }
.rings { display: block; width: 100%; height: auto; opacity: .7; }
.rings .check { stroke: var(--bog-oak); opacity: .5; }

footer {
  border-top: 1px solid var(--line);
  width: min(1180px, 100% - 3rem);
  margin: 0 auto;
  padding: 1.25rem 0 1.75rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  font-size: .875rem; color: var(--bark);
}
footer p { margin: 0; }
footer a { text-underline-offset: 2px; }

@media (max-width: 820px) {
  main { grid-template-columns: 1fr; padding-top: 2.5rem; gap: 1.5rem; }
  .art { order: -1; width: min(300px, 70%); }
}

@media (prefers-reduced-motion: no-preference) {
  .copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .copy > :nth-child(2) { animation-delay: .06s; }
  .copy > :nth-child(3) { animation-delay: .12s; }
  .copy > :nth-child(4) { animation-delay: .16s; }
  .copy > :nth-child(5) { animation-delay: .2s; }
  .copy > :nth-child(6) { animation-delay: .24s; }
  .rings { animation: settle 1.4s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes settle { from { opacity: 0; transform: scale(.97) rotate(-2deg); } }
