:root {
  color-scheme: light;
  --paper: #e8e7fa;
  --ice: #dadbf5;
  --ink: #1b1a25;
  --violet: #6024de;
  --lavender: #c6b6f5;
  --section-fade: clamp(2.75rem, 6vw, 5.5rem);
  --lime: #ddf94c;
  --line: #292636;
  --gutter: clamp(1.2rem, 3.35vw, 3.3rem);
  --shell: 96rem;
  --display: "Arial Black", system-ui, sans-serif;
  --mono: ui-monospace, "DejaVu Sans Mono", monospace;
  font: 100%/1.55 system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
main { min-height: 60vh; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.inquiry :focus-visible { outline-color: var(--lime); }
h1, h2, h3 { font: 900 1rem/.99 var(--display); letter-spacing: -.067em; margin: 0; }
h1 { font-size: clamp(3rem, 5.6vw, 6rem); }
h2 { font-size: clamp(2.15rem, 4.2vw, 4.6rem); }
h3 { font-size: clamp(1.5rem, 2.65vw, 3.1rem); }
p { margin: 0; }
h1 + p, h2 + p, h3 + p { margin-top: .85rem; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 20; padding: .7rem 1rem; background: var(--lime); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--gutter); }
.section-pad { padding-block: clamp(2.2rem, 4.6vw, 4.9rem); }
.mono { font-family: var(--mono); }
.site-header, .site-footer { background: var(--ice); }
.header-inner, .footer-inner { min-height: 5.45rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: block; width: clamp(6.2rem, 10vw, 9rem); flex-shrink: 0; }
.brand img { width: 100%; }
#primary-nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 3.6rem); }
#primary-nav a, .site-footer a { font-weight: 750; text-decoration: none; }
#primary-nav a[aria-current], #primary-nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .65rem 1.2rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 760; text-align: center; text-decoration: none; line-height: 1.25; transition: background-color .15s, color .15s; }
.button:hover { background: var(--violet); border-color: var(--violet); color: white; }
.button.outline { background: transparent; color: var(--ink); }
.button.outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button.lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.button.lime:hover { background: var(--paper); border-color: var(--paper); }
.button:disabled { opacity: .65; cursor: default; }
.menu-toggle { display: none; }
.hero { background: radial-gradient(ellipse 62% 50% at 77% 50%, #cdc4f0, transparent), var(--ice); overflow: clip; }
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  min-height: clamp(28.5rem, 39vw, 40rem);
  padding-block: clamp(2rem, 3.6vw, 3.8rem);
}
.hero-copy { grid-area: 1 / 1 / 2 / 8; position: relative; z-index: 1; }
.eyebrow { font-size: .875rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: clamp(1.15rem, 2.1vw, 2.2rem); }
.hero-art { grid-area: 1 / 6 / 2 / -1; justify-self: end; width: min(100%, 42rem); height: auto; max-height: clamp(22rem, 40vw, 35rem); object-fit: contain; object-position: right center; filter: drop-shadow(0 .9rem .9rem #29186229); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: clamp(1.5rem, 2.8vw, 3rem); }
.hero-actions .button { padding-inline: clamp(.7rem, 2.25vw, 2rem); }
.mobile-action { display: none; }
.services > div > h2 { margin-bottom: clamp(1.25rem, 2.4vw, 2.45rem); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 1.4vw, 1.5rem); }
.project-card { border: 1px solid var(--line); text-decoration: none; display: block; overflow: hidden; }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-caption { border-top: 1px solid var(--line); padding: .85rem 1rem 1rem; transition: background-color .15s; }
.project-caption p { font-size: .875rem; margin-top: .3rem; }
.project-card:hover .project-caption { background: var(--lime); }
.project-card:focus-visible { outline-offset: -3px; }
.selected { padding-block: clamp(1.4rem, 3.35vw, 3.5rem); }
.work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  margin-bottom: clamp(.85rem, 2vw, 1.85rem);
}
.work-navigation { display: flex; align-items: center; gap: .9rem; }
.work-navigation > a { font-weight: 700; text-underline-offset: .2em; }
.work-controls { display: flex; gap: .35rem; }
.work-controls button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
}
.work-controls button:hover:not([aria-disabled="true"]) { background: var(--lime); }
.work-controls button[aria-disabled="true"] { opacity: .48; cursor: default; }
.work-rail {
  --rail-gutter: max(var(--gutter), calc((100% - var(--shell)) / 2 + var(--gutter)));
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  gap: clamp(.7rem, 1.35vw, 1.35rem);
  padding: 0 var(--rail-gutter) .55rem;
  scroll-padding-inline: var(--rail-gutter);
  scrollbar-color: var(--violet) var(--paper);
}
.work-rail .project-card { flex: 0 0 clamp(14rem, 30vw, 28rem); }
.work-rail .project-card img { max-height: 38vh; }
.work-rail .project-caption h3 { font-size: clamp(1.1rem, 2vw, 1.8rem); }
.work-rail:focus-visible { outline-offset: -4px; }
.services { background: linear-gradient(to bottom, var(--ice), var(--paper)); }
.quick-links { background: linear-gradient(to bottom, var(--paper), var(--ice) 50%, var(--paper)); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 1.6vw, 1.5rem); }
.service { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); }
.service:first-child { background: var(--ink); color: var(--paper); }
.service-art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.service-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(1.2rem, 2.6vw, 2.15rem); }
.service :is(h2, h3) { font-size: clamp(1.55rem, 2.7vw, 3.1rem); }
.service p { max-width: 45ch; }
.service p + p { margin-top: .8rem; }
.service ul { padding-left: 1.1rem; }
.service .button { margin-top: auto; }
.service-link { display: inline-flex; align-items: center; min-height: 2.75rem; text-underline-offset: .22em; font-weight: 740; margin-top: .55rem; }
.service:first-child .service-link { color: var(--lime); }
.service:first-child :focus-visible { outline-color: var(--lime); }
.service:first-child .button.outline { border-color: var(--paper); color: var(--paper); }
.service:first-child .button.outline:hover { border-color: var(--lime); color: var(--ink); background: var(--lime); }
.about { background: var(--paper); color: var(--ink); }
.about-grid { display: grid; grid-template-columns: minmax(0, 53fr) minmax(0, 47fr); align-items: center; gap: clamp(1.75rem, 5.4vw, 6rem); }
.about-copy :is(h1, h2) { font-size: clamp(2.45rem, 5vw, 5.5rem); }
.about-copy > p:not(.about-role) { font-size: clamp(1.05rem, 1.5vw, 1.4rem); max-width: 39ch; }
.about-role { color: var(--violet); font-size: .875rem; margin-bottom: .8rem; }
.about-copy .button { margin-top: 1.4rem; }
.about-art { position: relative; width: min(100%, 31rem); justify-self: end; padding: .55rem clamp(1rem, 5%, 2rem) 1rem .55rem; border: 1px solid #a989ff; background: #31245a; }
.about-portrait { width: 100%; height: auto; border: 1px solid var(--ink); }
.about-proof { position: absolute; bottom: -.7rem; right: -.25rem; width: 37%; height: auto; border: 1px solid #a989ff; box-shadow: 0 .2rem .65rem #110b29a8; }
.quick-links h2 { font-size: clamp(1.65rem, 2.5vw, 2.45rem); margin-bottom: clamp(1.25rem, 2.75vw, 2.75rem); }
.folder-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.folder-grid a { display: grid; justify-items: center; align-content: start; gap: .55rem; padding: .45rem .25rem .7rem; text-align: center; text-decoration: none; font: 500 .9rem/1.4 var(--mono); }
.folder-grid img { width: clamp(5.75rem, 12.5vw, 10.5rem); height: auto; transition: transform .18s; }
.folder-grid a:hover img, .folder-grid a:focus-visible img { transform: translateY(-.32rem); }
.folder-grid a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.faq { background: linear-gradient(to bottom, var(--paper) 12%, var(--lavender)); }
.faq-inner { max-width: 62rem; padding-block: clamp(2.75rem, 6vw, 6rem); }
.faq h1 { max-width: 15ch; margin: 0 auto clamp(2rem, 4.8vw, 4rem); text-align: center; text-wrap: balance; font-size: clamp(2rem, 5.5vw, 4.65rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; padding: clamp(1.1rem, 2.6vw, 1.7rem) .35rem; list-style: none; cursor: pointer; font-size: clamp(1.075rem, 2vw, 1.35rem); font-weight: 740; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 1.125rem; height: 1.125rem; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
.faq details[open] summary { color: #4b218e; }
.faq details[open] summary::after { background-size: 100% 2px, 0 0; }
.faq details p { max-width: 66ch; padding: 0 .35rem clamp(1.2rem, 2.6vw, 1.75rem); }
.faq details a { font-weight: 700; text-underline-offset: .2em; }
@media (prefers-reduced-motion: no-preference) {
  .faq summary::after { transition: background-size .22s ease; }
  .faq details[open] > p { animation: faq-answer-in .28s ease-out both; }

  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .faq details::details-content {
      interpolate-size: allow-keywords;
      block-size: 0;
      overflow: clip;
      transition: block-size .28s ease, content-visibility .28s allow-discrete;
    }
    .faq details[open]::details-content { block-size: auto; }
  }
}
@keyframes faq-answer-in {
  from { opacity: 0; translate: 0 -.25rem; }
  to { opacity: 1; translate: 0; }
}
.inquiry { background: var(--ink); color: var(--paper); border-block: 1px solid var(--line); }
.inquiry-grid { display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); gap: clamp(1.75rem, 4vw, 4rem); }
.inquiry h1, .inquiry h2 { font-size: clamp(2.8rem, 4.8vw, 5.35rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 1rem; }
.form-grid label { min-width: 0; font: .9rem/1.45 var(--mono); }
.form-grid label span { font-size: .8rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid :is(input, select, textarea) { display: block; width: 100%; min-height: 2.85rem; margin-top: .3rem; padding: .55rem .65rem; border-radius: 0; border: 1px solid var(--ice); color: var(--paper); background: #242331; font: 1rem/1.5 system-ui, sans-serif; }
.form-grid select { appearance: none; padding-right: 2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23dadbf5' stroke-width='1.5' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .6rem center; }
.form-grid textarea { resize: vertical; }
.form-grid ::placeholder { color: #bebcd2; opacity: 1; }
.form-help { font-size: .875rem; margin: 1rem 0 .8rem; color: var(--ice); }
.page-intro { padding-block: clamp(2.4rem, 6vw, 5.5rem) clamp(1.8rem, 3.7vw, 3.3rem); }
.page-intro p, .page-content > p { max-width: 58ch; }
.page-content { padding-bottom: clamp(2.5rem, 5vw, 5rem); }
.about-detail > section { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(.8rem, 4vw, 4rem); padding-block: clamp(1.5rem, 3vw, 3rem); border-top: 1px solid var(--line); }
.about-detail h2 { font-size: clamp(1.6rem, 3vw, 3.1rem); text-wrap: balance; }
.about-detail p { max-width: 62ch; }
.about-detail p + p { margin-top: .9rem; }
.about-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.project-detail .button { margin-top: 1.3rem; }
.project-detail { padding-top: 2.1rem; }
.project-detail .back-link { display: inline-block; margin-bottom: 1.35rem; }
.project-detail .mono { margin-bottom: .55rem; font-size: .875rem; }
.project-detail img { width: 100%; max-width: 64rem; margin-top: 1.4rem; border: 1px solid var(--line); }
.case-header { padding-block: clamp(1.6rem, 4vw, 3.25rem) 1.5rem; }
.case-header .back-link { display: inline-block; margin-bottom: 1.3rem; }
.case-header .mono { font-size: .875rem; margin-bottom: .55rem; }
.case-image { width: 100%; height: auto; border: 1px solid var(--line); }
.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1rem, 4vw, 4rem);
  padding-block: clamp(1.6rem, 4vw, 3.75rem);
}
.case-grid h2 { font-size: clamp(1.2rem, 2.35vw, 2.1rem); }
.case-grid p { max-width: 60ch; }
.case-grid p + h2, .case-grid ul + h2 { margin-top: 1.5rem; }
.case-grid ul { padding-inline-start: 1.15rem; }
.case-grid .case-palette { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; padding: 0; list-style: none; }
.case-palette span { display: block; height: clamp(2.2rem, 5vw, 4.4rem); background: var(--case-color); border: 1px solid var(--line); }
.case-palette code { font-size: .8rem; }
.case-nav { border-top: 1px solid var(--line); padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .65rem; }
.client-experience { background: linear-gradient(to bottom, var(--paper), var(--lavender)); }
.client-experience-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: clamp(1rem, 5vw, 5.25rem); }
.client-experience-art { width: min(100%, 27rem); justify-self: center; }
.client-experience-label { margin-bottom: .8rem; color: #4b218e; font-size: .875rem; }
.client-experience-quote { margin: 0; }
.client-experience h2 { font-size: clamp(2rem, 4vw, 4.1rem); max-width: 17ch; text-wrap: balance; }
.client-experience h2 + p { max-width: 48ch; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.client-experience .button { margin-top: 1.35rem; }
.closing {
  padding-top: var(--section-fade);
  background: linear-gradient(to bottom, var(--closing-start, var(--paper)), var(--violet) var(--section-fade));
  color: var(--paper);
}
:is(.client-experience, .faq) + .closing { --closing-start: var(--lavender); }
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(1.6rem, 5vw, 5.25rem);
}
.closing h2 { max-width: 13ch; font-size: clamp(2.2rem, 4.65vw, 5.15rem); text-wrap: balance; }
.closing .button { margin-top: clamp(1.35rem, 3vw, 2.6rem); }
.closing :focus-visible { outline-color: var(--paper); }
.closing img { justify-self: center; width: min(100%, 22rem); }
main:has(> .closing) + .site-footer {
  padding-top: var(--section-fade);
  background: linear-gradient(to bottom, var(--violet), var(--ice) var(--section-fade));
}
.footer-inner { min-height: 5rem; }
.footer-inner .brand { width: 6.9rem; }
@media (max-width: 52rem) {
  .header-inner { flex-wrap: wrap; min-height: 4.4rem; gap: .25rem 1rem; padding-block: .7rem; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; border: 0; color: var(--ink); background: transparent; font-weight: 750; padding: .3rem 0 .3rem .55rem; }
  .menu-icon { position: relative; display: block; width: 1.2rem; height: .9rem; border-block: 2px solid currentColor; }
  .menu-icon::after { position: absolute; content: ""; top: 50%; left: 0; right: 0; border-top: 2px solid currentColor; transform: translateY(-50%); }
  #primary-nav { flex: 1 1 100%; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: .65rem; gap: .65rem 1.15rem; }
  .hero-layout, .about-grid, .inquiry-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { min-height: 0; padding-block: clamp(2rem, 5.8vw, 4rem) 1.5rem; }
  .hero-copy, .hero-art { grid-area: auto; }
  .hero-art { justify-self: center; width: min(100%, 33rem); max-height: none; margin-top: -.35rem; object-position: center; }
  .mobile-action { display: inline-flex; }
  .about-art { justify-self: start; margin-bottom: .7rem; }
  .desktop-break { display: none; }
}
@media (max-width: 38rem) {
  .service-grid, .project-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .client-experience-grid { grid-template-columns: minmax(0, 1fr); }
  .client-experience-art { width: min(80%, 16rem); }
  .about-detail > section { grid-template-columns: minmax(0, 1fr); }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .work-rail .project-card { flex-basis: 82%; }
  .work-rail .project-card img { max-height: 35vh; }
  .closing-grid { grid-template-columns: minmax(0, 1fr); }
  .closing img { width: min(65%, 14rem); }
  .folder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .folder-grid img { width: clamp(5.8rem, 27vw, 8.5rem); }
  .inquiry-form .button { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .entrance-copy { animation: hero-copy-in .50s cubic-bezier(.22, .72, .25, 1) both; }
  .scroll-entrance { animation: hero-copy-in .50s cubic-bezier(.22, .72, .25, 1); }
  .hero-actions, .entrance-content { animation: hero-copy-in .50s .09s cubic-bezier(.22, .72, .25, 1) both; }
  .entrance-art { animation: hero-art-in .68s cubic-bezier(.22, .72, .25, 1) both; }
  .hero-art {
    animation: hero-art-in .68s cubic-bezier(.22, .72, .25, 1) both,
      hero-art-float 8s ease-in-out -2s infinite;
  }
}
@media (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-art {
    transform: perspective(60rem) rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg));
    transition: transform .32s ease-out;
  }
}
@keyframes hero-copy-in {
  from { opacity: .72; transform: translateY(.65rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-art-in {
  from { opacity: .75; scale: 1.035; }
  to { opacity: 1; scale: 1; }
}
@keyframes hero-art-float {
  from, to { translate: 0 .55rem; }
  50% { translate: 0 -.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@font-face {
  font-family: Unbounded;
  src: url("/assets/unbounded-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root { --display: Unbounded, "Arial Black", system-ui, sans-serif; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.066em; line-height: 1.06; }
.hero h1 { font-size: clamp(2.45rem, 4.9vw, 5.25rem); text-wrap: balance; }
@media (max-width: 52rem) {
  .hero h1 { font-size: clamp(1.9rem, 8.45vw, 4.5rem); }
}
h1, h2, h3 { word-spacing: .045em; }
.project-caption h2 { font-size: clamp(1.5rem, 2.65vw, 3.1rem); }
