/* ============================================================
   Finely Cut Firewood — landing page styles
   Palette pulled from the logo: saw-blade steel, ember red,
   flame gold, warm sanded-pine paper, charcoal ink.
   ============================================================ */

:root {
  --ink:        #17130f;   /* warm near-black (the lettering)      */
  --ink-soft:   #3a332c;
  --steel:      #a7a9ac;   /* saw-blade gray                       */
  --steel-dark: #6e7073;
  --ember:      #d2211e;   /* fire red                             */
  --ember-dark: #a8140f;
  --flame:      #f5b21a;   /* flame gold                           */
  --paper:      #f4eddf;   /* sanded-pine background               */
  --paper-2:    #ebe0cd;
  --card:       #ffffff;
  --line:       #ddd0b8;

  --maxw: 1120px;
  --pad: clamp(1.15rem, 4vw, 2.75rem);
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(23, 19, 15, .45);

  --font-display: "Anton", "Oswald", Impact, sans-serif;
  --font-head:    "Oswald", "Arial Narrow", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-dark); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---- shared type ---- */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .5em; }
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ember);
  margin: 0 0 .8rem;
}

/* ---- ember "kerf" line: the signature glowing cut ---- */
.kerf {
  height: 4px;
  border: 0;
  width: 108px;
  margin: 0 0 1.6rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--flame), var(--ember) 60%, var(--ember-dark));
  box-shadow: 0 0 16px 1px rgba(245, 178, 26, .55);
}
.kerf.center { margin-inline: auto; }

/* ---- saw-tooth divider: the blade's teeth as a structural rule ---- */
.teeth {
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='15' viewBox='0 0 30 15'%3E%3Cpath d='M0 0 L15 15 L30 0 Z' fill='%23a7a9ac'/%3E%3C/svg%3E");
  background-size: 30px 15px;
  background-repeat: repeat-x;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 10px 24px -12px var(--ember); }
.btn-primary:hover { background: var(--ember-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: var(--flame); color: var(--ink); border-color: var(--flame); transform: translateY(-2px); }
.btn-ig { background: linear-gradient(65deg, #f5b21a, #d2211e 55%, #a8140f); color:#fff; }
.btn-ig:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(210,33,30,.8); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 237, 223, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .6rem;
}
.brand img { height: 46px; width: auto; }
.brand { display: inline-flex; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: .4rem; color: var(--ink);
}
.nav-toggle svg { width: 30px; height: 30px; }

.nav {
  display: flex; align-items: center; gap: 1.6rem;
}
.nav a {
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .08em;
  font-size: .92rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.nav a:not(.btn):hover { color: var(--ember); }
.nav .btn { padding: .6rem 1.1rem; font-size: .9rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  color: #f6f1e8;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(210,33,30,.35), transparent 60%),
    radial-gradient(900px 400px at 10% 110%, rgba(167,169,172,.22), transparent 60%),
    linear-gradient(180deg, #211b16, #17130f);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 7vw, 4.6rem);
  letter-spacing: .01em;
  line-height: .98;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 .flame { color: var(--flame); }
.hero p.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  color: #ded4c4;
  max-width: 44ch;
  margin: 0 0 1.8rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-art {
  justify-self: center;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.5));
}
.hero-art img { width: min(340px, 72vw); }

/* ============================================================
   Section shell
   ============================================================ */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }
.section h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  text-transform: uppercase;
}
.section p.sub { color: var(--ink-soft); font-size: 1.06rem; margin: 0; }
.alt { background: var(--paper-2); }

/* ---- Intro / about ---- */
.intro .wrap { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.intro .lead-copy p { font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 1rem; max-width: 66ch; }
.stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.6rem; margin-top: 1.4rem; }
.stat b { font-family: var(--font-display); font-size: 1.9rem; color: var(--ember); display: block; line-height: 1; }
.stat span { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--steel-dark); }

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.15rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--flame), var(--ember));
}
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -22px rgba(23,19,15,.5); }
.card .ico {
  width: 46px; height: 46px; margin-bottom: 1rem; color: var(--ember);
}
.card h3 { font-size: 1.25rem; text-transform: uppercase; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---- Instagram ---- */
.ig-cta {
  background: var(--ink);
  color: #f6f1e8;
  border-radius: var(--radius);
  padding: clamp(1.8rem, 5vw, 2.8rem);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; align-items: center;
}
.ig-cta h2 { color: #fff; }
.ig-cta p { color: #d9cfbf; margin: 0 0 1.4rem; max-width: 46ch; }
.ig-handle { font-family: var(--font-head); letter-spacing: .04em; color: var(--flame); }
.ig-embed {
  min-height: 220px; border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.28);
  background: rgba(255,255,255,.04);
  display: grid; place-items: center; text-align: center; padding: 1.2rem;
  color: #cdbfa9; font-size: .9rem;
}

/* ---- FAQ ---- */
.faq { max-width: 800px; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); margin-bottom: .75rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 1.2rem;
  font-family: var(--font-head); font-size: 1.1rem; text-transform: uppercase;
  letter-spacing: .02em; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--ink-soft); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 3rem); align-items: start; }
.contact-info p { color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: center; }
.contact-list .ico { width: 22px; height: 22px; color: var(--ember); flex: none; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--ember); }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .9rem; font: inherit;
  border: 1.5px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 3px solid rgba(245,178,26,.4); border-color: var(--flame);
}
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: .85rem; color: var(--steel-dark); margin: .8rem 0 0; }
.form-status { margin: .9rem 0 0; font-weight: 600; }
.form-status.ok { color: #157a3a; }
.form-status.err { color: var(--ember-dark); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: #cdbfa9; padding-block: 2.4rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; }
.site-footer img { height: 40px; }
.site-footer a { color: var(--flame); text-decoration: none; }
.site-footer .fine { font-size: .85rem; width: 100%; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.1rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .8rem; justify-content: center; }
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-art { order: -1; }
  .hero-art img { width: min(240px, 60vw); }
  .ig-cta { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* scroll-reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }