@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-normal-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-italic-400.woff2") format("woff2");
}

:root {
  --ink: #1c1b1a;
  --muted: #3f3d3c;
  --paper: #f6f5f2;
  --sand: #e0e0db;
  --white: #ffffff;
  --navy: #253551;
  --navy-deep: #1b283d;
  --dark: #2a2829;
  --line: rgba(28, 27, 26, 0.16);
  --header: #141414;
  --max: 1120px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --serif: "Noto Serif", "Palatino Linotype", Palatino, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  font-synthesis: weight;
}

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

a {
  color: var(--navy);
}

a:hover {
  color: var(--navy-deep);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  top: 0.5rem;
}

.site-header {
  background: var(--header);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

body.has-hero .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

body.has-hero .site-header.is-solid {
  position: fixed;
  background: var(--header);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem var(--gutter) 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.logo img {
  display: block;
  height: 4.6rem;
  width: auto;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.35rem;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.1rem 0.45rem;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--white);
  color: var(--white);
}

.hero {
  position: relative;
  height: 72vh;
  min-height: 28rem;
  display: grid;
  place-items: center;
  color: var(--white);
  background-color: #1a1a1a;
  background-image: url("/assets/images/hero-poster.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  text-align: center;
}

.hero-still {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero video {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.hero video.is-playing {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.28));
}

.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: 70px;
  line-height: 0;
}

.hero-curve svg {
  display: block;
  width: 100%;
  height: 70px;
}

.hero h1,
.page-hero h1 {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: 2rem var(--gutter);
  max-width: 16ch;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.page-hero {
  position: relative;
  min-height: 56vh;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #1a1a1a center/cover no-repeat;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 2rem var(--gutter);
}

.page-hero h1 {
  padding: 0;
}

.page-hero .hero-shade {
  background: rgba(0, 0, 0, 0.38);
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.band {
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
}

.band-sand { background: var(--sand); }
.band-white { background: var(--white); }
.band-paper { background: var(--paper); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.wrap-narrow {
  max-width: 46rem;
  margin: 0 auto;
}

.split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem 2.5rem;
  align-items: center;
}

.split img,
.frame img {
  display: block;
  width: 100%;
  height: auto;
}

.kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin: 0 0 0.8rem;
}

.quote {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
}

.prose h1,
.prose h2,
.price-intro h1 {
  font-weight: 400;
  line-height: 1.25;
  margin: 1.4rem 0 0.6rem;
}

.prose h1 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.prose p { margin: 0.8rem 0; }
.prose ol { margin: 0.6rem 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0.45rem 0; }
.prose li p { margin: 0.15rem 0; }

.grazing-banner {
  position: relative;
  min-height: 62vh;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #1c1c1c url("/assets/images/grazing-cattle.jpg") center/cover no-repeat;
  text-align: center;
}

.grazing-banner h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 2.5rem var(--gutter);
  max-width: 22ch;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.25;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.photo-row {
  display: grid;
  gap: 0.8rem;
  margin: 0 auto 1.5rem;
  max-width: var(--max);
}

.photo-row img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  display: block;
}

.button {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.25rem;
  letter-spacing: 0.04em;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.button:hover,
.button:focus-visible {
  background: var(--navy-deep);
  color: var(--white);
}

.button-light {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.touch-form {
  display: grid;
  gap: 0.45rem;
  max-width: 36rem;
}

.touch-form input,
.touch-form textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

.button-row {
  margin-top: 1.4rem;
}

.newsletter {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  margin: 0 0 0.6rem;
}

.newsletter form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
  text-align: left;
}

.newsletter label {
  font-size: 0.95rem;
}

.newsletter input {
  font: inherit;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

.newsletter button {
  justify-self: start;
}

.fine {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 2rem var(--gutter);
}

.site-footer a {
  color: var(--white);
  font-size: 1.25rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem 1.15rem;
  color: inherit;
  text-decoration: none;
  display: block;
}

.card:hover {
  border-color: var(--navy);
}

.card h2,
.card h3 {
  font-weight: 400;
  margin: 0.35rem 0;
  color: var(--ink);
  font-size: 1.45rem;
}

.card .meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  display: block;
  margin-bottom: 0.8rem;
}

.post-figure {
  margin: 0 0 1.2rem;
}

.post-figure img {
  display: block;
  width: 100%;
  max-height: 36rem;
  object-fit: contain;
  background: var(--sand);
}

.flyer {
  display: block;
  max-width: 40rem;
  margin: 1.5rem auto 0;
}

.flyer img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.sheet-link {
  display: block;
  margin-top: 1.2rem;
  padding: 1.1rem 1.2rem;
  background: var(--sand);
  color: var(--ink);
  text-decoration: none;
  border-left: 4px solid var(--navy);
}

.sheet-link strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.price-intro {
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.price-intro h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 0.6rem;
}

.price-group {
  margin: 0 0 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.4rem 1rem 0.6rem;
}

.price-group h2 {
  font-weight: 400;
  font-size: 1.45rem;
  margin: 0.8rem 0 0.2rem;
  color: var(--navy);
}

.price-group table {
  width: 100%;
  border-collapse: collapse;
}

.price-group th {
  text-align: left;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.price-group td {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.price-group tr:last-child td {
  border-bottom: 0;
}

.price-group td:last-child,
.price-group th:last-child {
  text-align: right;
  white-space: nowrap;
}

.shares {
  margin-top: 2.2rem;
  background: var(--navy);
  color: var(--white);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.shares h2 {
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.4rem;
}

.shares .basis,
.shares .note {
  margin: 0.3rem 0 0;
}

.share-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.share-card {
  background: var(--paper);
  color: var(--ink);
  padding: 1rem 1.05rem 1.1rem;
}

.share-card h3 {
  margin: 0;
  font-weight: 400;
  font-size: 1.35rem;
}

.share-card .lb {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.share-card .total {
  margin: 0.2rem 0 0;
  font-size: 1.8rem;
  line-height: 1.2;
}

.back {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

@media (min-width: 760px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }
  .logo img { height: 5.6rem; }
  .site-nav { justify-content: center; }
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse { direction: rtl; }
  .split.reverse > * { direction: ltr; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row img { height: 22rem; }
  .cards { grid-template-columns: 1fr 1fr 1fr; }
  .cards.journal { grid-template-columns: 1fr; }
  .journal-card {
    display: grid;
    grid-template-columns: 16rem 1fr;
    gap: 1.2rem;
    align-items: center;
  }
  .journal-card img {
    height: 12rem;
    margin: 0;
  }
  .share-grid { grid-template-columns: repeat(3, 1fr); }
  .newsletter form {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .newsletter label { grid-column: 1 / -1; }
}

@media (max-width: 759px) {
  .nav-toggle-label { display: inline-block; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0.6rem;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:focus-visible ~ .nav-toggle-label {
    outline: 2px solid var(--white);
    outline-offset: 3px;
  }
  .price-group thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .price-group table,
  .price-group tbody,
  .price-group tr,
  .price-group td {
    display: block;
    width: 100%;
  }
  .price-group tr {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .price-group td {
    border-bottom: 0;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero video { display: none; }
}

@media print {
  .site-header, .site-footer, .button, .skip { display: none; }
  body { background: white; }
  .shares { break-inside: avoid; }
}
