@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #151817;
  --muted: #444a46;
  --green: #dff4af;
  --green-ink: #365926;
  --line: #dfdfd6;
  --gutter: clamp(1.125rem, 4.5vw, 4.5rem);
  --grid-gap: clamp(1rem, 2vw, 1.5rem);
  --section-gap: clamp(3.25rem, 6vw, 5.5rem);
  --card-padding: clamp(1rem, 1.65vw, 1.25rem);
  font-family: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.55; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--green-ink); }
a:focus-visible { outline: 2px solid var(--green-ink); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 770; letter-spacing: -.052em; line-height: 1.03; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.65rem); }
h3 { font-size: 1.3rem; }
.shell { width: min(calc(100% - var(--gutter) * 2), 1120px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 5; padding: .7rem; background: white; transform: translateY(-190%); }
.skip:focus { transform: none; }
.masthead, .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.masthead { padding-block: .75rem; min-height: 72px; border-bottom: 1px solid var(--line); }
.brand, nav { display: flex; align-items: center; }
.brand { gap: .65rem; font-weight: 750; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
nav { gap: clamp(.8rem, 3.1vw, 2.5rem); }
nav a { display: inline-flex; align-items: center; font-weight: 650; font-size: .875rem; text-decoration: none; }
.masthead nav a { min-height: 44px; }
.monogram { flex: none; display: grid; place-items: center; color: #26391c; background: var(--green); }
.monogram { width: 2rem; height: 2rem; border-radius: .55rem; font-weight: 800; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .7rem 1.125rem; border-radius: .66rem; text-decoration: none; font-size: .9rem; font-weight: 690; white-space: nowrap; }
.button span { font-size: 1.1em; }
.primary { background: #212b1d; color: white; }
.primary:hover { background: #36532a; color: white; }
.masthead .button { padding: .5rem 1rem; }
.outline { border: 1px solid #8b9785; }
.outline:hover { background: #eaf2dc; }
.hero-content { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2rem, 3.6vw, 3rem) clamp(2.15rem, 3.6vw, 3rem); }
.intro-id { font-size: .9rem; font-weight: 640; color: var(--muted); margin-bottom: 1rem; }
.intro-id span { color: var(--green-ink); padding-inline: .22rem; }
.hero h1 { max-width: 11em; font-size: clamp(2.5rem, 4.8vw, 3.9rem); text-wrap: balance; }
mark { color: inherit; background: var(--green); border-radius: .24em; padding-inline: .09em; white-space: nowrap; }
.intro { max-width: 33rem; margin-top: 1.25rem; color: var(--muted); line-height: 1.5; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero h1 mark { white-space: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-product { min-width: 0; overflow: hidden; border: 1px solid #d6dfc7; border-radius: 1.25rem; background: #eef2e4; box-shadow: 0 .5rem 1.25rem #3133210b; }
.hero-product-art { position: relative; display: flex; justify-content: end; align-items: end; aspect-ratio: 1.53; overflow: hidden; background: url("assets/nebbia.jpg") 46% center / cover; }
.hero-product .hero-device { width: 50%; height: 89%; margin: 0 8% 0 0; border-radius: 1.7rem 1.7rem 0 0; }
.hero-product figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding: .75rem 1rem; font-size: .82rem; font-weight: 690; }
.hero-product figcaption small { font-size: .75rem; color: var(--muted); font-weight: 510; }
.hero-product figcaption a { padding-block: .35rem; }
.proof { border-block: 1px solid var(--line); padding-block: 1.3rem 1.5rem; }
.proof-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .55rem 1.25rem; margin-bottom: 1.15rem; }
.proof-heading h2 { font-size: clamp(1.15rem, 2.6vw, 1.45rem); letter-spacing: -.036em; }
.proof-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; }
.proof-stats div { display: flex; flex-direction: column-reverse; gap: .28rem; padding-inline: clamp(.55rem, 2vw, 1.5rem); border-left: 1px solid var(--line); }
.proof-stats div:first-child { padding-left: 0; border: 0; }
.proof-stats dd { margin: 0; color: var(--green-ink); font-size: clamp(1.65rem, 4vw, 2.4rem); font-weight: 780; line-height: 1; letter-spacing: -.055em; }
.proof-stats dt { color: var(--muted); font-size: clamp(.73rem, 1.6vw, .86rem); line-height: 1.3; }
.work, .client { margin-top: var(--section-gap); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: 1.5rem; }
.text-link { font-size: .88rem; font-weight: 650; }
.project-grid { display: grid; gap: var(--grid-gap); }
.featured { grid-template-columns: repeat(3, minmax(0,1fr)); }
.additional { grid-template-columns: repeat(2, minmax(0,1fr)); }
.project { position: relative; min-width: 0; border: 1px solid #e5e3db; border-radius: .95rem; overflow: hidden; background: #fcfbf8; box-shadow: 0 .55rem 1rem #3133210b; }
.project:focus-within { outline: 2px solid var(--green-ink); outline-offset: 3px; }
.project-art { overflow: hidden; aspect-ratio: 1.7; border-bottom: 1px solid #15181710; }
.fido-art { display: flex; align-items: end; justify-content: center; background: url("assets/nebbia.jpg") center 47% / cover; }
.device { overflow: hidden; margin-left: 27%; width: 52%; height: 87%; border: 4px solid #202320; border-radius: 1.16rem 1.16rem 0 0; border-bottom: 0; background: #fff; box-shadow: 0 .3rem .8rem #101a1250; }
.device img { width: 100%; height: auto; transform: scale(1.27) translateY(-29%); transform-origin: 50% 0; }
.browser-art { padding: clamp(.75rem, 1.75vw, 1.25rem) clamp(.75rem, 1.6vw, 1.125rem) 0; }
.browser-art img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border: 1px solid #fff; border-radius: .64rem .64rem 0 0; box-shadow: 0 .45rem .95rem #313b3820; }
.mint-art { background: #e4e5df; }
.mint-art img { height: auto; }
.sitemap-art { background: #e3e8de; }
.sitemap-art img { object-position: 6% top; }
.project-body { padding: var(--card-padding); }
.project-body h3 { margin: 0 0 .4rem; font-size: clamp(1.12rem, 2vw, 1.32rem); line-height: 1.2; }
.project-link { text-decoration: none; }
.project-link:hover, .project-link:focus-visible { text-decoration: underline; }
.project-link::after { position: absolute; inset: 0; content: ""; }
.project-body p { font-size: .875rem; line-height: 1.48; color: var(--muted); }
.more { margin-top: clamp(2rem, 4.5vw, 3rem); }
.more { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.more summary { min-height: 48px; padding-block: .85rem; cursor: pointer; font-weight: 700; }
.more summary span { margin-left: .5rem; color: var(--muted); font-size: .85rem; font-weight: 500; }
.more[open] { padding-bottom: 1.15rem; }
.more[open] summary { margin-bottom: .3rem; }
.project-body .project-fact { margin-top: .64rem; color: var(--green-ink); font-weight: 720; font-size: .78rem; }
.compact .project-art { aspect-ratio: 2.65; }
.talk-art, .game-art { display: flex; justify-content: center; padding: .875rem 1rem 0; }
.talk-art { background: #eadfdf; }
.talk-art img { width: auto; height: calc(100% - .65rem); object-fit: contain; border-radius: .45rem; }
.game-art { background: #e5e9d8; }
.game-art img { width: 9.5rem; height: auto; object-fit: cover; object-position: top; border-radius: .46rem .46rem 0 0; }
.client-card { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0,.87fr); align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: 1.05rem; background: #fcfbf8; }
.client-card > img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: 28% center; }
.client-copy { padding: clamp(1.25rem, 3.2vw, 2.35rem); align-self: center; }
.client-copy h3 { font-size: clamp(1.65rem, 3vw, 2.25rem); margin-bottom: .65rem; }
.client-copy > p:not(.section-label) { color: var(--muted); font-size: .93rem; }
.client-fact { margin-top: 1rem; }
.client-fact strong { color: var(--green-ink); font-size: 1.5rem; letter-spacing: -.045em; margin-right: .2rem; }
.client-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: 1.1rem; }
.about { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 1.5rem; margin-block: var(--section-gap); border-top: 1px solid var(--line); padding-top: 1.5rem; }
.about-photo img { width: clamp(5.5rem, 13vw, 8rem); height: auto; aspect-ratio: 1; object-fit: cover; object-position: 55% center; border-radius: .85rem; }
.bio { max-width: 65ch; }
.section-label { color: var(--green-ink); font-weight: 790; font-size: .7rem; letter-spacing: .115em; line-height: 1.2; text-transform: uppercase; margin-bottom: .75rem; }
.bio h2, .contact h2 { font-size: clamp(1.6rem, 3.1vw, 2.4rem); }
.bio > p, .contact p { margin-top: .65rem; color: var(--muted); font-size: .94rem; }
.contact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; padding: clamp(1.5rem, 3.25vw, 2.5rem); border: 1px solid #dfe9d0; border-radius: 1rem; background: radial-gradient(ellipse at 87% 140%, #bdd594 8%, transparent 48%), linear-gradient(113deg,#f0f5e6 38%,#e4edcf); }
.contact > div { max-width: 38rem; }
.contact p { margin-top: .5rem; }
.footer-bottom { padding-block: 1.5rem; }
.footer-bottom nav { gap: 1rem; }
.footer-bottom a, .footer-bottom p { font-size: .76rem; }
.footer-bottom p { color: var(--muted); margin-right: auto; }
.footer-bottom .monogram { width: 1.55rem; height: 1.55rem; border-radius: .4rem; }
.case { padding-block: 2rem 3.5rem; }
.case-header { padding-block: 2rem 1.5rem; }
.case-header h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.case-header .label { color: var(--green-ink); font-weight: 670; margin-bottom: .5rem; }
.case-header .project-tagline { margin-top: .6rem; color: var(--muted); }
.case-hero img { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: .85rem; }
.case-hero figcaption { color: var(--muted); font-size: .8rem; margin-top: .5rem; }
.case-body { max-width: 660px; margin: 2.25rem auto 0; }
.case-body section { margin-bottom: 1.6rem; }
.case-body h2 { margin-bottom: .55rem; }
.case-body section p { color: var(--muted); }
.case-body .text-link { display: inline-block; margin-top: .6rem; }
@media (max-width: 690px) {
  .masthead { padding-block: .4rem; gap: .25rem .75rem; }
  .masthead nav { gap: clamp(.5rem, 2.6vw, 1rem); }
  .masthead nav a { font-size: .8rem; }
  .brand { font-size: .9rem; }
  .masthead .button { padding-inline: .65rem; }
  .hero-content { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2.5rem 2.75rem; }
  .hero h1 { max-width: 12em; text-wrap: wrap; }
  .intro { max-width: 31rem; }
  .hero-product { width: min(100%, 32rem); }
  .featured, .additional, .client-card { grid-template-columns: 1fr; }
  .client-card > img { min-height: 0; height: auto; }
  .compact .project-art { aspect-ratio: 2; }
  .device { max-width: 13rem; }
  .about { gap: 1rem; align-items: start; }
  .footer-bottom p { order: 3; flex-basis: 100%; }
}
@media (max-width: 365px) {
  .hero h1 { font-size: 2.15rem; }
  .more summary span { display: block; }
  .masthead nav { width: 100%; justify-content: space-between; }
}
.press-strip { margin-top: clamp(1.75rem, 4vw, 3rem); }
.press-strip .section-heading { margin-bottom: .8rem; }
.press-strip h2 { font-size: clamp(1.15rem, 2.45vw, 1.55rem); letter-spacing: -.035em; }
.press-outlets, .media-stories { padding: 0; list-style: none; }
.press-outlets { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .55rem; margin: 0; }
.press-outlets a { display: flex; align-items: center; justify-content: space-between; gap: .45rem; min-height: 46px; padding: .6rem .68rem; border: 1px solid var(--line); border-radius: .55rem; background: #fcfbf8; text-decoration: none; font-size: .84rem; font-weight: 700; line-height: 1.25; }
.press-outlets a:hover { background: #eaf2dc; }
.press-outlets a span, .media-stories a span { color: var(--green-ink); font-weight: 550; }
.media-coverage { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.media-coverage > p, .media-stories p { color: var(--muted); }
.media-stories { margin: 1rem 0 0; }
.media-stories li { padding-block: .75rem; border-bottom: 1px solid var(--line); }
.media-stories p { margin-top: .25rem; font-size: .88rem; }
@media (max-width: 950px) {
  .press-outlets { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .press-outlets { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.services { margin-top: var(--section-gap); }
.services-grid { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--grid-gap); padding: 0; margin: 0; }
.services-grid li { padding-top: 1rem; border-top: 2px solid #baca9f; }
.services-grid h3 { font-size: 1.18rem; line-height: 1.2; letter-spacing: -.035em; }
.services-grid p { margin-top: .55rem; color: var(--muted); font-size: .94rem; }
.case-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin: 1rem 0 .7rem; }
.case-metrics div { display: flex; flex-direction: column-reverse; gap: .3rem; min-width: 0; padding: .85rem; border: 1px solid #dfe9d0; border-radius: .65rem; background: #eef3e4; }
.case-metrics dd { margin: 0; font-size: clamp(1.3rem, 4vw, 2rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 780; color: var(--green-ink); }
.case-metrics dt, .measurement-note { font-size: .81rem; color: var(--muted); }
.measurement-note { margin-bottom: .8rem; }
#performance-seo .text-link { margin-right: .7rem; }

@media (max-width: 690px) {
  .services-grid { grid-template-columns: 1fr; gap: 1.15rem; }
}

.case-results { width: 100%; margin: 1rem 0 .65rem; border-collapse: collapse; font-size: clamp(.78rem, 2.2vw, .94rem); }
.case-results caption { color: var(--muted); text-align: left; font-size: .79rem; padding-bottom: .4rem; }
.case-results th, .case-results td { padding: .55rem .4rem; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.case-results th:first-child { padding-left: 0; text-align: left; }
.case-results td:last-child { font-weight: 660; }
