@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f7f0e2;
  --paper-light: #fffaf1;
  --ink: #1f2a37;
  --navy: #142438;
  --sage: #6f7864;
  --coral: #c0674f;
  --apricot: #e59a63;
  --line: rgb(20 36 56 / 18%);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 78rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

* { box-sizing: border-box; }

html { min-width: 20rem; }

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: .2rem solid var(--apricot);
  outline-offset: .25rem;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  border-radius: .4rem;
  background: var(--navy);
  color: var(--paper-light);
  transform: translateY(-180%);
}

.skip-link:focus { transform: none; }

.content-width {
  width: min(calc(100% - var(--gutter) - var(--gutter)), var(--content));
  margin-inline: auto;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: clip;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgb(247 240 226 / 98%) 0%, rgb(247 240 226 / 89%) 38%, rgb(247 240 226 / 26%) 68%, rgb(247 240 226 / 5%) 100%),
    linear-gradient(180deg, transparent 72%, rgb(247 240 226 / 93%) 100%),
    url("assets/images/meadow-hero.webp");
  background-position: center, center, center bottom;
  background-size: cover;
}

.page-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 18%;
  left: -5rem;
  width: 13rem;
  aspect-ratio: 1;
  border: 1px solid rgb(192 103 79 / 17%);
  border-radius: 50%;
  pointer-events: none;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: flex;
  min-height: clamp(5rem, 9vw, 6.25rem);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo { width: min(17rem, 58vw); height: auto; }

.status {
  margin: 0;
  color: var(--sage);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-align: right;
  text-transform: uppercase;
}

main {
  display: grid;
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.intro {
  width: min(100%, 43rem);
  animation: enter .8s cubic-bezier(.2, .7, .2, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 1.4rem;
  color: var(--sage);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--coral);
}

h1 {
  max-width: 9ch;
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(4.4rem, 9vw, 8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .79;
  text-wrap: balance;
}

h1 em {
  display: inline-block;
  margin-top: .14em;
  color: var(--coral);
  font-size: .62em;
  font-weight: 400;
  letter-spacing: -.035em;
}

.lede {
  max-width: 39rem;
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.return-note {
  width: fit-content;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-style: italic;
  line-height: 1.3;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: end;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.themes {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.25rem;
  margin: 0;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.themes span { position: relative; }

.themes span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -.78rem;
  color: var(--coral);
}

.identity {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  white-space: nowrap;
}

.identity span { margin-inline: .25rem; color: var(--coral); }

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--sage);
  font-size: .72rem;
}

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

@media (max-width: 48rem) {
  .page-shell {
    min-height: 100svh;
    background-image:
      linear-gradient(180deg, rgb(247 240 226 / 97%) 0%, rgb(247 240 226 / 90%) 56%, rgb(247 240 226 / 22%) 79%, rgb(247 240 226 / 93%) 100%),
      url("assets/images/meadow-hero.webp");
    background-position: center, 56% bottom;
    background-size: cover, auto max(50rem, 92vh);
  }

  .page-shell::after { display: none; }
  .header-inner { gap: 1rem; }
  .status { max-width: 10rem; font-size: .62rem; }
  main { align-items: start; padding-block: clamp(2.75rem, 10vw, 4.5rem) clamp(7rem, 23vw, 10rem); }
  h1 { font-size: clamp(4rem, 18vw, 6rem); }
  .lede { font-size: .98rem; line-height: 1.65; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .identity { grid-column: 1; grid-row: auto; white-space: normal; }
}

@media (max-width: 25rem) {
  .header-inner { display: grid; gap: .25rem; padding-block: .8rem; }
  .status { max-width: none; text-align: left; }
  .themes span:not(:last-child)::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .intro { animation: none; }
}
