.icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
body.deep header.g-bar .icon,
body.deep header.g-bar .icon path,
body.deep header.g-bar .icon circle,
body.deep header.g-bar .icon rect,
body.deep header.g-bar .icon line,
.g-foot .icon,
.g-foot .icon path,
.g-foot .icon circle,
.g-foot .icon rect,
.g-foot .icon line {
  fill: none !important;
  stroke: currentColor;
  width: 16px;
  height: 16px;
}

.g-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 50;
  pointer-events: none;
  background: transparent;
}
.g-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: currentColor;
  color: var(--fg);
}

.g-exp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.g-exp .icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.g-bar-end {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 60;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.85rem;
  transform: translateY(-200%);
}
.skip:focus,
.skip:focus-visible {
  transform: none;
}

.g-icon-btn {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0;
}
.g-icon-btn:hover,
.g-icon-btn:focus-visible {
  color: var(--fg);
  background: var(--line);
}

.g-lang {
  width: auto;
  padding: 0 0.7rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.g-now,
.g-studio,
.g-years {
  width: min(100% - 3rem, 64rem);
  margin: 0 auto 9.5rem;
}
.g-demos,
body.deep #work.g-demos,
.g-contact,
body.deep #contact.g-contact {
  margin-bottom: 9.5rem;
}
.g-hero {
  padding-bottom: 9.5rem;
}
.g-now .g-section-head h2 {
  margin: 0;
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--fg);
}

.g-hero .g-years {
  width: auto;
  margin: 1.1rem auto 0;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  justify-content: center;
}
.g-years .t-digit {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.g-years span[data-i18n] {
  color: var(--muted);
  font-size: 1rem;
}

.g-section-lede {
  margin: 0 0 2.4rem !important;
  max-width: 46rem;
  text-align: left;
}

.g-now-list {
  display: flex;
  flex-direction: column;
}
.g-now-row {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}
.g-now-row:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 18rem;
}
.g-now-row:nth-child(even) .g-now-logo {
  order: 2;
}
.g-now-row:nth-child(even) .g-now-copy {
  order: 1;
}
.g-now-logo {
  display: grid;
  place-items: center;
  min-height: 10rem;
  height: 10rem;
  padding: 1.75rem 1.5rem;
  border-radius: 24px;
  background: #f4f4f5;
  text-decoration: none;
}
.g-now-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 3.4rem;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none;
  background: none;
  padding: 0;
}
.g-now-logo img.is-pakt {
  height: 5.5rem;
  width: 5.5rem;
  max-width: 5.5rem;
  max-height: 5.5rem;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
}
.g-now-role {
  margin: 0 0 0.4rem !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2) !important;
}
.g-now-copy h3 {
  margin: 0 0 0.7rem;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
}
.g-now-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 42rem;
}
.g-now-url {
  color: var(--fg);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.g-now-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-height: 0;
  padding: 1.25rem 1.2rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  text-decoration: none;
  color: var(--fg);
}
.g-now-card img {
  height: 2.15rem;
  width: auto;
  max-width: 100%;
  display: block;
  filter: none;
  background: #f4f4f5;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  margin-bottom: 0.35rem;
}
.g-now-card img.is-pakt {
  height: 3.4rem;
  width: 3.4rem;
  object-fit: cover;
  background: #000;
  padding: 0;
  border-radius: 12px;
}
.g-now-card strong {
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}
.g-now-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}
.g-now-url {
  color: var(--muted-2);
  font-size: 0.82rem;
}
.g-now-url:hover,
.g-now-url:focus-visible,
.g-demo-meta a:hover,
.g-demo-meta a:focus-visible,
.g-section-head a:hover,
.g-section-head a:focus-visible,
.g-contact-links a:hover,
.g-contact-links a:focus-visible {
  color: var(--fg);
}
html[data-theme="light"] .g-now-url:hover,
html[data-theme="light"] .g-now-url:focus-visible,
html[data-theme="light"] .g-demo-meta a:hover,
html[data-theme="light"] .g-demo-meta a:focus-visible,
html[data-theme="light"] .g-section-head a:hover,
html[data-theme="light"] .g-section-head a:focus-visible,
html[data-theme="light"] .g-contact-links a:hover,
html[data-theme="light"] .g-contact-links a:focus-visible,
html[data-theme="light"] .g-contact-channels a:hover,
html[data-theme="light"] .g-contact-channels a:focus-visible,
html[data-theme="light"] .g-contact-channels a:hover span:last-child,
html[data-theme="light"] .g-contact-channels a:focus-visible span:last-child {
  color: #18181b;
}
html[data-theme="light"] .g-contact-channels a {
  color: #18181b;
  border-color: rgba(0, 0, 0, 0.08);
}
body.deep header.g-bar .g-brand {
  background: #fafafa !important;
  width: 2.5rem;
  height: 2.5rem;
}
body.deep header.g-bar .g-brand .mark {
  width: 1.75rem;
  color: #18181b;
}
body.deep header.g-bar .g-brand .mark path,
body.deep header.g-bar .g-brand .mark rect {
  fill: currentColor !important;
}
html[data-theme="light"] body.deep header.g-bar .g-brand,
html[data-theme="light"] .g-brand {
  background: #18181b !important;
}
html[data-theme="light"] body.deep header.g-bar .g-brand .mark,
html[data-theme="light"] body.deep header.g-bar .g-brand .mark path,
html[data-theme="light"] body.deep header.g-bar .g-brand .mark rect {
  color: #fafafa;
  fill: currentColor !important;
}

.icon-x,
.g-foot .icon-x,
.g-foot .icon-x path {
  fill: currentColor !important;
  stroke: none !important;
}

html.deep {
  overflow-x: clip;
}

#work,
#now,
#studio,
#contact,
.g-now,
.g-studio,
.g-demos,
.g-contact {
  scroll-margin-top: 5.5rem;
}

body.deep #contact.g-contact,
.g-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 5rem);
  align-items: start;
  max-width: none;
  width: min(100% - 3rem, 64rem);
  margin-left: auto;
  margin-right: auto;
}
.g-contact-copy,
body.deep #contact.g-contact form,
.g-contact form {
  min-width: 0;
}
body.deep #contact.g-contact h2,
.g-contact-copy h2 {
  margin: 0 0 0.85rem;
}
body.deep .g-contact .g-lede {
  margin: 0 0 1rem;
  max-width: 36rem;
  text-align: left;
}
.g-contact-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 36rem;
}
.g-contact-links {
  display: flex;
  gap: 1.25rem;
  margin: 1.4rem 0 0;
}
.g-contact-links a {
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
}
.g-contact-links a:hover,
.g-contact-links a:focus-visible {
  text-decoration: underline;
}
.g-contact-channels {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  max-width: 36rem;
}
.g-contact-channels a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
}
.g-contact-channels li:last-child a {
  border-bottom: 1px solid var(--line);
}
.g-contact-channels a span:last-child {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.g-contact-channels a:hover,
.g-contact-channels a:focus-visible {
  color: var(--fg);
}
.g-contact-channels a:hover span:last-child,
.g-contact-channels a:focus-visible span:last-child {
  color: var(--fg);
}
body.deep #contact.g-contact form,
.g-contact form {
  grid-column: auto;
  grid-row: auto;
  max-width: none;
  width: 100%;
  padding: 1.7rem;
}
.g-contact .t-success-check[data-state="out"] {
  display: none;
}
.g-contact .info:empty {
  display: none;
}
.g-contact .info {
  margin: 0;
}
.g-contact textarea.t-input {
  min-height: 8rem;
  resize: vertical;
  font: inherit;
}
body.deep #contact.g-contact form {
  gap: 0.7rem;
}
body.deep #contact.g-contact .t-error-msg {
  display: none;
  margin: 0;
  height: auto;
}
body.deep #contact.g-contact .t-input-wrap.is-error .t-error-msg {
  display: block;
  margin: 0.25rem 0 0;
}
html.deep body.deep #contact.g-contact input,
html.deep body.deep #contact.g-contact textarea {
  background: #09090b;
  color: #fafafa;
  border: 1px solid #27272a;
  border-bottom: 1px solid #27272a;
  border-radius: 10px;
  box-shadow: none;
}
html.deep[data-theme="light"] body.deep #contact.g-contact input,
html.deep[data-theme="light"] body.deep #contact.g-contact textarea {
  background: #fff;
  color: #18181b;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
html.deep[data-theme="light"] body.deep #contact.g-contact input:focus,
html.deep[data-theme="light"] body.deep #contact.g-contact textarea:focus {
  border-color: #18181b;
  border-bottom-color: #18181b;
  outline: 2px solid #18181b;
  outline-offset: 2px;
}

.g-project {
  width: min(100% - 2.5rem, 48rem);
  margin: 3rem auto 4rem;
}
.g-project h1 {
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 1.25rem;
  color: var(--fg);
}
.g-project img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  outline: 1px solid oklch(1 0 0 / 0.1);
}
.g-project .g-project-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.6rem;
}

.t-acc {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  margin-top: 0.75rem;
}
.t-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  text-align: left;
}
.t-acc-panel-inner {
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}
.t-acc-chevron svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.t-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
}

html[data-theme="dark"] {
  --tt-bg: #18181b;
  --tt-fg: #fafafa;
  --tabs-bar-bg: #18181b;
  --tabs-pill-bg: #27272a;
  --tabs-text-muted: #a1a1aa;
  --tabs-text-active: #fafafa;
}
html[data-theme="light"] {
  --tt-bg: #ffffff;
  --tt-fg: #18181b;
  --tabs-bar-bg: #ececef;
  --tabs-pill-bg: #ffffff;
  --tabs-text-muted: #71717a;
  --tabs-text-active: #111;
}

html[data-theme="light"] body.deep header.g-bar,
html[data-theme="light"] .g-bar {
  background: var(--bar);
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .g-card,
html[data-theme="light"] .t-acc,
html[data-theme="light"] body.deep #contact.g-contact form {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] body.deep #work.g-demos h2,
html[data-theme="light"] body.deep section#work h2,
html[data-theme="light"] body.deep section#articles h2,
html[data-theme="light"] body.deep section#contact h2,
html[data-theme="light"] .g-section-head h2,
html[data-theme="light"] .g-now .g-section-head h2,
html[data-theme="light"] .g-writing h2,
html[data-theme="light"] .g-contact h2,
html[data-theme="light"] body.deep #work.g-archive h1,
html[data-theme="light"] body.deep #work.g-archive h2 {
  color: #18181b;
}
html[data-theme="light"] .g-foot {
  border-top-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .g-foot p,
html[data-theme="light"] .g-foot-links a {
  color: #52525b;
}
html[data-theme="light"] .g-title,
html[data-theme="light"] .g-title .t-stagger-line,
html[data-theme="light"] .g-title .char {
  color: #18181b;
}
html[data-theme="light"] .g-lede {
  color: #52525b;
}
html[data-theme="light"] .g-lede a,
html[data-theme="light"] .g-demo-meta strong,
html[data-theme="light"] .g-section-head h2,
html[data-theme="light"] .g-writing h2,
html[data-theme="light"] .g-contact h2,
html[data-theme="light"] .g-card h2,
html[data-theme="light"] .g-writing a {
  color: #18181b;
}
html[data-theme="light"] .g-pills a,
html[data-theme="light"] .g-demo-meta a,
html[data-theme="light"] .g-section-head a,
html[data-theme="light"] .g-card p,
html[data-theme="light"] .g-now-copy p {
  color: #52525b;
}
html[data-theme="light"] .g-now-copy h3 {
  color: #18181b;
}
html[data-theme="light"] .btn-fill {
  background: linear-gradient(#27272a, #18181b);
  color: #fafafa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
html[data-theme="light"] .btn-ghost {
  background: #fff;
  color: #18181b;
  border-color: rgba(0, 0, 0, 0.1);
}
.btn-fill:hover,
.btn-fill:focus-visible {
  color: #09090b;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #27272a;
  color: #fafafa;
  border-color: rgba(255, 255, 255, 0.22);
}
html[data-theme="light"] .btn-fill:hover,
html[data-theme="light"] .btn-fill:focus-visible {
  color: #fafafa;
}
html[data-theme="light"] .btn-ghost:hover,
html[data-theme="light"] .btn-ghost:focus-visible {
  background: #f4f4f5;
  color: #18181b;
  border-color: rgba(0, 0, 0, 0.16);
}
html[data-theme="light"] .g-watermark {
  color: #000;
  opacity: 0.05;
}
html[data-theme="light"] .g-bar {
  background: var(--bar);
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .g-brand {
  background: #18181b !important;
}
html[data-theme="light"] .g-contact input,
html[data-theme="light"] .g-contact textarea,
html[data-theme="light"] body.deep #contact.g-contact form {
  background: #fff;
  color: #18181b;
  border-color: rgba(0, 0, 0, 0.1);
}
html[data-theme="light"] .g-studio .logo-dock img {
  filter: none;
}
html[data-theme="light"] .g-now-logo {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .cursor {
  background: #18181b;
  mix-blend-mode: difference;
}
html[data-theme="light"] .orb {
  opacity: 0.45;
}

.g-demo-grid .g-demo {
  animation: g-grid-in 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.g-demo-grid .g-demo:nth-child(2) { animation-delay: 80ms; }
.g-demo-grid .g-demo:nth-child(3) { animation-delay: 160ms; }
@keyframes g-grid-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) {
  z-index: 2;
  animation: mn-vt-clip 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes mn-vt-clip {
  from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 40px)); }
  to { clip-path: circle(150% at var(--vt-x, 50%) var(--vt-y, 40px)); }
}

@media (max-width: 860px) {
  html.deep {
    font-size: 18px;
  }
  .g-demo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .g-now-row,
  .g-now-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 2rem 0;
  }
  .g-now-row:nth-child(even) .g-now-logo,
  .g-now-row:nth-child(even) .g-now-copy {
    order: 0;
  }
  body.deep #contact.g-contact,
  .g-contact {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  body.deep header.g-bar.g-bar,
  .g-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.35rem;
  }
  .g-pills {
    min-width: 0;
    justify-content: flex-end;
    gap: 0;
  }
  .g-bar-end {
    display: flex !important;
    flex-shrink: 0;
  }
  .g-icon-btn {
    width: 1.9rem;
    height: 1.9rem;
  }
  .g-bar-end a.g-icon-btn {
    display: none;
  }
  .g-pills a {
    position: relative;
  }
  .g-pills a span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .g-pills a {
    padding: 0.4rem 0.45rem;
  }
  .g-lang {
    min-width: 2rem;
    padding: 0;
    font-size: 0.65rem;
  }
}

@media (max-width: 520px) {
  .g-demo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html.deep {
    font-size: 17px;
  }
  .g-now-logo {
    min-height: 7rem;
  }
  body.deep header.g-bar,
  .g-bar {
    width: min(100% - 1rem, 64rem);
    top: 0.5rem;
    padding: 0.3rem 0.35rem;
    gap: 0.2rem;
  }
  .g-brand,
  body.deep header.g-bar .g-brand {
    width: 2rem;
    height: 2rem;
  }
  body.deep header.g-bar .g-brand .mark {
    width: 1.35rem;
  }
}

.g-demo-meta {
  align-items: flex-start;
  gap: 1rem;
}
.g-demo-meta p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 400;
  max-width: 22rem;
}

.g-about {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}
.g-about-photo img,
.g-studio .g-about .avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  outline: 1px solid var(--line);
}
.g-about-role {
  margin: 0 0 1rem;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.2;
}
.g-about-copy p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 42rem;
}
.g-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.6rem 0 0;
  padding: 0;
}
.g-chips li {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
}

html[data-theme="light"] .g-about-role,
html[data-theme="light"] .g-now-role,
html[data-theme="light"] .g-chips li,
html[data-theme="light"] .g-contact-links a,
html[data-theme="light"] .g-demo-meta p {
  color: #18181b;
}
html[data-theme="light"] .g-now-role {
  color: #52525b;
}
html[data-theme="light"] .g-about-copy p,
html[data-theme="light"] .g-contact-copy p,
html[data-theme="light"] .g-demo-meta p {
  color: #52525b;
}

@media (max-width: 860px) {
  .g-about {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .g-about-photo {
    max-width: 18rem;
  }
  .g-demo-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .g-demo-grid .g-demo { animation: none !important; }
  ::view-transition-new(root) { animation: none !important; }
}
