/*
Theme Name: Dawntrees Felt
Theme URI: https://feltdeskmat.com
Author: Codex
Description: A warm, brand-led WordPress theme for promoting Dawntrees felt desk mats.
Version: 1.0.0
Text Domain: dawntrees-felt
*/

:root {
  --sand: #f5efe5;
  --cream: #fbf6ef;
  --moss: #62745a;
  --forest: #334338;
  --cocoa: #7c5c45;
  --clay: #c69d7b;
  --ink: #20231f;
  --line: rgba(51, 67, 56, 0.14);
  --shadow: 0 24px 60px rgba(43, 39, 33, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(198, 157, 123, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(98, 116, 90, 0.14), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, var(--sand) 100%);
  line-height: 1.65;
}

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

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 246, 239, 0.86);
  border-bottom: 1px solid rgba(51, 67, 56, 0.08);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(98, 116, 90, 0.95), rgba(198, 157, 123, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.brand-name {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tagline {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: rgba(32, 35, 31, 0.7);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav a {
  font-size: 0.96rem;
  color: rgba(32, 35, 31, 0.78);
}

.button-link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-link:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 18px 40px rgba(51, 67, 56, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest);
  border: 1px solid rgba(51, 67, 56, 0.12);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.story-panel,
.benefit-card,
.spec-card,
.cta-panel,
.page-card {
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(98, 116, 90, 0.1);
  color: var(--forest);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.page-card h1 {
  margin: 18px 0 16px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.hero-copy p {
  margin: 0;
  font-size: 1.08rem;
  max-width: 42rem;
  color: rgba(32, 35, 31, 0.82);
}

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

.hero-note {
  margin-top: 22px;
  color: rgba(32, 35, 31, 0.65);
  font-size: 0.95rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.hero-metrics div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(51, 67, 56, 0.1);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
}

.hero-metrics span {
  display: block;
  font-size: 0.92rem;
  color: rgba(32, 35, 31, 0.74);
}

.hero-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 520px;
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(198, 157, 123, 0.35), transparent 30%),
    linear-gradient(145deg, #ebe0d2 0%, #ddd0bf 38%, #c7b49c 100%);
}

.felt-layers {
  position: absolute;
  inset: 34px 30px 110px;
}

.felt-layer {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(160deg, #958675, #6e6255 85%);
  box-shadow: 0 24px 50px rgba(37, 32, 28, 0.18);
}

.felt-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.28;
  mix-blend-mode: soft-light;
}

.felt-layer.layer-back {
  transform: rotate(-9deg) translate(-18px, -18px);
  opacity: 0.78;
}

.felt-layer.layer-mid {
  transform: rotate(-3deg) translate(6px, 8px);
  opacity: 0.9;
}

.felt-layer.layer-front {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 50%),
    linear-gradient(160deg, #72685e, #51483f 88%);
}

.desk-items {
  position: absolute;
  right: 46px;
  bottom: 42px;
  width: 210px;
  height: 170px;
}

.desk-items::before,
.desk-items::after,
.desk-accent {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.desk-items::before {
  width: 74px;
  height: 74px;
  right: 18px;
  top: 0;
  background: rgba(248, 242, 234, 0.96);
  box-shadow: 0 20px 30px rgba(72, 54, 40, 0.13);
}

.desk-items::after {
  width: 148px;
  height: 24px;
  left: 0;
  bottom: 18px;
  background: rgba(248, 242, 234, 0.95);
}

.desk-accent {
  width: 22px;
  height: 108px;
  left: 42px;
  top: 18px;
  background: rgba(122, 92, 69, 0.84);
}

.hero-card-copy {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  color: #fff8ef;
}

.hero-card-copy strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.section {
  padding: 36px 0 44px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2,
.page-card h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p {
  margin: 0;
  max-width: 36rem;
  color: rgba(32, 35, 31, 0.72);
}

.story-grid,
.benefits-grid,
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.story-panel,
.benefit-card,
.spec-card,
.showcase-card,
.page-card,
.cta-panel {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.story-panel {
  min-height: 230px;
}

.story-panel h3,
.benefit-card h3,
.spec-card h3 {
  margin: 0 0 12px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.45rem;
}

.story-panel p,
.benefit-card p,
.spec-card p,
.cta-panel p,
.page-card p,
.page-card li {
  color: rgba(32, 35, 31, 0.78);
}

.story-panel.tall {
  background:
    linear-gradient(180deg, rgba(98, 116, 90, 0.08), rgba(255, 255, 255, 0.76)),
    rgba(255, 252, 246, 0.88);
}

.ambience-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: center;
  background: rgba(255, 252, 246, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 34px;
}

.ambience-copy h2,
.showcase-card h2 {
  margin: 14px 0 12px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.ambience-copy p {
  margin: 0;
  color: rgba(32, 35, 31, 0.78);
  max-width: 38rem;
}

.ambience-swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.swatch {
  display: block;
  min-height: 138px;
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.swatch-one {
  background: linear-gradient(145deg, #847767, #5c5248);
}

.swatch-two {
  background: linear-gradient(145deg, #d9c7b2, #b59b83);
}

.swatch-three {
  background: linear-gradient(145deg, #73846b, #4a594a);
}

.swatch-four {
  background: linear-gradient(145deg, #f1e7d8, #d8c3ad);
}

.benefit-card .stat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(98, 116, 90, 0.12);
  color: var(--forest);
  font-weight: 700;
}

.spec-card {
  background:
    linear-gradient(180deg, rgba(198, 157, 123, 0.1), rgba(255, 255, 255, 0.82)),
    rgba(255, 252, 246, 0.9);
}

.split-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.showcase-card {
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.showcase-card ul {
  padding-left: 18px;
  color: rgba(32, 35, 31, 0.78);
}

.accent-card {
  background:
    radial-gradient(circle at top right, rgba(98, 116, 90, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.94), rgba(240, 231, 219, 0.94));
}

.cta {
  padding: 52px 0 86px;
}

.cta-panel {
  text-align: center;
  padding: clamp(36px, 5vw, 58px);
  background:
    radial-gradient(circle at top center, rgba(198, 157, 123, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(245, 239, 229, 0.96));
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.cta-panel .hero-actions {
  justify-content: center;
}

.page-wrap {
  padding: 68px 0 86px;
}

.page-card ul {
  padding-left: 18px;
}

.page-card h2,
.page-card h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  line-height: 1.14;
  color: var(--forest);
}

.page-card h2 {
  margin: 30px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.page-card h3 {
  margin: 24px 0 10px;
  font-size: 1.3rem;
}

.page-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(51, 67, 56, 0.12);
}

.page-card th,
.page-card td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(51, 67, 56, 0.08);
}

.page-card th {
  background: rgba(98, 116, 90, 0.08);
  color: var(--forest);
}

.page-card blockquote {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--clay);
  background: rgba(255, 252, 246, 0.9);
  border-radius: 0 16px 16px 0;
}

.page-card .cta-inline {
  display: inline-flex;
  margin-top: 8px;
}

.wpcf7-form {
  display: grid;
  gap: 14px;
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form label {
  display: block;
  font-weight: 600;
  color: var(--forest);
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(51, 67, 56, 0.16);
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  color: var(--ink);
}

.wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7-submit {
  background: var(--forest);
  color: #fff;
  cursor: pointer;
}

.site-footer {
  padding: 0 0 28px;
}

.footer-inner {
  border-top: 1px solid rgba(51, 67, 56, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(32, 35, 31, 0.65);
  font-size: 0.94rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .story-grid,
  .benefits-grid,
  .spec-grid,
  .split-showcase,
  .ambience-strip {
    grid-template-columns: 1fr;
  }

  .primary-nav {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 420px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
