:root {
  --ink: #18251f;
  --ink-soft: #536259;
  --paper: #f7f3ea;
  --paper-deep: #eee7d8;
  --white: #fffdf8;
  --forest: #173d34;
  --forest-dark: #102d27;
  --moss: #607b52;
  --sage: #dbe2cc;
  --gold: #d9912a;
  --gold-light: #f4bf62;
  --rust: #b85132;
  --line: rgba(24, 37, 31, 0.16);
  --shadow: 0 18px 45px rgba(30, 43, 34, 0.1);
  --shadow-small: 0 8px 20px rgba(30, 43, 34, 0.09);
  --radius: 1.25rem;
  --content: 74rem;
  --narrow: 52rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 191, 98, 0.22), transparent 29rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

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

svg {
  display: block;
}

a {
  color: var(--forest);
  text-decoration-color: rgba(23, 61, 52, 0.45);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.17em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover {
  color: var(--rust);
  text-decoration-color: currentColor;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 3px 14px rgba(22, 37, 29, 0.04);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
  color: var(--forest-dark);
  font-size: 0.87rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-decoration: none;
}

.brand:hover {
  color: var(--forest-dark);
}

.brand svg {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  fill: var(--gold);
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-nav {
  display: none;
}

.desktop-nav a,
.header-cta {
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.header-cta {
  display: none;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 4px 0 var(--forest-dark);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
  color: var(--white);
  background: var(--rust);
  box-shadow: 0 4px 0 #873c27;
  transform: translateY(-1px);
}

.menu-button {
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  color: var(--forest-dark);
  background: var(--white);
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1;
}

.menu-button:hover {
  border-color: var(--forest);
  background: var(--sage);
}

.mobile-menu {
  position: fixed;
  z-index: 19;
  top: 4.5rem;
  right: 0.75rem;
  left: 0.75rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu a {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 0.55rem;
  color: var(--forest-dark);
  font-weight: 750;
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--forest-dark);
  background: var(--sage);
}

.hero,
.guide-section,
.planning-panel,
.article,
.legal,
.contact-page {
  width: min(var(--content), calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  gap: 2.25rem;
  padding-block: 3.5rem 4rem;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow,
.meta {
  margin: 0;
  color: var(--rust);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
}

.hero h1,
.article h1,
.legal h1,
.contact-page h1 {
  max-width: 12ch;
  margin: 0.65rem 0 1.15rem;
  font-size: clamp(2.65rem, 11vw, 5.9rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.article h1,
.legal h1,
.contact-page h1 {
  max-width: 16ch;
}

.lede {
  max-width: 39rem;
  margin: 0 0 1.9rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 3vw, 1.24rem);
  line-height: 1.65;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.73rem 1.12rem;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 4px 0 var(--forest-dark);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  color: var(--white);
  background: var(--rust);
  box-shadow: 0 4px 0 #873c27;
  transform: translateY(-1px);
}

.primary-button:active,
.header-cta:active {
  box-shadow: 0 1px 0 currentColor;
  transform: translateY(3px);
}

.hero-art {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
  border: 1px solid rgba(23, 61, 52, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, transparent 0 47%, rgba(255, 247, 205, 0.45) 48% 49%, transparent 50%),
    linear-gradient(140deg, #1d4e44 0 24%, #e7a03e 24% 46%, #f5c55f 46% 52%, #a34e39 52% 64%, #315846 64% 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  top: 10%;
  right: 12%;
  width: 4.4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff0ad;
  box-shadow: 0 0 0 1rem rgba(255, 239, 171, 0.14);
  content: "";
}

.hero-art::after {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -25%;
  left: -12%;
  height: 56%;
  background: repeating-linear-gradient(82deg, #183b32 0 0.9rem, #28533d 0.9rem 1.8rem);
  clip-path: polygon(0 71%, 12% 32%, 28% 69%, 42% 0, 61% 59%, 78% 13%, 100% 57%, 100% 100%, 0 100%);
  content: "";
}

.hero-art span {
  position: absolute;
  inset: auto 12% 15% auto;
  width: 18%;
  aspect-ratio: 1.2;
  border-radius: 50% 50% 45% 45%;
  background: rgba(255, 253, 248, 0.78);
  transform: rotate(-22deg);
}

.guide-section {
  padding-block: 1.5rem 4rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.8rem;
}

.section-heading h2,
.planning-panel h2,
.contact-details h2 {
  margin: 0.45rem 0 0.65rem;
  font-size: clamp(2rem, 8vw, 3.7rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.section-heading > p:last-child {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.guide-list {
  display: grid;
  gap: 1rem;
}

.trail-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.74);
  box-shadow: var(--shadow-small);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.trail-card:hover {
  border-color: rgba(23, 61, 52, 0.36);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.trail-card img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  background: var(--sage);
}

.trail-card > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.2rem;
}

.trail-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 6vw, 2rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.trail-card p {
  margin: 0;
  color: var(--ink-soft);
}

.trail-card .meta {
  color: var(--rust);
  font-family: inherit;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tags span {
  padding: 0.28rem 0.58rem;
  border: 1px solid rgba(23, 61, 52, 0.14);
  border-radius: 999px;
  color: var(--forest);
  background: var(--sage);
  font-size: 0.77rem;
  font-weight: 750;
  line-height: 1.3;
}

.trail-card > div > a {
  margin-top: 0.25rem;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 850;
}

.trail-card > div > a:hover {
  color: var(--rust);
}

.planning-panel {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(23, 61, 52, 0.2);
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 84% 14%, rgba(244, 191, 98, 0.35), transparent 15rem),
    linear-gradient(125deg, var(--forest-dark), #2d5b49);
  box-shadow: var(--shadow);
}

.planning-panel h2 {
  margin-bottom: 0;
  color: var(--white);
}

.planning-panel .eyebrow {
  color: var(--gold-light);
}

.planning-panel > p {
  max-width: 40rem;
  margin: 0;
  color: rgba(255, 253, 248, 0.86);
}

.article,
.legal,
.contact-page {
  padding-block: 3rem 4rem;
}

.article > .eyebrow,
.legal > .eyebrow,
.contact-page > .eyebrow {
  margin-bottom: 0.2rem;
}

.article-hero {
  width: 100%;
  height: clamp(14rem, 56vw, 35rem);
  margin: 1.8rem 0 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-small);
}

.article-grid {
  display: grid;
  gap: 1.5rem;
}

.article-grid aside {
  height: max-content;
  padding: 1.25rem;
  border: 1px solid rgba(23, 61, 52, 0.17);
  border-radius: 1rem;
  background: var(--sage);
}

.article-grid aside strong {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--forest-dark);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-grid aside p {
  margin: 0;
  padding-block: 0.45rem;
  border-top: 1px solid rgba(23, 61, 52, 0.15);
  color: var(--forest);
  font-size: 0.92rem;
}

.article-grid > div {
  max-width: 48rem;
}

.article-grid h2,
.legal h2 {
  margin: 2.4rem 0 0.75rem;
  font-size: clamp(1.75rem, 6vw, 2.45rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.article-grid h2:first-child {
  margin-top: 0;
}

.article-grid p,
.legal p {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
}

.article-grid strong,
.legal strong {
  color: var(--forest-dark);
}

.legal {
  max-width: var(--narrow);
}

.legal h1 {
  max-width: 12ch;
}

.table-wrap {
  margin: 1.25rem 0 2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--white);
  box-shadow: var(--shadow-small);
}

table {
  width: 100%;
  min-width: 39rem;
  border-collapse: collapse;
}

th,
td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--white);
  background: var(--forest);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.contact-page h1 {
  max-width: 14ch;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.contact-grid form,
.contact-details {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.contact-grid form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  color: var(--forest-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-grid form label:first-child {
  margin-top: 0;
}

input,
textarea {
  width: 100%;
  border: 1px solid #aebbad;
  border-radius: 0.55rem;
  color: var(--ink);
  background: #fffefa;
  box-shadow: inset 0 1px 2px rgba(20, 45, 37, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input {
  min-height: 2.8rem;
  padding: 0.6rem 0.72rem;
}

textarea {
  min-height: 9rem;
  padding: 0.72rem;
  resize: vertical;
}

input:hover,
textarea:hover {
  border-color: var(--moss);
}

input:focus,
textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(217, 145, 42, 0.2);
  outline: none;
}

.is-invalid {
  border-color: var(--rust);
  background: #fff8f5;
}

.field-error {
  display: block;
  min-height: 1.25rem;
  margin-top: 0.25rem;
  color: #9c301e;
  font-size: 0.81rem;
  font-weight: 650;
  line-height: 1.45;
}

.contact-grid form .primary-button {
  align-self: flex-start;
  margin-top: 0.65rem;
}

.form-success {
  margin: 1rem 0 0;
  padding: 0.8rem;
  border-radius: 0.6rem;
  color: #164c32;
  background: #dcefd8;
  font-weight: 700;
}

.contact-details h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 7vw, 2.55rem);
}

.contact-details p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.map-block {
  position: relative;
  height: 16rem;
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(23, 61, 52, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(32deg, transparent 48%, rgba(255, 253, 248, 0.55) 48% 51%, transparent 51%),
    linear-gradient(130deg, transparent 40%, rgba(255, 253, 248, 0.48) 40% 43%, transparent 43%),
    linear-gradient(20deg, #9baf91, #dae1c7 50%, #79947e);
}

.map-block::before,
.map-block::after {
  position: absolute;
  content: "";
}

.map-block::before {
  top: 43%;
  left: -10%;
  width: 120%;
  height: 0.72rem;
  border-block: 2px solid rgba(255, 253, 248, 0.75);
  background: var(--gold);
  transform: rotate(-20deg);
}

.map-block::after {
  top: 17%;
  right: 19%;
  width: 28%;
  height: 52%;
  border: 3px solid rgba(23, 61, 52, 0.45);
  border-right: 0;
  border-radius: 50%;
  transform: rotate(27deg);
}

.map-block span,
.map-block b {
  position: absolute;
  z-index: 2;
  padding: 0.28rem 0.5rem;
  border-radius: 0.35rem;
  color: var(--white);
  background: var(--forest-dark);
  font-family: inherit;
  font-size: 0.76rem;
  line-height: 1.2;
}

.map-block span {
  top: 37%;
  left: 42%;
}

.map-block b {
  right: 13%;
  bottom: 14%;
}

.map-block i {
  position: absolute;
  z-index: 3;
  top: 48%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: var(--rust);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  transform: rotate(-45deg);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.2rem max(1rem, calc((100% - var(--content)) / 2));
  color: rgba(255, 253, 248, 0.72);
  background: var(--forest-dark);
  font-size: 0.86rem;
}

.site-footer strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p {
  max-width: 33rem;
  margin: 0.2rem 0;
}

.site-footer a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0.28rem 0;
  color: #f8d391;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  z-index: 30;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 52rem;
  padding: 1rem;
  border: 1px solid rgba(255, 253, 248, 0.25);
  border-radius: 1rem;
  color: var(--white);
  background: rgba(16, 45, 39, 0.97);
  box-shadow: 0 15px 45px rgba(10, 24, 19, 0.36);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.45;
}

.cookie-banner div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cookie-banner button {
  min-height: 2.25rem;
  padding: 0.48rem 0.68rem;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 0.45rem;
  color: var(--white);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.1;
}

.cookie-banner button:hover {
  background: rgba(255, 253, 248, 0.13);
}

.cookie-banner button:first-child {
  border-color: var(--gold-light);
  color: var(--forest-dark);
  background: var(--gold-light);
}

.cookie-banner button:first-child:hover {
  background: #ffd285;
}

@media (min-width: 34rem) {
  .site-header {
    padding-inline: 1.5rem;
  }

  .hero,
  .guide-section,
  .planning-panel,
  .article,
  .legal,
  .contact-page {
    width: min(var(--content), calc(100% - 3rem));
  }

  .hero-art {
    min-height: 21rem;
  }

  .trail-card {
    grid-template-columns: minmax(10.5rem, 38%) 1fr;
  }

  .trail-card img {
    height: 100%;
    min-height: 15rem;
  }

  .cookie-banner {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 48rem) {
  .site-header {
    min-height: 4.75rem;
    padding-inline: max(2rem, calc((100% - var(--content)) / 2));
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-left: auto;
  }

  .desktop-nav a {
    color: var(--forest);
  }

  .header-cta {
    display: inline-flex;
    margin-left: 0.5rem;
  }

  .menu-button,
  .mobile-menu {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1.06fr) minmax(18rem, 0.94fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    min-height: 34rem;
    padding-block: 4.5rem;
  }

  .hero-art {
    min-height: 25rem;
  }

  .guide-section {
    padding-block: 2rem 5rem;
  }

  .trail-card {
    grid-template-columns: minmax(15rem, 34%) 1fr;
  }

  .trail-card > div {
    min-height: 17rem;
    padding: 1.5rem;
  }

  .planning-panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 3rem;
    padding: 2.4rem;
    margin-bottom: 5rem;
  }

  .article,
  .legal,
  .contact-page {
    padding-block: 4.5rem 5.5rem;
  }

  .article-grid {
    grid-template-columns: 13.5rem minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 4.5rem);
    align-items: start;
  }

  .article-grid aside {
    position: sticky;
    top: 6.25rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
    gap: 2rem;
    align-items: start;
  }

  .contact-grid form,
  .contact-details {
    padding: 1.6rem;
  }

  .site-footer {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
    padding-block: 3rem;
  }

  .site-footer > div:last-child {
    min-width: 10rem;
  }

  .cookie-banner {
    right: auto;
    bottom: 1.25rem;
    left: 1.25rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: min(52rem, calc(100% - 2.5rem));
    max-width: none;
    transform: none;
  }

  .cookie-banner p {
    max-width: 29rem;
  }
}

@media (min-width: 64rem) {
  .trail-card {
    grid-template-columns: 23rem 1fr;
  }

  .trail-card img {
    min-height: 16rem;
  }

  .trail-card > div {
    min-height: 16rem;
  }

  .contact-grid {
    gap: 4rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}