/* Net Unlimited — netunlimited.in
   Colours come from the logo stripe. Edit them here. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000;
  --paper: #fff;
  --soft: #f2f2ef;
  --line: #d9d9d4;
  --muted: #55554f;

  --green: #3aa757;
  --red: #e2403a;
  --blue: #3b9be0;
  --orange: #f2972e;
  --pink: #d63a96;
  --wa: #1f8f4e;

  --font: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(20px, 4.2vw, 64px);
  --gap: clamp(72px, 11vw, 160px);
  --r-lg: clamp(20px, 2.4vw, 32px);
  --r-md: 16px;
  --skew: 35deg;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: 96px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px;
}
.skip:focus { top: 16px; }

/* The logo stripe */
.stripe { display: flex; gap: 0.5em; height: 0.75em; font-size: 16px; padding-inline: 0.3em; }
.stripe i { flex: 1; transform: skewX(var(--skew)); transform-origin: left; }
.stripe i:nth-child(1) { background: var(--green); }
.stripe i:nth-child(2) { background: var(--red); }
.stripe i:nth-child(3) { background: var(--blue); }
.stripe i:nth-child(4) { background: var(--orange); }
.stripe i:nth-child(5) { background: var(--pink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; line-height: 1.1; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--blue); color: var(--ink); }
.btn-line { background: var(--paper); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-wa { background: var(--wa); color: #fff; width: 100%; }
.btn-wa:hover { background: #17733e; }
.btn-wa svg { width: 22px; height: 22px; fill: currentColor; }
.btn:active { transform: scale(.98); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 100; top: 14px; left: 0; right: 0;
  padding-inline: var(--pad); pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  max-width: 1272px; margin-inline: auto;
  display: flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 7px 7px 7px 20px;
  transition: transform .5s var(--ease);
}
.nav.is-hidden .nav-bar { transform: translateY(-140%); }
.nav-logo { flex: none; margin-right: auto; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 9px 13px; border-radius: 999px; font-weight: 500; font-size: 0.95rem;
  transition: background-color .15s;
}
.nav-links a:hover { background: var(--soft); }
.nav-toggle { display: none; }

@media (max-width: 1040px) {
  .nav-bar { flex-wrap: wrap; border-radius: 28px; padding: 7px 7px 7px 18px; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 18px; border-radius: 999px;
    background: var(--ink); color: var(--paper); border: 0; font-weight: 600; cursor: pointer;
  }
  .nav-toggle-bars { display: grid; gap: 5px; width: 18px; }
  .nav-toggle-bars i { height: 2px; background: currentColor; transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links {
    display: none; order: 3; flex: 0 0 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 6px 12px 0;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    padding: 13px 4px; border-radius: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em;
    border-top: 1px solid var(--line);
  }
  .nav-links a:hover { background: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100vh, 1040px); min-height: min(100svh, 1040px);
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(28px, 5vw, 64px);
  overflow: hidden;
}
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease .2s; }
.hero-field.is-ready { opacity: 1; }
.hero-copy { width: fit-content; max-width: 100%; }
.hero-title {
  font-size: clamp(1.9rem, 10.2vw, 10.5rem);
  line-height: 0.9; letter-spacing: -0.045em;
  margin-bottom: clamp(24px, 3.4vw, 48px);
  text-wrap: initial;
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 48px;
}
.hero-lede { max-width: 34em; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* One load sequence: the headline sets itself line by line, then the field arrives. */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line, .hero-foot { opacity: 0; transform: translateY(0.35em); animation: rise .9s cubic-bezier(.2,.7,.1,1) forwards; }
  .hero-title .line:nth-child(2) { animation-delay: .09s; }
  .hero-title .line:nth-child(3) { animation-delay: .18s; }
  .hero-foot { animation-delay: .34s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Credentials ---------- */
.creds { border-block: 1.5px solid var(--ink); }
.creds-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred { padding: clamp(24px, 3vw, 44px) clamp(16px, 2vw, 32px); border-left: 1.5px solid var(--ink); }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred b { display: block; font-size: clamp(2rem, 1.2rem + 3vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px; }
.cred span { display: block; color: var(--muted); max-width: 22em; font-size: 0.98rem; line-height: 1.4; }
@media (max-width: 860px) {
  .creds-grid { grid-template-columns: 1fr 1fr; }
  .cred { padding-inline: 16px; }
  .cred:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cred:nth-child(n+3) { border-top: 1.5px solid var(--ink); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--gap); }
.section-soft { background: var(--soft); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 64px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.section-head h2, .about-lead h2, .contact-lead h2 { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 5.2rem); letter-spacing: -0.04em; line-height: 0.95; }
.section-head p { color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); max-width: 30em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services { border-top: 1.5px solid var(--ink); }
.svc {
  --c: var(--green);
  display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.15fr); gap: 8px 32px; align-items: center;
  padding: clamp(18px, 2.2vw, 30px) clamp(0px, 1.4vw, 20px);
  border-bottom: 1.5px solid var(--ink);
  transition: background-color .2s, padding-left .2s;
}
.svc:nth-child(5n+2) { --c: var(--red); }
.svc:nth-child(5n+3) { --c: var(--blue); }
.svc:nth-child(5n+4) { --c: var(--orange); }
.svc:nth-child(5n+5) { --c: var(--pink); }
.svc .mark { display: block; width: 40px; height: 12px; margin-left: 6px; background: var(--c); transform: skewX(var(--skew)); transition: background-color .2s; }
.svc h3 { font-size: clamp(1.5rem, 1rem + 2.3vw, 3rem); letter-spacing: -0.035em; }
.svc p { color: var(--muted); max-width: 36em; transition: color .2s; }
@media (hover: hover) {
  .svc:hover { background: var(--c); padding-left: clamp(12px, 2.4vw, 36px); }
  .svc:hover .mark { background: var(--ink); }
  .svc:hover p { color: var(--ink); }
}
@media (max-width: 760px) {
  .svc { grid-template-columns: 44px minmax(0, 1fr); align-items: start; padding-inline: 0; }
  .svc .mark { width: 30px; height: 10px; margin-top: 0.55em; margin-left: 4px; }
  .svc p { grid-column: 2; }
}

/* ---------- Process ---------- */
.steps { position: relative; padding-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.step { position: relative; }
.step-n { display: block; font-size: clamp(4rem, 2rem + 7vw, 8.5rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; margin-bottom: 14px; }
.step h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 22em; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; } }
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: 12px; }
  .step-n { grid-row: span 2; font-size: 4.2rem; margin: 0; }
  .step h3 { align-self: end; }
}

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 28px); padding-block: 1vw 0; }
.client {
  display: flex; flex-direction: column; min-height: clamp(240px, 24vw, 360px);
  padding: clamp(22px, 2.4vw, 36px); border-radius: var(--r-lg);
  transition: transform .35s cubic-bezier(.2,.7,.1,1);
}
.client-blue { background: var(--blue); }
.client-orange { background: var(--orange); }
.client-green { background: var(--green); }
.client h3 { margin-top: auto; padding-top: 28px; font-size: clamp(1.8rem, 1rem + 2.4vw, 3.2rem); letter-spacing: -0.04em; margin-bottom: 14px; }
.client p:last-child { max-width: 24em; font-size: 1.05rem; line-height: 1.4; }
@media (min-width: 901px) {
  .client:nth-child(1) { transform: rotate(-1.5deg); }
  .client:nth-child(2) { transform: rotate(1deg) translateY(-8px); }
  .client:nth-child(3) { transform: rotate(2deg); }
  .client:hover { transform: none; }
}
@media (max-width: 900px) {
  .clients { grid-template-columns: 1fr; }
  .client { min-height: 0; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 7vw, 120px); }
.about-lead .stripe { font-size: clamp(18px, 2.2vw, 30px); margin-top: clamp(24px, 3vw, 44px); max-width: 520px; }
.about-big { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 24px; }
.about-body > p:not(.about-big) { color: var(--muted); max-width: 36em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(28px, 3.5vw, 48px); border-top: 1.5px solid var(--ink); }
.facts li { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 28px); }
.brand {
  display: flex; flex-direction: column; min-height: clamp(240px, 24vw, 360px);
  padding: clamp(22px, 2.4vw, 36px); border-radius: var(--r-lg);
  transition: transform .25s cubic-bezier(.2,.7,.1,1);
}
.brand-red { background: var(--red); }
.brand-gold { background: #e9bd4f; }
.brand-pink { background: var(--pink); }
.brand h3 { margin-top: auto; padding-top: 28px; font-size: clamp(1.8rem, 1rem + 2.2vw, 3rem); letter-spacing: -0.04em; margin-bottom: 12px; }
.brand p { max-width: 24em; line-height: 1.4; margin-bottom: 22px; }
.brand-url {
  align-self: flex-start; background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
}
@media (hover: hover) { .brand:hover { transform: translateY(-6px); } .brand:hover .brand-url { background: var(--paper); color: var(--ink); } }
@media (max-width: 900px) { .brands { grid-template-columns: 1fr; } .brand { min-height: 0; } }

.export {
  margin-top: clamp(14px, 1.8vw, 28px);
  background: var(--ink); color: var(--paper); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px);
}
.export h3 { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.6rem); letter-spacing: -0.04em; }
.export-body p { color: #d6d6cf; max-width: 36em; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); }
.export-body p + p { margin-top: 1em; }
@media (max-width: 900px) { .export { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px clamp(40px, 7vw, 120px); align-items: start; }
.contact-sub { color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); max-width: 28em; margin-top: 22px; }
.details { margin-top: clamp(28px, 4vw, 52px); border-top: 1.5px solid var(--ink); }
.details > div { display: grid; grid-template-columns: 11em 1fr; gap: 4px 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); }
.details dd { font-weight: 600; }
.details a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.details a:hover { color: #1a6fb0; }
@media (max-width: 520px) { .details > div { grid-template-columns: 1fr; } }

.form { background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font-size: 1rem;
  background: var(--paper); border: 1.5px solid #8a8a84; border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--blue); }
.field [aria-invalid="true"] { border-color: #c2261f; }
.field-error { color: #b3211b; font-size: 0.9rem; font-weight: 500; margin-top: 6px; }
.form-note { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 110px) 0 28px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
.footer-name { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.9; }
.footer-mark .stripe { font-size: clamp(14px, 1.6vw, 22px); max-width: 400px; margin: 20px 0 24px; }
.footer-blurb { color: #c9c9c2; max-width: 26em; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: #9c9c95; margin-bottom: 6px; }
.footer-col a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .15s; overflow-wrap: anywhere; }
.footer-col a:hover { text-decoration-color: currentColor; }
.footer-col p { color: #c9c9c2; }
.footer-copy { margin-top: clamp(44px, 6vw, 88px); padding-top: 22px; border-top: 1px solid #3a3a36; color: #9c9c95; font-size: 0.92rem; padding-right: 72px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-mark { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 90; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); border: 2px solid var(--paper);
  transition: transform .18s;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Card artwork ---------- */
.card-art { width: clamp(96px, 9.5vw, 148px); height: auto; overflow: visible; font-family: var(--font); transition: transform .6s var(--ease); }
.art-waves path { animation: bob 3.2s ease-in-out infinite; }
.art-waves path:nth-child(2) { animation-delay: -1.1s; }
.art-waves path:nth-child(3) { animation-delay: -2.2s; }
@keyframes bob { 50% { transform: translateX(7px); } }
@media (hover: hover) {
  .client:hover .card-art, .brand:hover .card-art { transform: translateY(-6px) rotate(-5deg) scale(1.06); }
}
.steps::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: var(--ink); transform-origin: left; transition: transform 1.6s var(--ease); }

/* ---------- Scroll animation (only when main.js adds .anim) ---------- */
.anim .rv { opacity: 0; translate: 0 44px; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--i, 0) * 85ms); will-change: translate, opacity; }
.anim .rv.is-in { opacity: 1; translate: 0 0; }
.anim .client.rv { translate: 0 90px; scale: .94; transition: opacity 1.1s var(--ease), translate 1.1s var(--ease), scale 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 130ms); }
.anim .client.rv.is-in { translate: 0 0; scale: 1; }
.anim .stripe i { transition: transform .8s var(--ease); }
.anim .stripe i:nth-child(2) { transition-delay: .09s; }
.anim .stripe i:nth-child(3) { transition-delay: .18s; }
.anim .stripe i:nth-child(4) { transition-delay: .27s; }
.anim .stripe i:nth-child(5) { transition-delay: .36s; }
.anim .stripe:not(.is-in) i { transform: skewX(var(--skew)) scaleX(0); }
.anim .steps:not(.is-in)::before { transform: scaleX(0); }
.anim .svc .mark { transition: background-color .2s, scale .7s var(--ease) calc(var(--i, 0) * 85ms + .15s); transform-origin: left; }
.anim .svc.rv:not(.is-in) .mark { scale: 0 1; }
.hero-inner { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .art-waves path { animation: none; } }
