:root {
  --ink: #2d261f;
  --ink-soft: #625849;
  --paper: #f5f1e8;
  --paper-warm: #ebe3d2;
  --panel: #fffaf0;
  --panel-deep: #e3dac7;
  --sage: #5d6b50;
  --sage-deep: #374331;
  --leather: #9a623c;
  --leather-deep: #6f3f28;
  --clay: #b86d4b;
  --line: rgba(45, 38, 31, 0.16);
  --shadow: 0 22px 60px rgba(45, 38, 31, 0.13);

  --display: "Bitter", Georgia, serif;
  --body: "Karla", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, monospace;

  --radius: 8px;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% 8%, rgba(184, 109, 75, 0.15), transparent 30rem),
    linear-gradient(110deg, rgba(93, 107, 80, 0.08), transparent 34rem),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(45, 38, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 38, 31, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
}

h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.8vw, 3.05rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

a {
  color: var(--leather-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 28px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(154, 98, 60, 0.65);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 28px;
}

.wordmark {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.wordmark span {
  display: block;
  margin-top: 3px;
  color: var(--leather-deep);
  font-family: var(--mono);
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: rgba(154, 98, 60, 0.28);
  background: rgba(255, 250, 240, 0.72);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font: 700 0.82rem var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gait {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 12px;
  margin: 0 0 16px;
}

.gait span {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--clay);
}

.gait.canter span:nth-child(3n+3),
.gait.trot span:nth-child(even),
.gait.walk span {
  margin-right: 18px;
}

.section-eyebrow {
  margin-bottom: 10px;
  color: var(--leather-deep);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

main {
  overflow: hidden;
}

section {
  padding: 72px 0;
}

.hero {
  padding: clamp(64px, 10vw, 116px) 0 72px;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.hero-copy {
  position: relative;
}

.hero-copy::after {
  content: "";
  display: block;
  width: min(100%, 520px);
  height: 1px;
  margin-top: 34px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.lede {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.page-hero {
  padding: 76px 0 54px;
}

.page-hero h1 {
  max-width: 12ch;
}

.image-stack {
  position: relative;
  min-height: 610px;
}

.photo-frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1.5px dashed rgba(111, 63, 40, 0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.82), rgba(227, 218, 199, 0.72)),
    repeating-linear-gradient(-45deg, rgba(93, 107, 80, 0.08) 0 1px, transparent 1px 13px);
  color: var(--ink-soft);
  text-align: center;
  box-shadow: var(--shadow);
  padding: 26px;
  isolation: isolate;
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(45, 38, 31, 0.12);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px;
  height: 42%;
  border-radius: 999px 999px 0 0;
  background: rgba(93, 107, 80, 0.14);
  transform: translateY(36%);
  z-index: -1;
}

.photo-frame span {
  display: block;
  max-width: 25ch;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.45;
}

.photo-frame .photo-label {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-frame-large {
  min-height: 560px;
  aspect-ratio: 4 / 5;
}

.photo-frame-small {
  position: absolute;
  right: -22px;
  bottom: 26px;
  width: min(58%, 280px);
  min-height: 210px;
  background-color: var(--panel);
}

.photo-frame-landscape {
  min-height: 240px;
  aspect-ratio: 5 / 3;
  box-shadow: none;
}

.photo-frame-wide {
  min-height: 300px;
  aspect-ratio: 4 / 3;
  box-shadow: none;
}

.photo-frame-page {
  min-height: 390px;
  aspect-ratio: 4 / 5;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 12px 22px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  border-color: var(--sage-deep);
  background: var(--sage-deep);
  color: var(--panel);
}

.btn-primary:hover {
  border-color: var(--leather-deep);
  background: var(--leather-deep);
}

.btn-ghost {
  background: rgba(255, 250, 240, 0.45);
}

.btn-ghost:hover {
  background: var(--panel);
}

.btn-light {
  border-color: rgba(255, 250, 240, 0.68);
  color: var(--panel);
}

.btn-light:hover {
  background: var(--panel);
  color: var(--sage-deep);
}

.section-band {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.44);
}

.section-band-light {
  background: rgba(235, 227, 210, 0.58);
}

.compact-section {
  padding: 42px 0;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.about-layout {
  align-items: center;
}

.sidebar-stack {
  display: grid;
  gap: 22px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 14px 36px rgba(45, 38, 31, 0.08);
  padding: clamp(24px, 4vw, 36px);
}

.quote {
  margin: 0;
  border-left: 3px solid var(--clay);
  padding-left: 18px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.45;
}

.attribution {
  margin-top: 16px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.pillars,
.card-grid,
.method-grid,
.steps {
  display: grid;
  gap: 22px;
}

.pillars {
  grid-template-columns: 0.88fr 1.12fr 0.92fr;
}

.pillar,
.card,
.method {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 12px 30px rgba(45, 38, 31, 0.07);
}

.pillar {
  min-height: 230px;
  padding: 26px;
}

.pillar:nth-child(2) {
  transform: translateY(28px);
}

.pillar h3 {
  color: var(--leather-deep);
}

.feature-section {
  padding: 78px 0 88px;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(55, 67, 49, 0.96), rgba(81, 76, 55, 0.94)),
    var(--sage-deep);
  box-shadow: var(--shadow);
  padding: clamp(30px, 5vw, 54px);
}

.feature-panel h2,
.feature-panel p,
.feature-panel .section-eyebrow {
  color: var(--panel);
}

.feature-panel p {
  max-width: 58ch;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 250px;
  padding: 26px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
}

.price {
  flex: none;
  color: var(--leather-deep);
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 700;
}

.duration,
.tag,
.step-num {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.tag {
  align-self: flex-start;
  border: 1px solid rgba(154, 98, 60, 0.22);
  border-radius: 999px;
  background: rgba(235, 227, 210, 0.64);
  padding: 4px 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rate-note {
  max-width: 66ch;
  margin-top: 24px;
  border-left: 3px solid var(--clay);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(184, 109, 75, 0.08);
  color: var(--leather-deep);
  font-family: var(--mono);
  font-size: 0.84rem;
  padding: 15px 18px;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 42px;
  height: 7px;
  border-radius: 999px;
  background: var(--clay);
}

.embed-slot {
  min-height: 310px;
  margin-top: 22px;
  border: 1.5px dashed rgba(45, 38, 31, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.86), rgba(235, 227, 210, 0.74)),
    repeating-linear-gradient(-45deg, rgba(93, 107, 80, 0.08) 0 1px, transparent 1px 13px);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.86rem;
  padding: clamp(28px, 6vw, 54px);
  text-align: center;
}

.embed-slot code {
  display: block;
  max-width: 760px;
  margin: 14px auto 0;
  overflow-x: auto;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(45, 38, 31, 0.08);
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.55;
  padding: 12px;
  text-align: left;
}

.method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method {
  min-height: 190px;
  padding: 28px 22px;
  text-align: left;
}

footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: rgba(235, 227, 210, 0.52);
  padding: 42px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-grid a {
  color: var(--ink-soft);
}

.fine-print {
  margin-top: 18px;
  color: rgba(98, 88, 73, 0.82);
  font-family: var(--mono);
  font-size: 0.74rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .page-hero-grid,
  .two-col,
  .feature-panel {
    grid-template-columns: 1fr;
  }

  .image-stack {
    min-height: auto;
  }

  .photo-frame-large,
  .photo-frame-page {
    min-height: 390px;
  }

  .photo-frame-small {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 190px;
    margin-top: 20px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar {
    min-height: auto;
  }

  .pillar:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .wrap,
  .nav {
    padding-inline: 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    background: rgba(245, 241, 232, 0.98);
    padding: 12px 20px 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: var(--radius);
    padding: 11px 12px;
  }

  section,
  .hero,
  .page-hero {
    padding-block: 52px;
  }

  h1 {
    max-width: 12ch;
  }

  .card-grid,
  .method-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .card,
  .method {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.35rem, 16vw, 3.5rem);
  }

  .photo-frame-large,
  .photo-frame-page,
  .photo-frame-wide {
    min-height: 300px;
  }

  .btn {
    width: 100%;
  }

  .card-head {
    display: block;
  }
}
