/* Hearth & Made — Homemade goods / home-business template
   Palette: terracotta + forest green, on warm cream
   Type: Fraunces italic (display) / Inter (body) / Caveat (handwritten accent) */

:root {
  --ink: #2c2419;
  --terracotta: #b5583a;
  --terracotta-deep: #96442a;
  --forest: #4a5d3f;
  --cream: #f7f0e4;
  --white: #fffdf9;
  --line: #e6dcc8;

  --font-display: "Fraunces", serif;
  --font-body: "Inter", sans-serif;
  --font-script: "Caveat", cursive;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html{scroll-behavior:auto;} * { animation-duration:.01ms !important; transition-duration:.01ms !important; } }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.script-tag { font-family: var(--font-script); font-size: 22px; color: var(--terracotta); }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247,240,228,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 23px; }
nav.primary { display: flex; gap: 28px; }
nav.primary a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; }
nav.primary a:hover { color: var(--terracotta); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; }
.btn--primary { background: var(--terracotta); color: var(--white); }
.btn--primary:hover { background: var(--terracotta-deep); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

/* hero */
.hero-inner { padding: 84px 0 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(34px,4.6vw,52px); line-height: 1.12; margin: 6px 0 20px; color: var(--ink); }
.hero h1 span { color: var(--terracotta); }
.hero p.lede { font-size: 16.5px; line-height: 1.65; color: #5a4f3e; max-width: 46ch; margin-bottom: 28px; }
.hero-photo { aspect-ratio: 4/3; border-radius: 10px; background: linear-gradient(135deg,#b5583a,#4a5d3f); }

/* sections */
section { padding: 76px 0; }
.section-head { max-width: 620px; margin-bottom: 42px; }
.section-head h2 { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(26px,3.2vw,34px); margin: 0 0 12px; color: var(--ink); }
.section-head p { color: #5a4f3e; line-height: 1.6; margin: 0; }

/* products */
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.product { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.product-photo { height: 180px; }
.product-body { padding: 20px; }
.product-body h3 { font-family: var(--font-display); font-style: italic; font-size: 19px; margin: 0 0 6px; }
.product-body p { margin: 0 0 12px; font-size: 13.5px; color: #5a4f3e; line-height: 1.5; }
.product-price { font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--terracotta-deep); }

/* process strip */
.process-strip { background: var(--forest); color: var(--white); border-radius: 14px; padding: 8px; }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.process { padding: 30px 26px; border-left: 1px solid rgba(255,255,255,.12); }
.process:first-child { border-left: none; }
.process .script-tag { color: #d9c98f; }
.process h4 { font-family: var(--font-display); font-style: italic; font-size: 19px; margin: 10px 0 8px; }
.process p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #dbe2d5; }

/* maker */
.maker-shell { display: grid; grid-template-columns: .5fr 1fr; gap: 44px; align-items: center; }
.maker-photo { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg,#4a5d3f,#b5583a); }
.maker-copy p { color: #5a4f3e; line-height: 1.65; margin: 0 0 18px; }

/* testimonials */
.testi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testi { background: var(--white); border-left: 3px solid var(--terracotta); padding: 24px; border-radius: 3px; }
.testi p { font-size: 15px; line-height: 1.6; margin: 0 0 14px; font-style: italic; }
.testi .who { font-family: var(--font-body); font-size: 12.5px; color: #5a4f3e; }

/* custom order CTA */
.order-shell { background: var(--terracotta); color: var(--white); border-radius: 16px; padding: 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.order-copy h2 { font-family: var(--font-display); font-style: italic; font-size: clamp(24px,3vw,30px); margin: 10px 0 12px; }
.order-copy .script-tag { color: #ffe1cf; }
.order-copy p { color: #ffe1cf; line-height: 1.6; margin: 0; }
.form-row { margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row label { display: block; font-size: 12px; font-weight: 600; color: #ffe1cf; margin-bottom: 6px; }
.form-row input, .form-row textarea { width: 100%; font-family: var(--font-body); font-size: 14.5px; padding: 11px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: var(--white); }
.form-row input::placeholder, .form-row textarea::placeholder { color: #ffd3ba; }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; }
.order-form .btn--primary { width: 100%; justify-content: center; margin-top: 4px; background: var(--forest); }
.order-form .btn--primary:hover { background: #3a4a32; }

/* footer */
footer.site-footer { background: var(--ink); color: #c7b9a0; padding: 46px 0 26px; }
footer.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
footer.site-footer h4 { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--white); margin: 0 0 14px; }
footer.site-footer p, footer.site-footer a { font-size: 14px; line-height: 1.8; text-decoration: none; color: #c7b9a0; }
footer.site-footer a:hover { color: var(--terracotta); }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11.5px; color: #7a6d56; }

@media (max-width: 900px) {
  nav.primary { display: none; }
  .hero-inner, .maker-shell { grid-template-columns: 1fr; }
  .product-grid, .testi-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process { border-left: none; border-top: 1px solid rgba(255,255,255,.12); }
  .process:first-child { border-top: none; }
  .order-shell { grid-template-columns: 1fr; padding: 30px; }
  .two-col { grid-template-columns: 1fr; }
  footer.site-footer .wrap { grid-template-columns: 1fr; }
}
