:root {
  --ink: #181816;
  --muted: #60605a;
  --line: #ddd8ce;
  --paper: #f6f3ec;
  --soft: #ece6da;
  --white: #ffffff;
  --brand: #82bb28;
  --brand-dark: #4f7a13;
  --charcoal: #30312f;
  --blue: #6f8799;
  --gold: #c4a267;
  --shadow: 0 24px 70px rgba(28, 28, 25, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.subpage .site-header {
  color: var(--ink);
  background: rgba(246, 243, 236, 0.97);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
}

.brand {
  width: 118px;
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  background: var(--charcoal);
  border-radius: 6px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav a,
.header-cta,
.entry-card,
.text-link {
  text-decoration: none;
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  min-height: 40px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding: 120px clamp(20px, 5vw, 72px) 44px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 940px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 7.2vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.12;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button::after {
  content: "->";
}

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

.button.primary.dark {
  color: var(--white);
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary.light,
.button.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 4vw, 54px);
  bottom: 42px;
  z-index: 3;
  width: min(350px, calc(100% - 40px));
  display: grid;
  gap: 10px;
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel strong {
  font-size: 1.12rem;
}

.hero-panel span {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--charcoal);
  color: var(--white);
}

.trust-strip div {
  min-height: 110px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 24px clamp(16px, 2vw, 30px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-strip strong {
  color: var(--brand);
  font-size: 1.28rem;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 32px;
}

.split,
.split-heading,
.advice-shop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.split-heading {
  max-width: none;
  align-items: end;
}

.problem {
  background: var(--white);
}

.problem-list {
  color: var(--muted);
  font-size: 1.08rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.pain-grid span {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.entry-grid,
.service-grid,
.reference-grid,
.collection-grid,
.blog-grid,
.shop-grid,
.redirect-grid,
.case-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.entry-card,
.service-grid article,
.reference-card,
.collection-card,
.blog-card,
.shop-card,
.redirect-card,
.fact-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.entry-card span,
.case-meta strong {
  color: var(--brand-dark);
  font-weight: 900;
}

.entry-card:hover,
.reference-card:hover,
.collection-card:hover,
.blog-card:hover,
.shop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(26, 26, 22, 0.09);
}

.image-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--charcoal);
  color: var(--white);
}

.image-band img {
  width: 100%;
  height: min(520px, 62vw);
  object-fit: cover;
  border-radius: 8px;
}

.image-band p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

.case-grid article,
.reference-card,
.collection-card,
.blog-card,
.shop-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.case-grid img,
.reference-card img,
.collection-card img,
.blog-card img,
.shop-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-grid article div,
.reference-card div,
.collection-card div,
.blog-card div,
.shop-card div {
  padding: 20px;
}

.case-grid a,
.reference-card a,
.collection-card a,
.blog-card a,
.text-link {
  color: var(--brand-dark);
  font-weight: 900;
}

.collections-preview {
  background: var(--white);
}

.collection-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.collection-strip a {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 330px;
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
}

.collection-strip img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  filter: brightness(0.76);
}

.collection-strip span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-size: 1.35rem;
  font-weight: 900;
}

.services {
  background: var(--soft);
}

.service-copy {
  max-width: 820px;
  margin-bottom: 28px;
}

.service-grid.detailed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 26px;
}

.advice-shop {
  background: var(--charcoal);
  color: var(--white);
}

.advice-shop > div {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.advice-shop p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.82);
}

.cta-block {
  text-align: center;
  background: var(--white);
}

.cta-block p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.subpage main {
  padding-top: 78px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 86px);
  background: var(--charcoal);
  color: var(--white);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.7rem);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.page-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.narrow {
  max-width: 880px;
}

.reference-grid,
.collection-grid,
.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.detail-content {
  display: grid;
  gap: 28px;
}

.detail-content section {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-aside {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
}

.case-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.case-gallery img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

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

.service-list {
  display: grid;
  gap: 18px;
}

.service-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.lead-form .wide,
.lead-form button,
.form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: var(--white);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

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

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  width: 100%;
  padding: 20px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.faq-item span {
  display: block;
  font-weight: 900;
}

.faq-item p {
  display: none;
  margin: 12px 0 0;
  color: var(--muted);
}

.faq-item[aria-expanded="true"] p {
  display: block;
}

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

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    padding: 12px;
  }

  .header-cta {
    justify-self: end;
  }

  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 820px) {
  .hero {
    min-height: 86svh;
    padding-bottom: 220px;
  }

  .hero-panel {
    left: 20px;
    right: 20px;
    bottom: 24px;
    width: auto;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.7rem);
  }

  .split,
  .split-heading,
  .image-band,
  .advice-shop,
  .page-hero,
  .detail-layout,
  .service-row,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .pain-grid,
  .entry-grid,
  .case-grid,
  .collection-strip,
  .service-grid.detailed,
  .reference-grid,
  .collection-grid,
  .blog-grid,
  .shop-grid,
  .facts-grid,
  .case-meta {
    grid-template-columns: 1fr;
  }

  .lead-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    grid-column: 1 / -1;
    width: 100%;
  }

  .brand {
    width: 104px;
  }

  .nav {
    top: 126px;
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 150px;
  }

  .subpage main {
    padding-top: 148px;
  }

  .button {
    width: 100%;
  }
}
