/* ===== variables.css ===== */
:root {
  --bg: #f7f7f5;
  --surface: #fff;
  --surface-muted: #efefec;
  --text: #161616;
  --muted: #72726d;
  --line: rgba(22, 22, 22, 0.12);
  --accent: #6253f7;
  --accent-2: #b6ff62;
  --dark: #15151a;
  --radius: 1.25rem;
  --container: min(1240px, calc(100% - 3rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --sans:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1a1a1e;
    --surface-muted: #222226;
    --text: #f4f4f0;
    --muted: #adada9;
    --line: rgba(255, 255, 255, 0.13);
    --accent: #9086ff;
    --dark: #f2f2ed;
    color-scheme: dark;
  }
}
:root[data-theme="light"] {
  --bg: #f7f7f5;
  --surface: #fff;
  --surface-muted: #efefec;
  --text: #161616;
  --muted: #72726d;
  --line: rgba(22, 22, 22, 0.12);
  --accent: #6253f7;
  --dark: #15151a;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #111113;
  --surface: #1a1a1e;
  --surface-muted: #222226;
  --text: #f4f4f0;
  --muted: #adada9;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #9086ff;
  --dark: #f2f2ed;
  color-scheme: dark;
}

/* ===== base.css ===== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* iOS Safari computes the document's scrollable width from <html>, not <body>.
     Without this, decorative elements that bleed past their container
     (page-glow, hero art, floating badges) let the whole page be
     swiped sideways even though body already has overflow-x: hidden. */
  overflow-x: hidden;
  width: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--sans);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  transition:
    background-color 0.45s var(--ease),
    color 0.45s var(--ease);
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  font: inherit;
}
img {
  max-width: 100%;
}
::selection {
  background: var(--accent);
  color: #fff;
}
.container {
  width: var(--container);
  margin-inline: auto;
}
.section {
  padding: 7.5rem 0;
  position: relative;
}
.eyebrow {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}
.status-dot {
  background: #6ebd57;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(110, 189, 87, 0.12);
  display: inline-block;
  height: 0.42rem;
  margin-right: 0.65rem;
  width: 0.42rem;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  letter-spacing: -0.065em;
  line-height: 0.95;
}
h1 {
  font-size: clamp(3.2rem, 7.2vw, 7rem);
  font-weight: 500;
}
h2 {
  font-size: clamp(2.65rem, 5vw, 5.25rem);
  font-weight: 500;
}
h1 em,
h2 em,
.mock-title em,
.project-c em {
  color: var(--accent);
  font-family: var(--display);
  font-weight: 400;
}
.skip-link {
  background: var(--text);
  color: var(--bg);
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: -4rem;
  z-index: 100;
}
.skip-link:focus {
  top: 1rem;
}
.page-glow {
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
.glow-one {
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%);
  height: 30rem;
  right: -16rem;
  top: 20rem;
  width: 30rem;
}
.glow-two {
  background: radial-gradient(circle, #b6ff62 0%, transparent 68%);
  height: 22rem;
  left: -16rem;
  top: 100rem;
  width: 22rem;
}

/* ===== layout.css ===== */
.site-header {
  height: 5.5rem;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition:
    transform 0.45s var(--ease),
    background 0.35s var(--ease),
    border 0.35s var(--ease);
  will-change: transform;
  z-index: 20;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-header.header-hidden {
  transform: translateY(-100%);
}
.header-inner {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-between;
  transition:
    background-color 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    height 0.45s var(--ease),
    margin-top 0.45s var(--ease),
    padding 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease),
    -webkit-backdrop-filter 0.45s var(--ease);
  will-change: background-color, backdrop-filter;
}
.brand {
  align-items: center;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 0.55rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand-mark {
  align-items: center;
  background: var(--text);
  border-radius: 50%;
  color: var(--bg);
  display: inline-flex;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  height: 1.7rem;
  justify-content: center;
  width: 1.7rem;
}
.desktop-nav {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
  margin-right: 2rem;
}
.desktop-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.82rem;
  transition: color 0.2s;
}
.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}
.header-actions {
  align-items: center;
  display: flex;
  gap: 0.7rem;
}
.theme-toggle,
.menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.theme-toggle {
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.82rem;
  height: 2rem;
  position: relative;
  width: 2rem;
}
.theme-icon {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.moon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-35deg) scale(0.5);
}
:root[data-theme="dark"] .sun {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(35deg) scale(0.5);
}
:root[data-theme="dark"] .moon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0) scale(1);
}
.menu-toggle {
  display: none;
  height: 2.4rem;
  width: 2.4rem;
}
.menu-toggle span {
  background: currentColor;
  display: block;
  height: 1px;
  margin: 0.32rem auto;
  transition: transform 0.35s var(--ease);
  width: 1.1rem;
}
.menu-toggle.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-toggle.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}
.mobile-menu {
  align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.4s var(--ease);
  visibility: hidden;
  z-index: 15;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu nav a {
  align-items: baseline;
  display: flex;
  font-size: clamp(2.6rem, 10vw, 4.8rem);
  font-weight: 500;
  gap: 1rem;
  letter-spacing: -0.07em;
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.mobile-menu.is-open nav a {
  opacity: 1;
  transform: none;
}
.mobile-menu.is-open nav a:nth-child(1) {
  transition-delay: 0.08s;
}
.mobile-menu.is-open nav a:nth-child(2) {
  transition-delay: 0.12s;
}
.mobile-menu.is-open nav a:nth-child(3) {
  transition-delay: 0.16s;
}
.mobile-menu.is-open nav a:nth-child(4) {
  transition-delay: 0.2s;
}
.mobile-menu.is-open nav a:nth-child(5) {
  transition-delay: 0.24s;
}
.mobile-menu nav span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0;
}
.mobile-menu p {
  bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  position: absolute;
}
.hero {
  min-height: 100vh;
  padding-bottom: 3.5rem;
  padding-top: 10.5rem;
}
.hero-copy {
  max-width: 56rem;
}
.hero-description {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  margin: 2.2rem 0;
  max-width: 34rem;
}
.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero-art {
  height: clamp(19rem, 35vw, 30rem);
  margin: 5rem 0 3.5rem auto;
  max-width: 55rem;
  position: relative;
  width: 80%;
}
.hero-proof {
  align-items: flex-end;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-top: 1.25rem;
}
.hero-proof p {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  margin: 0;
}
.hero-proof div {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 4vw, 4rem);
}
.hero-proof span {
  font-size: clamp(0.85rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.1em;
  opacity: 0.62;
}
.hero-proof span:nth-child(2),
.hero-proof span:nth-child(3) {
  font-family: var(--display);
  font-weight: 400;
}
.services {
  background: var(--surface-muted);
}
.section-heading {
  max-width: 54rem;
}
.section-heading h2 {
  margin-bottom: 3.5rem;
}
.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.25fr 1fr 1fr;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 28rem;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.3s;
}
.service-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.07);
  transform: translateY(-0.4rem);
}
.card-index {
  color: var(--muted);
  font-size: 0.7rem;
}
.service-icon {
  align-items: center;
  background: var(--surface-muted);
  border-radius: 50%;
  display: flex;
  font-size: 1.4rem;
  height: 2.7rem;
  justify-content: center;
  margin: 1.6rem 0 auto;
  width: 2.7rem;
}
.service-card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  margin-bottom: 0.55rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 19rem;
}
.card-link {
  font-size: 0.8rem;
  font-weight: 650;
  margin-top: 0.4rem;
}
.card-link span {
  display: inline-block;
  margin-left: 0.3rem;
  transition: transform 0.3s var(--ease);
}
.service-card:hover .card-link span {
  transform: translateX(0.3rem);
}
.service-featured {
  background: #e3e1ff;
  color: #171622;
}
.service-featured p,
.service-featured .card-index {
  color: #5b5967;
}
.service-featured .service-icon {
  background: rgba(255, 255, 255, 0.6);
}
.service-visual {
  bottom: -1rem;
  height: 10rem;
  position: absolute;
  right: -0.5rem;
  transform: rotate(-9deg);
  width: 13rem;
}
.visual-landing {
  background: #252436;
  border: 6px solid #fff;
  border-radius: 0.7rem;
  box-shadow: 0 1rem 2rem rgba(45, 41, 100, 0.2);
  padding: 1rem;
}
.visual-landing i,
.visual-landing b,
.visual-landing em {
  background: #eeeefe;
  display: block;
  height: 0.5rem;
  margin-bottom: 0.45rem;
  width: 70%;
}
.visual-landing b {
  background: #998efa;
  width: 43%;
  height: 2.7rem;
  margin-top: 1rem;
}
.visual-landing em {
  background: #eeeefe;
  width: 91%;
}
.product-layout {
  align-items: start;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr 1.1fr;
}
.product-copy {
  position: sticky;
  top: 8rem;
}
.product-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 25rem;
}
.product-list {
  border-top: 1px solid var(--line);
}
.product-item {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 3.2rem 1fr 1rem;
  padding: 1.5rem 0;
  transition: padding 0.35s var(--ease);
}
.product-item:hover {
  padding-left: 0.55rem;
}
.product-number {
  align-items: center;
  background: var(--surface-muted);
  border-radius: 50%;
  display: flex;
  font-size: 0.67rem;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}
.product-item h3 {
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  margin: 0 0 0.2rem;
}
.product-item p {
  color: var(--muted);
  font-size: 0.83rem;
  margin: 0;
}
.product-item > span {
  font-size: 1.2rem;
}
.landing-service {
  padding-top: 2rem;
}
.landing-panel {
  background: #171721;
  border-radius: 1.75rem;
  color: #f7f7f5;
  min-height: 34rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  position: relative;
}
.landing-panel .eyebrow {
  color: #a3a2af;
}
.landing-panel h2 {
  max-width: 50rem;
}
.landing-panel h2 em {
  color: #b9ff6d;
}
.landing-copy > p:not(.eyebrow) {
  color: #b3b3be;
  max-width: 32rem;
}
.conversion-path {
  align-items: center;
  bottom: 3.5rem;
  color: #d9d9df;
  display: flex;
  font-size: 0.75rem;
  gap: 0.8rem;
  position: absolute;
  right: 4rem;
}
.conversion-path div {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}
.conversion-path span {
  color: #b9ff6d;
  font-size: 0.65rem;
}
.conversion-path i {
  background: #666574;
  height: 1px;
  width: 3rem;
}
.portfolio {
  overflow: hidden;
}
.portfolio-heading {
  margin-bottom: 0;
}
.portfolio-scroll {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.05fr 1fr 1fr;
  margin-top: 0;
}
.project-card {
  min-width: 0;
}
.project-image {
  border-radius: var(--radius);
  height: 31rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.project-card:hover .project-image {
  transform: translateY(-0.35rem);
}
.project-a .project-image {
  background: #f1ebe3;
  color: #1c1b1a;
  padding: 1.5rem;
}
.mock-nav {
  border-top: 1px solid #aaa298;
  width: 100%;
}
.mock-title {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.09em;
  line-height: 0.85;
  margin-top: 2rem;
}
.mock-oval {
  background: #bf9780;
  border-radius: 50%;
  bottom: -9rem;
  height: 22rem;
  position: absolute;
  right: -5rem;
  width: 16rem;
}
.project-b .project-image {
  background: #c9d4bd;
  color: #183530;
  padding: 1.6rem;
}
.alba-word {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
}
.alba-word span {
  font-size: 0.5em;
}
.alba-product {
  background: #f2ede4;
  border-radius: 6rem 6rem 1.4rem 1.4rem;
  bottom: -1rem;
  height: 19rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) rotate(12deg);
  width: 9rem;
}
.project-b p {
  bottom: 1.3rem;
  font-size: 0.8rem;
  position: absolute;
}
.project-c .project-image {
  background: #22212a;
  color: #f4f0e8;
  padding: 1.5rem;
}
.project-c .project-image > p {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
}
.form-mock {
  bottom: 1.4rem;
  left: 1.5rem;
  position: absolute;
  right: 1.5rem;
}
.form-mock i {
  background: #494854;
  display: block;
  height: 2.5rem;
  margin-bottom: 0.45rem;
}
.form-mock b {
  background: #d0ff74;
  color: #1e2a0b;
  display: block;
  font-size: 0.7rem;
  font-weight: 650;
  padding: 0.8rem;
  text-align: center;
}
.project-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 1rem 0.15rem;
}
.project-meta h3 {
  font-size: 0.9rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.1rem;
}
.project-meta p {
  color: var(--muted);
  font-size: 0.7rem;
  margin: 0;
}
.project-meta > span {
  font-size: 1.2rem;
}
.reasons {
  background: var(--surface-muted);
}
.reasons-layout {
  display: grid;
  gap: 5rem;
  grid-template-columns: 0.8fr 1.2fr;
}
.reasons-title {
  position: sticky;
  top: 8rem;
  height: max-content;
}
.reasons-list {
  border-top: 1px solid var(--line);
}
.reason {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 3.5rem 1fr;
  padding: 2.4rem 0;
}
.reason > span {
  color: var(--muted);
  font-size: 0.7rem;
}
.reason h3 {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}
.reason p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 31rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  padding: clamp(2rem, 5vw, 5rem);
  position: relative;
}
.quote-mark {
  color: var(--accent);
  font-family: var(--display);
  font-size: 5rem;
  height: 3.3rem;
  line-height: 1;
}
.testimonial blockquote {
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  letter-spacing: -0.06em;
  line-height: 1.08;
  margin: 2rem 0 2.5rem;
  max-width: 62rem;
}
.testimonial figcaption {
  align-items: center;
  display: flex;
  gap: 0.7rem;
}
.avatar {
  align-items: center;
  background: #d8cec4;
  border-radius: 50%;
  color: #5d3c34;
  display: flex;
  font-size: 0.65rem;
  font-weight: 700;
  height: 2.4rem;
  justify-content: center;
  width: 2.4rem;
}
.testimonial figcaption strong,
.testimonial figcaption span {
  display: block;
  font-size: 0.75rem;
}
.testimonial figcaption span {
  color: var(--muted);
}
.testimonial-control {
  bottom: 2rem;
  display: flex;
  gap: 0.5rem;
  position: absolute;
  right: 2rem;
}
.testimonial-control button {
  background: var(--surface-muted);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 2.2rem;
  width: 2.2rem;
}
.faq {
  display: grid;
  gap: 3rem;
  grid-template-columns: 0.85fr 1.15fr;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0;
}
.faq summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  font-size: 1.4rem;
  font-weight: 400;
  position: absolute;
  right: 0;
  top: -0.3rem;
  transition: transform 0.25s;
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1rem 2rem 0 0;
}
.cta-section {
  padding-top: 0;
}
.cta-panel {
  background: var(--accent);
  border-radius: var(--radius);
  color: #fff;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 7rem);
  text-align: center;
}
.cta-panel .eyebrow {
  color: #dfdcff;
  justify-content: center;
}
.cta-panel h2 {
  font-size: clamp(2.5rem, 5.5vw, 5.7rem);
}
.cta-panel h2 em {
  color: #dbff9d;
}
.cta-panel > p:not(.eyebrow) {
  color: #e6e4ff;
  margin: 1.8rem auto;
  max-width: 33rem;
}
.cta-panel small {
  color: #dedcff;
  display: block;
  font-size: 0.68rem;
  margin-top: 1.4rem;
}
.site-footer {
  padding: 1rem 0 2rem;
}
.footer-top,
.footer-bottom {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.footer-top {
  border-bottom: 1px solid var(--line);
  padding-bottom: 3rem;
}
.footer-top > p {
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 1rem;
}
.footer-bottom {
  color: var(--muted);
  font-size: 0.7rem;
  padding-top: 1.2rem;
}
.footer-bottom a:hover {
  color: var(--text);
}

/* ===== components.css ===== */
.button {
  align-items: center;
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: 99px;
  color: var(--bg);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 650;
  gap: 0.8rem;
  justify-content: center;
  padding: 0.85rem 1.1rem 0.85rem 1.25rem;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.button:hover {
  box-shadow: 0 0.55rem 1.25rem color-mix(in srgb, var(--text) 18%, transparent);
  transform: translateY(-2px);
}
.button span {
  font-size: 1rem;
  transition: transform 0.3s var(--ease);
}
.button:hover span {
  transform: translate(0.18rem, -0.18rem);
}
.button-small {
  font-size: 0.72rem;
  padding: 0.55rem 0.8rem 0.55rem 1rem;
}
.button-light {
  background: #fff;
  border-color: #fff;
  color: #1b1b20;
}
.button-light:hover {
  background: #f0f0eb;
}
.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 650;
  gap: 0.55rem;
}
.text-link span {
  transition: transform 0.3s var(--ease);
}
.text-link:hover span {
  transform: translateY(0.25rem);
}
.product-copy .text-link:hover span {
  transform: translateX(0.25rem);
}

/* ===== animations.css ===== */
/* ---------------------------------------------------------------------
   Scroll reveal — Framer-style fade-up.
   Only opacity + transform (both cheap, GPU-composited properties).
   Uses a dedicated "expo-out" curve (snappy deceleration, no bounce) —
   the same family of easing Framer Motion uses by default — scoped to
   this block only, so nothing else on the site is affected.
   Hero entrance/hero image animation below is untouched.
---------------------------------------------------------------------- */
.reveal,
.split-reveal {
  --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(1.75rem) scale(0.97);
  transition:
    opacity 0.8s var(--reveal-ease),
    transform 0.8s var(--reveal-ease);
  will-change: opacity, transform;
}
.reveal.is-visible,
.split-reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
.reveal-delay {
  transition-delay: 0.12s;
}

/* Subtle stagger for card/list groups — reads as premium, not busy. */
.services-grid > .reveal:nth-child(2),
.portfolio-scroll > .reveal:nth-child(2),
.reasons-list > .reveal:nth-child(2),
.product-list > .reveal:nth-child(2),
.faq-list > .reveal:nth-child(2),
.tech-showcase > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.services-grid > .reveal:nth-child(3),
.portfolio-scroll > .reveal:nth-child(3),
.reasons-list > .reveal:nth-child(3),
.product-list > .reveal:nth-child(3),
.faq-list > .reveal:nth-child(3),
.tech-showcase > .reveal:nth-child(3) {
  transition-delay: 0.2s;
}
.faq-list > .reveal:nth-child(4),
.tech-showcase > .reveal:nth-child(4) {
  transition-delay: 0.3s;
}
/* The hero art carries a 3D transform + blurred orb. Letting its
   compositing layer get torn down (which the generic ".reveal.is-visible"
   rule above does via "will-change: auto") makes Safari re-rasterize it
   mid-scroll, which shows up as a visible flicker. Keep it promoted. */
.hero-art.is-visible,
.hero-art .browser-card,
.hero-art .art-orb {
  will-change: transform;
}
.browser-card {
  background: #252535;
  border: 6px solid rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  box-shadow: 0 2.5rem 5rem rgba(41, 37, 99, 0.18);
  height: 100%;
  overflow: hidden;
  position: relative;
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.7s var(--ease);
}
.hero-art:hover .browser-card {
  transform: perspective(1000px) rotateY(-3deg) rotateX(1deg)
    translateY(-0.3rem) translateZ(0);
}
.browser-bar {
  align-items: center;
  background: #ecebf5;
  color: #878691;
  display: flex;
  gap: 0.3rem;
  height: 2rem;
  padding: 0 0.7rem;
}
.browser-bar span {
  background: #c1bec9;
  border-radius: 50%;
  height: 0.35rem;
  width: 0.35rem;
}
.browser-bar i {
  color: #5d5c6b;
  font-size: 0.5rem;
  font-style: normal;
  margin-left: 0.4rem;
}
.art-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  inset: 2rem 0 0;
  position: absolute;
}
.art-label {
  background: #e0ff98;
  border-radius: 99px;
  color: #293015;
  font-size: clamp(0.55rem, 1vw, 0.78rem);
  font-weight: 700;
  left: 12%;
  padding: 0.55rem 0.8rem;
  position: absolute;
  top: 24%;
  transform: rotate(-7deg);
}
.art-panel {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.8rem;
  bottom: 11%;
  color: #202029;
  left: 11%;
  padding: clamp(0.8rem, 2vw, 1.4rem);
  position: absolute;
  width: clamp(9rem, 30%, 13rem);
}
.art-panel p {
  color: #777580;
  font-size: 0.5rem;
  margin: 0 0 0.25rem;
}
.art-panel strong {
  display: block;
  font-size: clamp(1.1rem, 2.3vw, 1.8rem);
  letter-spacing: -0.08em;
}
.art-panel span {
  color: #777580;
  font-size: 0.45rem;
}
.chart {
  align-items: end;
  display: flex;
  gap: 3px;
  height: 2.4rem;
  margin-top: 0.4rem;
}
.chart i {
  background: #8580f9;
  border-radius: 2px 2px 0 0;
  display: block;
  width: 8%;
}
.chart i:nth-child(1) {
  height: 25%;
}
.chart i:nth-child(2) {
  height: 42%;
}
.chart i:nth-child(3) {
  height: 34%;
}
.chart i:nth-child(4) {
  height: 60%;
}
.chart i:nth-child(5) {
  height: 50%;
}
.chart i:nth-child(6) {
  height: 85%;
}
.chart i:nth-child(7) {
  height: 100%;
}
.art-orb {
  background: radial-gradient(
    circle at 30% 30%,
    #a29bff,
    #685cf0 47%,
    #2a284b 70%
  );
  border-radius: 50%;
  filter: blur(0.2px);
  height: clamp(10rem, 35vw, 22rem);
  position: absolute;
  right: 7%;
  top: 18%;
  width: clamp(10rem, 35vw, 22rem);
}
.floating-note {
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 99px;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.12);
  color: #27252f;
  display: flex;
  font-size: clamp(0.58rem, 1vw, 0.75rem);
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  position: absolute;
  right: -2%;
  top: 12%;
}
.floating-note span {
  color: #7468ff;
}
@media (prefers-reduced-motion: no-preference) {
  .art-orb {
    animation: float 7s ease-in-out infinite;
  }
  .floating-note {
    animation: float 6s ease-in-out -2s infinite;
  }
}
@keyframes float {
  50% {
    transform: translateY(-0.7rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .split-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== responsive.css ===== */
@media (max-width: 900px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-featured {
    grid-column: span 2;
  }
  .product-layout,
  .reasons-layout,
  .faq {
    gap: 3rem;
    grid-template-columns: 1fr;
  }
  .product-copy,
  .reasons-title {
    position: static;
  }
  .portfolio-scroll {
    grid-template-columns: 1.05fr 1fr 1fr;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
  }
  .portfolio-scroll::-webkit-scrollbar {
    display: none;
  }
  .project-card {
    min-width: min(75vw, 25rem);
  }
  .project-image {
    height: 25rem;
  }
  .faq .section-heading h2 {
    margin-bottom: 0;
  }
  .hero-art {
    margin-right: auto;
    width: 100%;
  }
  .hero-proof {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }
  .hero-proof div {
    width: 100%;
  }
  .landing-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .conversion-path {
    bottom: auto;
    left: auto;
    margin-top: 2.5rem;
    position: static;
    right: auto;
  }
  .footer-top > p {
    display: none;
  }
}
@media (max-width: 600px) {
  :root {
    --container: min(100% - 2rem, 1240px);
  }
  /* Backdrop blur is recalculated on every scroll frame while the fixed
     header is on screen. A smaller radius keeps that cost low on iOS
     Safari and avoids the stutter that shows up on longer scrolls. */
  .site-header.scrolled,
  .site-header.scrolled .header-inner {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .mobile-menu {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .section {
    padding: 5rem 0;
  }
  .site-header {
    height: 4.5rem;
  }
  .hero {
    padding-top: 8.5rem;
  }
  .hero-description {
    font-size: 0.98rem;
  }
  .hero-art {
    height: 17rem;
    margin-bottom: 2.7rem;
    margin-top: 3.4rem;
  }
  .browser-card {
    border-width: 4px;
  }
  .floating-note {
    right: -0.5rem;
    top: 8%;
  }
  .hero-proof div {
    flex-wrap: wrap;
    gap: 1rem 1.6rem;
  }
  .hero-proof span {
    font-size: 1rem;
  }
  .section-heading h2 {
    margin-bottom: 2.3rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-featured {
    grid-column: auto;
  }
  .service-card {
    min-height: 20rem;
  }
  .service-featured {
    min-height: 24rem;
  }
  .product-item {
    grid-template-columns: 2.6rem 1fr 0.8rem;
  }
  .landing-panel {
    border-radius: 1.25rem;
    min-height: 0;
  }
  .conversion-path {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 2rem;
  }
  .conversion-path i {
    height: 1.2rem;
    margin-left: 0.35rem;
    width: 1px;
  }
  .portfolio {
    padding-bottom: 4rem;
  }
  .project-card {
    min-width: 78vw;
  }
  .project-image {
    height: 22rem;
  }
  .reasons-list {
    margin-top: -1rem;
  }
  .reason {
    grid-template-columns: 2.5rem 1fr;
    padding: 1.8rem 0;
  }
  .testimonial-card {
    border-radius: 1rem;
  }
  .testimonial-control {
    bottom: 1.4rem;
    right: 1.4rem;
  }
  .testimonial blockquote {
    margin-bottom: 2.3rem;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-links {
    gap: 1.2rem;
  }
}
@media (max-width: 350px) {
  .brand {
    font-size: 0.82rem;
  }
  .header-actions {
    gap: 0.2rem;
  }
  .hero-art {
    height: 15rem;
  }
  .art-panel {
    bottom: 7%;
    left: 7%;
  }
  .art-label {
    left: 7%;
  }
  .floating-note {
    font-size: 0.53rem;
  }
}

/* ===== enhancements.css ===== */
/* Enhancements: kept separate so the original layout remains easy to maintain. */

/* Floating navigation only appears after the visitor begins scrolling. */
.site-header.scrolled {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.scrolled .header-inner {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.07);
  height: 4.25rem;
  margin-top: 0.55rem;
  padding: 0 1rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* The supplied white mark automatically remains legible in both site themes. */
.brand-logo {
  display: block;
  filter: invert(1);
  height: auto;
  transition: filter 0.45s var(--ease);
  width: 7.75rem;
}
:root[data-theme="dark"] .brand-logo {
  filter: none;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .brand-logo {
    filter: none;
  }
}

/* Four lightweight, lazy-loaded tech visuals extend the existing visual language. */
.tech-showcase {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 6.5rem;
}
.tech-image {
  aspect-ratio: 4 / 5;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 1rem;
  margin: 0;
  overflow: hidden;
}
.tech-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  width: 100%;
}
.tech-image:hover img {
  transform: scale(1.045);
}

/* A professional, high-contrast footer gives the white brand mark a dedicated home. */
.site-footer {
  background: #14141a;
  color: #f7f7f5;
  margin-top: 1.5rem;
  padding: 4.5rem 0 1.4rem;
}
.site-footer .footer-top {
  align-items: start;
  border-bottom-color: rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.5fr 0.55fr 0.75fr;
  padding-bottom: 4rem;
}
.footer-brand .brand-logo {
  filter: none;
  width: 9.5rem;
}
.footer-intro > p {
  color: #aaaab0;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 1.35rem 0;
  max-width: 19rem;
}
.footer-email {
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 650;
  gap: 0.55rem;
}
.footer-email span {
  color: #b6ff62;
  transition: transform 0.3s var(--ease);
}
.footer-email:hover span {
  transform: translate(0.18rem, -0.18rem);
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-column a,
.footer-column span {
  color: #b7b7bd;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-column a:hover {
  color: #fff;
}
.footer-label {
  color: #9a9aa3;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}
.footer-availability {
  align-items: center;
  color: #d8d8dc;
  display: flex;
  font-size: 0.7rem;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.footer-availability i {
  background: #a7e66f;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(167, 230, 111, 0.1);
  height: 0.38rem;
  width: 0.38rem;
}
.site-footer .footer-bottom {
  color: #9a9aa3;
  font-size: 0.68rem;
  padding-top: 1.25rem;
}
.site-footer .footer-bottom div {
  display: flex;
  gap: 1.3rem;
}
.site-footer .footer-bottom a {
  color: #aaaab0;
}
.site-footer .footer-bottom a:hover {
  color: #fff;
}

/* First-view motion uses only transform and opacity for smooth, low-cost frames. */
html.js .hero h1 span {
  display: block;
  transform: translateY(0.8em);
}
html.js .hero-copy,
html.js .svc-hero-copy {
  opacity: 1;
  transform: none;
}
html.js .hero h1 span,
html.js .svc-hero-title {
  animation: hero-line 0.85s var(--ease) both;
  animation-delay: 0.18s;
}
html.js .hero h1 span + span {
  animation-delay: 0.3s;
}
html.js .hero-description,
html.js .svc-hero-desc {
  animation: hero-fade 0.7s var(--ease) both;
  animation-delay: 0.45s;
}
html.js .hero-actions {
  animation: hero-fade 0.7s var(--ease) both;
  animation-delay: 0.54s;
}
html.js .hero-art,
html.js .svc-hero-visual {
  animation: hero-art-in 0.9s var(--ease) both;
  animation-delay: 0.16s;
  opacity: 1;
}
html.js .hero-proof,
html.js .svc-stat-row {
  animation: hero-fade 0.75s var(--ease) both;
  animation-delay: 0.68s;
  opacity: 1;
  transform: none;
}
@keyframes hero-line {
  to {
    transform: translateY(0);
  }
}
@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-art-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1.5rem, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 900px) {
  .tech-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer .footer-top {
    grid-template-columns: 1.2fr 1fr;
  }
  .site-footer .footer-intro {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .site-header.scrolled .header-inner {
    height: 3.7rem;
    margin-top: 0.35rem;
    padding: 0 0.65rem;
  }
  .brand-logo {
    width: 6.8rem;
  }
  .tech-showcase {
    gap: 0.7rem;
    padding-bottom: 4.5rem;
  }
  .site-footer {
    padding-top: 3.2rem;
  }
  .site-footer .footer-top {
    gap: 2.2rem 1.2rem;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 2.5rem;
  }
  .footer-brand .brand-logo {
    width: 8.2rem;
  }
  .site-footer .footer-bottom {
    gap: 0.8rem;
  }
  .site-footer .footer-bottom div {
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .hero h1 span,
  html.js .svc-hero-title {
    opacity: 1;
    transform: none;
  }
  html.js .hero-copy,
  html.js .svc-hero-copy,
  html.js .hero h1 span,
  html.js .svc-hero-title,
  html.js .hero-description,
  html.js .svc-hero-desc,
  html.js .hero-actions,
  html.js .hero-art,
  html.js .svc-hero-visual,
  html.js .hero-proof,
  html.js .svc-stat-row {
    animation: none;
  }
}

/* Produk nyata: kartu Profitmax */
.hero-proof a {
  font-weight: 700;
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  letter-spacing: -0.03em;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.hero-proof span {
  letter-spacing: -0.02em;
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
}
.hero-proof span:nth-child(2),
.hero-proof span:nth-child(3) {
  font-family: inherit;
}
.portfolio-scroll {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.project-main {
  grid-column: 1 / -1;
}
.project-link {
  color: inherit;
  display: block;
  min-width: 0;
  text-decoration: none;
}
.project-card .project-image {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  height: auto;
  aspect-ratio: 1600 / 1008;
}
.project-main .project-image {
  aspect-ratio: 16 / 7.2;
}
.project-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}
.sample-tag {
  background: rgba(24, 24, 36, 0.82);
  border-radius: 99px;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 650;
  bottom: 0.8rem;
  padding: 0.3rem 0.7rem;
  position: absolute;
  right: 0.8rem;
}
.project-main .project-meta h3 {
  font-size: 1.15rem;
}
.product-cta {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
}
.product-cta p {
  color: var(--muted);
  margin: 0;
  max-width: 40rem;
}
.product-cta strong {
  color: inherit;
}
.product-cta b {
  color: inherit;
}
@media (max-width: 900px) {
  .portfolio-scroll {
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
  }
  .project-card {
    min-width: 0;
  }
  .project-card .project-image,
  .project-main .project-image {
    aspect-ratio: 1600 / 1008;
    height: auto;
  }
  .product-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Heading produk di halaman layanan: rapatkan jarak ke kartu */
#profitmax.section,
#produk-kami.section {
  padding-bottom: 0;
}
#profitmax .section-heading h2,
#produk-kami .section-heading h2 {
  margin-bottom: 1.5rem;
}
.portfolio[aria-label] {
  padding-bottom: 4rem;
}

