/* ===========================================================
   M.C. — Master class of glass
   Palette: warm ivory + ink + amber (glass) accent
   Fonts: Fraunces (display) / Work Sans (body)
   =========================================================== */

:root {
  --bg: #faf7f1;
  --bg-alt: #f2ead9;
  --surface: #ffffff;
  --ink: #201c16;
  --ink-soft: #62594a;
  --primary: #b5672c;
  --primary-dark: #8a4d21;
  --primary-tint: #f1e0cc;
  --border: #e6dcc7;
  --shadow: 0 20px 40px -20px rgba(32, 28, 22, 0.25);

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Work Sans", ui-sans-serif, system-ui, sans-serif;

  --container: 1180px;
  --radius: 14px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff8ef;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}

.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}
.logo-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: none;
}

.nav {
  display: none;
  gap: 2rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a { position: relative; padding-block: 0.25rem; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.phone-link {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.icon-phone { width: 16px; height: 16px; color: var(--primary); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
@media (max-width: 899px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.25rem 1.5rem;
    gap: 1rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    display: flex;
  }
}

@media (min-width: 900px) {
  .logo-tagline { display: block; }
  .nav { display: flex; }
  .phone-link { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 4.5rem 5rem;
  background:
    radial-gradient(60% 55% at 88% 0%, var(--primary-tint) 0%, transparent 70%),
    var(--bg);
}

.hero-bottle {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: auto;
  color: var(--primary);
  opacity: 0.14;
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 640px; }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 2.25rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Section shared ---------- */
section { padding-block: 5rem; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.section-lead { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Products ---------- */
.products { background: var(--surface); border-block: 1px solid var(--border); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.product-image {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }

.product-body { padding: 1.5rem; }
.product-body h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.product-spec {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
}
.badge svg { width: 14px; height: 14px; }

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.about-text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.about-text p:last-child { margin-bottom: 0; }
.about-text h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.stat {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

@media (min-width: 900px) {
  .about-inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

/* ---------- Contact ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--border); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-info h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.contact-info p { color: var(--ink-soft); margin-bottom: 1.75rem; max-width: 46ch; }

.contact-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-list a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.contact-list a:hover { color: var(--primary); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.form-row input,
.form-row textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

@media (min-width: 900px) {
  .contact-inner { grid-template-columns: 1fr 1.1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding-block: 2.75rem;
}
.footer-inner { text-align: center; }
.footer-slogan {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.footer-line {
  color: #cfc6b4;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: #948a76;
}
