:root {
  --ink: #001219;
  --teal: #005f73;
  --cyan: #0a9396;
  --aqua: #94d2bd;
  --wheat: #e9d8a6;
  --sage: #a4c4a4;
  --orange: #ee9b00;
  --caramel: #ca6702;
  --spice: #bb3e03;
  --iron: #ae2012;
  --red: #9b2226;
  --paper: #f4ead0;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--sage);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: .16;
  pointer-events: none;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-180%);
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem clamp(1.25rem, 4vw, 4.5rem);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 700;
  text-decoration: none;
}

.wordmark img { display: block; width: 2.4rem; height: 2.4rem; object-fit: cover; }

.site-header nav { display: flex; gap: clamp(1rem, 3vw, 2.8rem); }

.site-header nav a {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a:hover,
.site-header nav a:focus-visible { text-decoration: underline; text-underline-offset: .35rem; }

.hero {
  position: relative;
  display: grid;
  min-height: 820px;
  grid-template-columns: minmax(330px, .78fr) minmax(500px, 1.22fr);
  align-items: start;
  padding: 6.75rem 0 5.4rem clamp(1.5rem, 7vw, 8rem);
  background:
    radial-gradient(circle at 15% 18%, rgba(255,255,255,.4) 0 1px, transparent 2px),
    linear-gradient(112deg, var(--sage) 0 37%, #b8cfb4 37% 100%);
  isolation: isolate;
}

.hero-copy { position: relative; z-index: 4; max-width: 600px; padding-right: 1.5rem; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--spice);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1, h2, blockquote p { font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; }

#hero-title {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3.9rem, 6vw, 6.8rem);
  line-height: .84;
}

.tagline {
  max-width: 440px;
  margin: 2rem 0 .45rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-style: italic;
}

.intro { max-width: 370px; margin: 0; font-size: 1.02rem; }

.trail-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: .78rem 1.15rem .78rem 1.3rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.trail-button span { font-size: 1rem; }
.trail-button:hover,
.trail-button:focus-visible {
  border-color: var(--orange);
  color: var(--ink);
  background: var(--orange);
  transform: translateY(-2px);
}

.trail-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.hero-world { position: relative; align-self: stretch; min-height: 680px; overflow: hidden; }

.world-svg {
  position: absolute;
  right: 10%;
  bottom: 22%;
  width: min(70vw, 950px);
  height: 100%;
  overflow: visible;
  transform: scale(.7);
  transform-origin: right bottom;
}
.sun { fill: var(--orange); }
.cloud { fill: none; stroke: var(--paper); stroke-linecap: round; stroke-width: 22; opacity: .85; }
.cloud-two { stroke: var(--aqua); stroke-width: 13; opacity: .8; }
.mountain-back { fill: var(--wheat); }
.mountain-front { fill: var(--teal); }
.lake { fill: var(--aqua); }
.lake-line { fill: none; stroke: var(--paper); stroke-width: 6; stroke-linecap: round; opacity: .8; }
.lake-line-two { stroke: var(--teal); stroke-width: 3; opacity: .45; }
.bank { fill: #647956; }
.path { fill: none; stroke: var(--paper); stroke-width: 36; stroke-linecap: round; }
.trees { fill: var(--ink); }
.trees .trunk { fill: var(--caramel); }
.blanket { fill: var(--orange); }
.person circle, .person path { fill: var(--spice); stroke: var(--spice); stroke-width: 7; stroke-linecap: round; }
.person-two circle, .person-two path { fill: var(--teal); stroke: var(--teal); }
.tiny-scene .book { fill: var(--paper); }
.flowers { fill: var(--orange); stroke: var(--orange); stroke-width: 5; stroke-linecap: round; }

.world-note {
  position: absolute;
  right: 20%;
  bottom: 22%;
  z-index: 2;
  margin: 0;
  padding: .35rem .65rem;
  color: var(--paper);
  background: rgba(0,18,25,.7);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  transform: rotate(-2deg);
}

.floating-leaf { position: absolute; z-index: 2; width: 95px; height: 40px; border-radius: 100% 0; background: var(--orange); opacity: .76; }
.leaf-one { top: 18%; right: 7%; transform: rotate(26deg); }
.leaf-two { top: 9%; left: 15%; width: 63px; height: 27px; background: var(--cyan); transform: rotate(-28deg); }

.paper-tear {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 5;
  height: 44px;
  background: var(--paper);
  clip-path: polygon(0 46%, 5% 69%, 12% 39%, 18% 64%, 25% 34%, 33% 63%, 40% 40%, 49% 66%, 58% 35%, 67% 63%, 77% 38%, 85% 64%, 93% 37%, 100% 57%, 100% 100%, 0 100%);
}

.encouragement {
  position: relative;
  display: grid;
  min-height: 660px;
  place-items: center;
  padding: 7rem 1.5rem 8rem;
  background: var(--paper);
  overflow: hidden;
}

.note-wrap {
  position: relative;
  z-index: 2;
  width: min(92vw, 640px);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 6vw, 5rem);
  text-align: center;
  background: #f8efda;
  box-shadow: 0 24px 60px rgba(0,18,25,.12);
  transform: rotate(-1.3deg);
}

.note-wrap::before {
  position: absolute;
  top: -12px;
  left: 42%;
  width: 120px;
  height: 28px;
  content: "";
  background: rgba(233,216,166,.85);
  transform: rotate(3deg);
}

blockquote { margin: 0; }
blockquote p { margin: 0; color: var(--teal); font-size: clamp(3.7rem, 8vw, 6.8rem); line-height: .84; }
blockquote em { color: var(--spice); font-weight: 500; }
.note-copy { max-width: 390px; margin: 2rem auto 0; }
.note-sun { position: absolute; right: 1.5rem; bottom: 1.5rem; width: 70px; fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; opacity: .8; }

.botanical { position: absolute; bottom: -50px; width: 280px; height: 520px; }
.botanical-left { left: -40px; transform: rotate(-8deg); }
.botanical-right { right: -15px; transform: scaleX(-1) rotate(-14deg); }
.botanical::before { position: absolute; left: 48%; width: 4px; height: 100%; border-radius: 50%; content: ""; background: var(--teal); transform: rotate(8deg); }
.botanical span, .botanical i, .botanical b { position: absolute; width: 130px; height: 68px; border-radius: 100% 0; background: var(--aqua); }
.botanical span { top: 80px; left: 105px; transform: rotate(25deg); }
.botanical i { top: 210px; left: 18px; background: var(--teal); transform: rotate(48deg); }
.botanical b { top: 345px; left: 116px; background: var(--orange); transform: rotate(6deg); }

.social-world {
  position: relative;
  min-height: 890px;
  padding: 8rem clamp(1.5rem, 7vw, 8rem) 17rem;
  color: var(--paper);
  background: var(--teal);
  overflow: hidden;
}

.social-world::before {
  position: absolute;
  top: -3px;
  right: 0;
  left: 0;
  height: 68px;
  content: "";
  background: var(--paper);
  clip-path: polygon(0 0,100% 0,100% 36%,93% 64%,85% 31%,76% 57%,67% 30%,58% 62%,49% 35%,40% 65%,30% 32%,21% 60%,12% 34%,4% 65%,0 45%);
}

.social-intro { position: relative; z-index: 3; max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }
.social-intro .eyebrow { color: var(--wheat); }
#social-title { margin: 0; font-size: clamp(2.75rem, 5vw, 4.8rem); line-height: .96; }
.social-intro > p:last-child { max-width: 560px; margin: 1.7rem auto 0; color: #d4e5d8; }

.goblin-profile {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: .75rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.goblin-profile-frame {
  width: clamp(8rem, 12vw, 10rem);
  aspect-ratio: 1;
  border: 4px solid var(--wheat);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--paper), var(--wheat));
  box-shadow: 0 0 0 6px rgba(238,155,0,.18), 0 14px 30px rgba(0,18,25,.28);
  overflow: hidden;
}

.goblin-profile img { display: block; width: 100%; height: 100%; object-fit: cover; }

.goblin-profile figcaption {
  color: var(--wheat);
  font-family: var(--serif);
  font-size: .95rem;
  font-style: italic;
}

.social-paths { position: relative; z-index: 4; display: grid; max-width: 960px; margin: 0 auto; grid-template-columns: repeat(2, 1fr); gap: 0 5.5rem; }

.social-link {
  display: grid;
  grid-template-columns: 3.1rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem .25rem;
  border-bottom: 1px solid rgba(233,216,166,.36);
  color: var(--paper);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.social-link:hover, .social-link:focus-visible { color: var(--wheat); transform: translateX(5px); }
.social-link:hover .social-icon, .social-link:focus-visible .social-icon { color: var(--orange); }
.social-icon { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 1.25rem; }
.social-link strong, .social-link small { display: block; }
.social-link strong { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.social-link small { margin-top: .18rem; color: #bcd2c8; font-size: .78rem; }
.social-link .arrow { font-size: 1.35rem; }
.social-link[aria-disabled="true"] { cursor: default; }
.social-link[aria-disabled="true"] .arrow { opacity: .35; }

.social-scenery { position: absolute; right: 0; bottom: -10px; left: 0; z-index: 1; }
.social-scenery svg { display: block; width: 100%; }
.ground-far { fill: var(--cyan); }
.ground-near { fill: #073f48; }
.winding-path { fill: none; stroke: var(--wheat); stroke-width: 33; stroke-linecap: round; }
.flower-stems { fill: none; stroke: var(--aqua); stroke-width: 7; stroke-linecap: round; }
.bloom { fill: var(--orange); }
.bloom-two, .bloom-five { fill: var(--wheat); }
.bloom-three { fill: var(--red); }
.wheelbarrow-tray { fill: var(--caramel); }
.wheelbarrow-frame { fill: none; stroke: var(--wheat); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.wheelbarrow-wheel { fill: var(--orange); stroke: var(--ink); stroke-width: 8; }
.watering-can .can-body, .watering-can .can-spout { fill: var(--aqua); }
.watering-can .can-handle { fill: none; stroke: var(--aqua); stroke-width: 8; stroke-linecap: round; }
.garden-stones { fill: var(--wheat); opacity: .72; }
.bench { fill: var(--caramel); }
.reader { fill: var(--red); stroke: var(--red); stroke-width: 8; stroke-linecap: round; }
.reader .book { fill: var(--wheat); stroke: none; }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: end;
  padding: 3.5rem clamp(1.5rem, 7vw, 8rem);
  color: var(--paper);
  background: var(--ink);
}

.footer-name { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; }
footer p { margin: .2rem 0 0; color: #aac0b8; font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.2rem; }
.footer-links a { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--wheat); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .35rem; }
.copyright { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { min-height: 880px; grid-template-columns: 1fr; align-items: start; padding-top: 8.5rem; }
  .hero-copy { max-width: 620px; }
  .hero-world { position: absolute; right: 0; bottom: 0; left: 8%; min-height: 590px; opacity: .85; }
  .world-svg { right: -12%; width: 95vw; }
  .hero-copy { text-shadow: 0 2px 18px rgba(164,196,164,.9); }
  .social-paths { gap: 0 2.5rem; }
  footer { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .site-header { padding: 1rem 1.2rem; }
  .wordmark span { max-width: 150px; line-height: 1.05; }
  .hero { min-height: 810px; padding: 7.6rem 1.25rem 3rem; }
  #hero-title { font-size: clamp(3.7rem, 18vw, 5rem); }
  .tagline { max-width: 290px; margin-top: 1.6rem; font-size: 1.45rem; }
  .intro { max-width: 290px; }
  .hero-world { left: 0; min-height: 500px; }
  .world-svg { right: -44%; bottom: -5%; width: 155vw; opacity: .78; }
  .world-note { display: none; }
  .floating-leaf { opacity: .45; }
  .encouragement { min-height: 610px; padding: 6rem 1rem; }
  .note-wrap { padding: 3.6rem 1.6rem 4rem; }
  .note-copy { max-width: 290px; }
  .botanical { opacity: .35; }
  .botanical-left { left: -145px; }
  .botanical-right { right: -145px; }
  .social-world { min-height: 1020px; padding: 7rem 1.25rem 15rem; }
  .social-intro { text-align: left; }
  .goblin-profile { margin-bottom: 2.25rem; }
  .goblin-profile-frame { width: 7.5rem; }
  .goblin-profile figcaption { font-size: .85rem; }
  #social-title { font-size: clamp(2.55rem, 12vw, 3.25rem); }
  .social-paths { grid-template-columns: 1fr; }
  .social-link { grid-template-columns: 2.8rem 1fr auto; padding: 1rem 0; }
  .social-scenery { width: 190%; transform: translateX(-27%); }
  footer { padding: 3rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
