/* ==========================================================================
   Copperhead Creations — Site Styles
   Palette: warm off-white base, deep charcoal, copper accent
   ========================================================================== */

:root {
  --ink: #171412;            /* near-black, warm */
  --charcoal: #211d1a;
  --charcoal-2: #2b2622;
  --paper: #faf8f5;          /* warm off-white */
  --paper-2: #f1ede7;
  --line: #e4ddd4;
  --line-dark: rgba(255, 255, 255, 0.1);
  --copper: #b06a37;
  --copper-bright: #cf8a4e;
  --copper-deep: #8a4d24;
  --text: #2c2824;
  --text-soft: #6b6259;
  --text-on-dark: #f3efe9;
  --text-on-dark-soft: #b9b0a5;
  --radius: 14px;
  --shadow: 0 2px 6px rgba(23, 20, 18, 0.05), 0 16px 40px rgba(23, 20, 18, 0.08);
  --shadow-lift: 0 4px 10px rgba(23, 20, 18, 0.07), 0 24px 56px rgba(23, 20, 18, 0.14);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--copper-deep); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 18px; z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 245, 0.85);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink); font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em;
}
.brand:hover { color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand .brand-name { line-height: 1.1; }
.brand .brand-name small {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper);
}

.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block; padding: 9px 14px; border-radius: 999px;
  color: var(--text); font-weight: 500; font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }

.nav-cta {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--copper-bright), var(--copper-deep));
  color: #fff !important; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(176, 106, 55, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(176, 106, 55, 0.45); }

.nav-links .nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--ink);
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero (dark)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(207, 138, 78, 0.16), transparent 60%),
    radial-gradient(800px 420px at 8% 110%, rgba(138, 77, 36, 0.14), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--charcoal));
  color: var(--text-on-dark);
  padding: clamp(72px, 11vw, 140px) 0;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 138, 78, 0.5), transparent);
}

.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--copper-bright);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1.5px;
  background: linear-gradient(90deg, var(--copper-bright), transparent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 20px; color: #fff; font-weight: 700;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--copper-bright), #e8b483);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero .lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--text-on-dark-soft); max-width: 56ch; margin: 0 0 32px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600;
  font-size: 1rem; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--copper-bright), var(--copper-deep));
  color: #fff; box-shadow: 0 8px 24px rgba(176, 106, 55, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 32px rgba(176, 106, 55, 0.5); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.25); color: var(--text-on-dark); }
.btn-ghost:hover { border-color: var(--copper-bright); color: #fff; background: rgba(207, 138, 78, 0.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--charcoal-2); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--copper); color: var(--copper-deep); }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .logo-ring {
  position: relative; width: min(340px, 72vw); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(207, 138, 78, 0.14), rgba(255, 255, 255, 0.02) 62%);
  border: 1px solid rgba(207, 138, 78, 0.28);
  box-shadow: 0 0 80px rgba(207, 138, 78, 0.12) inset, 0 30px 80px rgba(0, 0, 0, 0.4);
}
.hero-visual .logo-ring::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px dashed rgba(207, 138, 78, 0.22);
}
.hero-visual img {
  width: 68%; filter: brightness(0) invert(1);
  opacity: 0.96; drop-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.hero-stats {
  margin-top: clamp(48px, 7vw, 72px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.stat {
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 18px 22px; background: rgba(255, 255, 255, 0.03);
}
.stat b {
  display: block; font-family: var(--font-display); font-size: 1.35rem;
  color: var(--copper-bright); letter-spacing: -0.01em;
}
.stat span { color: var(--text-on-dark-soft); font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark {
  background: linear-gradient(180deg, var(--charcoal), var(--ink));
  color: var(--text-on-dark);
}
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: var(--text-on-dark-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 14px; font-weight: 700;
}
h3 {
  font-family: var(--font-display); font-size: 1.18rem;
  color: var(--ink); margin: 0 0 8px; font-weight: 600;
}
.section-head p { color: var(--text-soft); font-size: 1.06rem; margin: 0; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #d8ccbd; }
.card p { color: var(--text-soft); margin: 0; font-size: 0.98rem; }

.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(207, 138, 78, 0.16), rgba(138, 77, 36, 0.1));
  border: 1px solid rgba(176, 106, 55, 0.25);
  margin-bottom: 18px; color: var(--copper-deep);
}
.card .icon svg { width: 26px; height: 26px; }

/* Product / gallery cards */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.product-card .thumb {
  aspect-ratio: 1; overflow: hidden; background: var(--paper-2);
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .body h3 { font-size: 1rem; margin: 0; }
.product-card .body .price {
  color: var(--copper-deep); font-weight: 700; font-family: var(--font-display);
}
.product-card .body .meta { color: var(--text-soft); font-size: 0.88rem; }
.product-card .body .btn { margin-top: auto; align-self: flex-start; padding: 10px 20px; font-size: 0.9rem; }

/* Gallery (home) */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.gallery-grid figure {
  margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1;
  border: 1px solid var(--line); background: var(--paper-2); position: relative;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease;
}
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px;
  background: linear-gradient(transparent, rgba(23, 20, 18, 0.8));
  color: #fff; font-size: 0.78rem; font-weight: 500;
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-grid figure:hover figcaption { opacity: 1; }

/* Materials */
.materials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.material-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow);
}
.material-panel .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper-deep);
  background: rgba(207, 138, 78, 0.12); border: 1px solid rgba(176, 106, 55, 0.25);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 16px;
}
.material-panel ul { list-style: none; padding: 0; margin: 14px 0 0; }
.material-panel li {
  padding: 11px 0 11px 30px; border-bottom: 1px solid var(--paper-2);
  position: relative; color: var(--text);
}
.material-panel li:last-child { border-bottom: 0; }
.material-panel li::before {
  content: ""; position: absolute; left: 4px; top: 19px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--copper-bright), var(--copper-deep));
}
.material-panel .note { color: var(--text-soft); font-size: 0.92rem; margin-top: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 30px 28px;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 2rem;
  background: linear-gradient(135deg, var(--copper-bright), #e8b483);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 10px;
}
.step h3 { color: #fff; }
.step p { color: var(--text-on-dark-soft); margin: 0; font-size: 0.96rem; }

/* FAQ */
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--copper); flex-shrink: 0;
  transition: transform 0.25s ease; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text-soft); }
.faq-item .faq-body p { margin: 0 0 10px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(207, 138, 78, 0.2), transparent 55%),
    linear-gradient(135deg, var(--ink), var(--charcoal-2));
  border-radius: 22px; color: #fff;
  padding: clamp(44px, 6vw, 72px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  box-shadow: var(--shadow-lift);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: var(--text-on-dark-soft); margin: 0; max-width: 48ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--paper-2); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; color: var(--copper-deep);
  background: rgba(207, 138, 78, 0.12); border: 1px solid rgba(176, 106, 55, 0.2);
}
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list b { display: block; color: var(--ink); font-size: 0.92rem; }
.contact-list a, .contact-list span.value { color: var(--text-soft); font-size: 0.98rem; }
.contact-list a:hover { color: var(--copper-deep); }

.form { display: grid; gap: 16px; }
.form label { font-weight: 600; font-size: 0.9rem; color: var(--ink); display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; font: inherit; color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(176, 106, 55, 0.15);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: 0.85rem; color: var(--text-soft); margin: 0; }

/* Footer */
.site-footer {
  background: var(--ink); color: var(--text-on-dark-soft);
  padding: clamp(48px, 7vw, 72px) 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line-dark);
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand img { filter: brightness(0) invert(1); }
.site-footer p { font-size: 0.94rem; max-width: 34ch; }
.site-footer h4 {
  color: #fff; font-family: var(--font-display); font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--text-on-dark-soft); font-size: 0.95rem; }
.site-footer ul a:hover { color: var(--copper-bright); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 26px; font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-on-dark-soft); }
.footer-bottom a:hover { color: var(--copper-bright); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--text-on-dark-soft);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { border-color: var(--copper-bright); color: var(--copper-bright); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }

/* Page hero (interior pages) */
.page-hero {
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(207, 138, 78, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--charcoal));
  color: #fff; padding: clamp(56px, 8vw, 96px) 0;
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px;
}
.page-hero p { color: var(--text-on-dark-soft); max-width: 64ch; margin: 0; font-size: 1.08rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { order: -1; }
  .hero-visual .logo-ring { width: min(220px, 60vw); }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 14px 5vw 22px; box-shadow: 0 24px 40px rgba(23, 20, 18, 0.12);
    transform: translateY(-130%); transition: transform 0.3s ease;
    z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 13px 16px; border-radius: 10px; font-size: 1.02rem; }
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links .nav-cta-mobile { display: block; }
  .nav-links .nav-cta-mobile a {
    background: linear-gradient(135deg, var(--copper-bright), var(--copper-deep));
    color: #fff; text-align: center; font-weight: 600; margin-top: 8px;
  }
  .grid-2, .materials-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  body { font-size: 16px; }
}
