:root {
  --ink: #3f294f;
  --ink-soft: rgba(63, 41, 79, 0.68);
  --line: rgba(93, 53, 109, 0.16);
  --pink: #ff9a9e;
  --soft-pink: #fecfef;
  --violet: #a18cd1;
  --deep-violet: #4b315c;
  --font-sans: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-display: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--soft-pink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
[hidden] { display: none !important; }

.digitara-app {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, .52), transparent 25rem),
    radial-gradient(circle at 86% 30%, rgba(161, 140, 209, .32), transparent 28rem),
    linear-gradient(122deg, var(--pink) 0%, var(--soft-pink) 47%, #f6c4e3 100%);
}
.digitara-app::before,
.digitara-app::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
  opacity: .58;
  animation: drift 18s ease-in-out infinite alternate;
  transform: translate3d(0, 0, 0);
}
.digitara-app::before {
  width: 40vw; height: 40vw; top: 18vh; left: -14vw;
  background: radial-gradient(circle, rgba(255, 246, 250, .46), rgba(255, 154, 158, 0));
}
.digitara-app::after {
  width: 48vw; height: 48vw; right: -18vw; bottom: -8vw;
  background: radial-gradient(circle, rgba(161, 140, 209, .42), rgba(251, 194, 235, 0));
  animation-delay: -8s;
}

.studio-nav {
  position: sticky;
  z-index: 20;
  top: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem .78rem .72rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 999px;
  background: rgba(255, 245, 250, .48);
  box-shadow: 0 18px 50px rgba(102, 51, 119, .1);
  backdrop-filter: blur(20px);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .66rem;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: -.035em;
}
.brand-orbit {
  display: grid;
  width: 2rem; height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: #fff3f8;
  box-shadow: inset 0 0 0 5px rgba(161, 140, 209, .28);
  font-size: .72rem;
  font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: .22rem; }
.nav-link {
  position: relative;
  padding: .55rem .78rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--ink);
  background: rgba(255, 255, 255, .42);
  transform: translateY(-1px);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  right: .78rem; bottom: .23rem; left: .78rem;
  height: 2px;
  border-radius: 9px;
  background: var(--violet);
}
.nav-contact, .button-primary, .button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .58rem;
  border-radius: 999px;
  font-size: .79rem;
  font-weight: 800;
  transition: transform 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
}
.nav-contact {
  padding: .6rem .9rem;
  color: #fff5fa;
  background: var(--deep-violet);
  font-size: .74rem;
}
.nav-contact:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(75, 49, 92, .24); }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mobile-menu { display: none; }

.page-shell { position: relative; width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4.8rem, 9vw, 8.4rem) 0 0; }
.view-panel { animation: view-in 660ms cubic-bezier(.22, 1, .36, 1) both; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(290px, .92fr); align-items: center; gap: clamp(2.5rem, 8vw, 7rem); }
.hero-copy { animation: rise-in 780ms 100ms both cubic-bezier(.22, 1, .36, 1); }
.eyebrow {
  display: flex; align-items: center; gap: .62rem;
  color: rgba(63, 41, 79, .63);
  font-size: .7rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; width: 1.9rem; height: 1px; background: rgba(63, 41, 79, .48); }
.display-title, .section-title, .service-name, .principle h3, .manifesto-line, .detail-link, .detail-text, .footer-prompt {
  font-family: var(--font-display);
}
.display-title {
  max-width: 780px;
  margin: 1.35rem 0 0;
  font-size: clamp(3.5rem, 9.8vw, 8.8rem);
  font-weight: 700;
  letter-spacing: -.085em;
  line-height: .9;
}
.display-title em { color: #9a7cc9; font-style: normal; }
.lede { max-width: 510px; margin-top: 2rem; color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.65; }
.button-row { display: flex; align-items: center; gap: .8rem; margin-top: 2rem; flex-wrap: wrap; }
.button-primary, .button-ghost { min-height: 2.85rem; padding: .72rem 1.06rem; }
.button-primary { color: #fff6fb; background: var(--deep-violet); box-shadow: 0 12px 24px rgba(75, 49, 92, .16); }
.button-ghost { color: var(--ink); background: rgba(255, 247, 251, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .48); }
.button-primary:hover, .button-ghost:hover { transform: translateY(-3px); }
.button-primary:hover { box-shadow: 0 16px 30px rgba(75, 49, 92, .24); }

.hero-art-wrap { position: relative; min-height: 500px; animation: rise-in 900ms 220ms both cubic-bezier(.22, 1, .36, 1); }
.hero-art {
  position: absolute; top: 4%; right: 2%;
  width: min(100%, 440px); aspect-ratio: .85; overflow: hidden;
  border-radius: 46% 54% 58% 42% / 38% 44% 56% 62%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 249, 252, .9) 0 3%, transparent 3.5%),
    radial-gradient(circle at 70% 68%, rgba(255, 255, 255, .7) 0 8%, transparent 8.5%),
    linear-gradient(145deg, #a18cd1 0%, #d2b0e0 35%, #ffb9cb 72%, #fecfef 100%);
  box-shadow: 24px 28px 60px rgba(123, 72, 142, .2);
  transform: rotate(5deg);
}
.hero-art::before {
  content: ""; position: absolute; width: 70%; height: 70%; top: 16%; left: 14%;
  border: 1px solid rgba(255, 255, 255, .58); border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(255, 255, 255, .09), 0 0 0 60px rgba(255, 255, 255, .06);
  animation: orbit 18s linear infinite;
}
.hero-art::after {
  content: "DT"; position: absolute; right: 10%; bottom: 10%; color: rgba(255, 247, 251, .72);
  font-family: var(--font-display); font-size: clamp(4rem, 10vw, 8rem); font-weight: 800; letter-spacing: -.13em;
}
.floating-note {
  position: absolute; z-index: 2; display: flex; flex-direction: column; gap: .42rem;
  padding: 1rem; border-radius: 1.05rem;
  background: rgba(255, 247, 251, .64); box-shadow: 0 18px 34px rgba(99, 54, 115, .14);
  backdrop-filter: blur(14px); animation: bob 7s ease-in-out infinite;
}
.floating-note.note-a { top: 13%; left: -4%; }
.floating-note.note-b { right: -2%; bottom: 12%; animation-delay: -3s; }
.note-kicker { color: rgba(63, 41, 79, .54); font-size: .61rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.note-value { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; letter-spacing: -.04em; }

.section-block { padding: clamp(6rem, 12vw, 10rem) 0 0; }
.view-intro { animation: rise-in 720ms 80ms both cubic-bezier(.22, 1, .36, 1); }
.section-heading { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.section-title { max-width: 600px; margin: 0; font-size: clamp(2.7rem, 6vw, 5.7rem); font-weight: 700; letter-spacing: -.075em; line-height: .96; }
.section-intro { max-width: 520px; margin: .35rem 0 0; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.7; }
.principles { display: grid; grid-template-columns: 1.4fr .82fr .82fr; gap: 1px; margin-top: 4rem; background: var(--line); }
.principle { min-height: 230px; padding: 1.65rem; background: rgba(255, 247, 251, .23); }
.principle:first-child { background: rgba(255, 247, 251, .42); }
.principle-index { color: #8b6cb8; font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.principle h3 { max-width: 230px; margin: 4rem 0 .8rem; font-size: 1.55rem; letter-spacing: -.055em; }
.principle p { max-width: 255px; margin: 0; color: var(--ink-soft); font-size: .83rem; line-height: 1.6; }

.services-list { margin-top: 3.8rem; }
.service-item {
  display: grid; grid-template-columns: .24fr 1fr auto; align-items: center; gap: 1rem;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
  transition: padding 260ms ease, background-color 260ms ease;
}
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-item:hover { padding-right: 1rem; padding-left: 1rem; background: rgba(255, 247, 251, .28); }
.service-number { color: #8b6cb8; font-size: .75rem; font-weight: 800; }
.service-name { margin: 0; font-size: clamp(1.45rem, 3.2vw, 2.45rem); letter-spacing: -.06em; }
.service-detail { max-width: 250px; margin: 0; color: var(--ink-soft); font-size: .83rem; line-height: 1.5; }
.service-arrow {
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%;
  color: #fff6fb; background: var(--violet); transition: transform 240ms ease;
}
.service-arrow svg { width: 1.05rem; height: 1.05rem; }
.service-item:hover .service-arrow { transform: rotate(-35deg); }

.manifesto { position: relative; padding: clamp(3rem, 7vw, 6rem) 0; overflow: hidden; }
.manifesto-line { display: block; font-size: clamp(2.4rem, 7.3vw, 7.7rem); font-weight: 700; letter-spacing: -.09em; line-height: .9; }
.manifesto-line:nth-child(2) { padding-left: clamp(2rem, 16vw, 14rem); color: #a18cd1; }
.manifesto-line:nth-child(3) { padding-left: clamp(.5rem, 7vw, 6rem); }
.manifesto-orbit { position: absolute; right: 4%; bottom: 6%; width: clamp(5rem, 12vw, 9rem); aspect-ratio: 1; border: 1px solid rgba(63, 41, 79, .28); border-radius: 50%; transform: rotate(-12deg); }
.manifesto-orbit::after { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(63, 41, 79, .27); border-radius: 50%; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.contact-title { max-width: 560px; }
.contact-details { display: grid; gap: 1.2rem; margin-top: 3rem; }
.detail-label { display: flex; align-items: center; gap: .35rem; color: rgba(63, 41, 79, .52); font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.detail-label svg { width: .8rem; height: .8rem; }
.detail-link, .detail-text { display: block; margin-top: .42rem; color: var(--ink); font-size: 1.08rem; font-weight: 700; letter-spacing: -.035em; }
.contact-form { padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 1.5rem; background: rgba(255, 247, 251, .42); box-shadow: 0 24px 60px rgba(110, 52, 124, .12); backdrop-filter: blur(14px); }
.field { display: grid; gap: .5rem; margin-bottom: 1.15rem; }
.field label { color: rgba(63, 41, 79, .7); font-size: .72rem; font-weight: 800; }
.field input, .field textarea {
  width: 100%; padding: .92rem 0; border: 0; border-bottom: 1px solid rgba(63, 41, 79, .23);
  outline: 0; resize: vertical; color: var(--ink); background: transparent; font: inherit; font-size: .93rem;
  transition: border-color 220ms ease;
}
.field input:focus, .field textarea:focus { border-color: #8b6cb8; }
.field input::placeholder, .field textarea::placeholder { color: rgba(63, 41, 79, .45); }
.form-status { padding: .9rem 1rem; border-radius: .85rem; color: var(--deep-violet); background: rgba(255, 255, 255, .42); font-size: .8rem; line-height: 1.5; }
.form-status a { font-weight: 800; text-decoration: underline; text-underline-offset: .15em; }
.form-status .button-row { margin-top: 1rem; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: clamp(7rem, 13vw, 12rem); padding: 1.4rem 0 1.5rem; border-top: 1px solid var(--line); color: rgba(63, 41, 79, .63); font-size: .7rem; }
.footer-prompt { font-size: .93rem; font-weight: 800; letter-spacing: -.03em; }

@keyframes drift { from { transform: translate3d(-2%, -2%, 0) scale(1); } to { transform: translate3d(5%, 4%, 0) scale(1.08); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); } 50% { transform: translate3d(0, -10px, 0) rotate(1deg); } }
@keyframes rise-in { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes view-in { from { opacity: 0; transform: translate3d(28px, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }

@media (max-width: 760px) {
  .studio-nav { top: .65rem; margin-top: .65rem; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + .5rem); right: 0; left: 0;
    flex-direction: column; align-items: stretch; padding: .5rem; border-radius: 1.25rem;
    background: rgba(255, 245, 250, .88); box-shadow: 0 18px 40px rgba(102, 51, 119, .15); backdrop-filter: blur(18px);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: .75rem .9rem; }
  .nav-contact { display: none; }
  .mobile-menu { display: grid; width: 2.3rem; height: 2.3rem; place-items: center; border-radius: 50%; color: var(--ink); background: rgba(255, 255, 255, .4); }
  .mobile-menu .close-icon { display: none; }
  .mobile-menu.is-open .menu-icon { display: none; }
  .mobile-menu.is-open .close-icon { display: block; }
  .page-shell { width: min(100% - 1.5rem, 1180px); padding-top: 4.2rem; }
  .hero-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-art-wrap { min-height: 370px; margin-top: -.5rem; }
  .hero-art { right: 5%; width: min(82vw, 360px); }
  .floating-note.note-a { left: 0; }
  .floating-note.note-b { right: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .principles { grid-template-columns: 1fr; gap: 1px; }
  .principle { min-height: 0; padding: 1.35rem; }
  .principle h3 { margin-top: 2.5rem; }
  .service-item { grid-template-columns: .25fr 1fr auto; }
  .service-detail { display: none; }
  .manifesto-orbit { right: -2%; bottom: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}