:root {
  --paper: oklch(99.115% 0.00411 271.371); /* #fbfcff */
  --ink: oklch(35.556% 0.07840 249.533); /* #163e63 */
  --muted: oklch(49.498% 0.05925 242.562); /* #436681 */
  --line: oklch(91.278% 0.01879 242.980); /* #d8e4ee */
  --accent: oklch(45.993% 0.14042 252.675); /* #0058a3 */
  --action: oklch(89.471% 0.18447 97.029); /* #ffdb00 */
  --action-hover: oklch(85.246% 0.17515 95.361); /* #f2cc00 */
  --surface: oklch(96.586% 0.01173 239.905); /* #edf5fb */
  --field: oklch(99.461% 0.00263 286.352); /* #fdfdff */
  --field-border: oklch(64.623% 0.04715 248.560); /* #7891aa */
  --selection: oklch(89.471% 0.18447 97.029); /* #ffdb00 */
  --error: oklch(48.476% 0.16172 30.293); /* #a72c1e */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --motion-release: 100ms;
  --motion-press: 160ms;
  --motion-hover: 160ms;
  --sans: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
.intro h1,
.case-hero h1,
.work-entry-copy h3 {
  color: var(--accent);
}
em {
  font-style: normal;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.wrap {
  width: min(840px, calc(100% - 64px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  padding: 10px 15px;
  background: var(--ink);
  color: var(--paper);
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-block: 43px;
  gap: 24px;
}
.site-header nav {
  display: flex;
  width: 100%;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 5px;
}
.site-header nav a:first-child {
  padding-left: 0;
}
.nav-contact {
  margin-left: auto;
}
.site-header .nav-contact {
  padding-inline: 14px;
  background: var(--action);
  color: var(--accent);
  border-radius: 4px;
}
.nav-contact span {
  margin-left: 6px;
}
.intro {
  padding-block: 46px 52px;
}
.intro h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 22px;
}
.intro-lead {
  font-size: 24px;
  line-height: 1.55;
  letter-spacing: -0.025em;
  max-width: 700px;
}
.intro-detail {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 580px;
  margin-top: 20px;
}
.intro-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 28px;
}
.intro-contact > span {
  color: var(--accent);
  margin-left: 5px;
  text-decoration: underline;
  text-decoration-color: var(--action);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.work {
  padding-block: 16px 60px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 25px;
  padding-bottom: 8px;
}
.section-heading h2,
h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.section-heading > p {
  font-size: 13px;
  color: var(--muted);
}
.work-entry {
  padding-block: 27px;
  border-bottom: 1px solid var(--line);
}
.work-entry:last-child {
  border: 0;
}
.work-entry-link {
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 32px;
  align-items: center;
}
.work-thumbnail {
  height: 153px;
  overflow: hidden;
  background: var(--surface);
  border-radius: 5px;
  position: relative;
}
.work-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.thumb-phones,
.thumb-word {
  background: var(--surface);
}
.thumb-phones img,
.thumb-word img {
  width: auto;
  height: 240px;
  max-width: none;
  margin: 15px auto 0;
  border: 3px solid var(--ink);
  border-radius: 14px;
}
.work-entry-copy h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.work-entry-copy h3 > span {
  font-size: 16px;
  color: var(--accent);
}
.work-entry-copy > p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 6px;
  max-width: 390px;
  line-height: 1.65;
}
.work-entry-copy > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 13px;
}
.about {
  padding-block: 30px 60px;
}
.about h2 {
  margin-bottom: 23px;
}
.about-copy {
  max-width: 660px;
}
.about-copy p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 17px;
}
.text-link {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  margin-top: 8px;
}
.contact {
  padding-block: 35px 55px;
  border-top: 1px solid var(--line);
}
.contact > p {
  max-width: 570px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-top: 17px;
}
.contact > .text-link {
  color: var(--accent);
  margin-top: 22px;
}
.footer {
  padding-block: 28px 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer > a:last-child > span {
  margin-left: 5px;
}
.eyebrow {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.case-hero {
  padding-block: 40px;
}
.back {
  font-size: 13px;
  display: inline-block;
  margin-bottom: 38px;
  color: var(--muted);
}
.case-hero h1 {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.2;
  max-width: 650px;
  margin-block: 16px 22px;
}
.case-intro {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.case-intro > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 550px;
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--action);
  background: var(--action);
  color: var(--accent);
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 12px;
  white-space: nowrap;
}
.project-visual {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  aspect-ratio: 1.7;
  background: var(--surface);
}
.desktop {
  padding: 26px 35px 0;
}
.desktop > img {
  width: 100%;
}
.browser-bar {
  display: flex;
  gap: 5px;
  align-items: center;
  background: var(--field);
  padding: 10px 12px;
  border-radius: 4px 4px 0 0;
}
.browser-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--field-border);
}
.browser-bar > span {
  font-size: 8px;
  color: var(--muted);
  margin: auto;
}
.scene > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.open-project,
.visual-label {
  display: none;
}
.phone-pair {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 35px 0;
}
.phone-pair img {
  width: 25%;
  height: auto;
  align-self: flex-start;
  border: 5px solid var(--ink);
  border-radius: 25px;
}
.phone-pair img + img {
  margin-top: 40px;
}
.word {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  padding: 30px;
}
.word > img {
  width: 28%;
  border: 5px solid var(--ink);
  border-radius: 25px;
  align-self: flex-start;
}
.word-art {
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}
.word-note {
  display: block;
  font-size: 37px;
  margin-top: 65px;
}
.word-note i,
.word-note small {
  font-size: 12px;
  font-style: normal;
}
.case-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 55px;
  padding-block: 60px;
}
.case-label h2 {
  font-size: 20px;
  margin-top: 10px;
}
.case-label > p:last-child {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.case-story section {
  margin-bottom: 35px;
}
.case-story .eyebrow {
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 14px;
}
.case-story h2 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}
.case-story section > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.decision {
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.decision h3 {
  font-size: 16px;
  font-weight: 500;
}
.decision p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 7px;
}
.case-next {
  padding-block: 25px 50px;
  border-top: 1px solid var(--line);
}
.case-next h2 {
  margin-top: 10px;
  font-size: 24px;
}
.case-next p:last-child {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.case-cta > .wrap {
  border-top: 1px solid var(--line);
  padding-block: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.case-cta h2 {
  font-size: 20px;
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-block: 25px;
    gap: 15px;
  }
  .site-header nav {
    gap: 10px;
    font-size: 12px;
  }
  .nav-contact span {
    margin-left: 3px;
  }
  .intro {
    padding-block: 45px 45px;
  }
  .intro h1 {
    font-size: 27px;
    margin-bottom: 20px;
  }
  .intro-lead {
    font-size: 21px;
    line-height: 1.5;
    letter-spacing: -0.025em;
  }
  .intro-lead br {
    display: none;
  }
  .intro-detail {
    font-size: 15px;
    margin-top: 19px;
    line-height: 1.8;
  }
  .intro-contact {
    font-size: 12px;
    margin-top: 24px;
    line-height: 2;
  }
  .intro-contact > span {
    white-space: nowrap;
  }
  .section-heading {
    display: block;
    padding-bottom: 4px;
  }
  .section-heading > p {
    margin-top: 7px;
    font-size: 12px;
  }
  .work {
    padding-bottom: 35px;
  }
  .work-entry {
    padding-block: 23px;
  }
  .work-entry-link {
    grid-template-columns: 115px 1fr;
    gap: 19px;
    align-items: start;
  }
  .work-thumbnail {
    height: 94px;
    border-radius: 4px;
  }
  .work-entry-copy h3 {
    font-size: 16px;
    gap: 7px;
    line-height: 1.4;
  }
  .work-entry-copy h3 > span {
    font-size: 14px;
  }
  .work-entry-copy > p {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 6px;
  }
  .work-entry-copy > span {
    font-size: 10px;
    margin-top: 8px;
  }
  .thumb-phones img,
  .thumb-word img {
    height: 150px;
    border-width: 2px;
    border-radius: 10px;
    margin-top: 8px;
  }
  .about {
    padding-block: 20px 40px;
  }
  .about-copy p {
    font-size: 15px;
  }
  .contact {
    padding-block: 30px 40px;
  }
  .contact > p {
    font-size: 15px;
  }
  .footer {
    font-size: 10px;
    flex-wrap: wrap;
    gap: 15px;
    padding-block: 23px;
  }
  .footer > a:last-child {
    margin-left: auto;
  }
  .case-hero {
    padding-block: 22px 30px;
  }
  .back {
    margin-bottom: 25px;
  }
  .case-hero h1 {
    font-size: 30px;
    line-height: 1.25;
  }
  .case-intro {
    display: block;
  }
  .case-intro > p {
    font-size: 15px;
  }
  .case-intro .button {
    margin-top: 20px;
  }
  .project-visual {
    aspect-ratio: 1.2;
  }
  .desktop {
    padding: 18px 15px 0;
  }
  .desktop img {
    width: 140%;
    max-width: none;
    transform: translateX(-14%);
  }
  .phone-pair {
    gap: 18px;
    padding-top: 25px;
  }
  .phone-pair img {
    width: 35%;
    border-width: 3px;
    border-radius: 15px;
  }
  .word {
    padding: 20px;
    gap: 25px;
  }
  .word-art {
    font-size: 18px;
  }
  .word > img {
    width: 40%;
    border-radius: 15px;
    border-width: 3px;
  }
  .word-note {
    font-size: 28px;
    margin-top: 25px;
  }
  .word-note i,
  .word-note small {
    font-size: 9px;
  }
  .case-body {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 35px;
  }
  .case-story h2 {
    font-size: 17px;
  }
  .case-next h2 {
    font-size: 22px;
  }
  .case-cta > .wrap {
    flex-wrap: wrap;
  }
  .case-cta h2 {
    font-size: 18px;
  }
}
@media (max-width: 380px) {
  .site-header {
    flex-wrap: wrap;
    gap: 4px;
  }
  .site-header nav {
    justify-content: flex-start;
    gap: 15px;
  }
  .intro {
    padding-top: 30px;
  }
  .intro h1 {
    font-size: 25px;
  }
  .intro-lead {
    font-size: 20px;
  }
  .work-entry-link {
    grid-template-columns: 88px 1fr;
    gap: 15px;
  }
  .work-thumbnail {
    height: 80px;
  }
  .work-entry-copy > p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
#contact-form {
  max-width: 620px;
  margin-top: 28px;
}
#contact-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-field label {
  font-size: 13px;
  color: var(--ink);
}
.form-field input,
.form-field textarea {
  width: 100%;
  min-width: 0;
  font: 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--field);
  border: 0;
  box-shadow:
    0 0 0 1px var(--field-border),
    0 1px 2px color-mix(in oklch, var(--ink) 3%, transparent);
  border-radius: 4px;
  padding: 10px 12px;
  outline-offset: 3px;
}
.form-field textarea {
  resize: vertical;
  min-height: 130px;
}
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.send-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.send-button {
  min-width: 148px;
  font: 500 13px/1.5 var(--sans);
  background: var(--action);
  color: var(--accent);
  border: 1px solid var(--action);
  border-radius: 4px;
  padding: 12px 20px;
  min-height: 44px;
  cursor: pointer;
}
fieldset:disabled .form-field {
  opacity: 0.75;
}
fieldset:disabled .send-button {
  cursor: wait;
}
#contact-status {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  min-height: 3.4em;
  max-width: 560px;
  border-radius: 3px;
}
#contact-status:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
#contact-status[data-state="error"] {
  color: var(--error);
}
#contact-status[data-state="success"] {
  color: var(--accent);
}
@media (max-width: 550px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.services {
  padding-block: 0 55px;
}
.service-rows {
  margin: 22px 0 0;
}
.service-rows > div {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 26px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.service-rows > div:first-child {
  padding-top: 0;
}
.service-rows dt {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}
.service-rows dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 550px;
}
.services-note {
  margin-top: 21px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 630px;
}
.intro-contact > span {
  margin-left: 0;
}
@media (max-width: 700px) {
  .services {
    padding-bottom: 35px;
  }
  .service-rows > div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-block: 16px;
  }
  .service-rows dt {
    font-size: 15px;
  }
  .service-rows dd {
    font-size: 14px;
  }
  .services-note {
    font-size: 12px;
  }
}

/* Focus and pointer feedback stay quiet and do not run on touch hover. */
::selection {
  background: var(--selection);
  color: var(--ink);
}
a,
button {
  touch-action: manipulation;
}
button {
  user-select: none;
}
.intro-lead,
.intro-detail,
.service-rows dd,
.work-entry-copy p {
  text-wrap: pretty;
}
.intro-lead {
  max-width: 650px;
}
.work-entry-link {
  position: relative;
  isolation: isolate;
  border-radius: 6px;
  outline-offset: 8px;
}
.work-entry-link::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 8px;
  background: var(--surface);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}
.work-entry-link:focus-visible::before {
  opacity: 1;
}
.work-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}
.button,
.send-button {
  justify-content: center;
}
/* Real presses work on touch too; release returns promptly from any point. */
:is(.button, .send-button, .nav-contact) {
  transition: transform var(--motion-release) var(--ease-out);
}
:is(.button, .send-button, .nav-contact):active:not(:focus-visible):not(:disabled) {
  transform: scale(0.98);
  transition-duration: var(--motion-press);
}
.work-entry-link:active::before {
  opacity: 1;
}
.site-header nav a:active,
.intro-contact:active,
.footer a:active {
  color: var(--accent);
}
.intro-contact span[aria-hidden] {
  display: inline-block;
}
@media (hover: hover) and (pointer: fine) {
  .site-header nav a:hover,
  .footer a:hover {
    color: var(--accent);
  }
  .intro-contact:hover > span,
  .text-link:hover {
    border-color: var(--ink);
    text-decoration-color: var(--ink);
  }
  .work-entry-link::before {
    transition: opacity var(--motion-hover) ease;
  }
  .work-entry-copy h3 > span,
  :is(.nav-contact, .intro-contact, .text-link, .button) span[aria-hidden] {
    transition: transform var(--motion-hover) var(--ease-out);
  }
  .work-entry-link:hover:not(:focus-visible)::before {
    opacity: 1;
  }
  .work-entry-link:hover:not(:focus-visible) h3 > span,
  :is(.nav-contact, .intro-contact, .text-link, .button):hover:not(:focus-visible) span[aria-hidden] {
    transform: translate(2px, -2px);
  }
  .work-entry-link:hover h3 > span {
    color: var(--ink);
  }
  .button:hover,
  .site-header .nav-contact:hover {
    background: var(--action-hover);
  }
  .send-button:hover:not(:disabled) {
    background: var(--action-hover);
  }
}
/* Keyboard feedback is immediate, including child arrows and the row wash. */
a:focus-visible,
button:focus-visible,
.work-entry-link:focus-visible::before,
a:focus-visible span[aria-hidden] {
  transition: none;
}
a:focus-visible span[aria-hidden] {
  transform: none;
}
@media (max-width: 700px) {
  .intro {
    padding-block: 30px 40px;
  }
  .work-entry-link::before {
    inset: -8px;
  }
  .work-entry-copy > p {
    font-size: 14px;
    line-height: 1.6;
  }
  .footer {
    font-size: 12px;
  }
  .footer a {
    min-height: 44px;
  }
}
@media (max-width: 550px) {
  #contact-status {
    min-height: 5.1em;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.button, .send-button, .nav-contact):active,
  .work-entry-link:hover h3 > span,
  :is(.nav-contact, .intro-contact, .text-link, .button) span[aria-hidden] {
    transform: none !important;
  }
  /* Keep a short opacity cue, without movement, for pointer navigation. */
  .work-entry-link:not(:focus-visible)::before {
    transition: opacity var(--motion-release) ease !important;
  }
}

.case-caption { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
