:root {
  color-scheme: light;
  --ink: #171410;
  --muted: #635d53;
  --paper: #f6f2ea;
  --white: #ffffff;
  --line: #ded4c4;
  --charcoal: #15120f;
  --copper: #a8622b;
  --teal: #0f766e;
  --gold: #f2c66d;
  --cyan: #5ee3d3;
  --ruby: #b02a56;
  --radius: 8px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.56;
  overflow-x: hidden;
}

html,
body {
  max-width: 100%;
}

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

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

h1,
h2,
h3,
p,
strong,
span,
small {
  margin: 0;
  overflow-wrap: break-word;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(222, 212, 196, 0.78);
  background: rgba(246, 242, 234, 0.93);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.76rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 6px 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

nav a:hover {
  border-color: #c9b99f;
  color: var(--charcoal);
  background: #fff9ed;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 46px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 11, 9, 0.92), rgba(12, 11, 9, 0.54) 44%, rgba(12, 11, 9, 0.1)),
    linear-gradient(0deg, rgba(12, 11, 9, 0.84), rgba(12, 11, 9, 0.08) 58%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0 174px;
  color: #fff;
}

.kicker,
.eyebrow,
.theme-card span,
.hero-rail span {
  font-family: var(--mono);
  letter-spacing: 0;
}

.kicker,
.eyebrow {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 840px;
  font-size: 5.4rem;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: 3.6rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 9px 14px;
  font-weight: 900;
}

.button.primary {
  color: #10100d;
  background: var(--gold);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.hero-rail {
  position: absolute;
  right: max(18px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  left: max(18px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-rail article {
  min-height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(11, 11, 10, 0.66);
  backdrop-filter: blur(12px);
}

.hero-rail span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-rail strong {
  color: #fff;
  line-height: 1.32;
}

.section {
  padding: 74px 0;
}

.band {
  background: #fffaf0;
  border-bottom: 1px solid var(--line);
}

.dark {
  color: #fff;
  background: linear-gradient(135deg, #15120f, #3b2618);
}

.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-grid,
.feedback-grid,
.share-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 16px;
}

.note {
  color: #7b705f;
  font-size: 0.95rem;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(240px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-note {
  color: var(--muted);
}

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

.theme-card,
.feedback-list article,
.share-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 34px rgba(23, 20, 16, 0.08);
}

.theme-card {
  min-height: 248px;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
}

.theme-card.focus {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #201714, #7a4020 58%, var(--teal));
}

.theme-card.focus p,
.theme-card.focus span {
  color: rgba(255, 255, 255, 0.84);
}

.theme-card span {
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 900;
}

.feedback-list {
  display: grid;
  gap: 10px;
}

.feedback-list article {
  padding: 18px;
  color: var(--ink);
  background: #fffaf0;
}

.feedback-list p {
  margin-top: 6px;
  color: var(--muted);
}

.share-section {
  background: #ede6da;
}

.share-card {
  overflow: hidden;
}

.share-card img {
  width: 100%;
}

pre {
  margin: 0;
  padding: 18px;
  color: #211c16;
  background: #fffaf0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: #fff;
  background: var(--charcoal);
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.78);
}

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

  h2 {
    font-size: 2.8rem;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  nav {
    justify-content: flex-start;
  }

  nav a {
    min-height: 32px;
    padding: 5px 8px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    display: block;
    padding-bottom: 16px;
  }

  .hero > img {
    object-position: 58% center;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding: 52px 0 0;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .lead {
    margin-top: 14px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .hero-rail {
    position: relative;
    grid-template-columns: 1fr;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(100% - 28px, 1180px);
    margin: 18px auto 0;
  }

  .hero-rail article {
    min-height: 60px;
    padding: 10px 12px;
  }

  .hero-rail strong {
    font-size: 0.9rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .intro-grid,
  .feedback-grid,
  .share-grid,
  .section-title,
  .theme-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

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