/* ============================================================
   FONTS — self-hosted (no external requests, no vendor lock-in)
   ============================================================ */
@font-face{
  font-family:'Michroma';
  src:url('/assets/fonts/michroma-400.woff2') format('woff2');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Inter';
  src:url('/assets/fonts/inter-300.woff2') format('woff2');
  font-weight:300; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Inter';
  src:url('/assets/fonts/inter-400.woff2') format('woff2');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Inter';
  src:url('/assets/fonts/inter-500.woff2') format('woff2');
  font-weight:500; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Inter';
  src:url('/assets/fonts/inter-600.woff2') format('woff2');
  font-weight:600; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Inter';
  src:url('/assets/fonts/inter-700.woff2') format('woff2');
  font-weight:700; font-style:normal; font-display:swap;
}

/* ============================================================
   MANTIQ ESSENTIALS — tokens
   Palette sourced from Mantiq Brand Guidelines v1.0
   ============================================================ */
:root{
  --deep:      #0D1C70;   /* Mantiq Deep   */
  --blue:      #1428A0;   /* Mantiq Blue   */
  --bright:    #1E3FC2;   /* Mantiq Bright */
  --ink:       #111827;   /* Near Black    */
  --steel:     #3D4F7C;   /* Steel Blue    */
  --mist:      #8A9BC9;   /* Mist Blue     */
  --cloud:     #F4F6FC;   /* Cloud Grey    */
  --white:     #FFFFFF;

  --display: 'Michroma', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1180px;
  --edge: clamp(20px, 5vw, 64px);
  --radius: 2px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

.eyebrow{
  font-family:var(--body);
  font-weight:600;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--blue);
  margin-bottom:14px;
}
.display{
  font-family:var(--display);
  line-height:1.18;
  letter-spacing:-.01em;
}
.section-title{
  font-family:var(--body);
  font-weight:700;
  font-size:clamp(26px,3.4vw,38px);
  color:var(--ink);
  margin-bottom:8px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:3px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  font-size:14px;
  font-weight:600;
  border-radius:var(--radius);
  border:1.5px solid transparent;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-1px); }
.btn--primary{ background:var(--blue); color:var(--white); }
.btn--primary:hover{ background:var(--bright); }
.btn--ghost{ border-color:var(--ink); color:var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:var(--white); }
.btn--nav{ padding:10px 20px; }
.btn--wide{ width:100%; padding:16px; font-size:15px; margin-top:22px; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(244,246,252,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(17,24,39,.06);
}
.nav__inner{
  max-width:var(--max); margin:0 auto; padding:16px var(--edge);
  display:flex; align-items:center; justify-content:space-between;
}
.nav__brand{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:17px; }
.nav__logo{ width:26px; height:auto; }
.nav__links{ display:flex; align-items:center; gap:28px; font-size:14px; font-weight:500; }
.nav__links a:not(.btn){ color:var(--steel); }
.nav__links a:not(.btn):hover{ color:var(--blue); }
.nav__burger{ display:none; background:none; border:none; width:30px; height:22px; flex-direction:column; justify-content:space-between; padding:0; }
.nav__burger span{ display:block; height:2px; background:var(--ink); border-radius:2px; }
.nav__mobile{ display:none; flex-direction:column; gap:2px; padding:0 var(--edge) 18px; }
.nav__mobile a{ padding:12px 4px; font-weight:500; color:var(--steel); border-bottom:1px solid rgba(17,24,39,.06); }
.nav__mobile .btn{ margin-top:12px; }

@media (max-width:760px){
  .nav__links{ display:none; }
  .nav__burger{ display:flex; }
  .nav__mobile.is-open{ display:flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  background:var(--cloud);
  overflow:hidden;
  padding-bottom:90px;
}
.hero__grid{
  max-width:var(--max); margin:0 auto; padding:64px var(--edge) 40px;
  display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center;
}
.hero__copy h1{
  font-size:clamp(38px, 6vw, 70px);
  color:var(--deep);
}
.hero__desc{
  margin-top:22px; max-width:46ch;
  color:var(--steel); font-size:16px; line-height:1.65;
}
.hero__cta{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }
.hero__visual{ position:relative; display:flex; justify-content:center; }
.hero__product{ width:min(100%, 380px); }

/* Precision-cut frame: thin diagonal brackets echo the logomark's angled strokes */
.cut-frame{
  position:relative;
  padding:26px;
}
.cut-frame::before,
.cut-frame::after{
  content:'';
  position:absolute;
  width:34px; height:34px;
  border-color:var(--blue);
  border-style:solid;
}
.cut-frame::before{ top:0; left:0; border-width:2px 0 0 2px; }
.cut-frame::after{ bottom:0; right:0; border-width:0 2px 2px 0; }
.cut-frame--lg::before,
.cut-frame--lg::after{ width:44px; height:44px; }

.hero__diagonal{
  position:absolute; left:0; right:0; bottom:-1px; height:90px;
  background:var(--deep);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto{
  background:var(--deep);
  color:var(--white);
  text-align:center;
  padding:70px var(--edge) 90px;
}
.manifesto__quote{
  font-size:clamp(24px,4vw,42px);
  color:var(--white);
}
.manifesto__sub{
  margin:22px auto 0; max-width:52ch;
  color:var(--mist); font-size:15px; line-height:1.7;
}

/* ============================================================
   PRODUCT
   ============================================================ */
.product{ padding:90px var(--edge) 100px; }
.product__inner{
  max-width:var(--max); margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center;
}
.product__gallery{ display:flex; justify-content:center; }
.product__image{
  width:min(100%, 420px);
  transition:opacity .18s ease, transform .28s cubic-bezier(.22,.9,.3,1), clip-path .28s cubic-bezier(.22,.9,.3,1);
}
.product__image.is-cutting{
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  opacity:.4;
}

.product__name{ font-size:clamp(24px,2.8vw,32px); font-weight:700; margin-top:4px; }
.product__price{ font-family:var(--display); font-size:22px; color:var(--blue); margin-top:14px; }
.product__note{ font-size:12px; color:var(--mist); margin-top:8px; }
.product__note code{ background:var(--cloud); padding:1px 5px; border-radius:3px; color:var(--steel); }

.product__row{ margin-top:30px; }
.product__label{ display:block; font-size:13px; font-weight:600; color:var(--steel); margin-bottom:12px; }
.product__label strong{ color:var(--ink); }

.swatches{ display:flex; gap:12px; }
.swatch{
  width:34px; height:34px; border-radius:50%;
  background:var(--sw);
  border:2px solid var(--white);
  outline:1.5px solid rgba(17,24,39,.14);
  transition:outline-color .15s ease, transform .15s ease;
}
.swatch:hover{ transform:translateY(-2px); }
.swatch[aria-pressed="true"]{ outline:2.5px solid var(--blue); outline-offset:2px; }

.sizes{ display:flex; gap:8px; flex-wrap:wrap; }
.size-pill{
  min-width:46px; padding:10px 8px;
  border:1.5px solid rgba(17,24,39,.16);
  background:var(--white); color:var(--ink);
  border-radius:var(--radius); font-size:13px; font-weight:600;
  transition:border-color .15s ease, background .15s ease, color .15s ease;
}
.size-pill:hover{ border-color:var(--blue); }
.size-pill.is-active{ background:var(--ink); border-color:var(--ink); color:var(--white); }

.qty{ display:inline-flex; align-items:center; border:1.5px solid rgba(17,24,39,.16); border-radius:var(--radius); }
.qty button{ width:40px; height:40px; background:none; border:none; font-size:18px; color:var(--ink); }
.qty button:hover{ color:var(--blue); }
.qty span{ width:36px; text-align:center; font-weight:600; font-size:14px; }

.product__facts{ margin-top:26px; display:flex; flex-direction:column; gap:8px; }
.product__facts li{ font-size:13.5px; color:var(--steel); padding-left:16px; position:relative; }
.product__facts li::before{ content:'—'; position:absolute; left:0; color:var(--mist); }

/* ============================================================
   SIZE GUIDE
   ============================================================ */
.size-guide{ background:var(--cloud); padding:90px var(--edge); text-align:center; }
.size-guide__note{ max-width:56ch; margin:0 auto; color:var(--steel); font-size:15px; }
.size-table-wrap{ max-width:640px; margin:44px auto 0; overflow-x:auto; }
.size-table{ width:100%; border-collapse:collapse; background:var(--white); }
.size-table th, .size-table td{
  padding:14px 10px; font-size:14px; border:1px solid rgba(17,24,39,.1);
}
.size-table thead th{ background:var(--deep); color:var(--white); font-weight:600; font-size:13px; letter-spacing:.03em; }
.size-table tbody td:first-child{ text-align:left; font-weight:600; color:var(--ink); padding-left:18px; }
.size-table tbody td:not(:first-child){ color:var(--steel); }

/* ============================================================
   LOOKBOOK
   ============================================================ */
.lookbook{ padding:90px var(--edge) 100px; text-align:center; }
.lookbook__grid{
  max-width:var(--max); margin:44px auto 0;
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.lookbook__grid figure{ margin:0; }
.lookbook__grid img{ width:100%; border-radius:var(--radius); background:var(--cloud); }
.lookbook__grid figcaption{ margin-top:12px; font-size:13px; font-weight:600; color:var(--steel); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background:var(--deep); color:var(--white); padding:70px var(--edge) 34px; }
.footer__inner{
  max-width:var(--max); margin:0 auto;
  display:flex; justify-content:space-between; align-items:flex-end; gap:30px; flex-wrap:wrap;
}
.footer__logo{ width:40px; margin-bottom:18px; }
.footer__tagline{ font-size:clamp(18px,2.4vw,26px); color:var(--white); }
.footer__meta{ text-align:right; }
.footer__wa{ font-weight:600; font-size:14px; }
.footer__wa:hover{ color:var(--mist); }
.footer__copy{ margin-top:14px; font-size:12px; color:var(--mist); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:900px){
  .hero__grid{ grid-template-columns:1fr; text-align:center; }
  .hero__cta{ justify-content:center; }
  .hero__visual{ order:-1; }
  .product__inner{ grid-template-columns:1fr; }
  .lookbook__grid{ grid-template-columns:repeat(2,1fr); }
  .footer__inner{ flex-direction:column; align-items:flex-start; }
  .footer__meta{ text-align:left; }
}
@media (max-width:480px){
  .swatches{ gap:10px; }
  .size-pill{ min-width:40px; padding:9px 6px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn, .product__image, .swatch{ transition:none; }
  .wa-float__ring{ animation:none; }
}

/* ============================================================
   FLOATING WHATSAPP BUBBLE
   ============================================================ */
.wa-float{
  position:fixed;
  right:22px; bottom:22px;
  width:58px; height:58px;
  border-radius:50%;
  background:var(--blue);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px rgba(13,28,112,.35);
  z-index:60;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.wa-float:hover{
  background:var(--bright);
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(13,28,112,.4);
}
.wa-float::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:50%;
  border:2px solid var(--blue);
  opacity:.6;
  animation:wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse{
  0%{ transform:scale(1); opacity:.55; }
  100%{ transform:scale(1.55); opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .wa-float::before{ animation:none; }
}
@media (max-width:600px){
  .wa-float{ right:16px; bottom:16px; width:52px; height:52px; }
}
