:root {
  --white: #FFFFFF;
  --tint: #F6F5F1;
  --ink: #241C16;
  --muted: #6B5F52;
  --ember: #D97239;
  --rust: #A8431F;
  --nori: #33473B;

  --text-on-dark: #F3EEE4;
  --text-muted-on-dark: #CFC4B6;

  --font-display: "Poppins", sans-serif;
  --font-body: "Work Sans", sans-serif;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.7;
  background: var(--white);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 20px;
}

p { margin: 0 0 16px; max-width: 62ch; }

a { color: var(--rust); text-decoration: none; }

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

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

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

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--ember);
  color: var(--white);
}
.btn-primary:hover { background: var(--rust); }

.btn-outline {
  background: transparent;
  border-color: var(--ember);
  color: var(--rust);
}
.btn-outline:hover { background: var(--ember); color: var(--white); }

.btn-disabled {
  border-color: #ddd8cd;
  color: #a49c8f;
  cursor: not-allowed;
}
.btn-disabled:hover { background: transparent; color: #a49c8f; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(36, 28, 22, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo { flex-shrink: 0; min-width: 0; }
.logo img { height: 56px; width: auto; max-width: 100%; }

.nav-cta {
  flex-shrink: 0;
  background: var(--ember);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--rust); }

/* Hero */
.hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  background: var(--ink) url("../images/hero-bg.png") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(24, 20, 17, 0.85) 0%, rgba(24, 20, 17, 0.5) 55%, rgba(24, 20, 17, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-on-dark);
  max-width: 640px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-content .eyebrow { color: var(--ember); }

.hero-content h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
}

.hero-content p {
  color: var(--text-muted-on-dark);
  font-size: 18px;
  margin-bottom: 28px;
}

/* Product sections */
.product {
  padding: 88px 0;
}
.product.on-tint { background: var(--tint); }
.product.on-white { background: var(--white); }

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.product-inner.reverse { direction: rtl; }
.product-inner.reverse > * { direction: ltr; }

.product-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.product-logo { max-height: 64px; width: auto; }

.product-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  border: 10px solid var(--white);
  outline: 1px solid rgba(36, 28, 22, 0.1);
  box-shadow: 0 16px 36px rgba(36, 28, 22, 0.14);
}

.product-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  border: 2px solid rgba(217, 114, 57, 0.35);
  background:
    radial-gradient(circle at 30% 20%, rgba(217, 114, 57, 0.14), transparent 60%),
    var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.product-photo-placeholder img {
  max-width: 58%;
}

.product-copy h2 { font-size: clamp(26px, 2.6vw, 32px); }
.product-copy p { font-size: 16px; color: var(--muted); }

/* Story */
.story {
  padding: 96px 0;
  background: var(--tint);
}
.story .eyebrow { color: var(--ember); text-align: center; }
.story h2 { color: var(--ink); text-align: center; }
.story-inner { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.story p { color: var(--muted); font-size: 17px; text-align: center; }

/* Contact */
.contact { padding: 96px 0; background: var(--white); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
}

.contact-info .eyebrow { color: var(--rust); }
.contact-info p { color: var(--muted); }

.contact-form {
  background: var(--tint);
  padding: 36px 24px;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(36, 28, 22, 0.08);
}

.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 14px; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #ddd5c6;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--ember);
}

.contact-form .btn { width: 100%; border: none; }
.form-status { margin: 14px 0 0; font-size: 14px; min-height: 20px; }
.form-status.success { color: var(--nori); }
.form-status.error { color: var(--rust); }

/* Footer */
.site-footer {
  background: var(--tint);
  border-top: 1px solid #e6e1d4;
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { height: 46px; width: auto; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 14px; }

/* Responsive */
@media (max-width: 860px) {
  .product-inner, .product-inner.reverse, .contact-inner {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .product-media { order: -1; }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
  .logo img { height: 38px; }
}

@media (max-width: 400px) {
  .btn { padding: 14px 24px; }
  .hero-content { padding-top: 36px; padding-bottom: 36px; }
  .logo img { height: 29px; }
}
