:root {
  color-scheme: light;
  --ink: #101414;
  --muted: #526060;
  --paper: #f7f4ed;
  --surface: #fffdf8;
  --line: #ded7c7;
  --charcoal: #18201f;
  --teal: #14746f;
  --teal-dark: #0c514e;
  --copper: #b46a3c;
  --cream: #fff8e8;
  --shadow: 0 24px 70px rgba(16, 20, 20, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 0.18em;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 237, 0.92);
  border-bottom: 1px solid rgba(222, 215, 199, 0.75);
  backdrop-filter: blur(16px);
}

.brand,
.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--charcoal);
  color: var(--cream);
  border: 2px solid var(--copper);
  font-family: Georgia, serif;
  font-size: 20px;
}

.main-nav,
.site-footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a,
.site-footer a {
  color: inherit;
  font-size: 0.92rem;
  font-weight: 680;
  text-decoration: none;
}

.main-nav a[aria-current="page"] {
  color: var(--teal-dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 72px));
  align-items: center;
  overflow: hidden;
  background-image: url("./assets/cozwood-hero-workspace.png");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 20, 20, 0.86) 0%, rgba(16, 20, 20, 0.66) 42%, rgba(16, 20, 20, 0.16) 100%),
    linear-gradient(0deg, rgba(16, 20, 20, 0.30), rgba(16, 20, 20, 0.05));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding: 76px 0;
  color: var(--cream);
}

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

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

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 248, 232, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-statement {
  max-width: 700px;
  margin-bottom: 22px;
  color: var(--cream);
  font-size: clamp(1.65rem, 4vw, 3.4rem);
  font-weight: 760;
  line-height: 1.08;
}

.action-row,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
}

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

.button.secondary {
  border-color: currentColor;
  background: rgba(255, 253, 248, 0.08);
  color: inherit;
}

.section,
.page-hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.intro-section {
  border-bottom: 1px solid var(--line);
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.feature-grid article,
.product-card,
.contact-panel,
.content-stack article {
  background: var(--surface);
}

.feature-grid article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
}

.feature-grid p,
.product-card p,
.split p,
.content-stack p,
.contact-panel p,
.page-hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-callout,
.product-card,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.product-callout {
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 7vw, 96px);
  background:
    linear-gradient(90deg, rgba(24, 32, 31, 0.95), rgba(24, 32, 31, 0.78)),
    url("./assets/cozwood-surface-texture.png") center / cover;
  color: var(--cream);
}

.product-callout p {
  max-width: 760px;
  color: rgba(255, 248, 232, 0.78);
}

.credibility-section {
  padding-bottom: clamp(72px, 10vw, 136px);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 5vw, 64px);
}

.page-hero {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(76px, 11vw, 140px) 0 clamp(38px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(247, 244, 237, 0.96), rgba(247, 244, 237, 0.80)),
    url("./assets/cozwood-surface-texture.png") center / cover;
}

.page-hero > * {
  width: min(1120px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.page-hero h1 {
  max-width: 900px;
  color: var(--charcoal);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.page-hero p {
  max-width: 760px;
}

.product-card,
.contact-panel {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.content-stack {
  display: grid;
  gap: 18px;
}

.content-stack article {
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line);
}

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 248, 232, 0.82);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .product-callout,
  .product-card,
  .contact-panel,
  .split {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    display: grid;
    justify-items: start;
  }

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

  .hero {
    min-height: 680px;
    background-position: 64% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(16, 20, 20, 0.90) 0%, rgba(16, 20, 20, 0.70) 100%);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }
}
