/* =========================================================
   Design Point of View — designpointview.com
   Single mode (dark) theme matching brand palette
   Palette: #222831  #393E46  #FFD369  #EEEEEE
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #222831;          /* deepest background */
  --ink-2: #1b2026;        /* slightly darker for contrast wells */
  --slate: #393E46;        /* surface / cards */
  --slate-2: #434954;      /* hover surface */
  --gold: #FFD369;         /* accent */
  --gold-deep: #f5bf3f;    /* accent pressed */
  --light: #EEEEEE;        /* primary text */
  --muted: #a6acb6;        /* secondary text */
  --line: rgba(238, 238, 238, 0.10);
  --line-strong: rgba(238, 238, 238, 0.18);

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
}

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--light);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--ink); }

/* Decorative grain / glow background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(255, 211, 105, 0.10), transparent 60%),
    radial-gradient(700px 500px at -5% 25%, rgba(57, 62, 70, 0.55), transparent 60%),
    var(--ink);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h-section {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 16ch;
}
.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 56ch;
}

.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px;
  --pad-x: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translate(4px, -1px); }

.btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(255, 211, 105, 0.6);
}
.btn--primary:hover { background: var(--gold-deep); }

.btn--ghost {
  background: transparent;
  color: var(--light);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(27, 32, 38, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
}
.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
}
.brand__name {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.brand__name span { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
  padding: 0;
}
.nav__links a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--light); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }

.nav__cta { display: inline-flex; }

/* The CTA inside the link list is only for the mobile panel */
.nav__links li:last-child { display: none; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--light);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span::before { transform: translate(-50%, -7px); }
.nav__toggle span::after  { transform: translate(-50%, 5px); }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translate(-50%, 0) rotate(45deg); }
body.nav-open .nav__toggle span::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--gold); }
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--muted);
}
.hero__lead {
  margin-top: 26px;
  max-width: 46ch;
}
.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__meta {
  margin-top: 48px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__meta .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero__meta .label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* Hero visual — generative CSS art */
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
}
.hero-art {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(57,62,70,0.9), rgba(27,32,38,0.95));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.hero-art__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.8;
}
.hero-art__orb--1 {
  width: 60%; aspect-ratio: 1;
  top: -12%; right: -10%;
  background: radial-gradient(circle, rgba(255,211,105,0.85), transparent 70%);
  animation: floaty 8s var(--ease) infinite;
}
.hero-art__orb--2 {
  width: 55%; aspect-ratio: 1;
  bottom: -14%; left: -12%;
  background: radial-gradient(circle, rgba(120,140,180,0.6), transparent 70%);
  animation: floaty 10s var(--ease) infinite reverse;
}
.hero-art__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 40%, #000 35%, transparent 75%);
          mask-image: radial-gradient(120% 120% at 50% 40%, #000 35%, transparent 75%);
}
.hero-art__ring {
  position: absolute;
  top: 12%; right: 14%;
  width: 96px; height: 96px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  animation: spin 9s linear infinite;
}
.hero-art__tri {
  position: absolute;
  left: 16%; top: 18%;
  width: 0; height: 0;
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-bottom: 44px solid rgba(255,211,105,0.35);
  animation: floaty 7s var(--ease) infinite;
}
.hero-art__plus {
  position: absolute;
  right: 22%; bottom: 16%;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.8;
  animation: floaty 6s var(--ease) infinite reverse;
}
/* Glass dashboard panel */
.hero-art__panel {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64%;
  padding: 18px;
  border-radius: 16px;
  background: rgba(27, 32, 38, 0.55);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7);
  z-index: 3;
  animation: floaty 9s var(--ease) infinite;
}
.hero-art__panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hero-art__tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--gold);
  padding: 5px 10px;
  border-radius: 999px;
}
.hero-art__dots { display: inline-flex; gap: 5px; }
.hero-art__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.hero-art__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 86px;
}
.hero-art__bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--gold), rgba(255,211,105,0.25));
  transform-origin: bottom;
  animation: grow 2.4s var(--ease) infinite alternate;
}
.hero-art__bars i:nth-child(2){ animation-delay:.2s } .hero-art__bars i:nth-child(3){ animation-delay:.4s }
.hero-art__bars i:nth-child(4){ animation-delay:.6s } .hero-art__bars i:nth-child(5){ animation-delay:.8s }
.hero-art__bars i:nth-child(6){ animation-delay:1s }
.hero-art__rows { margin-top: 16px; display: grid; gap: 9px; }
.hero-art__rows span { height: 8px; border-radius: 999px; background: var(--line); }
.hero-art__rows span:nth-child(1){ width: 90% } .hero-art__rows span:nth-child(2){ width: 70% }
.hero-art__rows span:nth-child(3){ width: 80% }
/* Floating chips */
.hero-art__chip {
  position: absolute;
  z-index: 4;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--slate-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.hero-art__chip--a { top: 8%; left: 6%; color: var(--gold); animation: floaty 6.5s var(--ease) infinite; }
.hero-art__chip--b { bottom: 10%; right: 4%; animation: floaty 7.5s var(--ease) infinite reverse; }
.hero-art__chip--c { bottom: 26%; left: -2%; color: var(--gold); animation: floaty 8.5s var(--ease) infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }

.hero__badge {
  position: absolute;
  top: 8%; right: -2%;
  z-index: 4;
  background: var(--gold);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: var(--font-display);
  box-shadow: var(--shadow);
  animation: floaty 7s var(--ease) infinite reverse;
}
.hero__badge b { font-size: 1.25rem; display: block; line-height: 1; }
.hero__badge small { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}
.marquee__item::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.8em;
}
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ---------- Work slider (auto, opposite direction) ---------- */
.work-slider { padding-block: clamp(40px, 6vw, 72px); }
.work-head {
  display: flex;
  align-items: baseline;
  gap: 6px 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.work-head .h-section { max-width: none; }
.work-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.work-track {
  display: flex;
  gap: 18px;
  width: max-content;
  /* reverse => moves right, opposite of the marquee above */
  animation: scroll-x 55s linear infinite reverse;
}
.work-marquee:hover .work-track { animation-play-state: paused; }
.work-track .project {
  width: clamp(250px, 26vw, 320px);
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  opacity: 1;
  transform: none;
}

/* ---------- Services ---------- */
.services__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cards--six { grid-template-columns: repeat(3, 1fr); }
.cards--six .card { padding: 30px 28px 32px; }

/* Service cards with imagery */
.card--media,
.cards--six .card--media { padding: 0; display: flex; flex-direction: column; }
.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.9);
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.card--media:hover .card__media img { transform: scale(1.07); filter: grayscale(0) brightness(1); }
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(57, 62, 70, 0.6));
}
.card--media .card__num {
  position: absolute;
  top: 14px; left: 16px;
  z-index: 2;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
}
.card__content { padding: 24px 26px 28px; }
.card--media .card__content h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card {
  position: relative;
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px 38px;
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at var(--mx, 50%) var(--my, 0%), rgba(255, 211, 105, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--slate-2); }
.card:hover::before { opacity: 1; }
.card__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255, 211, 105, 0.12);
  border: 1px solid rgba(255, 211, 105, 0.25);
  margin: 18px 0 22px;
  font-size: 24px;
}
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card__tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card__tags span {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- Portfolio ---------- */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  isolation: isolate;
  transition: transform .45s var(--ease);
}
.project:hover { transform: translateY(-6px); }
.project img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .6s var(--ease);
  filter: saturate(0.9);
}
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(27, 32, 38, 0.92));
  z-index: 1;
}
.project:hover img { transform: scale(1.06); filter: saturate(1.1); }
.project__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.project__body h3 { font-size: 1.15rem; }
.project__body .cat {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.project__go {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold);
  color: var(--ink);
  flex-shrink: 0;
  transform: translateY(6px) scale(0.9);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.project:hover .project__go { transform: translateY(0) scale(1); opacity: 1; }

/* Placeholder case-study tiles */
.project--placeholder {
  border: 1px dashed var(--line-strong);
  background:
    repeating-linear-gradient(135deg, rgba(57,62,70,0.25) 0 12px, transparent 12px 24px),
    var(--ink-2);
}
.project--placeholder::after { display: none; }
.project__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 6px;
  padding: 20px;
  transition: transform .4s var(--ease);
}
.project--placeholder:hover .project__ph { transform: scale(1.04); }
.project__ph-plus {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.project__ph .cat {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.project__ph h3 { font-size: 1.1rem; color: var(--light); }

/* ---------- Process / steps ---------- */
.process {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(57, 62, 70, 0.35);
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.step:hover { border-color: var(--gold); background: rgba(57, 62, 70, 0.6); transform: translateX(6px); }
.step__n {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}
.step h4 { font-size: 1.15rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Stats band ---------- */
.stats {
  background: var(--slate);
  border-block: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat .label {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 10px;
  letter-spacing: 0.03em;
}

/* ---------- Impact bento ---------- */
@property --p {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, 1fr);
  gap: 16px;
}
.bento__cell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--slate);
  padding: 28px;
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.bento__cell:hover { transform: translateY(-5px); border-color: var(--line-strong); }

.bento__feature {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(600px 320px at 80% 110%, rgba(255, 211, 105, 0.16), transparent 60%),
    linear-gradient(160deg, var(--slate-2), var(--ink-2));
  padding: clamp(28px, 4vw, 44px);
}
.bento__feature h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); max-width: 14ch; }
.bento__feature p { color: var(--muted); max-width: 42ch; }
.bento__feature .btn { align-self: flex-start; margin-top: 8px; }
.bento__glow {
  position: absolute;
  width: 240px; height: 240px;
  right: -60px; top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 105, 0.35), transparent 65%);
  filter: blur(20px);
  animation: floaty 9s var(--ease) infinite;
}

.bento__stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bento__stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.bento__stat .label { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }
.bento__stat::after {
  content: "";
  position: absolute;
  left: 28px; right: 28px; bottom: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.5;
}

.bento__ring {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ring {
  position: relative;
  width: 92px; height: 92px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(238, 238, 238, 0.12) 0);
  animation: ringfill 1.8s var(--ease) forwards;
}
.ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--slate);
}
.ring__num {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gold);
}
.bento__ring .label { color: var(--muted); font-size: 0.95rem; }
@keyframes ringfill { from { --p: 0; } to { --p: 98; } }

/* ---------- Testimonial ---------- */
.quote {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  line-height: 0.6;
  display: block;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-top: 18px;
}
.quote figcaption {
  margin-top: 26px;
  color: var(--muted);
}
.quote figcaption b { color: var(--light); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(44px, 7vw, 88px);
  background:
    radial-gradient(700px 360px at 85% 10%, rgba(255, 211, 105, 0.18), transparent 60%),
    var(--slate);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  text-align: center;
}
.cta h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 18ch;
  margin-inline: auto;
}
.cta p { color: var(--muted); margin-top: 18px; max-width: 52ch; margin-inline: auto; }
.cta__actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__email {
  margin-top: 22px;
  font-family: var(--font-display);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.cta__email a { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: 0.95rem; }
.footer__col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer__col a { color: var(--light); font-size: 0.96rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: clamp(44px, 6vw, 70px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.86rem;
}
.footer__bottom a:hover { color: var(--gold); }

/* ---------- About page ---------- */
.about-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.about-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,32,38,0.55) 0%, rgba(27,32,38,0.4) 40%, rgba(27,32,38,0.96) 100%);
}
.about-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  max-width: 16ch;
}
.about-hero p { margin-top: 22px; max-width: 50ch; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(57, 62, 70, 0.35);
}
.value .ico { font-size: 26px; margin-bottom: 14px; }
.value h3 { font-size: 1.25rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 0.95rem; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.member {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--slate);
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.member:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.member__photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink-2);
}
.member__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
  transition: transform .7s var(--ease), filter .5s var(--ease);
}
.member:hover .member__photo img { transform: scale(1.05); filter: grayscale(0); }
.member__photo--ph {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255,211,105,0.18), transparent 60%),
    var(--slate-2);
}
.member__photo--ph span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.member--join {
  display: grid;
  align-content: center;
  background: var(--slate-2);
}
.member__body { padding: 18px 20px 22px; }
.member__body h3 { font-size: 1.12rem; }
.member__role {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.member__body p { color: var(--muted); font-size: 0.86rem; margin-top: 10px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split__media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split ul { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 14px; }
.split ul li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  color: var(--muted);
}
.split ul li::before {
  content: "✦";
  color: var(--gold);
}

/* =========================================================
   GARMENTS PAGE
   ========================================================= */
.nav__right { display: inline-flex; align-items: center; gap: 12px; }
.social-ico {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--slate);
  border: 1px solid var(--line-strong);
  color: var(--light);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.social-ico:hover { transform: translateY(-3px); background: var(--slate-2); color: var(--gold); }
.social-ico--wa:hover { color: #25D366; }

/* Centered section heads */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.sec-head .h-section { margin: 6px auto 0; }
.sec-head .lead { margin: 16px auto 0; }

/* Garments hero */
.ghero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.ghero__bg { position: absolute; inset: 0; z-index: -1; }
.ghero__bg img { width: 100%; height: 100%; object-fit: cover; }
.ghero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(255,211,105,0.12), transparent 60%),
    linear-gradient(180deg, rgba(27,32,38,0.78), rgba(27,32,38,0.92));
}
.ghero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 18ch; }
.ghero .lead { margin-top: 18px; }

/* Sub-nav pills */
.subnav {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pill {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(27,32,38,0.35);
  backdrop-filter: blur(6px);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.pill:hover, .pill.is-active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Product category cards */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.prod {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--slate);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.prod:hover { transform: translateY(-8px); border-color: var(--line-strong); }
.prod__media { aspect-ratio: 4 / 5; overflow: hidden; }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prod:hover .prod__media img { transform: scale(1.06); }
.prod__body { padding: 26px 26px 30px; text-align: center; }
.prod__body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.prod__body p { color: var(--muted); font-size: 0.96rem; margin-bottom: 20px; }

/* Process flow */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: flow;
}
.flow__step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(57,62,70,0.35);
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
}
.flow__step:hover { border-color: var(--gold); transform: translateY(-6px); background: rgba(57,62,70,0.6); }
.flow__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px; top: 38px;
  color: var(--gold);
  font-size: 1.2rem;
  z-index: 2;
}
.flow__n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.flow__step h4 { font-size: 1.15rem; margin-bottom: 8px; }
.flow__step p { color: var(--muted); font-size: 0.93rem; }

/* Portfolio gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s var(--ease); filter: saturate(0.95); }
.gallery__item:hover img { transform: scale(1.07); filter: saturate(1.1); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* Portfolio stats */
.pstats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--slate);
}
.pstat .num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--gold); line-height: 1; }
.pstat .label { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

/* Testimonials */
.tsection {
  position: relative;
  padding-block: clamp(64px, 9vw, 110px);
  overflow: hidden;
}
.tsection__bg { position: absolute; inset: 0; z-index: -1; }
.tsection__bg img { width: 100%; height: 100%; object-fit: cover; }
.tsection__bg::after { content: ""; position: absolute; inset: 0; background: rgba(27,32,38,0.9); }
.tcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.tcard {
  text-align: center;
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(57,62,70,0.4);
  backdrop-filter: blur(6px);
}
.tcard__stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 16px; }
.tcard blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.45;
}
.tcard figcaption { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--light); }
.tcard figcaption img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }

/* Get a Quote */
.quote-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.quote-contact { margin-top: 30px; }
.quote-contact__label { display: block; font-family: var(--font-display); font-weight: 600; color: var(--light); margin-bottom: 4px; }
.quote-contact a { color: var(--muted); }
.quote-contact a:hover { color: var(--gold); }
.quote-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn--dark { background: var(--ink-2); color: var(--light); border-color: var(--line-strong); }
.btn--dark:hover { background: #000; }
.btn--wa { background: #25D366; color: #04300f; }
.btn--wa:hover { background: #1eb456; }
.btn--messenger { background: #0084FF; color: #fff; }
.btn--messenger:hover { background: #0072db; }

.quote-form {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field label span { color: var(--gold); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  border: 1px solid var(--line-strong);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #7c828c; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,211,105,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { margin-top: 14px; font-size: 0.92rem; color: var(--gold); min-height: 1em; }

/* Resources */
.resources { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.resources ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.resources li a {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--light);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.resources li a::before { content: "→"; color: var(--gold); }
.resources li a:hover { color: var(--gold); transform: translateX(6px); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  z-index: 95;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,0.6);
  transition: transform .3s var(--ease);
  animation: floaty 4s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.08); }
body:has(.wa-float) .to-top { bottom: 90px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }

/* Back to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold);
  color: var(--ink);
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Mobile nav panel ---------- */
.nav__panel { display: contents; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards--six { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__feature { grid-column: span 2; grid-row: auto; }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step:nth-child(2)::after { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .quote-wrap { grid-template-columns: 1fr; }
  .resources { grid-template-columns: 1fr; }
  .nav__right { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-top: 20px; }
  .process { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .brand__name { display: none; }

  .nav__panel {
    display: block;
    position: fixed;
    inset: 76px 0 0 0;
    background: rgba(27, 32, 38, 0.98);
    backdrop-filter: blur(10px);
    transform: translateY(-110%);
    transition: transform .45s var(--ease);
    z-index: 99;
    padding: 30px clamp(20px, 5vw, 40px) 40px;
  }
  body.nav-open .nav__panel { transform: translateY(0); }
  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .nav__links li:last-child { display: block; }
  .nav__links a {
    font-size: 1.6rem;
    font-family: var(--font-display);
    padding: 14px 0;
    color: var(--light);
  }
  .nav__links li:last-child a { font-size: 15px; }
  .nav__panel .btn { margin-top: 22px; width: 100%; justify-content: center; }

  .cards { grid-template-columns: 1fr; }
  .cards--six { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bento__stat .num { font-size: 2.2rem; }
  .prod-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .flow { grid-template-columns: 1fr; }
  .flow__step::after { display: none !important; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide, .gallery__item--tall { grid-column: auto; grid-row: auto; }
  .tcards { grid-template-columns: 1fr; }
  .pstats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .subnav { gap: 8px; }
  .pill { padding: 10px 16px; font-size: 13px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .values { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__meta { gap: 28px; }
  .services__head { align-items: flex-start; }
}

@media (max-width: 460px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
