/* MARUN landing — minimal beige / wood. No build step, no external fonts. */
:root {
  --bg: #f5efe6;          /* linen beige */
  --bg-alt: #ebe2d4;      /* warm sand */
  --surface: #fbf8f3;
  --ink: #2f2a24;         /* dark walnut */
  --ink-soft: #6b5f52;
  --wood: #9a7350;        /* oak */
  --wood-dark: #6e4f35;   /* walnut */
  --line: #d9cdbb;
  --radius: 4px;
  --wrap: 1080px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Placeholder marker — remove this rule (or the class) once copy is final */
.ph { background: rgba(154, 115, 80, .10); outline: 1px dashed var(--wood); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 239, 230, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--serif); letter-spacing: .32em; text-decoration: none; font-size: 1.1rem; }
.logo-sm { font-size: .95rem; }
.nav { display: flex; gap: 28px; font-size: .9rem; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover, .nav a:focus-visible { color: var(--wood-dark); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 78vh; display: flex; align-items: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  text-align: center;
}
.hero-inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.brand { font-size: clamp(3rem, 10vw, 6.5rem); letter-spacing: .28em; margin-right: -.28em; color: var(--ink); }
.promise { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--ink-soft); margin: 0 auto 2em; max-width: 36ch; }
/* subtle wood-grain band at the bottom of the hero, CSS only */
.hero-grain {
  position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: repeating-linear-gradient(90deg, var(--wood) 0 3px, var(--wood-dark) 3px 4px, var(--wood) 4px 11px);
  opacity: .55;
}

.eyebrow { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wood-dark); }

.btn {
  display: inline-block; padding: 12px 28px;
  border: 1px solid var(--wood-dark); border-radius: var(--radius);
  color: var(--wood-dark); text-decoration: none; letter-spacing: .06em; font-size: .92rem;
  transition: background .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--wood-dark); color: var(--surface); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.25rem); text-align: center; margin-bottom: 1.6em; }

.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card, .product {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px;
}
.card { text-align: center; }
.card h3, .product h3 { font-size: 1.3rem; }
.card p, .product p { color: var(--ink-soft); font-size: .95rem; }
.icon { width: 44px; height: 44px; margin-bottom: 16px; fill: none; stroke: var(--wood); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Story */
.story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.story .section-title { text-align: left; margin-bottom: .8em; }
.story-text p { color: var(--ink-soft); }
.flow { display: grid; gap: 0; border-left: 2px solid var(--wood); }
.flow li { display: grid; gap: 2px; padding: 18px 0 18px 24px; position: relative; color: var(--ink-soft); font-size: .95rem; }
.flow li::before {
  content: ""; position: absolute; left: -7px; top: 26px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg-alt); border: 2px solid var(--wood);
}
.flow strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
.flow-step { font-size: .75rem; letter-spacing: .18em; color: var(--wood); }

/* Products */
.product { padding: 0 0 24px; overflow: hidden; display: flex; flex-direction: column; }
.product > *:not(.product-img) { padding: 0 24px; }
.product-img {
  aspect-ratio: 4 / 3; margin-bottom: 20px;
  background:
    repeating-linear-gradient(100deg, rgba(110, 79, 53, .06) 0 2px, transparent 2px 9px),
    linear-gradient(135deg, #e3d4bf, #cdb393);
}
.product-cat { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); margin-bottom: .4em; }
.link-amazon { margin-top: auto; font-size: .9rem; color: var(--wood-dark); text-underline-offset: 4px; }

/* Contact */
.contact { text-align: center; max-width: 640px; }
.contact p { color: var(--ink-soft); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: .85rem; color: var(--ink-soft); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }

a:focus-visible, .btn:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }

/* Responsive */
@media (max-width: 860px) {
  .cards-3 { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .nav { gap: 16px; font-size: .82rem; }
  .nav li:nth-child(2) { display: none; } /* keep header on one line */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
