:root {
  --cream: #f4f1ea;
  --paper: #fffcf8;
  --ink: #3a2a16;
  --muted: #6a5c4a;
  --pine: #2f5140;
  --pine-deep: #243f32;
  --line: #e4d9c8;
  --focus: #2f5140;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
.wordmark,
.address,
.facts strong {
  font-family: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0.15rem 0 1rem;
  font-family: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  font-size: clamp(3.4rem, 6.4vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--ink);
}

h1 em {
  font-style: italic;
  font-weight: 400;
}

h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.22em;
}

h1 .line > span {
  display: block;
}

h2 {
  margin: 0.2rem 0 1.4rem;
  max-width: 22ch;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.05;
  text-wrap: balance;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--pine);
  color: var(--cream);
  padding: 0.6rem 1rem;
}

.skip:focus {
  top: 0.5rem;
  z-index: 5;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.7rem 1.4rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
  margin-right: auto;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 2px var(--cream);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Outfit, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--pine);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--pine-deep);
}

.bar > .cta {
  margin-left: 0.65rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.6rem 1.25rem;
  background: var(--pine);
  color: var(--cream);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}

.cta:hover {
  background: var(--pine-deep);
}

.cta:focus-visible,
.nav a:focus-visible,
.links a:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(22rem, 36rem) minmax(0, 1fr);
  min-height: calc(100svh - 4.4rem);
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2.75rem 2.5rem max(1.5rem, 5vw);
}

.hero-copy .cta {
  align-self: flex-start;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--pine);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 1.08rem;
  color: var(--ink);
}

.note {
  margin: 1rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-photo {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.hero-photo::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 22%;
  background: linear-gradient(90deg, var(--cream), transparent);
  pointer-events: none;
}

.facts {
  width: min(1080px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 2.2rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.facts p {
  margin: 0;
  padding: 0.15rem 1.4rem;
  text-align: center;
}

.facts p + p {
  border-left: 1px solid var(--line);
}

.facts strong,
.facts span {
  display: block;
}

.facts strong {
  font-size: 1.85rem;
  line-height: 1.1;
}

.facts span {
  margin-top: 0.25rem;
  color: var(--muted);
}

.cover {
  display: block;
  width: 100%;
  margin: 0.5rem 0 0;
}

.visit,
.steps,
.gallery,
.where {
  width: min(1080px, calc(100% - 8vw));
  margin-inline: auto;
  padding-top: 4.75rem;
  scroll-margin-top: 5rem;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.cards li {
  background: transparent;
  border-top: 1px solid var(--pine);
  padding: 1.15rem 0.15rem 0.2rem;
}

.cards p,
.steps p,
.where .links + p {
  margin: 0;
  color: var(--muted);
}

.steps ol {
  list-style: none;
  margin: 0 0 1.7rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.steps li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.steps li > span {
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pine);
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 600;
}

.gallery ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.gallery li {
  overflow: hidden;
  border-radius: 1.15rem;
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4 / 5;
}

.address {
  margin: 0 0 0.2rem;
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.02;
  text-wrap: balance;
}

.reach {
  max-width: 36rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.links {
  display: flex;
  gap: 0.7rem;
  margin: 1.15rem 0 0;
}

.links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--cream);
  background: var(--pine);
  font-weight: 500;
}

.links a:hover {
  background: var(--pine-deep);
}

footer {
  margin-top: 4.5rem;
  padding: 2.4rem 8vw 2.2rem;
  background: var(--pine);
  color: color-mix(in srgb, var(--cream) 78%, white);
}

.wordmark {
  margin: 0 0 0.35rem;
  color: var(--cream);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 0.9;
}

@media (max-width: 1100px) {
  .nav {
    gap: 0.75rem;
  }

  .bar {
    gap: 0.85rem;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero {
    grid-template-columns: minmax(16rem, 28rem) minmax(0, 1fr);
  }

  h1 {
    font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 2.4rem 1.25rem 1.5rem;
  }

  .hero-photo {
    height: min(128vw, 36rem);
    min-height: 22rem;
  }

  .hero-photo::before {
    inset: 0 0 auto 0;
    width: 100%;
    height: 16%;
    background: linear-gradient(to bottom, var(--cream), transparent);
  }

  .cards,
  .steps ol {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .cards,
  .facts,
  .gallery ul {
    grid-template-columns: 1fr;
  }

  .facts p + p {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .brand small {
    display: none;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .bar {
    gap: 0.7rem;
    padding-inline: 0.85rem;
  }

  .bar > .cta {
    margin-left: 0.15rem;
    padding-inline: 0.85rem;
  }

  .gallery ul {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 3.6rem);
  }

  h2 {
    max-width: none;
  }
}

h1 .line > span,
.hero-copy .eyebrow,
.hero-copy .lead,
.hero-copy .cta,
.hero-copy .note,
.hero-photo img {
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1 .line > span {
  animation-name: line-rise;
  animation-duration: 1.05s;
}

h1 .line:nth-child(2) > span {
  animation-delay: 0.14s;
}

.hero-copy .lead {
  animation-delay: 0.22s;
}

.hero-copy .cta {
  animation-delay: 0.34s;
}

.hero-copy .note {
  animation-delay: 0.44s;
}

.hero-photo img {
  animation-name: photo-open;
  animation-duration: 1.25s;
}

@keyframes line-rise {
  from {
    transform: translateY(110%);
  }
  to {
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes photo-open {
  from {
    transform: scale(1.08);
    clip-path: inset(0 100% 0 0);
  }
  to {
    transform: none;
    clip-path: inset(0);
  }
}

@supports (animation-timeline: view()) {
  .cover {
    animation: cover-open linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 65%;
  }

  .facts p,
  .cards li,
  .steps li {
    animation: rise-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }

  .facts p:nth-child(2),
  .cards li:nth-child(2),
  .steps li:nth-child(2) {
    animation-range: entry 10% cover 40%;
  }

  .facts p:nth-child(3),
  .cards li:nth-child(3),
  .steps li:nth-child(3) {
    animation-range: entry 18% cover 48%;
  }
}

@keyframes cover-open {
  from {
    clip-path: inset(0 4%);
  }
  to {
    clip-path: inset(0);
  }
}

@keyframes rise-in {
  from {
    transform: translateY(0.85rem);
  }
  to {
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .gallery img {
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .gallery li:hover img {
    transform: scale(1.04);
  }
}

@media (max-width: 900px) {
  .hero-photo img {
    animation-name: photo-open-down;
  }
}

@keyframes photo-open-down {
  from {
    transform: scale(1.06);
    clip-path: inset(14% 0 0 0);
  }
  to {
    transform: none;
    clip-path: inset(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  h1 .line > span,
  .hero-copy .eyebrow,
  .hero-copy .lead,
  .hero-copy .cta,
  .hero-copy .note,
  .hero-photo img,
  .cover,
  .facts p,
  .cards li,
  .steps li,
  .gallery img {
    animation: none;
    transition: none;
  }
}
