/* ===========================================================
   WebFix Studio — Shopify theme base
   Ported from webfixstudio.vercel.app (Next.js + Tailwind)
   =========================================================== */

:root {
  --flame: #ff5a1f;
  --flame-deep: #e63d00;
  --flame-glow: #ff8a4d;
  --azure: #2d7fff;
  --azure-deep: #1e40af;
  --azure-glow: #60a5fa;
  --cream: #faf7f2;
  --bone: #f2ede4;
  --ink: #0a1838;
  --ash: #1a2447;
  --muted: #6b7280;
  --line: #e5dfd5;
  --line-dark: #1a2447;
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --maxw: 1500px;
  --grain-opacity: 0.045;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

::selection {
  background: var(--flame);
  color: var(--cream);
}

/* Paper grain overlay across the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.04  0 0 0 0 0.09  0 0 0 0 0.22  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Layout helpers ---------- */
.wrap {
  margin-inline: auto;
  max-width: var(--maxw);
  padding-inline: 24px;
  width: 100%;
}
@media (min-width: 768px) {
  .wrap {
    padding-inline: 40px;
  }
}

.dark {
  color: var(--cream);
  background: var(--ink);
}
.dark ::selection {
  background: var(--cream);
  color: var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.eyebrow span:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--flame);
  white-space: nowrap;
}
.eyebrow .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.dark .eyebrow .rule {
  background: rgba(250, 247, 242, 0.2);
}

.flame-text {
  background: linear-gradient(95deg, #ff5a1f 0%, #ff8a4d 30%, #2d7fff 65%, #1e40af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 0;
}
.btn-flame {
  background: var(--flame);
  color: var(--cream);
  box-shadow: 0 20px 60px -15px rgba(255, 90, 31, 0.6);
}
.btn-flame:hover {
  background: var(--cream);
  color: var(--ink);
}
.btn-azure {
  background: var(--azure);
  color: var(--cream);
}
.btn-azure:hover {
  background: var(--cream);
  color: var(--ink);
}
.btn-ghost {
  border: 1px solid rgba(250, 247, 242, 0.3);
  color: var(--cream);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--flame);
  background: var(--flame);
  color: var(--ink);
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Custom cursor (desktop pointer only) ---------- */
@media (pointer: fine) {
  body {
    cursor: none;
  }
  a,
  button,
  [data-hover] {
    cursor: none;
  }
  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 999px;
    transform: translate(-50%, -50%);
  }
  .cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--flame);
  }
  .cursor-ring {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(255, 90, 31, 0.55);
    transition: width 0.25s ease, height 0.25s ease, background 0.25s ease,
      border-color 0.25s ease;
  }
  .cursor-ring.hover {
    width: 60px;
    height: 60px;
    background: rgba(255, 90, 31, 0.12);
    border-color: rgba(255, 90, 31, 0.9);
  }
}
@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Marquee ---------- */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}
@keyframes pulse-soft {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  transition: background 0.5s ease, backdrop-filter 0.5s ease,
    border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 24, 56, 0.85);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
}
.site-header .bar {
  margin-inline: auto;
  max-width: 1600px;
  padding-inline: 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .site-header .bar {
    padding-inline: 40px;
    height: 112px;
  }
}
.site-header .logo {
  height: 56px;
  width: auto;
}
@media (min-width: 768px) {
  .site-header .logo {
    height: 80px;
  }
}
.site-nav {
  display: none;
  align-items: center;
  gap: 36px;
}
@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream);
  transition: color 0.2s ease;
}
.site-nav a:hover {
  color: var(--flame);
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--flame);
  color: var(--cream);
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.header-phone:hover {
  background: var(--cream);
  color: var(--ink);
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 144px;
  padding-bottom: 48px;
  background: var(--ink);
  color: var(--cream);
}
@media (min-width: 768px) {
  .hero {
    padding-top: 176px;
    padding-bottom: 80px;
  }
}
.hero-bg {
  position: absolute;
  inset: -32px;
  z-index: 0;
  will-change: transform;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 24, 56, 0.4),
    rgba(10, 24, 56, 0.3),
    rgba(10, 24, 56, 0.85)
  );
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.05;
  background-image: linear-gradient(to right, var(--cream) 1px, transparent 1px),
    linear-gradient(to bottom, var(--cream) 1px, transparent 1px);
  background-size: 90px 90px;
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  mix-blend-mode: screen;
}
.hero-inner {
  position: relative;
  z-index: 10;
  margin-inline: auto;
  max-width: var(--maxw);
  width: 100%;
  padding-inline: 24px;
}
@media (min-width: 768px) {
  .hero-inner {
    padding-inline: 40px;
  }
}
.hero-top {
  display: grid;
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .hero-top {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    margin-bottom: 56px;
  }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-size: clamp(2.6rem, 7.5vw, 7.5rem);
  color: var(--cream);
}
.hero h1 .grad {
  background: linear-gradient(to right, var(--flame), var(--flame-glow), var(--azure));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 8px;
}
.reveal-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.loaded .reveal-line > span {
  transform: translateY(0);
}
.loaded .reveal-line:nth-child(2) > span {
  transition-delay: 0.12s;
}
.hero-card {
  border-radius: 16px;
  background: rgba(10, 24, 56, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(250, 247, 242, 0.2);
  padding: 24px;
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.7);
  transition: border-color 0.3s ease;
}
@media (min-width: 768px) {
  .hero-card {
    padding: 28px;
  }
}
.hero-card:hover {
  border-color: rgba(255, 90, 31, 0.4);
}
.hero-card .lead {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-card p.body {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(250, 247, 242, 0.95);
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    align-items: center;
  }
}
.hero-cta .text-link {
  font-size: 14px;
  color: rgba(250, 247, 242, 0.85);
  border-bottom: 1px solid rgba(250, 247, 242, 0.3);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-cta .text-link:hover {
  color: var(--flame);
  border-color: var(--flame);
}

/* ===========================================================
   MARQUEE
   =========================================================== */
.marquee {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding-block: 28px;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-inline: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(250, 247, 242, 0.75);
}
.marquee-track span i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--flame);
  display: inline-block;
}

/* ===========================================================
   STORY
   =========================================================== */
.story {
  position: relative;
  padding-block: 112px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .story {
    padding-block: 176px;
  }
}
.story-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
}
.story-images {
  position: relative;
  height: 520px;
}
@media (min-width: 768px) {
  .story-images {
    height: 640px;
  }
}
.story-images .ph {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
}
.story-images .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-images .ph-1 {
  top: 0;
  left: 0;
  width: 78%;
  height: 58%;
  box-shadow: 0 30px 80px -20px rgba(10, 24, 56, 0.35);
}
.story-images .ph-2 {
  bottom: 0;
  right: 0;
  width: 72%;
  height: 55%;
  box-shadow: 0 30px 80px -20px rgba(45, 127, 255, 0.35);
}
.story-stamp {
  position: absolute;
  bottom: -24px;
  left: 18%;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: var(--flame);
  color: var(--cream);
  z-index: 10;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.4);
  animation: spin-slow 40s linear infinite;
}
.story-stamp svg {
  width: 100%;
  height: 100%;
  padding: 12px;
}
.story h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.story h2 .soft {
  font-style: italic;
  font-weight: 200;
  color: rgba(10, 24, 56, 0.55);
}
.story h2 .flame {
  color: var(--flame);
  font-weight: 600;
}
.story-cols {
  margin-top: 48px;
  display: grid;
  gap: 40px;
  color: rgba(10, 24, 56, 0.75);
  font-size: 16px;
}
@media (min-width: 768px) {
  .story-cols {
    grid-template-columns: 1fr 1fr;
  }
}
.story-cols p + p {
  margin-top: 20px;
}
.story-cols .big {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
}
.story-cols .big .azure {
  color: var(--azure);
  font-weight: 600;
}
.story-sign {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.story-sign .badge {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--flame), var(--azure));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.story-sign .name {
  font-weight: 600;
  color: var(--ink);
}
.story-sign .role {
  font-size: 12px;
  color: rgba(10, 24, 56, 0.55);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===========================================================
   SHOWCASE
   =========================================================== */
.showcase {
  position: relative;
  padding-top: 60px;
  padding-bottom: 72px;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
@media (min-width: 768px) {
  .showcase {
    padding-top: 80px;
    padding-bottom: 96px;
  }
}
.showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}
.showcase-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--ink),
    rgba(10, 24, 56, 0.85),
    var(--ink)
  );
}
.showcase .wrap {
  position: relative;
  z-index: 1;
}
.showcase h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 8vw, 8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  white-space: nowrap;
  margin: 0 0 32px;
  padding-bottom: 0.16em;
  display: block;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.showcase-main {
  display: grid;
  gap: 32px;
  align-items: start;
  margin-bottom: 80px;
}
@media (min-width: 1024px) {
  .showcase-main {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
  }
}
.showcase-right {
  padding-top: 4px;
}
.browser {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(250, 247, 242, 0.15);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  background: var(--ash);
  transition: transform 0.7s ease;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ash);
  border-bottom: 1px solid rgba(250, 247, 242, 0.1);
  padding: 12px 16px;
}
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.browser-bar i:nth-child(1) {
  background: rgba(255, 90, 31, 0.8);
}
.browser-bar i:nth-child(2) {
  background: rgba(252, 211, 77, 0.8);
}
.browser-bar i:nth-child(3) {
  background: rgba(96, 165, 250, 0.8);
}
.browser-bar .url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(250, 247, 242, 0.55);
}
.browser-bar .url span {
  background: rgba(10, 24, 56, 0.6);
  padding: 4px 12px;
  border-radius: 999px;
}
.browser-shot {
  aspect-ratio: 16 / 10;
  background: var(--ink);
}
.browser-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.showcase-mainlink {
  display: block;
}
.showcase-mainlink:hover .browser-shot img,
.gallery a:hover .browser-shot img {
  transform: scale(1.04);
}
.case-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}
.case-sector {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(250, 247, 242, 0.55);
  margin-bottom: 24px;
}
.case-blurb {
  color: rgba(250, 247, 242, 0.85);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.case-stats {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  margin-bottom: 32px;
}
.case-stats .label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(250, 247, 242, 0.45);
  margin-bottom: 4px;
}
.case-stats .figure {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 3.75rem);
  line-height: 1;
  background: linear-gradient(135deg, #fbbf24, var(--flame));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-stats .figure-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(250, 247, 242, 0.55);
  margin-top: 8px;
}
.case-stats .role {
  font-size: 14px;
  color: rgba(250, 247, 242, 0.85);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.chips span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(250, 247, 242, 0.65);
  border: 1px solid rgba(250, 247, 242, 0.2);
  border-radius: 999px;
  padding: 4px 12px;
}
.gallery-head {
  padding-top: 40px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.gallery-head .k {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--flame);
  margin-bottom: 8px;
}
.gallery-head h4 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.gallery-head p {
  color: rgba(250, 247, 242, 0.6);
  font-size: 14px;
  max-width: 28rem;
}
.gallery {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
  }
  .gallery > a {
    grid-column: span 3;
  }
}
@media (min-width: 1024px) {
  .gallery {
    gap: 32px 30px;
  }
  .gallery > a {
    grid-column: span 2;
  }
  .gallery > a.gal-wide {
    grid-column: span 3;
  }
}
.gallery a .label-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gallery a .label-row .t {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.gallery a:hover .label-row .t {
  color: var(--flame);
}
.gallery a .path {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(250, 247, 242, 0.4);
  margin-top: 2px;
}
.gallery a:hover .browser {
  transform: scale(1.02);
}

/* ===========================================================
   APPROACH
   =========================================================== */
.approach {
  position: relative;
  padding-top: 40px;
  padding-bottom: 44px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .approach {
    padding-top: 52px;
    padding-bottom: 56px;
  }
}
.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}
.step {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--cream);
}
@media (min-width: 768px) {
  .step {
    min-height: 360px;
    padding: 28px;
  }
}
.step .step-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.step .step-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15);
  transition: transform 0.7s ease;
}
.step:hover .step-bg img {
  transform: scale(1.05);
}
.step .step-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 24, 56, 0.95),
    rgba(10, 24, 56, 0.55),
    rgba(10, 24, 56, 0.15)
  );
}
.step .n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--flame);
  margin-bottom: 8px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.step p {
  color: rgba(250, 247, 242, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

/* ===========================================================
   PRICING
   =========================================================== */
.pricing {
  position: relative;
  padding-top: 60px;
  padding-bottom: 56px;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
@media (min-width: 768px) {
  .pricing {
    padding-top: 80px;
    padding-bottom: 72px;
  }
}
.pricing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
}
.pricing-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pricing-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--ink),
    rgba(10, 24, 56, 0.85),
    var(--ink)
  );
}
.pricing .wrap {
  position: relative;
  z-index: 1;
}
.plans {
  display: grid;
  gap: 1px;
  background: rgba(250, 247, 242, 0.15);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(250, 247, 242, 0.15);
}
@media (min-width: 768px) {
  .plans {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.plan {
  position: relative;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: var(--ink);
}
@media (min-width: 768px) {
  .plan {
    padding: 48px;
  }
}
.plan.flame {
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.2), var(--ink) 55%, var(--ink));
}
.plan.azure {
  background: linear-gradient(135deg, rgba(45, 127, 255, 0.2), var(--ink) 55%, var(--ink));
}
.plan .badge {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 6px 12px;
  border-radius: 999px;
}
.plan.flame .badge {
  background: var(--flame);
  color: var(--ink);
}
.plan.azure .badge {
  background: var(--azure);
  color: var(--cream);
}
.plan h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
}
.plan .sub {
  color: rgba(250, 247, 242, 0.65);
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.6;
  min-height: 3rem;
}
.plan .price {
  font-family: var(--font-display);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.plan .price .cur {
  font-size: 22px;
  font-family: var(--font-mono);
  color: rgba(250, 247, 242, 0.45);
}
.plan .price .amt {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.plan .price .per {
  font-size: 14px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(250, 247, 242, 0.55);
}
.plan .for {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(250, 247, 242, 0.45);
  margin-bottom: 40px;
}
.plan ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  flex: 1;
}
.plan ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(250, 247, 242, 0.9);
}
.plan ul li svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.plan.flame ul li svg {
  color: var(--flame);
}
.plan.azure ul li svg {
  color: var(--azure-glow);
}
.plan .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.plan.flame .cta {
  background: var(--flame);
  color: var(--cream);
}
.plan.azure .cta {
  background: var(--azure);
  color: var(--cream);
}
.plan .cta:hover {
  background: var(--cream);
  color: var(--ink);
}

/* Maintenance block */
.maint {
  margin-top: 96px;
}
.maint h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  max-width: 48rem;
}
.maint h3 b {
  font-weight: 700;
}
.maint h3 .soft {
  font-style: italic;
  font-weight: 200;
  color: rgba(250, 247, 242, 0.55);
}
.maint-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(250, 247, 242, 0.15);
  background: linear-gradient(135deg, var(--azure-deep), var(--azure), var(--flame));
  padding: 4px;
  margin-top: 48px;
}
.maint-card .inner {
  position: relative;
  background: var(--ink);
  border-radius: 13px;
  padding: 32px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .maint-card .inner {
    padding: 64px;
  }
}
.maint-card .blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 999px;
  filter: blur(120px);
  animation: pulse-soft 4s ease-in-out infinite;
}
.maint-card .blob-1 {
  top: -128px;
  right: -128px;
  background: rgba(255, 90, 31, 0.25);
}
.maint-card .blob-2 {
  bottom: -160px;
  left: -160px;
  background: rgba(45, 127, 255, 0.35);
}
.maint-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .maint-grid {
    grid-template-columns: 7fr 5fr;
  }
}
.maint-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.maint-head .ic {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--flame);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.maint-head h4 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.maint .sub {
  color: rgba(250, 247, 242, 0.8);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 42rem;
}
.maint-feats {
  display: grid;
  gap: 10px 24px;
  font-size: 14px;
  color: rgba(250, 247, 242, 0.9);
}
@media (min-width: 640px) {
  .maint-feats {
    grid-template-columns: 1fr 1fr;
  }
}
.maint-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.maint-feats li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--flame);
}
.maint-price {
  border: 1px solid rgba(250, 247, 242, 0.2);
  border-radius: 12px;
  padding: 24px;
  background: rgba(10, 24, 56, 0.4);
  backdrop-filter: blur(8px);
}
@media (min-width: 768px) {
  .maint-price {
    padding: 32px;
  }
}
.maint-price .note {
  color: rgba(250, 247, 242, 0.55);
  font-size: 12px;
  font-family: var(--font-mono);
  margin-bottom: 32px;
}

/* ===========================================================
   CONTACT
   =========================================================== */
.contact {
  position: relative;
  padding-top: 44px;
  padding-bottom: 48px;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
@media (min-width: 768px) {
  .contact {
    padding-top: 56px;
    padding-bottom: 64px;
  }
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 24, 56, 0.7),
    rgba(10, 24, 56, 0.85),
    var(--ink)
  );
}
.contact .wrap {
  position: relative;
  z-index: 1;
}
.contact h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}
.contact h2 .soft {
  font-style: italic;
  font-weight: 200;
  color: rgba(250, 247, 242, 0.55);
}
.contact h2 b {
  font-weight: 700;
}
.contact .intro {
  color: rgba(250, 247, 242, 0.75);
  font-size: 17px;
  margin-bottom: 48px;
  max-width: 36rem;
}
.contact-phone {
  display: inline-block;
  margin-bottom: 64px;
}
.contact-phone .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 11vw, 11rem);
  line-height: 1;
  letter-spacing: -0.05em;
  transition: color 0.5s ease;
}
.contact-phone:hover .num {
  color: var(--flame);
}
.contact-phone .cap {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(250, 247, 242, 0.6);
  transition: color 0.3s ease;
}
.contact-phone:hover .cap {
  color: var(--flame);
}
.contact-card {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  border-radius: 16px;
  border: 1px solid rgba(250, 247, 242, 0.15);
  background: rgba(10, 24, 56, 0.55);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
}
@media (min-width: 768px) {
  .contact-card {
    padding: 24px 32px;
  }
}
.contact-card a,
.contact-card div {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease;
}
.contact-card a:hover {
  color: var(--flame);
}
.contact-card svg {
  color: var(--flame);
  flex-shrink: 0;
}
.contact-card .sep {
  width: 1px;
  height: 24px;
  background: rgba(250, 247, 242, 0.15);
  display: none;
}
@media (min-width: 768px) {
  .contact-card .sep {
    display: inline-block;
  }
}
.contact-vat {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(250, 247, 242, 0.4);
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--cream);
  padding: 48px 0;
}
.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 4fr 2fr 6fr;
  }
}
.site-footer .logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}
.site-footer .tag {
  color: rgba(250, 247, 242, 0.65);
  font-size: 14px;
  max-width: 20rem;
  line-height: 1.6;
}
.site-footer h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(250, 247, 242, 0.45);
  margin-bottom: 16px;
  font-weight: 400;
}
.site-footer ul li {
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(250, 247, 242, 0.8);
}
.site-footer ul li a:hover {
  color: var(--flame);
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: rgba(250, 247, 242, 0.45);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-bottom .mono {
  font-family: var(--font-mono);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--flame);
  color: var(--cream);
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Mobile menu ---------- */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  padding: 8px;
}
@media (min-width: 768px) {
  .burger {
    display: none;
  }
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.5rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.mobile-menu a:hover {
  color: var(--flame);
}
.mobile-menu .mphone {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--flame);
  letter-spacing: 0.1em;
}
@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* ===========================================================
   SUBPAGES (product, cart, page, collection, search, 404...)
   =========================================================== */
.subpage {
  min-height: 70vh;
  padding-top: 160px;
  padding-bottom: 96px;
}
@media (min-width: 768px) {
  .subpage {
    padding-top: 200px;
  }
}
.subpage h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.subpage .rte {
  max-width: 46rem;
  color: rgba(10, 24, 56, 0.78);
  font-size: 16px;
}
.subpage .rte > * + * {
  margin-top: 16px;
}
.subpage .rte h2,
.subpage .rte h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin-top: 32px;
}
.subpage .rte a {
  color: var(--flame);
  text-decoration: underline;
}
.subpage .rte img {
  border-radius: 12px;
}
.subpage .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--flame);
  margin-bottom: 28px;
}

/* Product page */
.product {
  display: grid;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .product {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.product-media {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bone);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-media.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: rgba(10, 24, 56, 0.25);
}
.product .price-tag {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  margin: 8px 0 24px;
  color: var(--ink);
}
.product .add {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.product .add .btn-flame {
  border: 0;
}
.product .sub-meta {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

/* Card grid (collections / blog) */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -24px rgba(10, 24, 56, 0.3);
}
.card .ph {
  aspect-ratio: 4 / 3;
  background: var(--bone);
  overflow: hidden;
}
.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .body {
  padding: 18px 20px 22px;
}
.card .body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.card .body .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--flame);
}

/* Cart */
.cart-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line .thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bone);
  flex-shrink: 0;
}
.cart-line .info {
  flex: 1;
}
.cart-line .info .nm {
  font-family: var(--font-display);
  font-weight: 600;
}
.cart-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cart-foot .total {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
}
.field {
  width: 100%;
  max-width: 26rem;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 12px;
}

/* ---------- Shopify section spacing utility ---------- */
.shopify-section + .shopify-section {
  display: block;
}

/* ===========================================================
   MOBIEL, 21-08-2026
   Alles hieronder is een correctie op wat op een telefoon van
   390px breed misging. De regels staan bewust achteraan zodat
   ze de basisregels overschrijven zonder die te moeten aanraken.
   =========================================================== */

/* ---------- 1. Kopbalk ----------
   Het logo was 56px hoog en dus 147px breed, de telefoonknop 158px,
   het hamburgermenu 37px, plus 2x24px marge: samen exact 390px. Logo en
   telefoonknop raakten elkaar zonder één pixel ertussen. Kleiner logo,
   compactere knop en een echte tussenruimte. */
@media (max-width: 767px) {
  .site-header .bar {
    gap: 12px;
    height: 72px;
  }
  .site-header .logo {
    height: 44px;
  }
  .header-phone {
    padding: 8px 14px;
    font-size: 13px;
    gap: 6px;
  }
  .burger {
    width: 36px;
    height: 36px;
    padding: 7px;
    flex-shrink: 0;
  }
}

/* Onder 380px past het volledige nummer niet meer naast het logo.
   De knop blijft, maar toont enkel nog het telefoonicoon; het nummer
   blijft leesbaar voor schermlezers. */
@media (max-width: 379px) {
  .header-phone {
    padding: 9px;
  }
  .header-phone span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- 2. "Laatste project" ----------
   De titel wordt op desktop gevuld met een foto. Op een telefoon is die
   titel maar 31px hoog: de foto wordt dan een donkere ruis op een donkere
   achtergrond en de tekst is nauwelijks te lezen. Op mobiel dus het
   huisstijlverloop in plaats van de foto. De !important is nodig omdat de
   foto als inline style op het element staat.
   De ondergrens van de clamp gaat ook weg: met white-space:nowrap liep de
   titel anders buiten beeld op schermen smaller dan 360px. */
@media (max-width: 767px) {
  .showcase h2 {
    background-image: linear-gradient(
      100deg,
      var(--cream) 0%,
      var(--cream) 42%,
      var(--flame-glow) 62%,
      var(--flame) 100%
    ) !important;
    background-size: 100% 100% !important;
    font-size: clamp(1.35rem, 8vw, 8rem);
    letter-spacing: -0.035em;
  }
}

/* ---------- 3. Cookiebanner ----------
   Shopify zet zijn toestemmingsvenster midden op het scherm. Op een
   telefoon dekte dat 458px af, inclusief de titel en de eerste knop van
   de hero. Het venster hoort onderaan te kleven, niet over de boodschap.
   Alle knoppen blijven zichtbaar en aanklikbaar; bij weinig hoogte scrollt
   de tekst binnen het venster. */
@media (max-width: 767px) {
  #shopify-pc__banner.shopify-pc__banner__dialog {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom)) !important;
    border-radius: 16px 16px 0 0 !important;
    max-height: 68vh;
    overflow-y: auto;
    box-shadow: 0 -18px 50px -12px rgba(10, 24, 56, 0.45);
  }
  #shopify-pc__banner .shopify-pc__banner__wrapper {
    width: 100% !important;
  }
  #shopify-pc__banner #shopify-pc__banner__body-title {
    font-size: 17px !important;
  }
  #shopify-pc__banner .shopify-pc__banner__body p {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }
  #shopify-pc__banner .shopify-pc__banner__btns button {
    width: 100% !important;
    font-size: 14px !important;
  }
}

/* ---------- 4. Aanraakvlakken ----------
   Losse tekstlinks in de voettekst en de galerij waren op een telefoon
   kleiner dan de 44px die Apple en Google als minimum aanhouden. */
@media (pointer: coarse) {
  .site-footer ul li a,
  .gallery a .label-row .t,
  .contact-card a {
    display: inline-block;
    min-height: 24px;
    padding-block: 4px;
  }
  .mobile-menu a {
    padding-block: 6px;
  }
}
