:root {
  --paper: #faf7f5;
  --white: #ffffff;
  --ink: #272128;
  --muted: #70666e;
  --line: #ded4da;
  --blue: #80516f;
  --blue-deep: #623a53;
  --orange: #c47b5a;
  --aqua: #efcdb3;
  --radius: 28px;
  --shadow: 0 28px 70px rgba(12, 18, 40, .14);
  --section: min(1240px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--blue) #e8dfe4; scrollbar-width: thin; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: "Manrope", sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: #e8dfe4; }
body::-webkit-scrollbar-thumb { background: var(--blue); border: 2px solid #e8dfe4; border-radius: 99px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; color: white; background: var(--ink); border-radius: 12px; }
.skip-link:focus { top: 20px; }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.section { width: var(--section); margin-inline: auto; }

.site-header { position: fixed; top: 18px; left: 50%; z-index: 30; transform: translateX(-50%); width: min(1240px, calc(100vw - 40px)); min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 9px 10px 9px 18px; background: rgba(244, 247, 255, .78); border: 1px solid rgba(110, 121, 150, .22); border-radius: 18px; backdrop-filter: blur(18px); transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { background: rgba(255,255,255,.9); box-shadow: 0 12px 40px rgba(23,34,70,.1); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 .95rem/1 "Unbounded", sans-serif; letter-spacing: -.04em; }
.brand > span:last-child > span { color: var(--blue); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; color: white; background: var(--blue); border-radius: 11px; font-size: 1rem; }
.nav { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 700; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--blue); transition: right .2s ease; }
.nav a:hover::after { right: 0; }
.header-cta { padding: 12px 18px; color: white; background: var(--ink); border-radius: 11px; font-size: .86rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.header-cta:hover { transform: translateY(-2px); background: var(--blue); }

.hero { position: relative; min-height: 880px; display: grid; align-items: center; overflow: hidden; padding: 145px max(32px, calc((100vw - 1240px)/2)) 120px; background: radial-gradient(circle at 80% 25%, rgba(128,81,111,.12), transparent 30%), linear-gradient(135deg, #faf7f5 0%, #efe6eb 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(128,81,111,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(128,81,111,.06) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, black, transparent 72%); }
.hero-copy { position: relative; z-index: 2; width: min(760px, 63vw); }
.eyebrow, .section-kicker { margin: 0 0 24px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue); }
.eyebrow span { width: 36px; height: 2px; background: currentColor; }
.hero-title { margin: 0; font: 600 clamp(3.4rem, 6.6vw, 7rem)/.97 "Unbounded", sans-serif; letter-spacing: -.065em; }
.hero-title em { display: block; color: var(--blue); font-style: normal; }
.hero-lead { max-width: 650px; margin: 34px 0 0; color: #62535e; font-size: clamp(1.05rem, 1.45vw, 1.27rem); line-height: 1.65; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 24px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 14px 35px rgba(128,81,111,.22); }
.button-primary:hover { background: var(--blue-deep); box-shadow: 0 18px 42px rgba(128,81,111,.28); }
.button-ghost { border-color: #adb8d1; background: rgba(255,255,255,.48); }
.button-ghost:hover { background: white; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 54px; }
.hero-meta span, .tags span { padding: 8px 12px; border: 1px solid #b9c2d8; border-radius: 999px; color: #596078; font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.orbit { --mx: 0px; --my: 0px; position: absolute; z-index: 1; right: max(-180px, calc((100vw - 1500px)/2)); top: 150px; width: 620px; aspect-ratio: 1; transform: translate3d(var(--mx), var(--my), 0); transition: transform .18s linear; }
.orbit-ring { position: absolute; inset: 8%; border: 1px solid rgba(128,81,111,.28); border-radius: 50%; animation: spin 26s linear infinite; }
.orbit-ring::before, .orbit-ring::after { content: ""; position: absolute; width: 13px; height: 13px; background: var(--orange); border: 5px solid var(--paper); border-radius: 50%; }
.orbit-ring::before { top: 10%; left: 16%; }
.orbit-ring::after { right: -7px; top: 48%; background: var(--aqua); }
.orbit-ring-two { inset: 22%; border-style: dashed; animation-direction: reverse; animation-duration: 18s; }
.orbit-ring-two::before { left: auto; right: 8%; top: 18%; background: var(--blue); }
.orbit-ring-two::after { left: 2%; top: 69%; background: var(--orange); }
.orbit-core { position: absolute; inset: 34%; display: grid; place-content: center; text-align: center; color: white; background: var(--ink); border-radius: 50%; box-shadow: var(--shadow); font: 600 .72rem/1.6 "Unbounded", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.orbit-core strong { color: var(--aqua); font-size: 2.2rem; line-height: 1; }
.orbit-card { position: absolute; padding: 18px 20px; border: 1px solid rgba(128,81,111,.16); border-radius: 17px; background: rgba(255,255,255,.83); box-shadow: 0 20px 45px rgba(60,35,50,.12); backdrop-filter: blur(12px); font-weight: 800; }
.card-code { left: 2%; bottom: 17%; color: var(--blue); font: 600 .88rem/1.55 monospace; transform: rotate(-7deg); }
.card-note { top: 11%; right: 4%; font: 600 .72rem/1.55 "Unbounded", sans-serif; transform: rotate(6deg); }
.hero-marquee { position: absolute; left: -2%; bottom: 20px; width: 104%; overflow: hidden; color: white; background: var(--ink); font: 600 .75rem/56px "Unbounded", sans-serif; letter-spacing: .18em; white-space: nowrap; transform: rotate(-1.5deg); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.hero-marquee span { flex: 0 0 auto; padding-right: 1.5rem; }

.intro { display: grid; grid-template-columns: minmax(120px, .22fr) minmax(0, 1fr); gap: 48px; padding-block: 112px; }
.section-label { color: var(--blue); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.intro h2 { max-width: 900px; margin: 0; font: 500 clamp(1.75rem, 2.65vw, 2.9rem)/1.3 "Unbounded", sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.intro h2 span { color: #8f7d89; }
.intro p { max-width: 680px; margin: 28px 0 0; color: var(--muted); font-size: 1.1rem; }

.services { padding-bottom: 150px; }
.section-head { display: grid; grid-template-columns: 1fr 360px; align-items: end; gap: 50px; margin-bottom: 56px; }
.section-head h2, .portfolio-head h2 { margin: 0; font: 600 clamp(2.3rem, 4vw, 4.5rem)/1.05 "Unbounded", sans-serif; letter-spacing: -.05em; }
.section-head > p { margin: 0; color: var(--muted); }
.section-kicker { color: var(--blue); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 500px; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.7); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-10px); border-color: var(--blue); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #bec6da; border-radius: 50%; color: var(--blue); font-size: 1.35rem; }
.service-number { position: absolute; top: 34px; right: 34px; margin: 0; color: #9ca6bc; font: 600 .8rem "Unbounded", sans-serif; }
.service-card h3 { margin: 88px 0 16px; font: 600 1.75rem "Unbounded", sans-serif; letter-spacing: -.04em; }
.service-card > p:not(.service-number) { margin: 0; color: var(--muted); }
.service-card ul { position: absolute; left: 34px; right: 34px; bottom: 32px; margin: 0; padding: 0; list-style: none; }
.service-card li { padding: 8px 0; border-top: 1px solid #dce1ec; font-size: .86rem; font-weight: 700; }

.portfolio { padding: 130px 0 90px; color: white; background: var(--ink); }
.portfolio-head { margin-bottom: 94px; }
.portfolio-head .section-kicker { color: var(--aqua); }
.project { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; gap: 72px; margin-bottom: 140px; }
.project-reverse { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
.project-copy { min-width: 0; }
.project-reverse .project-visual { order: 2; }
.project-visual { position: relative; display: block; padding: 48px 34px 34px; overflow: hidden; border-radius: 28px; box-shadow: 0 34px 80px rgba(0,0,0,.28); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.project-visual:hover { transform: translateY(-8px) scale(1.01); }
.project-visual img { width: 100%; height: auto; aspect-ratio: 40 / 27; object-fit: contain; object-position: center; border-radius: 0 0 13px 13px; box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.visual-blue { background: #8c697f; }
.visual-ink { background: #16171c; }
.visual-red { background: #b18772; }
.visual-silver { background: #898287; }
.browser-chrome { position: absolute; top: 18px; left: 34px; right: 34px; display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.7); font-size: .67rem; }
.browser-chrome i { width: 8px; height: 8px; background: rgba(255,255,255,.7); border-radius: 50%; }
.browser-chrome span { margin-left: 8px; }
.visit-badge { position: absolute; right: 50px; bottom: 50px; display: grid; place-items: center; width: 98px; height: 98px; color: var(--ink); background: var(--aqua); border-radius: 50%; font-size: .72rem; font-weight: 800; text-align: center; opacity: 0; transform: scale(.7) rotate(-12deg); transition: opacity .25s ease, transform .25s ease; }
.project-visual:hover .visit-badge { opacity: 1; transform: scale(1) rotate(-8deg); }
.project-index { margin: 0 0 24px; color: var(--aqua); font: 600 .72rem "Unbounded", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.project-copy h3 { margin: 0 0 22px; font: 600 clamp(2.8rem, 5vw, 5.4rem)/1 "Unbounded", sans-serif; letter-spacing: -.06em; }
.project-copy > p:not(.project-index) { margin: 0; color: #b8bfd2; font-size: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 30px; }
.tags span { border-color: #454d65; color: #aeb7cc; }

.process { padding-block: 150px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 100px 1fr; align-items: start; gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .25s ease, color .25s ease; }
.process-list li:hover { padding-left: 20px; color: var(--blue); }
.process-list li > span { color: var(--blue); font: 600 .76rem "Unbounded", sans-serif; }
.process-list h3 { margin: 0 0 8px; font: 600 1.5rem "Unbounded", sans-serif; }
.process-list p { margin: 0; color: var(--muted); }

.contact { position: relative; overflow: hidden; color: white; background: var(--blue); }
.contact-inner { position: relative; z-index: 2; padding-block: 130px; }
.contact .section-kicker { color: var(--aqua); }
.contact h2 { margin: 0; font: 600 clamp(3rem, 7.5vw, 8.5rem)/.94 "Unbounded", sans-serif; letter-spacing: -.07em; }
.contact h2 em { color: var(--aqua); font-style: normal; }
.contact-inner > p:not(.section-kicker, .contact-note) { max-width: 560px; font-size: 1.1rem; }
.button-light { color: var(--blue); background: white; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.58); }
.button-outline-light:hover { color: var(--ink); background: var(--aqua); border-color: var(--aqua); }
.contact-note { margin-top: 16px; color: rgba(255,255,255,.7); font-size: .78rem; }
.contact-orb { position: absolute; width: 700px; height: 700px; right: -180px; top: -130px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.contact-orb::before, .contact-orb::after { content: ""; position: absolute; inset: 90px; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; }
.contact-orb::after { inset: 210px; background: var(--aqua); border: 0; opacity: .9; }
.footer { min-height: 150px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 45px; color: var(--muted); font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1020px) {
  :root { --section: min(100% - 40px, 760px); }
  .nav { display: none; }
  .hero { min-height: 980px; align-items: start; padding-top: 150px; }
  .hero-copy { width: 100%; }
  .orbit { width: 520px; top: 510px; right: -80px; opacity: .78; }
  .intro { grid-template-columns: 1fr; gap: 30px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 420px; }
  .project, .project-reverse { grid-template-columns: 1fr; gap: 40px; margin-bottom: 110px; }
  .project-reverse .project-visual { order: 0; }
  .project-copy { max-width: 620px; }
}

@media (max-width: 620px) {
  :root { --section: calc(100vw - 32px); --radius: 22px; }
  .site-header { top: 10px; width: calc(100vw - 20px); min-height: 56px; padding-left: 12px; }
  .brand { font-size: .75rem; }
  .brand-mark { width: 32px; height: 32px; }
  .header-cta { padding: 10px 12px; font-size: .72rem; }
  .hero { min-height: 890px; padding: 125px 16px 100px; }
  .hero-title { font-size: clamp(2.2rem, 10.4vw, 2.7rem); line-height: 1.02; }
  .hero-lead { margin-top: 25px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-meta { margin-top: 35px; }
  .orbit { width: 430px; top: 530px; right: -180px; }
  .orbit-card { display: none; }
  .intro, .services, .process { padding-block: 100px; }
  .intro h2 { font-size: 1.7rem; line-height: 1.35; }
  .section-head { margin-bottom: 36px; }
  .section-head h2, .portfolio-head h2 { font-size: 2.4rem; }
  .service-card { min-height: 440px; padding: 26px; }
  .service-card ul { left: 26px; right: 26px; }
  .portfolio { padding-top: 90px; }
  .portfolio-head { margin-bottom: 58px; }
  .project { gap: 30px; margin-bottom: 85px; }
  .project-visual { padding: 38px 16px 16px; border-radius: 20px; }
  .browser-chrome { top: 14px; left: 17px; }
  .visit-badge { display: none; }
  .project-copy h3 { font-size: 2.65rem; }
  .process-list li { grid-template-columns: 48px 1fr; gap: 15px; }
  .contact-inner { padding-block: 100px; }
  .contact h2 { font-size: 3.1rem; }
  .contact-orb { opacity: .35; }
  .footer { grid-template-columns: 1fr; gap: 15px; padding-block: 45px; }
  .footer p { margin: 0; }
}

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

@media (forced-colors: active) {
  * { scrollbar-color: ButtonText Canvas; }
  .button, .service-card, .site-header { border: 1px solid ButtonText; }
}
