/* Zynter Soft homepage — built from the Figma frame "1920w light" */
:root {
  --ink: #1a1a1a;
  --white: #ffffff;
  --teal: #00807b;
  --teal-light: #9fd3cf;
  --teal-dark: #005a58;
  --orange: var(--teal); /* accent (was Figma's #fc4625) */
  --muted: #6b7280;
  --grey-27: #444444;
  --grey-33: #555555;
  --faq-line: #c2d6d4;
  --wide: "Archivo", var(--sans, sans-serif);
  --sans: "Google Sans Flex", "Google Sans", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --container: min(1536px, 80vw);
  --card-grad: radial-gradient(120% 110% at 6% -45%, rgba(26,26,26,1) 0%, rgba(13,13,13,.65) 50%, rgba(0,0,0,.3) 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
ul { list-style: none; }

.container { width: var(--container); margin-inline: auto; }

/* ---------- Pill button (button.rlvnt-btn) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 17px;
  border: 1px solid var(--ink); border-radius: 50px;
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 32px;
  color: var(--ink); white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: translateY(101%);
  transition: transform .35s cubic-bezier(.65,0,.35,1);
}
.btn:hover { color: var(--white); }
.btn:hover::before { transform: translateY(0); }
.btn img { transition: transform .35s ease; }
.btn:hover img { transform: rotate(45deg); }

/* ---------- Section header (h2.header-title + button) ---------- */
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-bottom: 50px;
}
.header-title {
  display: flex; flex-direction: column; padding-bottom: 8px;
  font-family: var(--sans); font-weight: 300; font-size: clamp(44px, 4vw, 76.8px); line-height: 1; color: var(--ink);
}
.header-title em { font-size: 1.039em; line-height: 1; }
.header-title.center { text-align: center; display: block; }
.another-span { font-size: 16px; line-height: 25.6px; text-align: right; max-width: 640px; }
.header-title { white-space: nowrap; }
@media (max-width: 1440px) { .another-span br { display: none; } .another-span { max-width: 460px; } }

/* ================= NAV ================= */
.nav-wrapper {
  position: fixed; top: 20px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; padding-inline: 15px;
  transition: transform .4s ease;
}
.nav {
  position: relative; flex: 1; max-width: 88vw; height: 54.8px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
  background: rgba(255,255,255,.03);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);   /* Safari fallback */
  backdrop-filter: url(#liquid-lens);                  /* liquid glass (Chromium) */
  overflow: hidden; isolation: isolate;
  color: var(--white);
  transition: max-width .45s cubic-bezier(.22,1,.36,1), background .4s, color .4s, border-color .4s;
}
.nav::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .7;
  background: linear-gradient(178deg, rgba(255,255,255,.01), rgba(255,255,255,.002));
}
.nav.on-light { color: var(--ink); background: rgba(255,255,255,.12); border-color: rgba(26,26,26,.1); }
.nav.on-light .nav-arrow { filter: invert(1); }
.nav-left { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--wide); font-weight: 600; font-stretch: 125%; font-size: 17px; letter-spacing: .5px; line-height: 28px; }
.logo img { width: 30px; height: auto; }
.nav-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 0;
  font-family: var(--serif); font-size: 16px; line-height: 25.6px; text-transform: uppercase;
}
.nav-arrow { width: 24px; height: 24px; margin-left: 17px; transform: rotate(45deg); transition: transform .3s ease; }
.nav-center:hover .nav-arrow { transform: rotate(90deg); }
.nav-center { transition: opacity .3s ease, transform .3s ease; }
/* like the RLVNT site: once you scroll, the bar narrows and the email fades out */
.nav-wrapper.scrolled .nav { max-width: 82vw; }
.nav-wrapper.scrolled .nav-center { opacity: 0; transform: translate(-50%, calc(-50% - 5px)); pointer-events: none; }
@media (max-width: 650px) { .nav-wrapper.scrolled .nav { max-width: 85vw; } }
.menu-toggle {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 10px; color: inherit; z-index: 2;
}
.menu-toggle-text { font-family: var(--serif); font-size: 18px; line-height: 28.8px; }
.menu-toggle-icon { position: relative; width: 24px; height: 12px; }
.menu-toggle-icon .bar {
  position: absolute; left: 0; right: 20%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .4s ease, top .4s ease, right .4s ease;
}
.menu-toggle-icon .bar:first-child { top: -1px; }
.menu-toggle-icon .bar:last-child { top: 6px; }
body.menu-open .menu-toggle-icon .bar { right: 0; top: 3px; }
body.menu-open .menu-toggle-icon .bar:first-child { transform: rotate(45deg); }
body.menu-open .menu-toggle-icon .bar:last-child { transform: rotate(-45deg); }
body.menu-open .nav { color: var(--ink); }
body.menu-open .nav .nav-arrow { filter: invert(1); }

/* ================= FULLSCREEN MENU ================= */
.fullscreen-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s cubic-bezier(.76,0,.24,1);
}
body.menu-open .fullscreen-menu { clip-path: inset(0 0 0 0); }
body.menu-open { overflow: hidden; }
.menu-layout {
  width: var(--container); display: grid; grid-template-columns: 1fr 384px; align-items: end; gap: 76px;
  position: relative; z-index: 1;
}
.menu-links li { overflow: hidden; }
.menu-links a {
  display: inline-block; font-size: clamp(36px, 3.5vw, 67px); line-height: 81px; font-weight: 400; color: #000;
  transform: translateY(100%); transition: transform .7s cubic-bezier(.76,0,.24,1), color .3s;
}
.menu-links a em { font-size: 1.05em; }
.menu-links a:hover { color: var(--orange); }
body.menu-open .menu-links a { transform: translateY(0); }
body.menu-open .menu-links li:nth-child(2) a { transition-delay: .08s; }
body.menu-open .menu-links li:nth-child(3) a { transition-delay: .16s; }
body.menu-open .menu-links li:nth-child(4) a { transition-delay: .24s; }
.menu-info { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.socials-label { font-family: var(--serif); font-size: 20px; line-height: 32px; cursor: pointer; }
.span-menu {
  position: absolute; bottom: -180px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: clamp(200px, 22vw, 420px); line-height: 350px; opacity: .12; white-space: nowrap; pointer-events: none;
}

/* ================= HERO ================= */
.hero { position: relative; height: max(100vh, 640px); max-height: 1200px; min-height: 640px; overflow: hidden; background: #0b0b0b; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 0%; } /* keep the face (top of the image) in view */
.hero-gl { position: absolute; inset: 0; }
.hero-gl canvas { display: block; width: 100%; height: 100%; }
.hero.gl-ready .hero-bg { opacity: 0; }
.hero-content {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  color: var(--white); text-align: center;
  padding-top: 30vh; /* headline sits over his chest, leaving the face clear */
}
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 8.333vw, 160px); line-height: .9; }
.hero h1 em { display: inline-block; }
.hero .support {
  font-family: var(--sans); font-weight: 700; font-size: 12px; line-height: 19.2px;
  letter-spacing: 10px; text-transform: uppercase;
}

/* ================= BRANDING STATEMENT ================= */
.branding { display: flex; flex-direction: column; align-items: center; padding: 80px 0; text-align: center; }
.bs-title { font-weight: 500; font-size: 14px; line-height: 22.4px; letter-spacing: 2.5px; padding-bottom: 32px; }
.bs-tagline { font-size: clamp(20px, 1.46vw, 28px); line-height: 1.3; letter-spacing: -0.28px; padding-bottom: 48px; }
.bs-tagline em { font-size: 1.107em; line-height: 1.3; }
.bs-video { width: min(700px, 90%); aspect-ratio: 700 / 318.17; border-radius: 1500px; overflow: hidden; margin-bottom: 32px; }
.bs-video img { width: 100%; height: 100%; object-fit: cover; }

/* ================= MARQUEE ================= */
.marquee { padding: 80px 0; overflow: hidden; }
.marquee-row { height: 191px; overflow: hidden; display: flex; align-items: center; }
.marquee-track {
  display: flex; align-items: center; flex-shrink: 0; white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--serif); font-size: clamp(80px, 8.333vw, 160px); line-height: 1.6; color: var(--ink);
}
.marquee-row.reverse .marquee-track { animation-direction: reverse; }
.marquee-track span { padding: 0 20px; }
.marquee-track em { font-size: 1em; }
.marquee-track i { font-style: normal; font-size: .625em; padding: 0 20px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================= HOW WE BUILD ================= */
.build { position: relative; height: 300vh; }
.build-pin { position: sticky; top: 0; height: 100vh; min-height: 700px; max-height: 1200px; overflow: hidden; display: flex; align-items: center; }
.build-wave { position: absolute; left: 0; top: 50%; width: 100%; height: 80%; min-height: 600px; transform: translateY(-50%); overflow: visible; }
/* like RLVNT: the wave draws itself in when the section scrolls into view */
.build-wave .draw { stroke-dasharray: var(--len, 6000); stroke-dashoffset: var(--len, 6000); }
.build-wave.is-in-view .draw { animation: drawLine 4s ease-out .5s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
/* magnetic hover (cards & buttons drift toward the cursor) */
@media (prefers-reduced-motion: reduce) { .build-wave .draw { stroke-dashoffset: 0; } }
.build-inner { position: relative; height: 100%; display: grid; grid-template-columns: .8fr 1.2fr; }
.build-left { display: flex; align-items: center; }
.sticky-heading { font-weight: 400; font-size: clamp(44px, 3.75vw, 72px); line-height: 1.1; }
.build-right { position: relative; overflow: hidden; padding: 0 38.4px; }
/* cards keep one shape at every width: capped at 640px wide, photo 1.5x the text column */
.build-track { display: flex; flex-direction: column; gap: 40px; padding-top: 100vh; will-change: transform; max-width: 640px; margin-left: auto; }
.build-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 30px; align-items: stretch; /* RLVNT: photo is 1.5x the text */
  height: 250px; padding: 36px 36px 36px 64px; border-radius: 200px; /* extra left room so text clears the round end */
  background: radial-gradient(561.43% 540.61% at 5.71% -44.13%, var(--ink) 0%, rgba(0,0,0,.3) 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: url(#liquid-lens);
  color: var(--white);
}
/* number + title read as one block, centred vertically in the pill */
.build-card .build-text { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.build-card .num { font-size: 22px; line-height: 1; letter-spacing: .04em; opacity: .5; }
.build-card h3 { font-weight: 400; font-size: clamp(24px, 1.75vw, 35.2px); line-height: 1.2; white-space: nowrap; } /* always two lines */
.build-card .img-div { min-height: 0; border-radius: 300px; background-size: cover; background-position: center; }

/* ================= BENTO ================= */
.bento {
  display: grid; grid-template-columns: 1fr 1.5fr 2fr 1fr; gap: 15px;
  height: 1170px; padding: 50px 20px 80px 40px;
}
.bento-col { display: grid; gap: 15px; min-height: 0; }
.bento-col.c1 { grid-template-rows: 2fr 1fr; }
.bento-col.c2 { grid-template-rows: 1.5fr .8fr .4fr; }
.bento-col.c3 { grid-template-rows: 2fr 1fr; }
.bento-col.c4 { grid-template-rows: .8fr 1.2fr 1fr; }
.bento-card {
  border-radius: 8px; overflow: hidden; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; padding: 25px; text-align: center;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.bento-card:hover { transform: scale(.98); }
.bento-card.img { background: var(--bg) center / cover no-repeat; padding: 0; }
/* these renders are orange in the source art: shift them to the teal brand colour */
.bento-card.img.tint, .bento-icon { filter: hue-rotate(165deg) saturate(.85); }
.bento-card.light { background: var(--white); }
.bento-card.light p { font-family: var(--serif); font-size: 20px; line-height: 24px; }
.bento-icon { width: 75px; height: 75px; object-fit: contain; }
.bento-card.dark { border: 2px solid var(--ink); background: var(--card-grad), #3a3a3a; color: var(--white); }
.bento-card.dark p { font-style: italic; font-size: 22px; line-height: 26.4px; }
.bento-card.dark em { color: var(--orange); font-size: 21.5px; }
.brand-card { background: #050505; }
.brand-card::before {
  content: ""; position: absolute; width: 55%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #d9fffb 0%, var(--teal-light) 25%, var(--teal) 55%, transparent 72%);
  filter: blur(6px); opacity: .85; animation: orb 6s ease-in-out infinite alternate;
}
.brand-card span { position: relative; font-weight: 700; font-size: clamp(28px, 2.6vw, 50px); letter-spacing: 2px; color: var(--white); mix-blend-mode: difference; }
@keyframes orb { from { transform: translate(-10%, -6%) scale(.9); } to { transform: translate(10%, 6%) scale(1.1); } }

/* ================= SERVICES ================= */
.services { padding: 40px 0; }
.services .section-header { padding-bottom: 50px; }
.service-item { position: relative; border-bottom: 1px solid var(--grey-27); padding: 50px 10px; overflow: hidden; cursor: pointer; transition: background-color .4s, color .4s; }
.service-normal { height: 80px; display: flex; align-items: center; font-weight: 300; font-size: clamp(36px, 3.333vw, 64px); line-height: 102.4px; letter-spacing: -0.64px; text-transform: capitalize; transition: opacity .3s, transform .4s; }
.service-hover {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 0 30px;
  opacity: 0; transform: translateY(30%); transition: opacity .35s, transform .45s cubic-bezier(.22,1,.36,1); pointer-events: none;
}
.svc-marquee { display: flex; flex: 1; overflow: hidden; white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: clamp(36px, 3.333vw, 64px); }
.svc-marquee span { flex-shrink: 0; padding-right: .3em; animation: svcm 14s linear infinite; }
@keyframes svcm { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.service-hover p { flex: 0 0 280px; font-size: 16px; line-height: 25.6px; text-align: right; color: rgba(255,255,255,.75); }
@media (hover: hover) {
  .service-item:hover { background: var(--ink); color: var(--white); }
  .service-item:hover .service-normal { opacity: 0; transform: translateY(-40%); }
  .service-item:hover .service-hover { opacity: 1; transform: translateY(0); }
}

/* ================= HELLO / CONNECT ================= */
.connect { padding: 80px 0; }
.hello-header { padding-bottom: 50px; }
.hello-header h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 5.833vw, 112px); line-height: 1.6; }
.hello-header .right { text-align: right; }
.svg-container { height: 20px; display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.hello-image { width: 80px; height: 80px; animation: wave 2.4s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%,60%,100% { transform: rotate(0); } 10%,30% { transform: rotate(14deg); } 20%,40% { transform: rotate(-8deg); } }
.form-label { display: block; padding-bottom: 8px; font-size: 18px; line-height: 28.8px; opacity: .5; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.field input {
  width: 100%; padding: 2px 4px 5px; border: 0; border-bottom: 1px solid var(--muted); outline: 0; background: transparent;
  font-family: var(--serif); font-size: 18px; color: var(--ink); transition: border-color .3s;
}
.field input::placeholder { color: var(--ink); }
.field input:focus { border-bottom-color: var(--ink); }
.error-msg { display: block; min-height: 5px; font-size: 13px; line-height: 18px; color: var(--orange); padding-top: 4px; }
.field.invalid input { border-bottom-color: var(--orange); }
.pill-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 8.5px 13px 9.09px; border: 1px solid var(--ink); border-radius: 50px;
  font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 25.6px;
  transition: background .25s, color .25s;
}
.pill:hover { background: rgba(26,26,26,.06); }
.pill.active { background: var(--ink); color: var(--white); }
.submit-field { display: flex; align-items: center; gap: 16px; }
.form-status { font-family: var(--serif); font-size: 18px; }
.contact-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; align-self: end; }
.contact-links a, .new-options a { font-size: 16px; line-height: 25.6px; text-align: right; background: linear-gradient(currentColor,currentColor) right bottom / 0 1px no-repeat; transition: background-size .3s; }
.contact-links a:hover, .new-options a:hover { background-size: 100% 1px; background-position: left bottom; }

/* ================= HAND ================= */
.hand { display: flex; justify-content: flex-end; padding: 80px 0; position: relative; }
.content-hand { flex: 1; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 20px; flex: 0 1 700px; }
.content-hand p { font-size: clamp(18px, 1.3vw, 25px); line-height: 1.6; text-align: right; max-width: 700px; }
.content-hand p em { font-size: 1.04em; }

/* ================= OTHER CTAs ================= */
.ctas { padding: 80px 0; }
.blocks { display: flex; gap: 20px; min-height: 650px; max-height: 900px; }
.blk {
  flex: 1; min-height: 840px; border-radius: 8px; padding: 40px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; color: var(--white);
}
.blk::before { content: ""; position: absolute; inset: 0; background: var(--bg) center / cover no-repeat; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.blk::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.4); transition: background .5s; }
.blk:hover::before { transform: scale(1.06); }
.blk:hover::after { background: rgba(0,0,0,.2); }
.blk span { position: relative; z-index: 1; font-size: 24px; line-height: 38.4px; max-width: 420px; }

/* ================= TESTIMONIALS ================= */
.testimonials { width: min(1476px, 77vw); margin: 0 auto; padding: 80px 0; position: relative; }
/* sticks to the very top so its white background hides text scrolling up behind the glass nav */
.testi-header { position: sticky; top: 0; height: 330px; display: flex; align-items: center; justify-content: center; padding: 90px 20px 20px; z-index: 1; background: var(--white); }
.testi-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 48px; background: linear-gradient(var(--white), rgba(255,255,255,0)); pointer-events: none; }
.testi-container { padding: 42px 15px 50px; }
.testi-item { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 0 49px; }
.testimonial-text { max-width: 1100px; font-weight: 300; font-size: clamp(24px, 2.4vw, 46px); line-height: 1.4; text-align: center; }
.testimonial-text .word { opacity: .15; transition: opacity .6s cubic-bezier(.25,.46,.45,.94); }
.testimonial-text .word.lit { opacity: 1; }
.testimonial-meta { font-family: var(--serif); font-size: 24px; }

/* ================= PROJECTS ================= */
.projects { padding: 80px 0; }
.projects-grid { display: flex; gap: 40px; }
.project-col { flex: 1; display: flex; flex-direction: column; gap: 160px; }
.project-col.offset { padding-top: 320px; }
.project { display: flex; flex-direction: column; }
.project-type { font-family: var(--serif); font-size: 19.2px; line-height: 30.72px; }
.project h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 40px; line-height: 56px; margin: 10px 0 30px; }
.project-image { aspect-ratio: 1080 / 920; border-radius: 12px; overflow: hidden; background: #f2f4f4; }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.project:hover .project-image img { transform: scale(1.04); }

/* ================= BLOGS ================= */
.blogs { padding: 80px 0; }
.blogs .section-header { align-items: flex-end; }
.blogs-grid { display: flex; gap: 32px; padding-bottom: 50px; }
.blog { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.blog-cover { height: 360px; border-radius: 12px; overflow: hidden; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.blog:hover .blog-cover img { transform: scale(1.05); }
.blog h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.083vw, 40px); line-height: 1.2; min-height: 2.4em; }
.blog-desc { color: var(--muted); font-size: 16px; line-height: 22.4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blogs-cta { display: flex; justify-content: flex-end; }

/* ================= PRICING ================= */
.pricing { padding: 80px 0; }
.packages { display: grid; grid-template-columns: 1fr 1.134fr 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 9.4px; align-items: start; }
.package {
  border: 1px solid var(--muted); border-radius: 16px; padding: 31px; background: var(--white);
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s;
}
.package.featured { padding: 44px 32px; margin-top: -13px; }
.package:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.3); }
.package h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 40px; line-height: 64px; padding-bottom: 12px; }
.package.featured h3 { font-size: 41.6px; }
.package .description { padding-bottom: 4px; color: var(--muted); font-size: 16px; line-height: 25.6px; }
.price-section { margin-top: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--muted); display: flex; flex-direction: column; gap: 7px; }
.price { padding-top: 27px; padding-bottom: 5px; font-weight: 700; font-size: 32px; line-height: 32px; letter-spacing: -2px; }
.price-period { font-weight: 500; font-size: 15.2px; line-height: 24.32px; }
.feature-list { padding-top: 30px; display: flex; flex-direction: column; gap: 20px; }
.feature-list li { position: relative; padding-left: 34px; font-size: 16px; line-height: 32px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; background: url(assets/check.svg) center / contain no-repeat; transform: scaleY(-1); }

/* ================= FAQ ================= */
.faq { padding: 80px 0; }
.list-faq { padding-bottom: 15px; }
.item-faq { border-bottom: 1px solid var(--faq-line); padding: 15px 0; }
.item-faq:last-child { border-bottom: 0; }
.question-faq { width: 100%; display: flex; align-items: center; gap: 15px; min-height: 100px; padding: 20px 0; text-align: left; }
.text-faq { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.text-faq .q { font-family: Arial, var(--sans); font-size: clamp(24px, 1.67vw, 32px); line-height: 1.3; }
.text-faq .q em { font-size: 1em; }
.text-faq .sub { font-family: Arial, var(--sans); font-size: 16px; color: var(--grey-33); }
.arrow-faq {
  flex-shrink: 0; width: 80px; height: 80px; border-radius: 40px; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .35s, transform .45s cubic-bezier(.22,1,.36,1);
}
.arrow-faq img { width: 32px; height: 32px; transform: scaleY(-1); }
.question-faq:hover .arrow-faq { background: var(--orange); }
.item-faq.open .arrow-faq { background: var(--orange); transform: rotate(90deg); }
.answer-faq { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.22,1,.36,1); }
.answer-faq > p { overflow: hidden; font-size: 18px; line-height: 28.8px; }
.item-faq.open .answer-faq { grid-template-rows: 1fr; }
.item-faq.open .answer-faq > p { padding: 23.4px 0 24px; }

/* ================= FREE REVIEW ================= */
.review { padding: 80px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.review h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 3.75vw, 72px); line-height: 1.2; }
.review > p { font-size: 16px; line-height: 25.6px; }
.review-form { width: min(1075px, 100%); display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: left; margin-top: 16px; }
.review-form .field { width: 100%; }
.review-form input { padding: 11px 4px; border-bottom-color: var(--ink); font-style: italic; }

/* ================= WORDMARK (Zynter Soft logo) ================= */
.wordmark { padding: 80px 0; }
.wm-svg { display: block; width: 100%; height: auto; overflow: visible; }
.wm-svg text { font-family: var(--wide); font-weight: 600; font-stretch: 125%; font-size: 372px; fill: var(--ink); }

/* ================= FOOTER ================= */
.footer { padding: 80px 0 0; }
.footer-content { display: flex; justify-content: flex-end; align-items: flex-start; gap: 20px; }
.new-options { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-bottom { padding: 40px 0 40px; }
.links { display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: 40px; font-family: var(--serif); font-size: 20px; line-height: 32px; }
.links a:nth-child(2) { text-align: center; }
.links .socials-label { text-align: right; }
.copyright { text-align: center; font-family: var(--serif); font-size: 16px; line-height: 26px; }

/* ================= COOKIE BAR ================= */
.cookie-bar {
  position: fixed; left: 50%; bottom: 50px; transform: translate(-50%, 0); z-index: 80;
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: rgba(0,0,0,.52); color: #ccc; border-radius: 100px;
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: url(#liquid-lens);
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .4s;
}
.cookie-bar.hide { transform: translate(-50%, 160%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .4s, visibility 0s .5s; }
.cookie-bar .flexing { display: flex; align-items: center; gap: 5px; font-size: 16px; line-height: 29px; white-space: nowrap; }
.cookie-bar .buttons { display: flex; gap: 10px; }
#cookie-accept-btn { height: 40.39px; padding: 0 17px; border-radius: 50px; border: 1px solid #ccc; color: #ccc; font-size: 13px; transition: color .3s, border-color .3s, background .3s; }
#cookie-accept-btn:hover { color: #fff; border-color: var(--ink); background: var(--ink); }
#cookie-deny-btn { width: 38px; height: 40.39px; border-radius: 50px; border: 1px solid #ccc; color: #ccc; font-size: 14px; }
#cookie-deny-btn:hover { color: #fff; border-color: #fff; }
.cookie-bar em { color: #fff; }

/* ================= Reveal on scroll ================= */
.reveal { opacity: 0; transform: translateY(60px); transition: opacity 1s ease, transform 1s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ================= TECH STACKS ================= */
.stacks { padding: 80px 0; }
.stacks-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 80px; align-items: end; }
.stacks-head h2 { font-weight: 300; font-size: clamp(36px, 3.75vw, 72px); line-height: 1.08; letter-spacing: -0.02em; }
.stacks-head h2 .muted { color: rgba(26,26,26,.4); }
.stacks-head h2 em { font-size: 1.04em; }
.stacks-head p { font-size: clamp(16px, 1.1vw, 19px); line-height: 1.55; color: var(--muted); }
.stacks-card {
  margin-top: clamp(40px, 5vw, 72px); border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(26,26,26,.1);
  background: linear-gradient(160deg, rgba(0,128,123,.06), rgba(255,255,255,.6) 40%, rgba(0,128,123,.04));
  box-shadow: 0 30px 60px -40px rgba(0,90,88,.35), inset 0 1px 0 rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.stack-tabs { display: flex; gap: 4px; padding: 12px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(26,26,26,.08); background: rgba(26,26,26,.025); }
.stack-tabs::-webkit-scrollbar { display: none; }
.stack-tab {
  flex-shrink: 0; white-space: nowrap; padding: 10px 20px; border-radius: 50px; font-size: 15px; color: var(--muted);
  transition: color .3s, background .3s, box-shadow .3s;
}
.stack-tab:hover { color: var(--ink); }
.stack-tab[aria-selected="true"] { background: var(--teal); color: var(--white); box-shadow: 0 6px 16px -8px rgba(0,128,123,.7); }
.stack-tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.stack-panel { padding: 32px; display: grid; gap: 32px; animation: stackIn .45s cubic-bezier(.22,1,.36,1); }
.stack-panel[hidden] { display: none; }
@keyframes stackIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.stack-group h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.2; }
.stack-group ul { margin-top: 20px; display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stack-group li {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 16px; border-radius: 14px; font-size: 15px;
  background: rgba(255,255,255,.75); border: 1px solid rgba(26,26,26,.06);
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s, box-shadow .3s;
}
.stack-group li:hover { transform: translateY(-2px); border-color: rgba(0,128,123,.35); box-shadow: 0 10px 24px -16px rgba(0,90,88,.5); }
.stack-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: #fff; border: 1px solid rgba(26,26,26,.1); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.stack-icon img { width: 28px; height: 28px; object-fit: contain; }
.stack-name { min-width: 0; line-height: 1.25; overflow-wrap: anywhere; }
@media (max-width: 1440px) { .stack-group ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1200px) { .stack-group ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .stacks-head { grid-template-columns: 1fr; gap: 20px; }
  .stack-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-panel { padding: 24px; }
}
@media (max-width: 600px) {
  .stacks { padding: 60px 0; }
  .stacks-head h2 { font-size: 34px; }
  .stack-group ul { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stack-group li { padding: 10px; gap: 8px; font-size: 14px; }
  .stack-icon { width: 30px; height: 30px; }
  .stack-icon img { width: 22px; height: 22px; }
  .stack-group h3 { font-size: 24px; }
  .stack-panel { padding: 18px; gap: 24px; }
}
@media (max-width: 360px) {
  .stack-group ul { grid-template-columns: 1fr; }
}

/* ================= CUSTOM CURSOR (like RLVNT) ================= */
html.has-custom-cursor, html.has-custom-cursor * { cursor: none !important; }
html.has-custom-cursor input, html.has-custom-cursor textarea { cursor: text !important; }
.custom-cursor {
  position: fixed; top: 0; left: 0; width: 25px; height: 25px; z-index: 10000; pointer-events: none;
  opacity: 0; transition: opacity .2s; will-change: transform;
}
.custom-cursor.visible { opacity: 1; }
.cursor-inner { width: 100%; height: 100%; transform: translate(-8%, -5%); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.cursor-icon { display: block; width: 100%; height: 100%; transition: opacity .3s; }
.cursor-icon path { fill: var(--ink); transition: fill .4s; }
.custom-cursor.light .cursor-icon path { fill: var(--white); }
.custom-cursor.click .cursor-icon path { fill: var(--teal) !important; }
.custom-cursor.link-hover:not(.image-active) .cursor-inner { transform: translate(-8%, -5%) scale(1.6); }
.cursor-image {
  position: absolute; top: 50%; left: 50%; width: 200px; height: 200px; border-radius: 50%;
  background: center / cover no-repeat; transform: translate(-50%, -50%) scale(0); opacity: 0;
  transition: transform .4s cubic-bezier(.25,1,.5,1), opacity .3s;
}
.custom-cursor.image-active .cursor-image { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.custom-cursor.image-active .cursor-icon { opacity: 0; }
.cursor-ripple {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%);
  animation: cursorRipple .8s ease-out forwards;
}
@keyframes cursorRipple {
  0% { width: 0; height: 0; opacity: .6; border: 2px solid var(--teal); }
  100% { width: 120px; height: 120px; opacity: 0; border: .5px solid var(--teal); }
}

/* ================= MAGNETIC HOVER (like RLVNT) =================
   the JS moves elements with the `translate` property; each rule keeps the element's own transitions too */
.btn.magnetic { transition: color .35s ease; }
.bento-card.magnetic { transition: transform .5s cubic-bezier(.22,1,.36,1); }
.build-card.magnetic, .blk.magnetic { transition: none; }
#cookie-accept-btn.magnetic { transition: color .3s, border-color .3s, background .3s; }
#cookie-deny-btn.magnetic { transition: color .3s, border-color .3s; }

/* ================= INTRO LOADER (like RLVNT) ================= */
body.is-loading { overflow: hidden; }
#loader { position: fixed; inset: 0; z-index: 1000; background: var(--white); display: flex; align-items: center; justify-content: center; overflow: hidden; }
#loader-growth-container {
  position: relative; width: 65vw; height: 65vh; border-radius: 40px; overflow: hidden; transform: translateZ(0);
  transition: width 1.5s cubic-bezier(.45,0,.55,1), height 1.5s cubic-bezier(.45,0,.55,1), border-radius 1.5s cubic-bezier(.45,0,.55,1);
}
#loader-growth-container.grown { width: 100%; height: 100vh; border-radius: 0; }
/* pinned to the card top (not centred) so the intro card shows the face at the top of the image */
#webgl-loader-container { position: absolute; top: 0; left: 50%; width: 100vw; height: 100vh; transform: translateX(-50%); }
#loader-ui-container {
  position: absolute; width: 65vw; bottom: 50px; padding: 0 20px; display: flex; justify-content: space-between; align-items: flex-end;
  pointer-events: none; transition: opacity .5s ease-in;
}
.bottom-left-text { font-family: var(--serif); font-size: 20px; line-height: 1; text-transform: uppercase; color: var(--ink); max-width: 50%; height: 60px; transition: opacity .22s; }
.counter {
  font-family: var(--serif); font-size: clamp(4.5rem, -1.25rem + 12.8571vw, 10rem); line-height: .8; color: var(--ink);
  text-shadow: 2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff;
}
.hero-gl canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 797px) {
  #loader-growth-container, #loader-ui-container { width: 90vw; }
  .counter { width: 100%; text-align: right; text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff; }
}
@media (max-width: 650px) { .bottom-left-text { max-width: 100%; } #loader-ui-container { bottom: 40px; flex-direction: column; align-items: flex-start; } }
@media (max-width: 500px) { #loader-ui-container { bottom: 25px; } }

/* ================= APPS & DASHBOARDS (Figma portfolio) ================= */
.work { padding: 80px 0; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; color: var(--white);
  background: #0c1313; border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; min-height: 640px;
  box-shadow: 0 40px 70px -50px rgba(0,0,0,.7);
}
.work-card::before { /* coloured glow taken from each project's palette */
  content: ""; position: absolute; z-index: -1; left: 50%; top: 8%; width: 90%; height: 70%; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--glow), transparent); opacity: .32; filter: blur(30px); transition: opacity .6s;
}
.work-card:hover::before { opacity: .5; }
.work-card.wide { grid-column: 1 / -1; min-height: 0; flex-direction: row-reverse; align-items: center; }
.work-media { position: relative; flex: 1 1 auto; display: flex; justify-content: center; }
.work-media.phones { align-items: flex-start; height: 470px; overflow: hidden; padding-top: 56px; }
.work-media.phones .ph {
  width: clamp(150px, 14vw, 214px); height: auto; border-radius: 24px; flex-shrink: 0;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
  transition: translate .7s cubic-bezier(.22,1,.36,1), rotate .7s cubic-bezier(.22,1,.36,1);
}
.phones.n3 .ph { margin-inline: -14px; }
.phones.n3 .a { rotate: -6deg; translate: 8px 36px; }
.phones.n3 .b { z-index: 2; translate: 0 -8px; }
.phones.n3 .c { rotate: 6deg; translate: -8px 36px; }
.phones.n2 .ph { margin-inline: -10px; }
.phones.n2 .a { rotate: -5deg; translate: 10px 30px; }
.phones.n2 .b { z-index: 2; rotate: 4deg; translate: -6px -4px; }
.work-card:hover .phones.n3 .a { rotate: -9deg; translate: -10px 28px; }
.work-card:hover .phones.n3 .c { rotate: 9deg; translate: 10px 28px; }
.work-card:hover .phones.n3 .b { translate: 0 -18px; }
.work-card:hover .phones.n2 .a { rotate: -8deg; translate: -4px 24px; }
.work-card:hover .phones.n2 .b { rotate: 7deg; translate: 6px -14px; }
.work-media.shot { padding: 40px 40px 40px 0; }
.work-media.shot img { width: 100%; max-width: 780px; height: auto; border-radius: 16px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); transition: transform .8s cubic-bezier(.22,1,.36,1); }
.work-card:hover .work-media.shot img { transform: scale(1.025); }
.work-meta { padding: 8px 36px 36px; }
.work-card.wide .work-meta { flex: 0 0 34%; padding: 48px 20px 48px 48px; }
.work-type { font-family: var(--serif); font-size: 19px; line-height: 1.3; color: rgba(255,255,255,.62); }
.work-meta h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 3vw, 48px); line-height: 1.05; margin: 8px 0 12px; }
.work-desc { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.7); max-width: 46ch; }
.work-cta { display: flex; justify-content: flex-end; margin-top: 40px; }
@media (max-width: 1200px) { .work-card.wide { flex-direction: column-reverse; } .work-card.wide .work-meta { flex: none; padding: 8px 36px 36px; } .work-media.shot { padding: 36px 36px 8px; } }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr; } .work-card { min-height: 0; } .work-media.phones { height: 420px; } .work-media.phones .ph { width: clamp(130px, 34vw, 190px); } }
@media (max-width: 600px) { .work { padding: 60px 0; } .work-media.phones { height: 340px; padding-top: 40px; } .work-media.phones .ph { width: 118px; border-radius: 16px; } .work-media.shot { padding: 20px 16px 4px; } .work-meta, .work-card.wide .work-meta { padding: 8px 22px 26px; } .work-card { border-radius: 22px; } }

/* ================= Responsive ================= */
@media (max-width: 1200px) {
  .build-inner { grid-template-columns: .55fr 1.45fr; }
  .build-right { padding: 0; }
}
@media (max-width: 1200px) {
  .bento { grid-template-columns: 1fr 1fr; height: auto; }
  .bento-col { grid-template-rows: none !important; grid-auto-rows: minmax(220px, auto); }
  .package, .package.featured { grid-row: auto; grid-template-rows: none; margin-top: 0; }
  .packages { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 20px; max-width: 640px; margin-inline: auto; }
  .blocks { flex-direction: column; max-height: none; }
  .blk { min-height: 520px; }
}
@media (max-width: 900px) {
  :root { --container: calc(100vw - 40px); }
  .nav-center { display: none; }
  .build { height: auto; }
  .build-pin { position: relative; height: auto; max-height: none; padding: 80px 0; }
  .build-inner { grid-template-columns: 1fr; gap: 40px; }
  .build-track { padding-top: 0; transform: none !important; max-width: none; margin-left: 0; }
  .build-right { padding: 0; }
  .build-card { grid-template-columns: 1fr; gap: 20px; padding: 30px; height: auto; border-radius: 32px; }
  .build-card .build-text { gap: 16px; }
  .build-card h3 { font-size: 28px; line-height: 1.15; }
  .build-card .img-div { min-height: 0; aspect-ratio: 16 / 9; border-radius: 18px; }
  .section-header, .blogs .section-header { flex-direction: column; align-items: flex-start; }
  .another-span { text-align: left; }
  .another-span br, .review > p br { display: none; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-links { align-items: flex-start; }
  .hand { justify-content: flex-start; }
  .content-hand { padding-top: 0; }
  .projects-grid { flex-direction: column; gap: 80px; }
  .project-col { gap: 80px; }
  .project-col.offset { padding-top: 0; }
  .blogs-grid { flex-direction: column; }
  .service-hover p { display: none; }
  .menu-layout { grid-template-columns: 1fr; }
  .menu-links a { line-height: 1.4; }
  .menu-info { align-items: flex-start; }
  .cookie-bar { width: calc(100vw - 24px); bottom: 12px; flex-wrap: wrap; border-radius: 20px; }
  .cookie-bar .flexing { white-space: normal; }
  .links { font-size: 16px; }
}
@media (max-width: 600px) {
  .marquee { padding: 40px 0; }
  .marquee-row { height: auto; }
  .marquee-track { font-size: 64px; line-height: 1.3; }
  .bento { grid-template-columns: 1fr; padding: 30px 20px 60px; }
  .bento-col { grid-auto-rows: auto; }
  .bento-card.img { aspect-ratio: 16 / 10; }
  .bento-card.light, .bento-card.dark, .brand-card { min-height: 200px; }
  .bento-card.img[style*="bento-1"] { aspect-ratio: 4 / 5; }
  .hello-header h3 { font-size: 48px; line-height: 1.3; }
  .svg-container { justify-content: flex-end; height: 56px; }
  .hello-image { width: 56px; height: 56px; }
  .service-normal { font-size: 30px; height: auto; line-height: 1.3; }
  .service-item { padding: 32px 4px; }
  .header-title { white-space: normal; font-size: 40px; }
  .header-title.center { font-size: 34px; }
  .blk span { font-size: 21px; line-height: 1.5; }
  .testimonial-text { font-size: 22px; }
  .testi-item { padding: 0 8px; min-height: 60vh; }
  .testi-header { height: auto; padding: 90px 0 16px; }
  .text-faq .q { font-size: 21px; }
  .arrow-faq { width: 56px; height: 56px; }
  .arrow-faq img { width: 24px; height: 24px; }
  .review h2 { font-size: 40px; }
  .content-hand p { text-align: left; }
  .content-hand { align-items: flex-start; }
  .wordmark { padding: 40px 0; }
  .footer-content { flex-direction: column-reverse; align-items: flex-end; gap: 24px; }
  .footer-content .new-options a { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= SITE THEME FOR PROJECTS / APPS / DASHBOARDS =================
   (light, teal-tinted glass panels instead of dark cards) */
.work-card, .case-stage, .case-screens {
  background: linear-gradient(180deg, #f5faf9 0%, #e4f0ee 100%); color: var(--ink);
  border: 1px solid rgba(26,26,26,.1); box-shadow: 0 30px 60px -48px rgba(0,60,58,.45);
}
.work-card::before, .case-stage::before, .case-screens::before { background: radial-gradient(closest-side, var(--teal-light), transparent); opacity: .75; filter: blur(24px); }
.work-card:hover::before { opacity: 1; }
.work-type { color: rgba(26,26,26,.6); }
.work-desc { color: rgba(26,26,26,.78); }
.work-media.phones .ph, .work-media.shot img, .work-media.cover img, .screens-grid img, .screens-wide img {
  box-shadow: 0 26px 44px -24px rgba(0,50,48,.5), 0 0 0 1px rgba(26,26,26,.08);
}
.work-link { border-bottom-color: var(--ink); }
.work-card:hover .work-link { color: var(--teal); border-bottom-color: var(--teal); }

/* ================= INNER PAGES: projects list + case studies ================= */
.page-head, .case-head { padding: 170px 0 40px; }
.page-head .header-title { margin: 10px 0 18px; }
.work-type-dark { font-family: var(--serif); font-size: 19px; line-height: 1.3; color: rgba(26,26,26,.6); }
.page-lede { font-size: 18px; line-height: 1.6; max-width: 56ch; margin-top: 14px; }
.page-work { padding-top: 24px; }
a.work-card { text-decoration: none; }
.work-media.cover { padding: 28px 28px 0; align-items: flex-start; }
.work-media.cover img { width: 100%; max-width: 760px; height: auto; border-radius: 16px; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.work-card.wide .work-media.cover { padding: 40px 40px 40px 0; align-items: center; }
a.work-card:hover .work-media.cover img { transform: scale(1.025); }
.work-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 20px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.work-link i { font-style: normal; transition: transform .4s cubic-bezier(.22,1,.36,1); }
a.work-card:hover .work-link i { transform: translateX(6px); }

.back-link { display: inline-block; margin-bottom: 28px; font-family: var(--serif); font-style: italic; font-size: 20px; border-bottom: 1px solid var(--ink); }
.case-head h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(56px, 8vw, 140px); line-height: .95; margin: 10px 0 8px; }
.case-stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; margin-top: 20px; padding: clamp(24px, 4vw, 64px) clamp(16px, 4vw, 64px) 0; }
.case-stage::before, .case-screens::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 10%; width: 80%; height: 70%; transform: translateX(-50%); }
.case-stage .work-media { flex: none; }
.case-stage .work-media.shot { padding: 0 0 clamp(24px, 4vw, 64px); }
.case-stage .work-media.shot img { max-width: 1100px; }
.case-stage .work-media.cover { padding: 0 0 clamp(24px, 4vw, 64px); }
.case-stage .work-media.cover img { max-width: 900px; }
.case-stage .work-media.phones { height: clamp(380px, 50vw, 700px); padding-top: 24px; }
.case-stage .work-media.phones .ph { width: clamp(120px, 17vw, 260px); }
.case-stage .work-media.phones.n2 .ph { width: clamp(130px, 19vw, 280px); }
.case-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; padding: 48px 0; border-bottom: 1px solid rgba(26,26,26,.15); }
.case-meta dt { font-family: var(--serif); font-size: 18px; color: rgba(26,26,26,.55); }
.case-meta dd { margin: 4px 0 0; font-size: 18px; line-height: 1.5; }
.case-h { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(36px, 3.4vw, 56px); line-height: 1.1; }
.case-body, .case-built { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 64px 0 0; }
.case-text p { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.6; max-width: 60ch; }
.case-text p + p { margin-top: 20px; }
.built-list { list-style: none; margin: 0; padding: 0; }
.built-list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid rgba(26,26,26,.15); }
.built-list li:last-child { border-bottom: 1px solid rgba(26,26,26,.15); }
.built-list .num { font-family: var(--serif); font-size: 22px; color: var(--teal); }
.built-list h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; }
.built-list p { margin-top: 8px; font-size: 17px; line-height: 1.6; max-width: 56ch; }
.case-screens { position: relative; isolation: isolate; overflow: hidden; margin-top: 80px; padding: clamp(24px, 4vw, 56px); border-radius: 32px; }
.case-screens .case-h { margin-bottom: 32px; }
.screens-grid { display: grid; gap: 24px; justify-content: center; }
.screens-grid.n3 { grid-template-columns: repeat(3, minmax(0, 300px)); }
.screens-grid.n2 { grid-template-columns: repeat(2, minmax(0, 320px)); }
.screens-grid img, .screens-wide img { width: 100%; height: auto; display: block; border-radius: 24px; }
.screens-wide { display: grid; gap: 24px; }
.case-next { display: flex; flex-direction: column; gap: 6px; margin-top: 96px; padding: 40px 0; border-top: 1px solid rgba(26,26,26,.15); border-bottom: 1px solid rgba(26,26,26,.15); }
.case-next strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 6vw, 96px); line-height: 1; }
.case-next strong i { font-style: normal; display: inline-block; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.case-next:hover strong i { transform: translateX(14px); }
.case-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 80px 0; }
.case-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 72px); line-height: 1.1; max-width: 16ch; }
body.inner .footer { padding-top: 0; }
@media (max-width: 900px) {
  .page-head, .case-head { padding-top: 130px; }
  .case-meta { grid-template-columns: 1fr; padding: 32px 0; }
  .case-body, .case-built { grid-template-columns: 1fr; gap: 20px; padding-top: 48px; }
  .screens-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .screens-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .case-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1200px) { .work-card.wide .work-media.cover { padding: 36px 36px 8px; } }
@media (max-width: 600px) {
  .case-stage, .case-screens { border-radius: 22px; }
  .case-stage .work-media.phones { height: 320px; }
  .case-stage .work-media.phones .ph { width: 112px; border-radius: 14px; }
  .screens-grid img, .screens-wide img { border-radius: 12px; }
  .built-list li { grid-template-columns: 40px 1fr; }
  .work-media.cover { padding: 20px 16px 0; }
  .work-card.wide .work-media.cover { padding: 20px 16px 4px; }
}

/* ================= DEVICE MOCKUPS: phone bezel + laptop frame ================= */
.work-media.phones .ph, .device {
  margin: 0; padding: clamp(4px, .45vw, 7px); background: linear-gradient(145deg, #2a2f31, #0b0d0e 60%);
  border-radius: 14% / 6.5%; height: auto; overflow: visible;
  box-shadow: 0 0 0 1.5px #4a5153, 0 0 0 2.5px rgba(0,0,0,.35), 0 28px 44px -20px rgba(0,50,48,.55);
}
.work-media.phones .ph img, .device img { display: block; width: 100%; height: auto; border-radius: 11.5% / 5.3%; box-shadow: none; }
.screens-grid .device img { border-radius: 11.5% / 5.3%; }

.laptop { width: 100%; max-width: 780px; margin-inline: auto; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.lid {
  position: relative; padding: 16px 9px 10px; background: linear-gradient(160deg, #2a2f31, #0b0d0e 55%);
  border-radius: 16px 16px 4px 4px; box-shadow: 0 0 0 1.5px #4a5153, 0 0 0 2.5px rgba(0,0,0,.3);
}
.lid::before { content: ""; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1c2224; box-shadow: inset 0 0 0 1px #3a4144; }
.lid img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: none; }
.lap-base {
  position: relative; height: 14px; width: 108%; margin: 0 -4%; border-radius: 0 0 18px 18px;
  background: linear-gradient(#e3e8e8, #aab3b3); box-shadow: 0 22px 30px -14px rgba(0,50,48,.5);
}
.lap-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #8c9696; }
.work-media.shot { align-items: center; }
.work-media.shot .laptop img { max-width: none; border-radius: 4px; box-shadow: none; transition: none; }
.work-card:hover .work-media.shot img { transform: none; }
.work-card:hover .laptop { transform: translateY(-8px); }
.case-stage .work-media.shot .laptop { max-width: 1100px; }
.case-stage .work-media.shot .laptop img { max-width: none; }
.case-stage .work-media.shot { padding-bottom: clamp(36px, 5vw, 72px); }
.screens-wide .laptop { max-width: 1000px; }
.screens-wide { padding-bottom: 12px; }
@media (max-width: 600px) {
  .lid { padding: 11px 6px 7px; border-radius: 10px 10px 3px 3px; }
  .lid::before { top: 3px; width: 4px; height: 4px; margin-left: -2px; }
  .lap-base { height: 9px; border-radius: 0 0 10px 10px; }
}

/* soft fade where the phones are cropped */
.work-card .work-media.phones { -webkit-mask-image: linear-gradient(#000 78%, transparent 100%); mask-image: linear-gradient(#000 78%, transparent 100%); }

/* ================= BLOG, PRIVACY, 404, SERVICE LINKS ================= */
a.service-item { display: block; color: inherit; text-decoration: none; }
.blog { text-decoration: none; color: var(--ink); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; padding-bottom: 20px; }
.blog-index { padding-top: 24px; }
.blog .work-type-dark { margin-top: 10px; }
.blog h3 { min-height: 0; }
.blog-cover { height: auto; aspect-ratio: 3 / 2; }
.blogs-grid .blog-cover { height: 360px; aspect-ratio: auto; }
.more-posts { padding-top: 40px; }

.post-head { padding: 170px 0 20px; max-width: 980px; }
.post-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.2vw, 84px); line-height: 1.02; margin: 12px 0 8px; }
.post-cover { margin: 24px auto 0; max-width: 980px; }
.post-cover img { width: 100%; height: auto; border-radius: 24px; display: block; max-height: 560px; object-fit: cover; }
.prose { width: min(720px, calc(100vw - 40px)); margin: 56px auto 0; font-size: 19px; line-height: 1.75; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; margin: 48px 0 14px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 1.3em; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--teal-dark); }
.post-cta { margin-top: 72px; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: linear-gradient(180deg, #f5faf9, #e4f0ee); border: 1px solid rgba(26,26,26,.1); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.post-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 60px); line-height: 1.05; }
.post-cta p { font-size: 18px; max-width: 52ch; }
.notfound { min-height: 70vh; }
.nf-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
body.inner .prose + .footer, body.inner main + .footer { margin-top: 60px; }
@media (max-width: 1100px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; gap: 40px; }
  .post-head { padding-top: 130px; }
  .prose { font-size: 18px; margin-top: 40px; }
  .post-cover img { border-radius: 16px; }
}

/* ================= SERVICE PAGES ================= */
.svc-index { padding-top: 24px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 24px; border: 1px solid rgba(26,26,26,.12); background: linear-gradient(180deg, #f9fcfb, #eef6f5); color: var(--ink); text-decoration: none; transition: border-color .4s, background .4s; }
.svc-card:hover { border-color: var(--teal); }
.svc-card h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.1; }
.svc-card p { font-size: 16px; line-height: 1.6; color: rgba(26,26,26,.78); flex: 1; }
.svc-card .work-link { align-self: flex-start; margin-top: 8px; }
.prose h3 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 26px; line-height: 1.2; margin: 28px 0 8px; }
.post-cta .work-link { margin-top: 6px; }
.other-services { padding: 72px 0 20px; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill-link { padding: 8.5px 16px; border: 1px solid var(--ink); border-radius: 50px; font-family: var(--serif); font-style: italic; font-size: 18px; transition: background .3s, color .3s; }
.pill-link:hover { background: var(--ink); color: var(--white); }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { padding: 24px; } }

/* ================= 3D LOGO PILL ================= */
.bs-video { position: relative; isolation: isolate; background: radial-gradient(120% 140% at 30% 15%, #0d5f5b 0%, #052b2a 55%, #021413 100%); }
.bs-video #logo3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.bs-video img { opacity: .35; filter: blur(14px) saturate(1.2); transform: scale(1.15); }
.bs-video.gl img { opacity: .18; }

/* ================= BENTO 3D ================= */
.bento-card canvas.b3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.bento-card.dots { background: radial-gradient(120% 140% at 30% 15%, #0d5f5b 0%, #052b2a 55%, #021413 100%); padding: 0; }
.brand-card .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; mix-blend-mode: normal; }
