﻿:root {
  --bg: #f6f3ec; --paper: #fffcf7; --ink: #283830; --text: #2f3731;
  --muted: #63675e; --accent: #42644e; --rust: #97613e; --line: #dcdcd1;
  --mat: #e7e8dd; --radius: 13px; --max: 1192px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Manrope, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.6; }
body.modal-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 5px; }
.shell { width: min(var(--max), 100%); padding-inline: 32px; margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; left: 18px; top: 10px; z-index: 50; background: var(--paper); padding: 12px; }
.topbar { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.3; }
.brand-mark { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; background: var(--accent); color: var(--paper); font-family: Georgia, serif; font-size: 19px; font-weight: 400; letter-spacing: -.08em; padding-bottom: 3px; flex-shrink: 0; }
.brand small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a, .nav-cta { text-decoration: none; font-size: 12px; padding-block: 12px; }
.nav a:hover, .email-link:hover { color: var(--rust); }
.nav-cta { padding: 11px 17px; border: 1px solid #b8bdae; border-radius: 30px; font-weight: 700; }
.nav-cta span { margin-left: 8px; }
.nav-cta:hover { background: var(--mat); }
.hero { display: grid; grid-template-columns: 1.06fr 1fr; gap: 52px; align-items: center; padding-top: 68px; padding-bottom: 61px; }
.eyebrow { margin: 0 0 21px; color: var(--rust); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.hero .eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 10px; letter-spacing: .02em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #688368; flex-shrink: 0; }
h1, h2, h3, p { overflow-wrap: break-word; }
.hero h1 { font-size: clamp(39px, 4.35vw, 58px); line-height: 1.08; letter-spacing: -.054em; font-weight: 700; margin: 0; color: var(--ink); }
.hero h1 em, h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; color: var(--accent); }
.hero-lead { max-width: 455px; font-size: 15px; color: var(--muted); line-height: 1.8; margin: 24px 0 25px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; gap: 18px; align-items: center; justify-content: center; border: 1px solid transparent; padding: 13px 20px; min-height: 48px; font-size: 12px; font-weight: 700; border-radius: 7px; text-decoration: none; transition: background .18s, border-color .18s; }
.button-primary { background: var(--accent); color: #fffdf7; }
.button-primary:hover { background: #314d3b; }
.button-ghost { border-color: #c4c6b9; }
.button-ghost:hover { background: #e9eade; }
.personal-note { font-size: 10px; color: var(--muted); margin: 18px 0 0; }
.hero-work { min-width: 0; }
.work-preview { position: relative; background: #e5e6d9; border-radius: 10px; min-height: 345px; padding: 22px 28px 72px; }
.preview-caption { display: flex; gap: 7px; align-items: center; font-size: 10px; color: #555f4c; padding-bottom: 19px; }
.tiny-swatch { display: block; background: #8e9a7b; width: 8px; height: 8px; border-radius: 2px; }
.preview-number { margin-left: auto; font-size: 9px; }
.browser-frame { border: 1px solid #d7d7ca; border-radius: 6px; overflow: hidden; background: var(--paper); box-shadow: 0 12px 24px #35462a0c; }
.browser-bar { height: 25px; display: flex; justify-content: space-between; align-items: center; padding: 0 11px; font-size: 8px; color: #727866; background: #f4f3ec; border-bottom: 1px solid #e4e3d8; }
.browser-bar span:first-child { letter-spacing: 2px; }
.hero-screen { width: 100%; aspect-ratio: 1.45; height: auto; object-fit: contain; background: #fdfaf5; }
.phone-frame { position: absolute; right: 18px; bottom: 22px; width: 93px; height: 173px; padding: 5px; border-radius: 15px; background: #424b3d; box-shadow: 0 6px 16px #24322426; }
.phone-frame img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; object-position: top; }
.preview-note { position: absolute; bottom: 19px; left: 31px; display: flex; gap: 8px; align-items: start; color: #5b6751; font-family: Georgia, serif; font-size: 13px; font-style: italic; line-height: 1.4; }
.hand-arrow { font-size: 30px; line-height: 1; }
.hero-work figcaption { margin-top: 13px; padding-left: 3px; }
.hero-work figcaption b { display: block; font-size: 11px; font-weight: 600; }
.hero-work figcaption>span { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.specialties { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; border-block: 1px solid var(--line); color: #525f50; font-size: 11px; font-weight: 600; }
.specialties>span { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.specialties small { color: var(--muted); font-size: 9px; font-weight: 400; }
.section { padding-top: 66px; padding-bottom: 66px; }
.section-head { display: flex; gap: 40px; align-items: end; justify-content: space-between; margin-bottom: 26px; }
.section-head .eyebrow { margin-bottom: 12px; }
h2 { font-size: clamp(29px, 3.4vw, 41px); line-height: 1.12; letter-spacing: -.044em; font-weight: 700; color: var(--ink); margin: 0; }
.section-note { max-width: 265px; color: var(--muted); font-size: 12px; margin: 0 0 3px; line-height: 1.7; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.filter { min-height: 40px; padding: 8px 15px; border: 1px solid transparent; border-radius: 30px; font-size: 11px; background: transparent; color: var(--muted); cursor: pointer; }
.filter span { margin-left: 5px; font-size: 10px; }
.filter.active { background: var(--accent); color: var(--paper); }
.filter:not(.active):hover { background: var(--mat); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 21px; }
.case-card { display: flex; flex-direction: column; min-width: 0; padding: 0; text-align: left; background: transparent; border: 0; cursor: pointer; }
.case-card.is-hidden { display: none; }
.case-media { display: block; position: relative; width: 100%; aspect-ratio: 1.4; flex-shrink: 0; overflow: hidden; border-radius: var(--radius); background: var(--mat); border: 1px solid #2b3b2710; }
.case-media>img { width: 100%; height: 100%; object-fit: cover; }
.media-tag { position: absolute; left: 11px; bottom: 10px; max-width: calc(100% - 22px); font-size: 8px; line-height: 1.3; padding: 6px 8px; border-radius: 4px; background: #fffdf5ee; color: #404b39; }
.case-arrow { position: absolute; right: 10px; top: 10px; background: #fffdf2e6; width: 29px; height: 29px; display: grid; place-items: center; color: var(--ink); border-radius: 50%; font-size: 16px; transition: background .2s; }
.case-card:hover .case-arrow { background: var(--accent); color: #fff; }
.case-meta { display: block; margin-top: 16px; color: var(--rust); font-size: 10px; font-weight: 700; }
.case-title { display: block; color: var(--ink); font-weight: 800; font-size: 17px; line-height: 1.3; letter-spacing: -.035em; margin-top: 5px; }
.case-description { display: block; color: var(--muted); font-size: 12px; line-height: 1.65; margin-top: 8px; margin-bottom: 14px; }
.case-footer { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; width: 100%; border-top: 1px solid var(--line); font-size: 9px; color: var(--muted); }
.case-footer>span:last-child { color: var(--accent); font-weight: 700; }
.screen-mat { position: absolute; inset: 22px 18px 29px; display: flex; align-items: center; }
.screen-mat img { width: 100%; height: auto; max-height: 100%; object-fit: contain; border-radius: 4px; border: 1px solid #29342c1a; box-shadow: 0 8px 14px #2c3e2b0d; }
.sites-cover { background: #e4e6df; }
.tools-cover { background: #e5e0d7; }
.wheel-cover>img { object-fit: contain; background: #f7f4ee; }
.payment-cover { background: #e9ece4; }
.cad-cover { background: #eae5dc; }
.game-cover>img { object-position: 48% center; }
.approach { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-top: 43px; padding-bottom: 43px; align-items: center; }
.approach .eyebrow { margin-bottom: 12px; }
.approach h2 { font-size: clamp(27px, 2.7vw, 35px); }
.approach-copy>p { font-size: 12px; line-height: 1.85; color: var(--muted); margin: 0; }
.approach-copy .process-line { font-size: 10px; font-weight: 700; color: var(--accent); margin-top: 15px; display: flex; flex-wrap: wrap; gap: 10px; }
.process-line span { color: var(--rust); }
.lab-section { padding-top: 26px; padding-bottom: 50px; border-top: 1px solid var(--line); }
.lab-head { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-bottom: 19px; }
.lab-head h2 { font-size: 19px; letter-spacing: -.025em; }
.lab-head p { font-size: 11px; color: var(--muted); margin: 0; }
.lab-links { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.lab-links>a,.lab-links>button { min-width: 0; display: block; text-align: left; text-decoration: none; background: #eeeee5; padding: 14px; border: 1px solid #dddfd3; border-radius: 8px; cursor: pointer; }
.lab-links>a:hover,.lab-links>button:hover { border-color: #8d9c84; }
.lab-links span { display: block; color: var(--muted); font-size: 9px; }
.lab-links b { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin-top: 6px; font-size: 11px; }
.lab-links i { font-style: normal; color: var(--accent); }
.contact { padding-top: 37px; padding-bottom: 37px; border-block: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.contact .eyebrow { margin-bottom: 12px; }
.contact h2 { font-size: clamp(30px, 3.3vw, 42px); }
.contact p:not(.eyebrow) { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.contact-actions { display: flex; flex-direction: column; align-items: start; gap: 12px; }
.email-link { color: var(--ink); font-size: 12px; text-decoration: none; }
.contact-actions small { font-size: 10px; color: var(--muted); }
.footer { display: flex; justify-content: space-between; gap: 15px; padding-top: 23px; padding-bottom: 23px; font-size: 10px; color: var(--muted); }
.footer a { text-decoration: none; }
.modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: #1b251db3; }
.modal-panel { position: relative; background: var(--paper); border-radius: 15px; border: 1px solid #c5ccba; padding: 36px; width: min(900px, 100%); max-height: min(90dvh, 1000px); overflow-y: auto; overscroll-behavior: contain; }
.modal-close { position: sticky; float: right; top: 0; z-index: 1; width: 42px; height: 42px; font-size: 29px; line-height: 1; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); cursor: pointer; }
.modal-kicker { font-size: 11px; font-weight: 700; color: var(--rust); margin: 9px 50px 14px 0; }
.modal h2 { max-width: 670px; font-size: clamp(29px, 4vw, 43px); }
.modal-lead { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 17px 0; }
.modal-proof { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 13px; }
.modal-proof>div { flex: 1; min-width: 100px; background: #edefe4; padding: 12px; border-radius: 6px; }
.modal-proof b { display: block; color: var(--accent); font-size: 17px; }
.modal-proof span { display: block; font-size: 10px; color: var(--muted); }
.modal-visual { width: 100%; height: auto; max-height: 400px; object-fit: contain; background: #e9e8de; border-radius: 8px; margin-top: 8px; }
.modal-caption { color: var(--muted); font-size: 10px; margin-top: 7px; }
.modal-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; margin-top: 22px; }
.modal-grid h3 { font-size: 14px; margin: 0 0 10px; color: var(--ink); }
.modal-grid p,.modal-grid li { color: var(--muted); font-size: 12px; line-height: 1.8; }
.modal-grid ul { padding-left: 17px; margin-top: 0; }
.modal-grid a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.modal-gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 22px; }
.modal-gallery img { width: 100%; aspect-ratio: 1.55; object-fit: contain; background: #e9e8de; border-radius: 6px; }
.modal-gallery figcaption { font-size: 10px; color: var(--muted); margin-top: 5px; }
.no-results { color: var(--muted); grid-column: 1 / -1; }
@media (max-width: 1000px) {
  .hero { gap: 28px; padding-top: 49px; padding-bottom: 45px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 13px; }
  .personal-note { font-size: 9px; }
  .work-preview { min-height: 310px; padding-inline: 18px; }
  .preview-note { left: 21px; }
  .case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 740px) {
  .shell { padding-inline: 20px; }
  .topbar { height: 76px; gap: 12px; }
  .nav { display: none; }
  .brand { font-size: 11px; gap: 8px; }
  .brand small { font-size: 9px; }
  .brand-mark { width: 33px; height: 33px; font-size: 17px; }
  .nav-cta { margin-left: auto; white-space: nowrap; padding: 10px 12px; font-size: 10px; }
  .nav-cta span { margin-left: 3px; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding-top: 35px; padding-bottom: 31px; }
  .hero .eyebrow { font-size: 9px; margin-bottom: 17px; }
  .hero h1 { font-size: clamp(34px, 7.4vw, 49px); max-width: 520px; }
  .hero-lead { max-width: 530px; font-size: 14px; margin: 18px 0 20px; line-height: 1.7; }
  .hero-actions { gap: 8px; }
  .button { padding: 12px 16px; font-size: 11px; gap: 11px; }
  .personal-note { font-size: 9px; margin-top: 13px; }
  .hero-work { max-width: 520px; width: 100%; justify-self: center; }
  .work-preview { min-height: 0; padding: 15px 21px 64px; }
  .preview-caption { padding-bottom: 14px; }
  .phone-frame { width: 83px; height: 154px; bottom: 17px; }
  .hero-work figcaption b { font-size: 10px; }
  .hero-work figcaption>span { font-size: 9px; }
  .specialties { justify-content: flex-start; gap: 10px 19px; font-size: 10px; padding-block: 15px; }
  .section { padding-block: 38px; }
  .section-head { display: block; margin-bottom: 16px; }
  h2 { font-size: 31px; }
  .section-note { font-size: 11px; margin-top: 14px; max-width: 360px; }
  .filters { gap: 4px; margin-bottom: 20px; }
  .filter { font-size: 10px; padding: 8px 12px; min-height: 44px; }
  .case-grid { gap: 24px 16px; }
  .case-title { font-size: 16px; }
  .approach { gap: 23px; grid-template-columns: 1fr; padding-block: 33px; }
  .approach h2 { font-size: 29px; }
  .approach-copy>p { font-size: 12px; }
  .lab-section { padding-top: 25px; padding-bottom: 31px; }
  .lab-head { display: block; }
  .lab-head h2 { font-size: 18px; }
  .lab-head p { font-size: 10px; margin-top: 7px; }
  .lab-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact { padding-block: 30px; gap: 25px; }
  .contact h2 { font-size: 29px; }
  .modal { padding: 10px; }
  .modal-panel { padding: 21px; max-height: 94dvh; }
  .modal-grid { grid-template-columns: 1fr; gap: 17px; }
  .modal-close { width: 40px; height: 40px; }
}
@media (max-width: 520px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-media { aspect-ratio: 1.6; }
  .case-title { font-size: 19px; }
  .case-meta { margin-top: 12px; }
  .case-description { font-size: 12px; max-width: 37ch; margin-bottom: 11px; }
  .screen-mat { inset: 18px 20px 28px; }
  .contact { display: block; }
  .contact-actions { margin-top: 21px; gap: 10px; }
  .contact-actions .button { width: 100%; }
  .footer { font-size: 9px; }
  .modal-gallery { grid-template-columns: 1fr; }
  .modal h2 { font-size: 29px; }
  .modal-lead { font-size: 13px; }
}
@media (max-width: 360px) {
  .shell { padding-inline: 15px; }
  .brand { font-size: 10px; }
  .nav-cta { font-size: 9px; padding-inline: 8px; }
  .hero h1 { font-size: 32px; }
  .hero-actions .button { flex: 1; padding-inline: 12px; font-size: 10px; }
  .personal-note { max-width: 32ch; }
  .filter { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
