/* ============================================================
   ARRAMET FZCO — Design tokens
   Pulled directly from the approved Wortham brand guideline:
   ink #221C0F · umber #7C513E · bronze accent #B06027
   sand #BB9F81 · tan #EAD1A8 · chocolate #683423 · charcoal #383736
   Heading font "Calimate" / body font "Gilgan" per guideline —
   substituted below with close free equivalents (Quicksand / Mulish)
   until the licensed webfont files are installed. See SETUP-GUIDE.md.
   ============================================================ */

:root {
  --ink: #221C0F;
  --umber: #7C513E;
  --bronze: #B06027;
  --bronze-light: #BB9F81;
  --gold-accent: #EAD1A8;
  --chocolate: #683423;
  --charcoal: #383736;
  --parchment: #FBE4BD;
  --parchment-deep: #EAD1A8;
  --paper: #FBF8F2;
  --stone: #BB9F81;
  --line: rgba(34, 28, 15, 0.14);
  --line-strong: rgba(34, 28, 15, 0.28);

  --font-display: "Quicksand", "Poppins", -apple-system, sans-serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 68ch;
  --radius: 4px;
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 0.5em; line-height: 1.12; }
p { margin: 0 0 1em; max-width: var(--measure); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--ink); color: var(--parchment); }
.section--parchment { background: var(--parchment); }

/* ---------- Type scale ---------- */
.h-display { font-size: clamp(2.4rem, 4.6vw, 4.1rem); letter-spacing: -0.015em; }
.h-1 { font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -0.01em; }
.h-2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.h-3 { font-size: 1.2rem; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--umber); max-width: 58ch; }
.section--dark .lede { color: var(--parchment-deep); }
.eyebrow-line { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--bronze); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.eyebrow-line::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.section--dark .eyebrow-line::after { background: rgba(245,238,225,0.25); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.main-nav ul { display: flex; gap: 34px; align-items: center; }
.main-nav a { text-decoration: none; font-size: 0.98rem; color: var(--umber); position: relative; padding: 4px 0; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.is-cta {
  background: var(--ink); color: var(--parchment); padding: 10px 20px; border-radius: var(--radius);
}
.main-nav a.is-cta:hover { background: var(--bronze); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .main-nav ul { position: fixed; inset: 68px 0 0 0; z-index: 60; flex-direction: column; background: var(--paper); padding: 32px 28px; gap: 22px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .main-nav.is-open ul { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); }
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px;
  padding: 84px 0 100px;
}
.hero-copy .kicker { font-family: var(--font-display); color: var(--bronze); font-size: 1.1rem; margin-bottom: 14px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px;
  border-radius: var(--radius); text-decoration: none; font-size: 0.98rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--parchment); }
.btn-primary:hover { background: var(--bronze); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.section--dark .btn-outline { border-color: rgba(245,238,225,0.4); color: var(--parchment); }

.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-figure .credential {
  position: absolute; left: -24px; bottom: -24px; background: var(--ink); color: var(--parchment);
  padding: 18px 22px; max-width: 240px; font-size: 0.88rem; border-left: 3px solid var(--gold-accent);
}
.hero-stats { display: flex; gap: 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--bronze); }
.hero-stats .stat span { font-size: 0.86rem; color: var(--umber); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-figure .credential { position: static; margin-top: 16px; max-width: none; }
}

/* ---------- Metals strip ---------- */
.metals-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metal-cell { padding: 30px 26px; border-right: 1px solid var(--line); }
.metal-cell:last-child { border-right: none; }
.metal-cell b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
.metal-cell span { font-size: 0.9rem; color: var(--umber); }
@media (max-width: 760px) {
  .metals-strip { grid-template-columns: repeat(2, 1fr); }
  .metal-cell:nth-child(2) { border-right: none; }
}

/* ---------- Two column / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); margin-top: 40px; }
.value-cell { background: var(--paper); padding: 30px; }
.section--dark .value-cell { background: var(--ink); }
.value-cell b { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.value-cell span { font-size: 0.92rem; color: var(--umber); }
.section--dark .value-cell span { color: var(--parchment-deep); }
@media (max-width: 700px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.product-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.product-filter a {
  text-decoration: none; padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.88rem; color: var(--umber);
}
.product-filter a.is-active, .product-filter a:hover { background: var(--ink); color: var(--parchment); border-color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }

.product-card { border: 1px solid var(--line); transition: border-color .15s ease; }
.product-card:hover { border-color: var(--line-strong); }
.product-card .thumb { aspect-ratio: 5/4; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 22px; }
.product-card .metal-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bronze); }
.product-card h3 { font-size: 1.15rem; margin: 8px 0 8px; }
.product-card .specs { display: flex; gap: 16px; font-size: 0.85rem; color: var(--umber); border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }

/* ---------- Testimonials ---------- */
.testimonial-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .testimonial-row { grid-template-columns: 1fr; } }
.testimonial-card { padding: 30px; border: 1px solid rgba(245,238,225,0.18); }
.testimonial-card p { font-family: var(--font-display); font-size: 1.08rem; color: var(--parchment); }
.testimonial-card .who { font-size: 0.85rem; color: var(--stone); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 0; display: flex; justify-content: space-between;
  align-items: center; font-family: var(--font-display); font-size: 1.1rem; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--bronze); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .a { padding: 0 0 24px; color: var(--umber); max-width: 68ch; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-details dt { font-family: var(--font-display); font-size: 0.95rem; color: var(--bronze); margin-top: 22px; }
.contact-details dd { margin: 4px 0 0; color: var(--umber); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; margin-bottom: 6px; color: var(--umber); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.98rem; background: var(--paper);
}
.field input:focus, .field textarea:focus { border-color: var(--bronze); }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: 0.85rem; color: var(--stone); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--parchment-deep); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(245,238,225,0.14); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--font-display); color: var(--parchment); font-size: 1rem; margin-bottom: 16px; }
.footer-grid a { text-decoration: none; color: var(--parchment-deep); font-size: 0.92rem; }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 26px; font-size: 0.82rem; color: var(--stone); flex-wrap: wrap; gap: 10px; }

/* ---------- Misc ---------- */
.tag-pill { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--parchment-deep); color: var(--umber); padding: 4px 10px; border-radius: 999px; }
.notice { padding: 16px 20px; border-left: 3px solid var(--bronze); background: var(--parchment); font-size: 0.92rem; margin-bottom: 24px; }
.notice.success { border-color: #4C7A5A; }
.notice.error { border-color: #A6432F; }
