/* ===== Design tokens ===== */
:root {
  --ink: #20262e;
  --ink-soft: #565b64;
  --paper: #f6f1e6;          /* warm ivory — matches logo background */
  --paper-2: #efe7d5;
  --card: #ffffff;
  --line: #e4d9c4;
  --accent: #1c2a44;         /* navy — primary brand / CTA */
  --accent-2: #c79a4e;       /* light gold — gradients & on-dark accents */
  --accent-deep: #14203a;    /* navy hover */
  --gold: #c9a24f;           /* light gold — for use on dark backgrounds */
  --gold-ink: #9c6f2b;       /* deep gold — accents on the light background */
  --navy: #1c2a44;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(28, 26, 23, .25);
  --shadow-lg: 0 30px 60px -20px rgba(28, 26, 23, .35);
  --maxw: 1160px;
  --ff-display: "Fraunces", Georgia, serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(28,42,68,.55); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 12px 26px -8px rgba(28,42,68,.6); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn-whatsapp { background: #25d366; color: #0b3d24; box-shadow: 0 8px 20px -8px rgba(37,211,102,.7); }
.btn-whatsapp:hover { background: #1fb955; color: #062e1a; box-shadow: 0 12px 26px -8px rgba(37,211,102,.75); transform: translateY(-2px); }
.btn-whatsapp svg { flex: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,230,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-emblem {
  width: 60px; height: 60px; border-radius: 50%; flex: none; display: block; object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(28,42,68,.12);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-text strong { font-family: var(--ff-display); font-size: 1.32rem; color: var(--navy); }
.brand-text em { font-style: normal; font-size: .68rem; letter-spacing: .11em; color: var(--gold-ink); text-transform: uppercase; font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { font-weight: 500; font-size: .96rem; color: var(--ink-soft); transition: color .2s; }
.main-nav a:hover { color: var(--accent); }
.main-nav .nav-cta { color: #fff; background: var(--ink); padding: .55rem 1.1rem; border-radius: 999px; }
.main-nav .nav-cta:hover { background: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(199,154,78,.22), transparent 60%),
    radial-gradient(50% 80% at 10% 90%, rgba(28,42,68,.12), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--paper-2));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(135deg, rgba(28,26,23,.035) 0 2px, transparent 2px 22px);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: 84px 24px 76px;
}
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); font-weight: 600; margin-bottom: 1rem;
  padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.6);
}
.hero-copy h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: 1.2rem; }
.hero-copy h1 .accent { color: var(--gold-ink); font-style: italic; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.6rem 0 2rem; }
.hero-stats { display: flex; gap: 2.2rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--ff-display); font-size: 1.9rem; color: var(--ink); }
.hero-stats span { font-size: .85rem; color: var(--ink-soft); }

.hero-card { position: relative; display: block; min-height: 420px; }
.hero-frame {
  position: relative; border-radius: 20px; overflow: hidden; border: 6px solid #fff;
  box-shadow: var(--shadow-lg); background: var(--paper-2);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-frame:first-child { aspect-ratio: 4 / 3; transform: rotate(1.6deg); }
.hero-frame-sm {
  position: absolute; right: -8px; bottom: -26px; width: 42%; aspect-ratio: 3 / 4;
  transform: rotate(-4deg); border-width: 5px;
}
.hero-badge {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(28,26,23,.82); color: #fff; padding: .5rem .9rem; border-radius: 999px; font-size: .82rem;
  font-weight: 600; backdrop-filter: blur(4px);
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

/* ===== Trust bar ===== */
.trust-bar { background: var(--ink); color: #f5ede1; }
.trust-inner { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; padding: 14px 24px; font-size: .9rem; letter-spacing: .02em; }
.trust-inner span { opacity: .9; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.section-head { max-width: 42rem; margin: 0 auto 52px; text-align: center; }
.kicker { display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; margin-bottom: .8rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ===== Cards / Services ===== */
.grid { display: grid; gap: 22px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d8c39a; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(28,42,68,.12), rgba(199,154,78,.20)); color: var(--navy);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; margin: 0; height: 240px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(28,26,23,.72)); }
.tile figcaption {
  position: relative; z-index: 1; color: #fff; font-weight: 600; padding: 16px 18px; font-size: 1.05rem;
  font-family: var(--ff-display);
}
.tile { transition: transform .25s ease; background-color: var(--paper-2); }
.tile:hover { transform: scale(1.02); }

/* ===== Videos ===== */
.video-section { background: linear-gradient(180deg, var(--paper), #f8f3ea); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.video-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.site-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 16px;
  background: #111;
  object-fit: cover;
}
.video-card figcaption {
  margin-top: 12px;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  color: var(--navy);
  text-align: center;
}

/* ===== Workshop band (full-bleed photo background) ===== */
.workshop {
  position: relative; color: #fff; padding: 104px 0; overflow: hidden;
  background: #1c1a17 url('../images/factory-wide.jpg') center/cover no-repeat fixed;
}
.workshop-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(20,26,38,.92) 8%, rgba(20,26,38,.62) 52%, rgba(120,85,30,.5));
}
.workshop-inner { position: relative; max-width: 620px; }
.workshop h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: .4rem 0 1rem; color: #fff; }
.workshop p { color: rgba(255,255,255,.86); font-size: 1.06rem; }
.kicker.light { color: var(--accent-2); }
.workshop-stats { display: flex; gap: 2.4rem; flex-wrap: wrap; margin: 1.8rem 0 2rem; }
.workshop-stats strong { display: block; font-family: var(--ff-display); font-size: 2.1rem; color: #fff; }
.workshop-stats span { font-size: .9rem; color: rgba(255,255,255,.75); }

/* ===== Steps ===== */
.steps { grid-template-columns: repeat(4, 1fr); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; }
.step-num { font-family: var(--ff-display); font-size: 2.2rem; color: var(--accent); opacity: .35; font-weight: 700; }
.step h3 { font-size: 1.15rem; margin: .4rem 0 .5rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.about-copy p { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--ink); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: .8rem; display: grid; place-items: center; font-weight: 700;
}
.about-panel {
  background: var(--navy); color: #f3ece1; border-radius: 22px; padding: 38px 34px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.about-panel::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 2px, transparent 2px 20px);
}
.owner-photo {
  position: relative; z-index: 1; width: 168px; height: 168px; border-radius: 50%;
  object-fit: cover; object-position: 50% 22%; border: 4px solid var(--gold);
  box-shadow: 0 14px 34px -12px rgba(0,0,0,.55);
}
.owner-name {
  position: relative; z-index: 1; font-family: var(--ff-display); font-size: 1.55rem;
  color: #fff; margin-top: 18px;
}
.owner-quote {
  position: relative; z-index: 1; margin: 14px 0 0; font-family: var(--ff-display);
  font-style: italic; font-size: 1.18rem; line-height: 1.45; color: #e6dcc9; max-width: 30rem;
}

/* ===== Contact ===== */
.contact { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.contact-copy > p { color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ci { font-size: 1.3rem; line-height: 1.4; }
.contact-list a:hover { color: var(--accent); }

.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); }
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .98rem; color: var(--ink); background: #fffdfa; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(28,42,68,.15);
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: .3rem 0 0; font-size: .9rem; min-height: 1.2rem; }
.form-hint { margin: .1rem 0 0; font-size: .82rem; color: var(--ink-soft); text-align: center; }
.form-note.ok { color: #2e7d4f; font-weight: 600; }
.form-note.err { color: var(--accent-deep); font-weight: 600; }
.btn[disabled] { opacity: .65; cursor: not-allowed; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #e7ddcf; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer-logo-card {
  display: inline-block; background: var(--paper); border-radius: 14px; padding: 10px;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); line-height: 0;
}
.footer-logo-card img { width: 148px; height: auto; }
.footer-blurb { color: #b3a794; max-width: 26rem; margin-top: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links h4 { font-family: var(--ff-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #b3a794; margin-bottom: .4rem; }
.footer-links a, .footer-links span { color: #e7ddcf; font-size: .95rem; }
.footer-links a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #b3a794; flex-wrap: wrap; gap: .5rem; }
.footer-gst { color: var(--gold); font-weight: 600; letter-spacing: .03em; }

/* ===== Floating WhatsApp button ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #25d366; color: #fff; padding: .8rem 1.2rem; border-radius: 999px; font-weight: 600;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.65); transition: transform .18s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 36px -8px rgba(37,211,102,.7); }
.wa-float svg { flex: none; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; margin: 8px auto 30px; min-height: 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .workshop { background-attachment: scroll; }
}
/* Switch to the hamburger menu on tablets & phones */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 84px 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 24px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .28s ease; visibility: hidden;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .main-nav .nav-cta { text-align: center; margin-top: .7rem; border-bottom: 0; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 68px; }
  .container { padding: 0 18px; }

  /* Compact header on phones */
  .nav-wrap { height: 66px; }
  .brand { gap: .55rem; }
  .brand-emblem { width: 46px; height: 46px; }
  .brand-text strong { font-size: 1.06rem; }
  .brand-text em { font-size: .58rem; letter-spacing: .07em; }
  .main-nav { inset: 66px 0 auto 0; padding: 12px 18px 20px; }

  .cards, .steps, .gallery { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 44px 18px 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 1.4rem 2rem; }
  .hero-frame-sm { display: none; }
  .tile { height: 200px; }
  .workshop { padding: 76px 0; }
  .workshop-stats { gap: 1.4rem 1.8rem; }
  .about-panel { padding: 30px; min-height: 300px; }
  .contact-card { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .wa-float { padding: .85rem; right: 16px; bottom: 16px; }
  .wa-float-text { display: none; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: .3rem; padding-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
