@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #19221f;
  --muted: #53605a;
  --line: #dce5df;
  --green: #137656;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: #fcfdfc;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #087ab1; outline-offset: 5px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(1200px, 88%); margin-inline: auto; }
.skip { position: fixed; top: -5rem; left: 1rem; z-index: 20; padding: 1rem; border-radius: .5rem; background: white; }
.skip:focus { top: 1rem; }
.masthead { border-bottom: 1px solid var(--line); background: #fcfdfc; }
.header-inner, nav, .brand, .contact, .primary, .section-head, .footer { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 78px; }
.brand { gap: .65rem; width: fit-content; font-size: 1.52rem; white-space: nowrap; letter-spacing: -.075em; font-weight: 450; }
.brand strong { font-weight: 780; }
.brand img { flex: none; }
nav { gap: 2rem; font-size: .92rem; font-weight: 550; }
.nav-link { padding-block: .7rem; }
.nav-link:hover, .footer-mail:hover { color: var(--green); }
.contact, .primary { width: fit-content; gap: .66rem; background: var(--ink); color: #fff; font-weight: 600; transition: background .2s, transform .2s; }
.contact { border-radius: 100px; padding: .65rem 1.15rem; }
.contact:hover, .primary:hover { background: #263d33; transform: translateY(-2px); }
.envelope { width: 15px; height: 11px; position: relative; border: 1.4px solid currentColor; border-radius: 2.5px; overflow: hidden; }
.envelope::after { content: ""; position: absolute; width: 9px; height: 9px; border: solid currentColor; border-width: 0 1.4px 1.4px 0; transform: rotate(45deg); left: 1.6px; top: -6px; }
.hero { isolation: isolate; background: radial-gradient(ellipse at 87% 68%, #edf7f736, transparent 53%), #fcfdfc; border-bottom: 1px solid var(--line); overflow: clip; }
.hero-inner { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; position: relative; gap: 4%; padding-block: clamp(2.4rem, 3.8vw, 3.8rem); }
.hero-copy { z-index: 1; }
.studio-label, .project-type { font-size: .76rem; font-weight: 650; letter-spacing: .125em; text-transform: uppercase; }
h1 { margin: 0 0 1.25rem; font-size: clamp(4.5rem, 7.15vw, 7rem); font-weight: 550; line-height: .96; letter-spacing: -.073em; }
h1 .slogan-line { display: block; font-size: .94em; line-height: 1.07; letter-spacing: -.065em; white-space: nowrap; }
h1 .slogan-accent { color: #247766; background: linear-gradient(105deg, #227d55 8%, #247d73 50%, #226da5 98%); background-clip: text; -webkit-text-fill-color: transparent; }
@media (forced-colors: active) {
  h1 .slogan-accent { background: none; -webkit-text-fill-color: currentColor; }
}
.hero-copy > p { max-width: 28rem; font-size: clamp(1.05rem, 1.38vw, 1.17rem); line-height: 1.56; color: var(--muted); }
.primary { padding: .91rem 1.28rem; border-radius: .57rem; margin-top: 1.6rem; font-size: .95rem; }
.grid-icon { display: grid; grid-template-columns: repeat(2, 5px); gap: 2px; }
.grid-icon i { display: block; width: 5px; height: 5px; border: 1px solid #e3f0e9; border-radius: 1px; }
.hero-art { position: relative; display: grid; place-items: center; min-width: 0; aspect-ratio: 1.38; }
.hero-art img { width: min(76%, 385px); height: auto; z-index: 1; }
.dot-field { position: absolute; inset: -4% -4%; background-image: radial-gradient(circle, #91ac9f85 .75px, transparent .95px); background-size: 15px 15px; mask-image: radial-gradient(ellipse, transparent 12%, #0009 54%, transparent 76%); }
.cross { position: absolute; width: 12px; height: 12px; opacity: .48; }
.cross::before, .cross::after { content: ""; background: #68867b; position: absolute; }
.cross::before { width: 100%; height: 1px; top: 50%; }
.cross::after { height: 100%; width: 1px; left: 50%; }
.cross-a { top: 13%; left: 8%; }
.cross-b { bottom: 13%; right: 4%; }
.projects { padding-block: clamp(2.6rem, 4vw, 4rem) clamp(3.2rem, 5.2vw, 5rem); }
.section-head { gap: 2.2rem; margin-bottom: 1.65rem; }
h2 { font-size: clamp(2.25rem, 3.4vw, 3.25rem); font-weight: 550; line-height: 1.05; letter-spacing: -.075em; }
h2 > span { color: #309676; }
.section-rule { flex: 1; height: 1px; background: var(--line); }
.gallery { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 2.7rem 1.65rem; }
.project.feature { grid-column: span 3; }
.project.compact { grid-column: span 2; }
.project-link { display: block; border-radius: .75rem; }
.poster { position: relative; isolation: isolate; overflow: hidden; border-radius: .92rem; aspect-ratio: 1.98; transition: box-shadow .35s ease, transform .35s ease; }
.compact .poster { aspect-ratio: 1.72; }
.project-link:is(:hover, :focus-visible) .poster { transform: translateY(-3px); box-shadow: 0 8px 18px -11px #1c3e386b; }
.project-type { color: #4e675b; display: flex; align-items: center; gap: .62rem; min-height: 1.3rem; margin-top: 1.05rem; }
h3 { width: fit-content; font-size: clamp(1.65rem, 2.45vw, 2.28rem); font-weight: 580; letter-spacing: -.062em; line-height: 1.12; margin: .22rem 0 .45rem; transition: color .2s; }
.project-link:is(:hover, :focus-visible) h3 { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.project h3::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: .44em;
  height: .44em;
  margin-left: .35em;
  background: #698075;
  mask: url("assets/link.svg") center / contain no-repeat;
}
.project p { color: var(--muted); font-size: 1rem; max-width: 55ch; line-height: 1.58; }
.compact h3 { font-size: clamp(1.55rem, 2vw, 1.95rem); }
.project-link .poster img { user-select: none; }
.chat-poster { color: #fff; container-type: inline-size; background: radial-gradient(ellipse at 80% 130%, #924a2e -12%, transparent 56%), linear-gradient(118deg, #171b1d 12%, #212325 70%, #392922); }
.chat-poster::before, .guess-grid { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, #ffffff0c 1px, transparent 1px), linear-gradient(#ffffff0c 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(115deg,#000,transparent 65%); }
.chat-light { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #e3977033; top: -55%; right: -25%; box-shadow: 0 0 0 21px #e3977009, 0 0 0 42px #e3977009, 0 0 0 64px #e3977008; }
.chat-word { position: absolute; left: 6%; top: 9%; display: flex; align-items: center; gap: .44em; font-size: 4.3cqw; font-weight: 680; letter-spacing: -.065em; }
.chat-brand-icon { width: 1.28em; height: 1.28em; padding: .14em; border-radius: .3em; background: #fff7ec; }
.chat-ui { position: absolute; left: 13%; top: 34%; width: 67%; transform: rotate(-4deg); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.message { display: flex; align-items: center; gap: .75em; padding: .64em .9em; border: 1px solid #ffffff25; border-radius: .85em; font-size: 2.9cqw; background: linear-gradient(120deg,#444340,#302f2f); box-shadow: 0 .65em 1.4em -.8em #000; }
.message > div:not(.wave) { display: flex; flex-direction: column; }
.message b { font-size: .76em; font-weight: 600; color: #ffba94; }
.message span:not(.avatar, .chat-dots) { line-height: 1.35; }
.avatar { flex: 0 0 2.1em; height: 2.1em; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.a1 { color: #ffe2cc; background: linear-gradient(145deg,#ae5e3b,#653c2d); }
.a2 { color: #d9e7ff; background: linear-gradient(145deg,#4c6792,#39445b); }
.wave { margin-left: auto; display: flex; align-items: center; justify-content: center; height: 1.8em; gap: 2px; }
.wave i { width: .18em; border-radius: .3em; background: #ffad79; height: .45em; }
.wave i:nth-child(3n+2) { height: .98em; }
.wave i:nth-child(3n) { height: .65em; }
.wave i:nth-child(5) { height: 1.45em; }
.next-message { margin-top: .5em; transform: translateX(14%); background: linear-gradient(120deg,#353a3d,#333232); }
.next-message b { color: #bfd2f3; }
.chat-dots { color: #b6bdc2; margin-left: auto; font-size: .72em; letter-spacing: .15em; }
.project-link:is(:hover, :focus-visible) .chat-ui { transform: rotate(-1deg) scale(1.035); }
.project-link:is(:hover, :focus-visible) .wave i { animation: sound .55s ease-in-out alternate 6; }
.wave i:nth-child(even) { animation-delay: -.3s !important; }
.wave i:nth-child(3n) { animation-delay: -.16s !important; }
@keyframes sound { from { transform: scaleY(.48); } to { transform: scaleY(1.2); } }
.alien-poster { background: #182b25; container-type: inline-size; }
.alien-art { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; transition: transform .55s ease; }
.alien-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, #10271ec4, transparent 46%); }
.alien-word { position: absolute; z-index: 2; top: 11%; left: 6%; color: #fffdf3; font-size: 4.9cqw; font-weight: 750; line-height: 1; letter-spacing: -.075em; text-shadow: 0 2px 6px #19311c; }
.alien-word span { color: #a8e8a4; }
.project-link:is(:hover, :focus-visible) .alien-art { transform: scale(1.055); }
.stars { position: absolute; inset: 0; background: radial-gradient(circle at 32% 25%,white 1px,transparent 2px),radial-gradient(circle at 79% 15%,#f3fcdf 1px,transparent 2px),radial-gradient(circle at 87% 51%,white 1px,transparent 2px); opacity: .65; }
.guess-poster, .collect-poster, .food-poster { display: grid; place-items: center; container-type: inline-size; }
.guess-poster { background: radial-gradient(ellipse at 30% 0%, #fff4bf, transparent 70%), #ffd965; }
.guess-grid { background-image: linear-gradient(90deg,#bd801a30 1px,transparent 1px),linear-gradient(#bd801a30 1px,transparent 1px); background-size: 7cqw 7cqw; mask-image: none; transform: rotate(-12deg) scale(1.6); }
.guess-q { position: absolute; font-weight: 800; font-size: 26cqw; line-height: 1; color: #d59a2436; transform: rotate(-12deg); }
.q1 { left: 6%; bottom: -5%; }.q2 { right: 4%; top: -2%; transform: rotate(17deg); }
.guess-poster img { width: 50%; height: auto; filter: drop-shadow(0 1cqw 0 #b8792640); transform: rotate(-5deg); transition: transform .4s ease; }
.project-link:is(:hover, :focus-visible) .guess-poster img { transform: rotate(1deg) scale(1.07); }
.collect-poster { background: radial-gradient(ellipse at 29% 15%,#e0d5fa,transparent 72%),#b6a1e5; }
.collect-orbit { width: 80%; height: 72%; border: 1px solid #faf5ff88; border-radius: 50%; transform: rotate(-24deg); box-shadow: 0 0 0 3cqw #fff1,0 0 0 6cqw #fff1; }
.ham-card { width: 31%; aspect-ratio: .74; position: absolute; border-radius: 7%; border: 2px solid #fff9; box-shadow: 1cqw 1.8cqw 3cqw #4e347442; display: flex; flex-direction: column; align-items: center; justify-content: space-around; color: #322740; transition: transform .45s ease; }
.ham-card span { font-size: 2.45cqw; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.ham-card b { font: italic 400 4.8cqw/1 "Instrument Serif", Georgia, serif; }
.ham-card img { width: 73%; height: auto; }
.ham-back { left: 27%; top: 14%; background: linear-gradient(145deg,#e1f4a3,#cde6ab); transform: rotate(-16deg); }
.ham-front { left: 44%; top: 13%; background: linear-gradient(145deg,#fcf2d9,#e7c9f8); transform: rotate(12deg); }
.project-link:is(:hover, :focus-visible) .ham-back { transform: rotate(-21deg) translateX(-6%); }
.project-link:is(:hover, :focus-visible) .ham-front { transform: rotate(16deg) translateX(4%); }
.food-poster { background: linear-gradient(145deg,#f8e6d5,#eec8bc); }
.food-lines { position: absolute; width: 90%; height: 90%; border: 1px solid #fff5; border-radius: 50%; transform: rotate(-22deg); box-shadow: 0 0 0 3cqw #fff2,0 0 0 6.1cqw #fff2; }
.snack-card { position: absolute; height: auto; width: 32%; border-radius: 6%; filter: drop-shadow(.8cqw 1.7cqw 1.6cqw #85584234); transition: transform .45s ease; }
.snack-back { left: 26%; top: 13%; transform: rotate(-14deg); }
.snack-front { left: 44%; top: 11%; transform: rotate(11deg); }
.project-link:is(:hover, :focus-visible) .snack-front { transform: rotate(15deg) translateX(6%); }
.project-link:is(:hover, :focus-visible) .snack-back { transform: rotate(-19deg) translateX(-4%); }
.soon { border: 1px solid #d5dacd; border-radius: 1rem; padding: .15rem .5rem; font-size: .75rem; color: #4a5844; font-weight: 550; letter-spacing: 0; text-transform: none; background: #f2f5ee; }
.studio { background: linear-gradient(107deg,#edf5ef,#f0f5f5 75%,#ecf3f6); border-block: 1px solid var(--line); }
.studio-inner { display: flex; align-items: center; justify-content: center; gap: clamp(2rem,6vw,5.25rem); padding-block: clamp(3rem,5vw,5rem); }
.portrait { width: clamp(8rem, 14vw, 12rem); border-radius: 26% 26% 26% 5%; overflow: hidden; flex: none; transform: rotate(-3deg); }
.portrait img { width: 100%; height: auto; }
.studio-copy { max-width: 36.5rem; }
.studio-label { color: #44634f; }
.studio-copy h2 { margin: .55rem 0 .75rem; }
.studio-copy p { font-size: 1.04rem; line-height: 1.6; color: var(--muted); }
.text-link { display: inline-block; margin-top: 1.05rem; color: #285d48; font-weight: 650; text-decoration: underline; text-underline-offset: .27em; }
.footer { min-height: 88px; justify-content: space-between; }
.footer .brand { font-size: 1.22rem; }
.footer-mail { color: var(--muted); font-size: .94rem; }
@media (min-width: 1600px) { .hero-inner { padding-block: 4rem; } }
@media (max-width: 850px) {
  .shell { width: 90%; }
  .hero-inner { grid-template-columns: 1.12fr 1fr; gap: 1%; }
  h1 { font-size: clamp(4.1rem, 8.3vw, 5rem); }
  .hero-copy > p { font-size: 1rem; }
  .gallery { gap: 2rem 1.15rem; }
  .compact .poster { aspect-ratio: 1.5; }
}
@media (max-width: 650px) {
  .shell { width: 89%; }
  .header-inner { min-height: 63px; }
  .brand { font-size: 1.26rem; gap: .4rem; }
  .brand img { width: 27px; height: 27px; }
  nav { gap: 1rem; font-size: .88rem; }
  .nav-link { padding-block: .6rem; }
  .contact { padding: .52rem .8rem; }
  .envelope { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: .35rem; padding-block: 2.1rem .7rem; }
  .hero-copy > p { max-width: 27rem; }
  .hero-art { width: min(80%, 300px); justify-self: center; }
  .hero-art img { width: 87%; }
  .hero-copy h1 { font-size: clamp(3.12rem, 13.5vw, 5rem); margin-block: 0 .95rem; }
  .primary { margin-top: 1.15rem; padding: .76rem 1rem; }
  .gallery { grid-template-columns: 1fr; gap: 2.1rem; }
  .project.feature, .project.compact { grid-column: auto; }
  .compact .poster { aspect-ratio: 1.98; }
  .projects { padding-top: 2.3rem; }
  .section-head { margin-bottom: 1.2rem; gap: 1.3rem; }
  .project-type { margin-top: .75rem; }
  h3, .compact h3 { font-size: 1.75rem; }
  .studio-inner { align-items: flex-start; flex-direction: column; gap: 1.35rem; }
  .portrait { width: 6.7rem; }
  .footer { gap: 1rem; min-height: 76px; }
}
@media (max-width: 440px) {
  .nav-link[href="#studio"] { display: none; }
  nav { gap: .85rem; }
  .hero-art { width: 72%; }
  .footer { flex-wrap: wrap; padding-block: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .project-link:is(:hover, :focus-visible) .poster, .contact:hover, .primary:hover { transform: none; }
  .project-link:is(:hover, :focus-visible) .chat-ui { transform: rotate(-4deg); }
  .project-link:is(:hover, :focus-visible) .alien-art { transform: none; }
  .project-link:is(:hover, :focus-visible) .guess-poster img { transform: rotate(-5deg); }
  .project-link:is(:hover, :focus-visible) .ham-back { transform: rotate(-16deg); }
  .project-link:is(:hover, :focus-visible) .ham-front { transform: rotate(12deg); }
  .project-link:is(:hover, :focus-visible) .snack-back { transform: rotate(-14deg); }
  .project-link:is(:hover, :focus-visible) .snack-front { transform: rotate(11deg); }
}
