* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --paper: #F3E8D0;
  --surface: #FFF9ED;
  --ink: #252822;
  --accent: #B64A2B;
  --deep-accent: #963B24;
  --muted: #5F5E54;
  --line: #918874;
  --content: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.62;
}

body::before {
  content: "";
  display: block;
  height: 5px;
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(calc(100% - 32px), var(--content));
  min-height: 84px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 3px;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

.brand-mark::after {
  transform: rotate(90deg);
}

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

.site-header nav a {
  min-height: 44px;
  padding: 10px 11px;
  display: inline-flex;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--accent);
}

.hero {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
  padding: 64px 0 78px;
  display: grid;
  gap: 24px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.04;
}

h1 {
  max-width: 830px;
  margin-bottom: 28px;
  font-size: clamp(2.8rem, 11vw, 7.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 670px;
  margin-bottom: 30px;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px 24px;
}

.button,
.text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.button {
  padding: 12px 20px;
  border: 2px solid var(--ink);
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--surface);
}

.button-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.text-link:hover {
  color: var(--accent);
}

.desert-panel {
  min-height: 290px;
  position: relative;
  border: 1px solid var(--ink);
  background: var(--surface);
  overflow: hidden;
}

.desert-panel p {
  position: absolute;
  z-index: 5;
  top: 20px;
  left: 20px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
}

.sun {
  position: absolute;
  top: 46px;
  right: 44px;
  width: 92px;
  height: 92px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.ridge {
  position: absolute;
  right: -8%;
  bottom: -34px;
  width: 112%;
  height: 190px;
  border-top: 2px solid var(--ink);
  transform: rotate(-8deg) skewX(-28deg);
}

.ridge-back {
  bottom: 10px;
  border-color: var(--line);
  transform: rotate(8deg) skewX(30deg);
}

.route-line {
  position: absolute;
  left: 18%;
  bottom: 33px;
  width: 84%;
  height: 105px;
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.services-section {
  padding: 78px max(16px, calc((100% - var(--content)) / 2));
  background: var(--surface);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

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

.section-heading h2,
.story-copy h2,
.visit-section h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 6vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.story-copy > p:last-child,
.visit-copy > p {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.6;
}

.service-layout {
  display: grid;
  gap: 42px;
}

.wheel-stage {
  min-height: 290px;
  display: grid;
  place-items: center;
  align-content: center;
  position: relative;
  border: 1px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
}

.wheel-stage > p {
  position: absolute;
  right: 15px;
  bottom: 11px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
}

.wheel {
  width: min(62vw, 230px);
  aspect-ratio: 1;
  position: relative;
  border: 10px double var(--ink);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.wheel::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.wheel > span {
  position: absolute;
  top: calc(50% - 1px);
  left: 50%;
  width: 50%;
  height: 2px;
  background: var(--ink);
  transform-origin: left center;
}

.wheel > span:nth-child(1) { transform: rotate(0deg); }
.wheel > span:nth-child(2) { transform: rotate(45deg); }
.wheel > span:nth-child(3) { transform: rotate(90deg); }
.wheel > span:nth-child(4) { transform: rotate(135deg); }
.wheel > span:nth-child(5) { transform: rotate(180deg); }
.wheel > span:nth-child(6) { transform: rotate(225deg); }
.wheel > span:nth-child(7) { transform: rotate(270deg); }
.wheel > span:nth-child(8) { transform: rotate(315deg); }

.hub {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.service-list {
  border-top: 2px solid var(--ink);
}

.service-item {
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
}

.service-number {
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.service-item h3 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.service-item p:last-child {
  max-width: 580px;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.58;
}

.story-section {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
  padding: 88px 0;
  display: grid;
  gap: 42px;
}

.story-label {
  align-self: start;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}

.story-label span {
  width: 78px;
  height: 78px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.story-label p {
  margin: 14px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.shop-services {
  border-top: 1px solid var(--ink);
}

.shop-services p {
  min-height: 52px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.visit-section {
  padding: 76px max(16px, calc((100% - var(--content)) / 2));
  background: var(--deep-accent);
  color: var(--surface);
  display: grid;
  gap: 34px;
}

.visit-section .eyebrow {
  color: var(--surface);
}

.visit-copy {
  align-self: end;
}

.button-light {
  margin-top: 12px;
  border-color: var(--surface);
  background: var(--surface);
  color: var(--ink);
}

.button-light:hover {
  background: transparent;
  color: var(--surface);
}

.site-footer {
  padding: 30px max(16px, calc((100% - var(--content)) / 2));
  background: var(--ink);
  color: var(--surface);
  display: grid;
  gap: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  min-height: 44px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

@media (min-width: 700px) {
  .site-header {
    min-height: 92px;
  }

  .site-header nav {
    gap: 18px;
  }

  .hero {
    padding: 92px 0 104px;
    grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.65fr);
    align-items: end;
    gap: 48px;
  }

  .desert-panel {
    min-height: 480px;
  }

  .service-layout {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 46px;
  }

  .wheel-stage {
    min-height: 500px;
    position: sticky;
    top: 24px;
  }

  .wheel {
    width: min(27vw, 310px);
  }

  .service-item {
    min-height: 210px;
    padding: 34px 0;
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .story-section {
    grid-template-columns: 0.55fr 1.6fr 0.75fr;
    gap: 54px;
  }

  .visit-section {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 70px;
  }

  .site-footer {
    min-height: 112px;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 30px;
  }

  .site-footer a {
    margin-top: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  @supports (animation-timeline: view()) {
    .service-layout {
      view-timeline-name: --service-pass;
      view-timeline-axis: block;
    }

    .wheel {
      animation-name: wheel-roll;
      animation-duration: 1ms;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: --service-pass;
      animation-range: entry 5% exit 95%;
    }

    @keyframes wheel-roll {
      from { transform: rotate(-18deg); }
      to { transform: rotate(342deg); }
    }
  }
}

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

  .site-header {
    min-height: 132px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .brand {
    font-size: 14px;
  }

  .site-header nav {
    width: 100%;
  }

  .site-header nav a {
    padding-left: 0;
    padding-right: 22px;
    font-size: 14px;
  }

  .hero {
    padding-top: 52px;
    gap: 24px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .button,
  .text-link {
    width: 100%;
    font-size: 15px;
  }

  .text-link {
    justify-content: flex-start;
  }

  .section-heading > p:last-child,
  .story-copy > p:last-child,
  .visit-copy > p,
  .service-item p:last-child {
    font-size: 16px;
    line-height: 1.55;
  }

  .services-section,
  .story-section,
  .visit-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .site-footer {
    font-size: 14px;
  }
}

@media (max-width: 350px) {
  h1 {
    font-size: 2.65rem;
  }

  .brand {
    letter-spacing: 0.055em;
  }

  .wheel-stage > p {
    max-width: 120px;
  }
}

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

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

  .wheel {
    animation: none !important;
    transform: rotate(-8deg) !important;
  }
}
