:root {
  --ink: #25160d;
  --muted: #76695f;
  --line: #f0dfd2;
  --paper: #fffaf5;
  --soft: #fff0e3;
  --orange: #e8651b;
  --orange-deep: #89370d;
  --orange-bright: #ff9f3f;
  --copper: #b84f16;
  --teal: #0c6b67;
  --gold: #d9a22f;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(105, 45, 8, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 245, 0.9);
  border-bottom: 1px solid rgba(240, 223, 210, 0.9);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--orange-deep), var(--orange-bright));
  border-radius: 8px;
  border: 2px solid rgba(255, 159, 63, 0.55);
  color: var(--white);
  display: inline-flex;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  letter-spacing: 0;
  overflow: hidden;
  width: 48px;
}

.brand-mark img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: -2px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 6px;
}

.site-nav a {
  border-radius: 8px;
  color: #564235;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--soft);
  color: var(--orange-deep);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 100%;
}

.section {
  padding: clamp(72px, 9vw, 130px) clamp(18px, 5vw, 74px);
}

.section-heading {
  margin-bottom: 34px;
  max-width: 780px;
}

.eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--white);
  font-size: clamp(58px, 11vw, 132px);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(34px, 5vw, 70px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 16px;
}

h3 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.18;
  margin-bottom: 12px;
}

.hero {
  align-items: end;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 74px) 54px;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

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

.hero-overlay {
  background: linear-gradient(90deg, rgba(47, 20, 6, 0.9) 0%, rgba(112, 45, 10, 0.74) 42%, rgba(57, 24, 7, 0.24) 100%);
}

.hero-content {
  max-width: 880px;
  position: relative;
  z-index: 1;
}

.hero-branding {
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-branding img {
  border: 3px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(42, 16, 4, 0.32);
  height: 74px;
  object-fit: cover;
  width: 74px;
}

.hero .eyebrow,
.hero-copy {
  color: rgba(255, 255, 255, 0.88);
}

.hero-copy {
  font-size: clamp(18px, 2vw, 25px);
  max-width: 720px;
}

.hero-actions,
.hero-proof,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
}

.button.primary {
  background: var(--orange-bright);
  color: #2b1205;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.hero-proof {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 34px;
}

.hero-proof span {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0 18px;
}

.hero-proof strong {
  color: var(--white);
  display: block;
  font-size: 24px;
}

.intro-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(220px, 0.75fr) minmax(280px, 1.1fr) minmax(260px, 0.9fr);
}

.intro-copy {
  color: #4f3d31;
  font-size: 19px;
}

.gallery-section {
  background: #fff4e9;
}

.gallery-section .section-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.photo-slider {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.slider-stage {
  aspect-ratio: 16 / 9;
  background: #3b1704;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.slider-backdrop {
  background-image: var(--slide-bg);
  background-position: center;
  background-size: cover;
  filter: blur(10px) saturate(1.05);
  inset: -36px;
  opacity: 0.38;
  position: absolute;
  transform: scale(1.04);
}

.slider-stage::after {
  background: linear-gradient(180deg, rgba(45, 18, 5, 0.06) 0%, rgba(45, 18, 5, 0.78) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.slide {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  margin: 0;
  opacity: 0;
  padding: 32px;
  position: absolute;
  transition: opacity 0.55s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.slide img {
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(27, 10, 2, 0.34);
  max-height: calc(100% - 88px);
  object-fit: contain;
  width: auto;
}

.slide figcaption {
  bottom: 24px;
  color: var(--white);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 800;
  left: 110px;
  line-height: 1.2;
  margin: 0;
  max-width: min(760px, calc(100% - 220px));
  position: absolute;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.slider-control {
  align-items: center;
  background: rgba(255, 250, 245, 0.92);
  border: 1px solid rgba(255, 159, 63, 0.45);
  border-radius: 8px;
  color: var(--orange-deep);
  display: inline-flex;
  font-size: 46px;
  font-weight: 700;
  height: 56px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  z-index: 4;
}

.slider-control:hover {
  background: var(--orange-bright);
  color: #2b1205;
}

.slider-control.prev {
  left: 24px;
}

.slider-control.next {
  right: 24px;
}

.slider-dots {
  background: #fffaf5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 14px;
}

.slider-dots button {
  background: #f2d8c2;
  border: 0;
  border-radius: 999px;
  height: 10px;
  padding: 0;
  width: 26px;
}

.slider-dots button.active {
  background: var(--orange);
  width: 44px;
}

.capability-panel,
.feature-card,
.timeline-item,
.memory-card,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 38px rgba(15, 64, 42, 0.07);
}

.capability-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.capability-panel div {
  background: var(--soft);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px;
}

.capability-panel strong {
  color: var(--orange-deep);
}

.orange-section {
  background:
    linear-gradient(180deg, #fff7ee 0%, #ffe8d3 100%);
}

.tableau-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  min-height: 280px;
  padding: 28px;
}

.feature-card:nth-child(2) {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  color: var(--white);
  transform: translateY(24px);
}

.feature-card:nth-child(2) p,
.feature-card:nth-child(2) .card-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.card-kicker,
.timeline-item span,
.memory-card span,
.contact-grid span {
  color: var(--orange);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.dashboard-strip {
  background: #3b1704;
  border-radius: 8px;
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 52px;
  overflow: hidden;
}

.dashboard-strip div {
  background: rgba(255, 255, 255, 0.06);
  min-height: 132px;
  padding: 22px;
}

.dashboard-strip strong,
.dashboard-strip span {
  display: block;
}

.dashboard-strip span {
  color: rgba(255, 255, 255, 0.68);
  margin-top: 8px;
}

.timeline {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-item {
  padding: 24px;
}

.timeline-item p,
.feature-card p,
.memory-card p,
.contact-panel p {
  color: var(--muted);
}

.memories-section {
  background: #fff7ef;
}

.memory-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 0.85fr;
}

.memory-card {
  overflow: hidden;
}

.memory-card.wide {
  grid-row: span 2;
}

.memory-card img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.memory-card.wide img {
  aspect-ratio: 4 / 3;
}

.memory-card div {
  padding: 24px;
}

.contact-section {
  background: linear-gradient(135deg, #4a1b04 0%, #d95f18 58%, #8f3a0d 100%);
}

.contact-panel {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: grid;
  gap: 34px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: clamp(24px, 5vw, 58px);
}

.contact-panel h2,
.contact-panel p {
  color: var(--white);
}

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

.contact-grid a {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  min-height: 104px;
  padding: 18px;
}

.contact-grid span {
  color: rgba(255, 255, 255, 0.68);
}

.contact-grid strong {
  color: var(--white);
  overflow-wrap: anywhere;
}

.social-row {
  grid-column: 1 / -1;
}

.social-row a {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  padding: 10px 14px;
}

.site-footer {
  align-items: center;
  background: #281006;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 22px clamp(18px, 5vw, 74px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    position: absolute;
    right: 18px;
    top: 72px;
    width: min(280px, calc(100vw - 36px));
  }

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

  .intro-grid,
  .tableau-layout,
  .timeline,
  .memory-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .slider-stage {
    min-height: 520px;
  }

  .slide {
    padding: 22px;
  }

  .slide figcaption {
    left: 86px;
    max-width: calc(100% - 172px);
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: 28px;
    padding-top: 104px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(47, 20, 6, 0.9) 0%, rgba(112, 45, 10, 0.78) 64%, rgba(47, 20, 6, 0.56) 100%);
  }

  .hero-proof span {
    flex: 1 1 28%;
    font-size: 12px;
    padding: 0 10px;
  }

  .hero-proof strong {
    font-size: 22px;
  }

  .slider-stage {
    aspect-ratio: 3 / 4;
    min-height: 460px;
  }

  .slide {
    padding: 16px 16px 86px;
  }

  .slide img {
    max-height: calc(100% - 96px);
  }

  .slide figcaption {
    bottom: 72px;
    font-size: 15px;
    left: 18px;
    max-width: calc(100% - 36px);
  }

  .slider-control {
    bottom: 16px;
    font-size: 34px;
    height: 46px;
    top: auto;
    transform: none;
    width: 46px;
  }

  .slider-control.prev {
    left: 18px;
  }

  .slider-control.next {
    right: 18px;
  }

  .dashboard-strip,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 68px;
  }

  .site-footer {
    display: grid;
  }
}
