@font-face { font-family: "Sansation"; src: url("fonts/Sansation-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Sansation"; src: url("fonts/Sansation-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sansation"; src: url("fonts/Sansation-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --purple: #83308f;
  --purple-light: #a24fb0;
  --plum: #33143f;
  --plum-deep: #220c2b;
  --ink: #2a2230;
  --muted: #6b6172;
  --bg: #ffffff;
  --bg-soft: #f7f2f8;
  --line: #e9dfec;
  --radius: 14px;
  --max: 1120px;
  --head: "Sansation", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--purple); }
h1, h2, h3 { font-family: var(--head); color: var(--plum); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Accessibility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--plum); color: #fff; padding: 10px 18px; border-radius: 6px; font-family: var(--head); font-weight: 700; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.accent { color: var(--purple); }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; color: var(--purple); margin-bottom: .8rem; font-weight: 700; }

/* Header */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav .brand img { height: 44px; width: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; color: var(--plum); font-family: var(--head); font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--purple); }
.nav .lang { font-size: .8rem; letter-spacing: .08em; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.nav .lang:hover { border-color: var(--purple); }

/* Slanted button: echoes the stroke in the logo */
.btn-slant { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 12px; padding: 15px 34px; color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.btn-slant::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 3px; background: linear-gradient(100deg, var(--plum) 0%, var(--purple) 100%); transform: skewX(-18deg); transition: transform .2s, box-shadow .2s; }
.btn-slant:hover::before { transform: skewX(-18deg) translateY(-2px); box-shadow: 0 10px 24px -10px rgba(131, 48, 143, .7); }
.btn-slant .arrow { transition: transform .2s; }
.btn-slant:hover .arrow { transform: translateX(5px); }
.nav a.btn-slant { color: #fff; padding: 8px 22px; font-size: .9rem; }

.link-more { font-family: var(--head); font-weight: 700; color: var(--plum); text-decoration: none; padding: 4px 0; border-bottom: 2px solid var(--line); transition: border-color .2s, color .2s; }
.link-more:hover { color: var(--purple); border-color: var(--purple); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; text-align: center; }
.hero .mark { position: absolute; right: -80px; top: 10px; width: 520px; opacity: .07; pointer-events: none; }
.hero .logo { width: min(560px, 90%); margin: 0 auto 48px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 660px; margin: 0 auto 32px; }
.hero .ctas { display: flex; gap: 20px 40px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
/* Curved divider: echoes the crescent in the logo */
.arc { display: block; width: 100%; height: 72px; margin-top: -1px; }

section { padding: 96px 0; }
.soft { background: var(--bg-soft); }

/* Clients */
.clients-band { padding: 16px 0 44px; border-bottom: 1px solid var(--line); text-align: center; }
.clients-band .eyebrow { color: var(--muted); margin: 0 0 1rem; line-height: 1.4; }
.clients { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 0; list-style: none; margin: 0; padding: 0; }
.clients li { font-family: var(--head); font-weight: 700; font-size: 1.4rem; color: var(--plum); }
.clients li + li::before { content: "/"; content: "/" / ""; color: var(--purple-light); font-weight: 400; margin: 0 .9em; }

/* Name section */
.name-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.equation { font-family: var(--head); font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--plum); line-height: 1.3; }
.equation b { color: var(--purple); }
.equation small { display: block; font-size: 1rem; color: var(--muted); letter-spacing: .05em; font-weight: 400; margin-top: .4em; }

/* Layers */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.layer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; overflow: hidden; }
.layer::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--purple); }
.layer .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; margin-bottom: 18px; color: var(--purple); }
.layer .icon svg { width: 26px; height: 26px; }
.layer p { color: var(--muted); margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .8rem; background: var(--bg-soft); color: var(--plum); border-radius: 999px; padding: 3px 10px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.service { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.service .num { font-family: var(--head); font-weight: 700; color: var(--purple); font-size: 1.3rem; }
.service p { color: var(--muted); margin: 0; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; }
.project .kind { align-self: flex-start; font-family: var(--head); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--purple); border-radius: 999px; padding: 3px 10px; margin-bottom: 16px; }
.project .kind.web { background: var(--plum); }
.project .kind.desktop { background: var(--purple-light); }
.project h3 { font-size: 1.15rem; }
.project p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Stats */
.stats { background: var(--plum); color: #fff; padding: 72px 0; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats .stat { margin: 0; }
.stats .big { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); color: #e6c4ec; line-height: 1.1; }
.stats .lbl { display: block; color: #d9cbdd; font-size: 1rem; }

/* AI */
.ai-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ai-point { border-radius: var(--radius); padding: 22px 22px; background: linear-gradient(145deg, var(--plum), #4a1d5a); color: #e9dcee; }
.ai-point h3 { color: #fff; font-size: 1.05rem; }
.ai-point p { margin: 0; font-size: .92rem; color: #d9cbdd; }

/* Approach */
.approach { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--head); font-weight: 700; font-size: 2rem; color: var(--line); display: block; line-height: 1; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Contact */
.contact { text-align: center; }
.contact p.lead { max-width: 620px; margin: 0 auto 36px; color: var(--muted); font-size: 1.15rem; }
.contact-cards { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 18px 28px; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--plum); font-family: var(--head); font-weight: 700; font-size: 1.15rem; transition: border-color .15s, transform .15s; }
.contact-card:hover { border-color: var(--purple); transform: translateY(-2px); }
.contact-card svg { width: 24px; height: 24px; color: var(--purple); flex: none; }

footer { background: var(--plum-deep); color: #bfaec4; padding: 40px 0; font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .f-brand { font-family: var(--head); font-size: 1.4rem; color: #fff; }
footer .f-brand b { color: #d58fe0; }
footer .f-brand span { display: block; font-size: .85rem; color: #bfaec4; letter-spacing: .12em; }
footer a { color: #e6c4ec; text-decoration: none; }
footer a:hover { color: #fff; }
footer .f-linkedin svg { width: 16px; height: 16px; vertical-align: -3px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .name-grid { grid-template-columns: 1fr; gap: 32px; }
  .layers, .approach, .projects { grid-template-columns: 1fr 1fr; }
  .layers .layer:last-child { grid-column: 1 / -1; }
  .stats .grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav ul { gap: 14px; }
  .nav ul li.opt { display: none; }
  .nav .brand img { height: 36px; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 72px; }
  .hero .mark { width: 320px; right: -120px; }
  .layers, .approach, .services, .projects, .ai-points { grid-template-columns: 1fr; }
  .contact-card { width: 100%; justify-content: center; font-size: 1rem; }
  .clients li { font-size: 1.1rem; }
}
