:root {
  --bg: #f5efe4;
  --surface: rgba(255, 250, 241, 0.9);
  --surface-strong: #fffaf1;
  --ink: #1e2b20;
  --muted: #536255;
  --line: rgba(30, 43, 32, 0.12);
  --accent: #d87b39;
  --accent-deep: #8f3f17;
  --green: #617a42;
  --shadow: 0 20px 50px rgba(71, 47, 21, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 123, 57, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(97, 122, 66, 0.18), transparent 32%),
    var(--bg);
  overflow-x: hidden;
}

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

.page-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100vh;
  padding: 2rem;
  border-right: 1px solid var(--line);
  background: rgba(255, 248, 235, 0.88);
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.brand-block h1,
.hero-copy h2,
.section-heading h3,
.card h4,
.step-card h4,
.timeline-item h4,
.callout h4,
.tip-strip h4 {
  font-family: "Sora", sans-serif;
}

.brand-block h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  line-height: 1.05;
}

.sidebar-copy,
.sidebar-note p,
.hero-copy p,
.card p,
.callout p,
.timeline-item p,
.tip-strip p,
.step-card p,
figcaption {
  color: var(--muted);
  line-height: 1.65;
}

.toc {
  display: grid;
  gap: 0.65rem;
}

.toc a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.toc a:hover,
.toc a.active {
  background: rgba(216, 123, 57, 0.12);
  transform: translateX(4px);
}

.sidebar-note {
  margin-top: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.note-title {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.content {
  padding: 2rem;
}

.hero,
.section {
  width: min(1100px, 100%);
  margin: 0 auto 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
  opacity: 0.8;
}

.hero::before {
  width: 180px;
  height: 180px;
  top: -28px;
  right: 28%;
  background: radial-gradient(circle, rgba(216, 123, 57, 0.22), rgba(216, 123, 57, 0));
  animation: drift 10s ease-in-out infinite;
}

.hero::after {
  width: 220px;
  height: 220px;
  right: -30px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(97, 122, 66, 0.18), rgba(97, 122, 66, 0));
  animation: drift 12s ease-in-out infinite reverse;
}

.hero-copy,
.hero-panel,
.card,
.step-card,
.callout,
.timeline-item,
.shot-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% 30%;
  height: 180px;
  background: linear-gradient(120deg, rgba(216, 123, 57, 0.16), rgba(255, 255, 255, 0));
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

.hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  align-content: center;
  background: linear-gradient(180deg, rgba(255, 248, 237, 0.95), rgba(241, 235, 219, 0.95));
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 40%);
  pointer-events: none;
}

.metric-card {
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(30, 43, 32, 0.08);
  transform: translateY(0);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 123, 57, 0.28);
  background: rgba(255, 255, 255, 0.82);
}

.metric-card span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.metric-card strong {
  font-size: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(71, 47, 21, 0.14);
}

.button.primary {
  background: var(--accent);
  color: #fff7f0;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.section {
  padding: 1rem 0 0.5rem;
}

.section-heading {
  display: flex;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading h3 {
  margin: 0;
  font-size: 2rem;
}

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

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

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

.card,
.callout,
.timeline-item {
  padding: 1.35rem;
}

.card,
.step-card,
.callout,
.timeline-item,
.tip-strip article,
.faq-item,
.shot-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover,
.step-card:hover,
.callout:hover,
.timeline-item:hover,
.tip-strip article:hover,
.faq-item:hover,
.shot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(71, 47, 21, 0.16);
  border-color: rgba(216, 123, 57, 0.22);
}

.card ul,
.card ol {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.accent {
  background: linear-gradient(180deg, rgba(216, 123, 57, 0.15), rgba(255, 255, 255, 0.88));
}

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

.step-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 1.2rem;
}

.step-number {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(97, 122, 66, 0.12);
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
}

.callout {
  margin-bottom: 1rem;
  background: linear-gradient(90deg, rgba(97, 122, 66, 0.12), rgba(255, 255, 255, 0.8));
}

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

.timeline-item {
  position: relative;
  padding-left: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.tip-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tip-strip article {
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255, 249, 240, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-trigger {
  display: grid;
  grid-template-columns: 80px 1fr 32px;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 1.2rem 1.35rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-label {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(97, 122, 66, 0.12);
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
}

.faq-title {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  line-height: 1.4;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--accent-deep);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: rgba(216, 123, 57, 0.12);
}

.faq-answer {
  padding: 0 1.35rem 1.35rem 6.95rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-gallery {
  margin-top: 1rem;
}

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

.section-gallery.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.shot-card {
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.shot-card::after {
  content: "Click to expand";
  position: absolute;
  right: 14px;
  bottom: 54px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(30, 43, 32, 0.72);
  color: #fffaf1;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.shot-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(216, 123, 57, 0.2), rgba(97, 122, 66, 0.16));
  transition: transform 320ms ease;
}

.shot-card:hover img {
  transform: scale(1.02);
}

.shot-card:hover::after,
.shot-card:focus-visible::after,
.shot-card.is-focusable:focus::after {
  opacity: 1;
  transform: translateY(0);
}

.shot-card figcaption {
  padding: 1rem 1rem 1.15rem;
}

.shot-card.is-focusable:focus {
  outline: 2px solid rgba(216, 123, 57, 0.7);
  outline-offset: 4px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 26, 20, 0.72);
  backdrop-filter: blur(10px);
  animation: fade-in 180ms ease;
}

.image-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 3rem);
  padding: 1rem;
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: 28px;
  background: rgba(29, 37, 30, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  animation: scale-in 220ms ease;
}

.image-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fffaf1;
  cursor: pointer;
}

.image-lightbox__image {
  width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.image-lightbox__caption {
  margin: 0.85rem 0 0;
  color: rgba(255, 250, 241, 0.86);
  line-height: 1.7;
}

body.lightbox-open {
  overflow: hidden;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy,
.hero-panel {
  animation: lift-in 700ms ease both;
}

.hero-panel {
  animation-delay: 120ms;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 12px, 0);
  }
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

  .hero::before,
  .hero::after,
  .hero-copy,
  .hero-panel,
  .reveal-on-scroll {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .button,
  .card,
  .step-card,
  .callout,
  .timeline-item,
  .tip-strip article,
  .faq-item,
  .shot-card,
  .metric-card,
  .shot-card img {
    transition: none;
  }

  .image-lightbox__backdrop,
  .image-lightbox__dialog {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .two-up,
  .three-up,
  .tip-strip,
  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .content,
  .sidebar {
    padding: 1.25rem;
  }

  .hero-copy {
    padding: 1.5rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .step-card {
    grid-template-columns: 1fr;
  }

  .faq-trigger {
    grid-template-columns: 1fr auto;
  }

  .faq-label {
    display: none;
  }

  .faq-answer {
    padding: 0 1.25rem 1.25rem;
  }
}