/* ──────────────────────────────────────────────────────────────────────────
   CRAFT — editorial / artisan template. Self-contained, no inheritance
   from techpro. All design tokens live as --craft-* custom properties so
   they never collide with shared/site-builder variables.
   ────────────────────────────────────────────────────────────────────────── */

body.craft {
  --craft-bg: #faf6f1;
  --craft-bg-alt: #f5ede0;
  --craft-ink: #1e293b;
  --craft-ink-soft: #475569;
  --craft-ink-muted: #78716c;
  --craft-card-bg: #ffffff;
  --craft-card-border: #e7e0d3;
  --craft-primary: #c2410c;
  --craft-primary-dark: #9a3412;
  --craft-accent: #1e293b;
  --craft-radius: 4px;
  --craft-radius-lg: 8px;
  --craft-shadow-sm: 0 2px 6px rgba(28, 25, 23, 0.04);
  --craft-shadow: 0 4px 18px rgba(28, 25, 23, 0.07);
  --craft-shadow-lg: 0 12px 36px rgba(28, 25, 23, 0.10);
  --craft-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --craft-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
body.craft *,
body.craft *::before,
body.craft *::after { box-sizing: border-box; }
body.craft {
  margin: 0;
  padding: 0;
  background: var(--craft-bg);
  color: var(--craft-ink);
  font-family: var(--craft-font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Subtle paper grain */
  background-image:
    radial-gradient(rgba(194, 65, 12, 0.020) 1px, transparent 1px),
    radial-gradient(rgba(30, 41, 59, 0.012) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}
body.craft img { max-width: 100%; height: auto; display: block; }
body.craft a { color: inherit; text-decoration: none; transition: color .2s ease; }
body.craft h1, body.craft h2, body.craft h3, body.craft h4, body.craft h5 {
  font-family: var(--craft-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--craft-ink);
}
body.craft p { margin: 0; }
body.craft ul, body.craft ol { margin: 0; padding: 0; list-style: none; }
body.craft button { font-family: inherit; cursor: pointer; }

.craft-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.craft-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Reveal animation ──────────────────────────────────────────────────── */
.craft-reveal {
  transform: translateY(24px);
  transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s ease;
}
.craft-reveal.active { transform: translateY(0); }
body.craft.no-scroll-anim .craft-reveal { transform: none; transition: none; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.craft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--craft-radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  font-family: var(--craft-font-body);
}
/* `body.craft` prefix bumps specificity (0,2,1) above the body.craft a reset
   (0,1,2) which otherwise wins with color: inherit and pulls dark text from
   the parent (footer / card / etc.), making text invisible on terracotta bg. */
body.craft .craft-btn-primary {
  background: var(--craft-primary);
  color: #ffffff;
  box-shadow: 0 6px 20px -6px var(--craft-primary);
}
body.craft .craft-btn-primary:hover {
  background: var(--craft-primary-dark);
  color: #ffffff;
  box-shadow: 0 10px 28px -6px var(--craft-primary-dark);
  transform: translateY(-1px);
}
body.craft .craft-btn-ghost {
  background: transparent;
  color: var(--craft-ink);
  border-color: var(--craft-ink);
}
body.craft .craft-btn-ghost:hover {
  background: var(--craft-ink);
  color: var(--craft-bg);
}
.craft-btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

/* ── Topbar ────────────────────────────────────────────────────────────── */
.craft-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--craft-card-border);
  padding: 16px 0;
}
.craft-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.craft-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--craft-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--craft-ink);
}
.craft-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--craft-primary);
  display: inline-block;
  position: relative;
}
.craft-brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid var(--craft-bg);
  border-radius: 50%;
}
.craft-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.craft-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--craft-ink-soft);
}
.craft-nav a:hover { color: var(--craft-primary); }
.craft-hamburger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.craft-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--craft-ink);
  margin: 5px 0;
}

/* ── Hero (editorial: text-first, centered) ────────────────────────────── */
.craft-hero {
  padding: 100px 0 80px;
  text-align: left;
  position: relative;
}
.craft-hero-inner { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.craft-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--craft-primary);
  margin-bottom: 28px;
}
.craft-hero-badge::before,
.craft-hero-badge::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--craft-primary);
  opacity: 0.55;
}
.craft-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin: 0 0 24px;
  letter-spacing: -0.025em;
}
.craft-hero h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--craft-primary);
}
.craft-hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--craft-ink-soft);
  margin: 0 0 36px;
  max-width: 620px;
}
.craft-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.craft-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--craft-card-border);
  max-width: 620px;
}
.craft-stat-num {
  font-family: var(--craft-font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  color: var(--craft-primary);
  margin-bottom: 4px;
}
.craft-stat-label {
  font-size: 13px;
  color: var(--craft-ink-soft);
  letter-spacing: 0.04em;
}

/* ── Section base ──────────────────────────────────────────────────────── */
.craft-section {
  padding: 100px 0;
  position: relative;
}
.craft-section-alt { background: var(--craft-bg-alt); }
.craft-section + .craft-section::before {
  content: "";
  display: block;
  width: 60px;
  height: 0;
  border-top: 2px dotted var(--craft-primary);
  opacity: 0.45;
  margin: 0 auto 60px;
}
.craft-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.craft-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--craft-primary);
  margin-bottom: 18px;
}
.craft-eyebrow::before,
.craft-eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--craft-primary);
  opacity: 0.55;
}
.craft-section h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.craft-section h2 em {
  font-style: italic;
  font-weight: 800;
  color: var(--craft-primary);
}
.craft-section-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--craft-ink-soft);
  margin: 0;
}

/* ── About (with drop-cap) ─────────────────────────────────────────────── */
.craft-about-body {
  max-width: 720px;
  margin: 0 auto;
}
.craft-about-body p {
  font-family: var(--craft-font-display);
  font-size: 19px;
  line-height: 1.75;
  color: var(--craft-ink);
  margin-bottom: 24px;
}
.craft-about-body p:first-of-type::first-letter {
  font-family: var(--craft-font-display);
  font-weight: 800;
  font-style: italic;
  float: left;
  font-size: 4.5em;
  line-height: 0.85;
  margin: 10px 14px 0 0;
  color: var(--craft-primary);
}
.craft-about-body p:last-child { margin-bottom: 0; }

/* ── Services grid ─────────────────────────────────────────────────────── */
.craft-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.craft-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.craft-service {
  background: var(--craft-card-bg);
  border: 1px solid var(--craft-card-border);
  border-radius: var(--craft-radius-lg);
  padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  color: var(--craft-ink);
}
.craft-service:hover {
  transform: translateY(-4px);
  box-shadow: var(--craft-shadow);
  border-color: var(--craft-primary);
}
.craft-service-num {
  display: inline-block;
  font-family: var(--craft-font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  color: var(--craft-primary);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.craft-service h3 {
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--craft-ink);
}
.craft-service p {
  font-size: 15px;
  color: var(--craft-ink-soft);
  line-height: 1.6;
}

/* ── Process steps ─────────────────────────────────────────────────────── */
.craft-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.craft-step {
  padding: 4px 0;
}
.craft-step-num {
  font-family: var(--craft-font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--craft-primary);
  opacity: 0.85;
  margin-bottom: 12px;
}
.craft-step h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--craft-ink);
}
.craft-step p {
  font-size: 14px;
  color: var(--craft-ink-soft);
  line-height: 1.6;
}

/* ── Products / collections ────────────────────────────────────────────── */
.craft-product {
  background: var(--craft-card-bg);
  border: 1px solid var(--craft-card-border);
  border-radius: var(--craft-radius-lg);
  padding: 0 0 28px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.craft-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--craft-shadow);
  border-color: var(--craft-primary);
}
/* Hero image area at top of product card. Real upload → background-image
   on .craft-product-image-photo. Fallback → editorial placeholder with
   the product name set in Playfair italic over a cream gradient. */
.craft-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--craft-bg-alt) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--craft-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.craft-product-image-photo {
  background-size: cover;
  background-position: center;
  padding: 0;
}
.craft-product-image-title {
  font-family: var(--craft-font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  color: var(--craft-primary);
  text-align: center;
  letter-spacing: -0.01em;
}
.craft-product-image-tag {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-family: var(--craft-font-body);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--craft-ink-muted);
  font-weight: 600;
}
.craft-product-image::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 1px;
  background: var(--craft-primary);
  opacity: 0.25;
}
.craft-product-image-photo::after { display: none; }
.craft-product-body {
  padding: 24px 28px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.craft-product h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--craft-ink);
}
.craft-product-price {
  font-family: var(--craft-font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 17px;
  color: var(--craft-primary);
  margin-bottom: 14px;
}
.craft-product p {
  font-size: 14px;
  color: var(--craft-ink-soft);
  line-height: 1.6;
}

/* ── Testimonials as pull-quotes ───────────────────────────────────────── */
.craft-testi {
  position: relative;
  padding: 28px 12px;
  text-align: left;
}
.craft-testi::before {
  content: "\201C";
  position: absolute;
  top: 0;
  left: -8px;
  font-family: var(--craft-font-display);
  font-size: 110px;
  line-height: 0.55;
  color: var(--craft-primary);
  opacity: 0.22;
}
.craft-testi-text {
  font-family: var(--craft-font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--craft-ink);
  margin: 0 0 20px;
}
.craft-testi-stars {
  color: var(--craft-primary);
  letter-spacing: 4px;
  font-size: 14px;
  margin-bottom: 8px;
}
.craft-testi-author strong {
  display: block;
  font-family: var(--craft-font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--craft-ink);
  font-style: normal;
}
.craft-testi-author span {
  font-size: 13px;
  color: var(--craft-ink-soft);
}

/* ── FAQ accordion ─────────────────────────────────────────────────────── */
.craft-faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.craft-faq {
  background: var(--craft-card-bg);
  border: 1px solid var(--craft-card-border);
  border-radius: var(--craft-radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.craft-faq[open] {
  border-color: var(--craft-primary);
  border-left-width: 3px;
}
.craft-faq summary {
  cursor: pointer;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  color: var(--craft-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.craft-faq summary::-webkit-details-marker { display: none; }
.craft-faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--craft-primary);
  flex-shrink: 0;
}
.craft-faq[open] summary::after { content: "−"; }
.craft-faq p {
  padding: 0 26px 22px;
  margin: 0;
  font-size: 15px;
  color: var(--craft-ink-soft);
  line-height: 1.7;
}

/* ── Contact ───────────────────────────────────────────────────────────── */
.craft-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
}
.craft-contact-info h3 {
  font-size: 24px;
  margin: 0 0 8px;
}
.craft-contact-info p {
  font-size: 15px;
  color: var(--craft-ink-soft);
  margin-bottom: 28px;
}
.craft-contact-meta { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.craft-contact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--craft-ink);
}
.craft-contact-meta-item strong { font-weight: 600; min-width: 80px; color: var(--craft-ink-soft); font-weight: 500; }
.craft-social-row { display: flex; gap: 10px; }
.craft-social-link {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--craft-card-border);
  border-radius: 50%;
  color: var(--craft-ink-soft);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.craft-social-link:hover {
  background: var(--craft-primary);
  border-color: var(--craft-primary);
  color: #ffffff;
}

.craft-form {
  background: var(--craft-card-bg);
  border: 1px solid var(--craft-card-border);
  border-radius: var(--craft-radius-lg);
  padding: 36px;
}
.craft-form h3 { font-size: 22px; margin: 0 0 6px; }
.craft-form p.craft-form-sub { font-size: 14px; color: var(--craft-ink-soft); margin: 0 0 24px; }
.craft-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.craft-field label { font-size: 13px; font-weight: 600; color: var(--craft-ink-soft); }
.craft-field input,
.craft-field textarea {
  background: var(--craft-bg);
  border: 1px solid var(--craft-card-border);
  border-radius: var(--craft-radius);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--craft-ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.craft-field input:focus,
.craft-field textarea:focus {
  outline: none;
  border-color: var(--craft-primary);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.12);
}
.craft-field textarea { min-height: 110px; resize: vertical; }
.craft-form-status { font-size: 14px; margin-top: 10px; }
.craft-form-status.success { color: #15803d; }
.craft-form-status.error { color: #b91c1c; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.craft-footer {
  background: #1e293b;
  color: #cbd5e1;
  padding: 64px 0 28px;
  margin-top: 0;
}
.craft-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.craft-footer-brand .craft-brand { color: #ffffff; margin-bottom: 14px; }
.craft-footer-brand p { font-size: 14px; max-width: 320px; color: rgba(255,255,255,0.55); }
.craft-footer-col h4 {
  color: #ffffff;
  font-family: var(--craft-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.craft-footer-col ul li { margin-bottom: 10px; }
.craft-footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.craft-footer-col a:hover { color: #ffffff; }
.craft-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .craft-grid-3,
  .craft-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .craft-process { grid-template-columns: repeat(2, 1fr); }
  .craft-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .craft-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .craft-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .craft-section { padding: 64px 0; }
  .craft-hero { padding: 60px 0 50px; }
  .craft-grid-3,
  .craft-grid-2 { grid-template-columns: 1fr; }
  .craft-process { grid-template-columns: 1fr; }
  .craft-nav { display: none; }
  .craft-hamburger { display: block; }
  .craft-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--craft-bg);
    padding: 16px 24px;
    border-bottom: 1px solid var(--craft-card-border);
  }
  .craft-hero-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .craft-footer-grid { grid-template-columns: 1fr; }
  .craft-footer-bottom { flex-direction: column; text-align: center; }
}
