:root {
  --bg: #FBF6EE;
  --surface: #F3E9D7;
  --surface-2: #EADBC0;
  --ink: #2B1D14;
  --ink-soft: #5A4232;
  --accent: #B8743B;
  --accent-2: #6B4226;
  --accent-soft: #E9C28E;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 24px rgba(43, 29, 20, .08);
  --shadow-lg: 0 18px 40px rgba(43, 29, 20, .12);
  --maxw: 1120px;
  --gap: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; margin-bottom: .35em; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gap);
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: .75rem;
}

/* ----------- Header ----------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, .85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(43, 29, 20, .08);
  background: rgba(251, 246, 238, .96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
}
.brand-slogan {
  font-style: italic;
  font-size: .75rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
}

.primary-nav {
  display: flex;
  gap: 8px;
}
.primary-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.primary-nav a:hover {
  background: var(--surface);
  color: var(--accent-2);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ----------- Buttons ----------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn-primary {
  background: var(--accent-2);
  color: var(--bg);
  box-shadow: 0 6px 18px rgba(107, 66, 38, .35);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--accent-2);
  border-color: var(--accent-2);
}
.btn-ghost:hover {
  background: var(--accent-2);
  color: var(--bg);
}

/* ----------- Hero ----------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px);
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(232, 194, 142, .55), transparent 60%),
    radial-gradient(70% 90% at 10% 100%, rgba(184, 116, 59, .18), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(107, 66, 38, .05) 1px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: .6;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  position: relative;
}

.hero-copy h1 { margin-top: .25em; }
.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-art {
  position: relative;
}
.hero-art svg {
  filter: drop-shadow(0 16px 30px rgba(107, 66, 38, .18));
}

/* ----------- Sections ----------- */

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ----------- About / Values ----------- */

.about { background: var(--bg); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .25s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--bg);
  color: var(--accent);
  margin-bottom: 16px;
}
.value-card p { color: var(--ink-soft); margin: 0; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.story-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .25s ease;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.story-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg);
  color: var(--accent);
  margin-bottom: 18px;
}
.story-card h3 {
  font-size: 1.3rem;
  margin-bottom: .5em;
}
.story-card p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1rem;
}
.story-card strong { color: var(--accent-2); font-weight: 700; }
.story-card em { color: var(--accent-2); font-style: italic; }

/* ----------- Brands ----------- */

.brands {
  background: var(--bg);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.brand-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .2s ease, box-shadow .25s ease;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.brand-logo {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 18px;
}
.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand-card h3 {
  font-size: 1.15rem;
  margin-bottom: .35em;
}
.brand-card p {
  color: var(--ink-soft);
  font-size: .95rem;
  margin: 0;
}

/* ----------- Products ----------- */

.products {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  margin: 0;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.product-card figcaption {
  padding: 14px 16px 18px;
  font-weight: 600;
  color: var(--ink);
  font-size: .98rem;
}

/* ----------- Models ----------- */

.models {
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.model-card {
  background: var(--bg);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-soft);
}
.model-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--surface);
  margin-bottom: 14px;
}
.model-card p {
  color: var(--ink-soft);
  font-size: .98rem;
  margin: 0 0 14px;
}
.tag {
  margin-top: auto;
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent-2);
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 999px;
  align-self: flex-start;
}

/* ----------- Contact ----------- */

.contact {
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
.contact-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-soft);
  font-weight: 600;
}
.contact-list a { font-weight: 600; }

.contact-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
}
.contact-form h3 { margin-bottom: 12px; }
.contact-form label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 8px;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  background: var(--bg);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(184, 116, 59, .15);
}
.contact-form .btn { margin-top: 16px; justify-self: start; }
.form-hint {
  margin: 8px 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
  min-height: 1.2em;
}
.form-hint.success { color: #2f6f3a; }
.form-hint.error { color: #a23a2a; }

/* ----------- Footer ----------- */

.site-footer {
  background: var(--accent-2);
  color: var(--surface);
  padding: 36px 0;
  margin-top: 24px;
}
.site-footer a { color: var(--surface); }
.site-footer a:hover { color: #fff; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}
.footer-brand strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
}
.footer-brand span {
  font-style: italic;
  font-size: .85rem;
  opacity: .85;
}
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { font-weight: 500; }
.site-footer small { opacity: .8; }

/* ----------- Responsive ----------- */

@media (max-width: 960px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .primary-nav {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 16px var(--gap);
    box-shadow: 0 10px 24px rgba(43, 29, 20, .10);
    transform-origin: top;
    transform: scaleY(.85);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .primary-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin-inline: auto; }

  .value-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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