:root {
  --ink: #1c1c21;
  --muted: #66655f;
  --paper: #fffdf7;
  --garden: #456c38;
  --leaf: #88c559;
  --red: #c70a1a;
  --coral: #f54251;
  --gold: #ffb03b;
  --blue: #1258ca;
  --wood: #7b4b25;
  --cream: #f7f0de;
  --line: rgba(28, 28, 33, 0.12);
  --shadow: 0 20px 60px rgba(28, 28, 33, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}

body.is-switching [data-i18n] {
  opacity: 0.38;
  transition: opacity 120ms ease;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  min-height: 86px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 12px 34px rgba(28, 28, 33, 0.16);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  width: 244px;
  height: 68px;
  justify-content: center;
  padding: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--gold) 0 10%, transparent 11%),
    conic-gradient(from 10deg, var(--red), var(--gold), var(--leaf), var(--blue), var(--red));
  box-shadow: inset 0 0 0 5px var(--paper), 0 2px 0 rgba(28, 28, 33, 0.18);
}

.brand-title,
.brand-subtitle {
  display: block;
  white-space: nowrap;
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-subtitle {
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.nav-links a {
  padding: 12px 16px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(136, 197, 89, 0.18);
  color: var(--garden);
  outline: 0;
}

.lang-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 50px;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.hero {
  position: relative;
  display: grid;
  min-height: 86svh;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-scrim,
.hero-content {
  grid-area: 1 / 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 86svh;
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(11, 22, 12, 0.78) 0%, rgba(11, 22, 12, 0.56) 38%, rgba(11, 22, 12, 0.14) 74%),
    linear-gradient(0deg, rgba(11, 22, 12, 0.5) 0%, rgba(11, 22, 12, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 124px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4.5rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 590px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: #241a0a;
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(calc(100% - 32px), var(--max));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-facts article {
  min-height: 168px;
  padding: 22px;
  background: rgba(255, 253, 247, 0.96);
}

.quick-facts span,
.card-number {
  display: block;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-facts strong {
  display: block;
  margin-top: 8px;
  font-size: 1.38rem;
}

.quick-facts p {
  margin: 8px 0 0;
  color: var(--muted);
}

.story-band,
.process-band {
  padding: 96px 16px;
}

.section-heading,
.story-grid,
.process-list,
.craft-section,
.visit-section,
.sources-section,
.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  color: var(--garden);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 14px;
}

.story-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.lead-card {
  display: flex;
  align-items: end;
  background: var(--garden);
  color: #fff;
}

.lead-card p {
  margin: 0;
  font-size: 1.28rem;
}

.story-card:not(.lead-card) p,
.process-list p,
.visit-copy p,
.visit-card p,
.sources-section p {
  color: var(--muted);
}

.story-card h3 {
  margin-top: 44px;
}

.craft-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: 46px;
  align-items: center;
  padding: 82px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.craft-copy .eyebrow {
  color: var(--red);
}

.craft-copy p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
}

.wheel-panel {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.wheel-photo {
  display: block;
  width: min(100%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 10px solid #fff;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.paint-swatches {
  display: flex;
  gap: 8px;
}

.paint-swatches span {
  width: 42px;
  height: 42px;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(28, 28, 33, 0.14);
}

.paint-swatches span:nth-child(1) { background: var(--red); }
.paint-swatches span:nth-child(2) { background: var(--gold); }
.paint-swatches span:nth-child(3) { background: var(--leaf); }
.paint-swatches span:nth-child(4) { background: var(--blue); }
.paint-swatches span:nth-child(5) { background: var(--wood); }

.process-band {
  background:
    linear-gradient(rgba(255, 253, 247, 0.94), rgba(255, 253, 247, 0.94)),
    repeating-linear-gradient(45deg, rgba(136, 197, 89, 0.16) 0 1px, transparent 1px 18px);
}

.section-heading.compact {
  grid-template-columns: 1fr;
  max-width: 760px;
  text-align: center;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.process-list article {
  min-height: 200px;
  padding: 24px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 28, 33, 0.08);
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
  padding: 92px 0;
}

.visit-copy .eyebrow {
  color: var(--garden);
}

.visit-card {
  padding: 26px;
  border: 1px solid rgba(69, 108, 56, 0.22);
  border-radius: 8px;
  background: #f1f7ed;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--garden);
  font-weight: 900;
  text-decoration-color: rgba(69, 108, 56, 0.35);
  text-underline-offset: 4px;
}

.sources-section {
  padding: 34px 0 78px;
  border-top: 1px solid var(--line);
}

.sources-section h2 {
  font-size: 1.15rem;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.source-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.footer-visit {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 7px;
  background: var(--garden);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-content {
    padding-top: 168px;
  }

  .quick-facts,
  .story-grid,
  .process-list,
  .craft-section,
  .visit-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: auto;
  }

  .story-card h3 {
    margin-top: 28px;
  }

  .visit-section {
    padding-top: 72px;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
  }

  .brand-logo {
    width: 178px;
    height: 62px;
    padding: 0;
  }

  .nav-links a {
    padding: 10px 12px;
    font-size: 0.98rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-image {
    min-height: 92svh;
    object-position: 62% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(11, 22, 12, 0.86) 0%, rgba(11, 22, 12, 0.5) 70%, rgba(11, 22, 12, 0.28) 100%),
      linear-gradient(0deg, rgba(11, 22, 12, 0.58) 0%, rgba(11, 22, 12, 0) 42%);
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  h2 {
    font-size: 2.1rem;
  }

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

  .button {
    width: 100%;
  }

  .quick-facts {
    margin-top: -26px;
  }

  .quick-facts article,
  .story-card,
  .process-list article,
  .visit-card {
    padding: 20px;
  }

  .story-band,
  .process-band {
    padding-block: 72px;
  }

  .wheel-photo {
    width: min(100%, 280px);
  }

  .site-footer {
    align-items: stretch;
  }

  .footer-visit {
    justify-content: center;
    width: 100%;
  }
}
