:root {
  --paper: #f7efdf;
  --paper-deep: #eadfc9;
  --ink: #26231f;
  --muted: #665f52;
  --olive: #5f6844;
  --olive-dark: #41482d;
  --rust: #a95f35;
  --coffee: #7b4b2f;
  --gold: #c6a15a;
  --card: rgba(255, 250, 239, 0.72);
  --shadow: 0 24px 80px rgba(49, 35, 20, 0.16);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 22%, rgba(123, 75, 47, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 12%, rgba(95, 104, 68, 0.14) 0 1px, transparent 2px),
    linear-gradient(115deg, rgba(255,255,255,0.45), rgba(255,255,255,0)),
    var(--paper);
  background-size: 26px 26px, 34px 34px, auto, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(90deg, rgba(123,75,47,0.05) 1px, transparent 1px),
    linear-gradient(rgba(123,75,47,0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mix-blend-mode: multiply;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 239, 223, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(95, 104, 68, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(61, 44, 28, 0.14);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.96rem;
}

nav a {
  color: var(--muted);
  transition: color 160ms ease, transform 160ms ease;
}

nav a:hover { color: var(--ink); transform: translateY(-1px); }

.nav-cta {
  color: var(--paper) !important;
  background: var(--olive-dark);
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(65, 72, 45, 0.18);
}

.section {
  padding: clamp(70px, 9vw, 126px) clamp(20px, 5vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}

.hero { min-height: calc(100vh - 82px); }

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--rust);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

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

h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7.2vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

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

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(38, 35, 31, 0.16);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  font-family: inherit;
  font-size: 1rem;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(61, 44, 28, 0.16); }

.button.primary {
  color: #fff8ec;
  background: var(--olive-dark);
}

.button.secondary {
  background: rgba(255, 250, 239, 0.6);
  color: var(--olive-dark);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(169, 95, 53, 0.10);
  color: var(--coffee);
  border: 1px solid rgba(169, 95, 53, 0.16);
  font-size: 0.95rem;
}

.fine-print,
.estimate-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.hero-card {
  position: relative;
  padding: clamp(16px, 3vw, 28px);
  background: rgba(255, 250, 239, 0.58);
  border: 1px solid rgba(95, 104, 68, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 148px;
  height: 148px;
  left: -34px;
  top: 20px;
  border: 14px solid rgba(123, 75, 47, 0.16);
  border-radius: 50%;
  filter: blur(0.2px);
}

.hero-card img {
  border-radius: 22px;
  position: relative;
  box-shadow: 0 20px 70px rgba(38, 35, 31, 0.14);
}

.marquee {
  display: flex;
  gap: 18px;
  overflow: hidden;
  padding: 18px clamp(20px, 5vw, 80px);
  color: var(--paper);
  background: var(--olive-dark);
  border-block: 1px solid rgba(38, 35, 31, 0.18);
  white-space: nowrap;
}

.marquee span::after {
  content: "•";
  padding-left: 18px;
  color: var(--gold);
}

.cards {
  display: grid;
  gap: 22px;
}

.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.calculator,
.order-form,
.formula-card,
.medium-list > div,
.testimonial {
  background: var(--card);
  border: 1px solid rgba(95, 104, 68, 0.18);
  box-shadow: 0 18px 60px rgba(61, 44, 28, 0.10);
  border-radius: var(--radius);
}

.card {
  position: relative;
  padding: 28px;
}

.card p,
.pricing-copy p,
.medium-list p,
.order p {
  color: var(--muted);
  line-height: 1.6;
}

.card ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.featured-card {
  background: linear-gradient(180deg, rgba(255,250,239,0.78), rgba(234,223,201,0.64));
  border-color: rgba(169, 95, 53, 0.22);
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--rust);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pricing-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.formula-card {
  margin-top: 28px;
  padding: 22px;
}

.formula-label {
  display: block;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

code {
  display: block;
  color: var(--olive-dark);
  font-family: "Courier New", Courier, monospace;
  font-size: 1rem;
  white-space: normal;
}

.calculator,
.order-form {
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--olive-dark);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(95, 104, 68, 0.28);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 252, 246, 0.78);
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 4px rgba(169, 95, 53, 0.12);
}

input[type="range"] { accent-color: var(--olive-dark); padding: 0; }

#densityLabel {
  color: var(--muted);
  font-weight: 400;
}

output {
  display: block;
  margin: 18px 0 10px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(65, 72, 45, 0.10);
  color: var(--olive-dark);
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
}

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

.medium-list > div { padding: 24px; }

.medium-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(169, 95, 53, 0.12);
  color: var(--rust);
  font-size: 1.35rem;
}

.testimonial {
  text-align: center;
  padding: clamp(36px, 6vw, 72px);
}

.testimonial blockquote {
  margin: 0 auto 18px;
  max-width: 860px;
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.testimonial p { color: var(--muted); margin: 0; }


.faq {
  padding-top: clamp(42px, 6vw, 86px);
}

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

.faq details {
  background: var(--card);
  border: 1px solid rgba(95, 104, 68, 0.18);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(61, 44, 28, 0.08);
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  color: var(--olive-dark);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.25;
}

.faq summary::marker {
  color: var(--rust);
}

.faq p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.order { align-items: start; }

.thanks {
  min-height: 1.4em;
  color: var(--rust);
  font-weight: 700;
}

.site-footer {
  padding: 34px clamp(20px, 5vw, 80px);
  color: var(--paper-deep);
  background: var(--ink);
  text-align: center;
}

.site-footer p { margin: 0; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; }
  nav { display: none; }
  .section-grid,
  .pricing-wrap,
  .cards.three,
  .medium-list,
  .faq-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 560px) {
  .brand span { display: none; }
  h1 { font-size: clamp(2.75rem, 16vw, 4rem); }
  .hero-actions { display: grid; }
  .section { padding-inline: 16px; }
  .calculator, .order-form, .card, .medium-list > div { padding: 22px; }
}

.team-section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.team-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.team-intro {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  opacity: 0.85;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: rgba(255, 250, 238, 0.9);
  border: 2px solid rgba(80, 58, 35, 0.25);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(65, 45, 25, 0.12);
  position: relative;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(80, 58, 35, 0.25);
  border-radius: 18px;
  pointer-events: none;
}

.team-photo-placeholder {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(126, 91, 54, 0.12), rgba(255, 255, 255, 0.5)),
    repeating-linear-gradient(
      -8deg,
      rgba(80, 58, 35, 0.08),
      rgba(80, 58, 35, 0.08) 2px,
      transparent 2px,
      transparent 8px
    );
  border: 2px solid rgba(80, 58, 35, 0.35);
  display: grid;
  place-items: center;
  transform: rotate(-1.5deg);
  box-shadow: inset 0 0 0 8px rgba(255, 250, 238, 0.65);
}

.team-photo-placeholder span {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  color: rgba(80, 58, 35, 0.7);
  line-height: 1.2;
}

.team-card:nth-child(2) .team-photo-placeholder {
  transform: rotate(1deg);
}

.team-card:nth-child(3) .team-photo-placeholder {
  transform: rotate(-0.5deg);
}

.team-card h3 {
  margin: 0.25rem 0;
  font-size: 1.45rem;
}

.team-role {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #6b4a2f;
}

.team-card p {
  line-height: 1.6;
}

@media (max-width: 850px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    max-width: 520px;
    margin: 0 auto;
  }
}

.origin-story {
  margin: 3rem auto 0;
  max-width: 850px;
  text-align: left;
  background:
    radial-gradient(circle at top left, rgba(111, 78, 55, 0.12), transparent 32%),
    rgba(255, 250, 238, 0.92);
  border: 2px solid rgba(80, 58, 35, 0.28);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 16px 40px rgba(65, 45, 25, 0.14);
  position: relative;
}

.origin-story::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(80, 58, 35, 0.25);
  border-radius: 20px;
  pointer-events: none;
}

.origin-story-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(111, 78, 55, 0.12);
  color: #6b4a2f;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.origin-story h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: #3f2d1f;
}

.origin-story p {
  font-size: 1.04rem;
  line-height: 1.75;
  color: #4a3627;
  margin: 0 0 1.1rem;
}

.origin-story em {
  font-style: italic;
  color: #6b4a2f;
}

.origin-story-signoff {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(80, 58, 35, 0.22);
  font-weight: 700;
}

.team-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.25rem;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid rgba(80, 58, 35, 0.35);
  box-shadow:
    inset 0 0 0 8px rgba(255, 250, 238, 0.65),
    0 8px 20px rgba(65, 45, 25, 0.16);
  transform: rotate(-1.5deg);
}

.team-card:nth-child(2) .team-photo {
  transform: rotate(1deg);
}

.team-card:nth-child(3) .team-photo {
  transform: rotate(-0.5deg);
}