:root {
  --shell: min(1240px, calc(100vw - 48px));
  --radius: 16px;
  --shadow: 0 24px 60px rgba(34, 35, 32, 0.12);
  color-scheme: light;
  --space-section: clamp(96px, 12vw, 180px);
}

@media (max-width: 980px) {
  :root {
  --shell: min(100% - 36px, 760px);
  }
}

@media (max-width: 640px) {
  :root {
  --shell: calc(100% - 28px);
  --radius: 12px;
  --space-section: 88px;
  }
}

[data-template="dark"] {
  --ink: #eeeee9;
  --line: #3c3e3a;
  --page: #181918;
  --muted: #acaea7;
  --accent: #ff684b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --inverse: #e7e7e1;
  --surface: #232422;
  color-scheme: dark;
  --accent-ink: #25100b;
  --inverse-ink: #1b1c1b;
  --surface-strong: #2e302d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
  scroll-behavior: auto;
  }
}

body {
  color: var(--ink);
  font-size: 16px;
  margin: 0px;
  background: var(--page);
  font-family: "Cong Sans", "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-size: inherit;
  font-style: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  font-stretch: inherit;
  font-variant: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.brand,
.nav-actions,
.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav a,
.nav-contact,
.template-toggle,
.menu-toggle {
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.template-toggle,
.menu-toggle {
  color: var(--ink);
  border: 1px solid var(--line);
  cursor: pointer;
  min-height: 42px;
  padding: 0px 15px;
  background-clip: initial;
  background-size: initial;
  background-color: transparent;
  background-image: initial;
  background-origin: initial;
  background-repeat: initial;
  background-position-x: initial;
  background-position-y: initial;
  border-top-left-radius: 999px;
  background-attachment: initial;
  border-top-right-radius: 999px;
  border-bottom-left-radius: 999px;
  border-bottom-right-radius: 999px;
}

.nav-contact:active,
.button:active {
  transform: translateY(1px);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero h1 {
  max-width: 11ch;
  margin: 0px;
  font-weight: 780;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

@media (max-width: 980px) {
  .hero h1 {
  max-width: 12ch;
  }
}

.button-primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, white);
}

.text-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.hero-visual img {
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

.hero-visual figcaption {
  color: var(--muted);
  font-size: 13px;
  max-width: 52ch;
  margin-top: 14px;
}

.work-section,
.process-section,
.about-section {
  padding-block: var(--space-section);
}

.section-heading h2,
.capabilities-heading h2,
.process-intro h2,
.about-details h2 {
  margin: 0px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading p,
.capabilities-heading p,
.process-intro p {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
  margin: 22px 0px 0px;
}

.project-media img {
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  aspect-ratio: 16 / 10;
}

.project-media:hover img {
  transform: scale(1.025);
}

.project-copy h3 {
  margin: 0px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.project-copy > p:not(.project-type) {
  color: var(--muted);
  font-size: 17px;
  max-width: 48ch;
  margin: 22px 0px 0px;
}

.tag-list li {
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 11px;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-left-radius: 999px;
  border-bottom-right-radius: 999px;
}

.capability-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.capability h3 {
  margin: 46px 0px 0px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.capability p {
  color: inherit;
  opacity: 0.74;
  max-width: 39ch;
  margin: 16px 0px 0px;
}

.process-list li {
  gap: 24px;
  display: grid;
  padding: 34px 0px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 0.45fr 1fr;
}

@media (max-width: 640px) {
  .process-list li {
  gap: 10px;
  grid-template-columns: 1fr;
  }
}

.process-list li:first-child {
  padding-top: 0px;
}

.process-list strong {
  font-size: 20px;
}

.process-list span {
  color: var(--muted);
}

.about-statement p {
  max-width: 16ch;
  margin: 0px;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.about-details > p {
  color: var(--muted);
  font-size: 17px;
  margin: 24px 0px 0px;
}

.skill-groups div {
  gap: 20px;
  display: grid;
  grid-template-columns: 100px 1fr;
}

@media (max-width: 640px) {
  .skill-groups div {
  gap: 6px;
  grid-template-columns: 1fr;
  }
}

.skill-groups h3,
.skill-groups p {
  font-size: 15px;
  margin: 0px;
}

.skill-groups p {
  color: var(--muted);
}

.contact-layout h2 {
  max-width: 12ch;
  margin: 0px;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.contact-action p {
  opacity: 0.72;
  font-size: 13px;
  max-width: 32ch;
  margin: 16px 0px 0px;
}

.footer-layout p,
.footer-layout a {
  font-size: 14px;
  margin: 0px;
}

.reveal[data-reveal-delay="1"] {
  transition-delay: 90ms;
}

.reveal[data-reveal-delay="2"] {
  transition-delay: 180ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .desktop-nav,
  .template-toggle,
  .nav-contact {
  display: none;
  }
}

@media (max-width: 980px) {
  .mobile-menu[hidden] {
  display: none;
  }
}

@media (max-width: 980px) {
  .mobile-menu a {
  font-size: 28px;
  font-weight: 750;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 980px) {
  .project-featured,
  .project-secondary,
  .process-section,
  .about-section,
  .contact-layout {
  grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .project-secondary .project-copy {
  order: 2;
  }
}

@media (max-width: 980px) {
  .project-secondary .project-media {
  order: 1;
  }
}

@media (max-width: 640px) {
  .capability,
  .capability-image img {
  min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  }
}

html, body {
  color: rgb(13, 39, 66);
  margin: 0px;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  padding: 0px;
  background-clip: border-box;
  background-size: auto;
  background-color: rgb(234, 241, 247);
  background-image: none;
  background-origin: padding-box;
  background-repeat: repeat;
  -moz-osx-font-smoothing: grayscale;
  background-position-x: 0%;
  background-position-y: 0%;
  background-attachment: scroll;
}

* {
  box-sizing: border-box;
}

a {
  color: rgb(18, 115, 196);
  text-decoration-line: none;
  text-decoration-color: currentcolor;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
}

a:hover {
  color: rgb(14, 92, 158);
}

::selection {
  color: rgb(255, 255, 255);
  background-clip: border-box;
  background-size: auto;
  background-color: rgb(18, 115, 196);
  background-image: none;
  background-origin: padding-box;
  background-repeat: repeat;
  background-position-x: 0%;
  background-position-y: 0%;
  background-attachment: scroll;
}

input::placeholder, textarea::placeholder {
  color: rgba(13, 39, 66, 0.38);
}

html, body {
  color: rgb(13, 39, 66);
  margin: 0px;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  padding: 0px;
  background-clip: border-box;
  background-size: auto;
  background-color: rgb(234, 241, 247);
  background-image: none;
  background-origin: padding-box;
  background-repeat: repeat;
  -moz-osx-font-smoothing: grayscale;
  background-position-x: 0%;
  background-position-y: 0%;
  background-attachment: scroll;
}

* {
  box-sizing: border-box;
}

a {
  color: rgb(18, 115, 196);
  text-decoration-line: none;
  text-decoration-color: currentcolor;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
}

a:hover {
  color: rgb(14, 92, 158);
}

::selection {
  color: rgb(255, 255, 255);
  background-clip: border-box;
  background-size: auto;
  background-color: rgb(18, 115, 196);
  background-image: none;
  background-origin: padding-box;
  background-repeat: repeat;
  background-position-x: 0%;
  background-position-y: 0%;
  background-attachment: scroll;
}

input::placeholder, textarea::placeholder {
  color: rgba(13, 39, 66, 0.38);
}

html, body {
  color: rgb(13, 39, 66);
  margin: 0px;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  padding: 0px;
  background-clip: border-box;
  background-size: auto;
  background-color: rgb(234, 241, 247);
  background-image: none;
  background-origin: padding-box;
  background-repeat: repeat;
  -moz-osx-font-smoothing: grayscale;
  background-position-x: 0%;
  background-position-y: 0%;
  background-attachment: scroll;
}

* {
  box-sizing: border-box;
}

a {
  color: rgb(18, 115, 196);
  text-decoration-line: none;
  text-decoration-color: currentcolor;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
}

a:hover {
  color: rgb(14, 92, 158);
}

::selection {
  color: rgb(255, 255, 255);
  background-clip: border-box;
  background-size: auto;
  background-color: rgb(18, 115, 196);
  background-image: none;
  background-origin: padding-box;
  background-repeat: repeat;
  background-position-x: 0%;
  background-position-y: 0%;
  background-attachment: scroll;
}

input::placeholder, textarea::placeholder {
  color: rgba(13, 39, 66, 0.38);
}