@font-face {
  font-family: "DM Sans";
  src: url("/studio/media/dm-sans.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --ink: #151714;
  --paper: #f4f3ed;
  --lime: #d7fc60;
  --muted: #51564c;
  --line: #c8cabe;
  --pad: clamp(21px, 5.8vw, 98px);
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
html { scroll-padding-top: 12px; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3992e8; outline-offset: 4px; }
.frame { width: min(100%, 1600px); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: fixed; z-index: 10; top: -100px; left: 12px; padding: 12px; color: #fff; background: var(--ink); }
.skip:focus { top: 12px; }
.topbar, .showcase, .hero-pin { background: #151714; color: var(--paper); }
.topbar { position: relative; z-index: 2; border-bottom: 1px solid #373b32; }
.head-inner, nav, .brand, .hero-foot, .assembly-controls, .button, .scroll-cue { display: flex; align-items: center; }
.head-inner { min-height: clamp(56px, 8vh, 80px); justify-content: space-between; gap: 1rem; }
.brand { gap: .3em; font-size: clamp(1.05rem, 1.6vw, 1.58rem); font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.brand b { font-weight: 460; }
.brand-mark { display: inline-flex; align-items: end; gap: 2px; margin-right: 4px; transform: skewX(-14deg); }
.brand-mark i { height: .7em; width: .28em; background: var(--lime); }
.brand-mark i:nth-child(2) { height: 1.13em; }
.brand-mark i:last-child { height: .9em; }
nav { gap: clamp(16px, 2.8vw, 44px); font-size: .89rem; }
nav a:hover, .email:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { border: 1px solid #71756b; border-radius: 40px; padding: .52em 1.2em; }
.nav-cta:hover { background: var(--paper); color: var(--ink); }
.showcase { position: relative; }
.has-travel .showcase::after { content: ""; display: block; height: clamp(390px, 82svh, 780px); }
.has-travel .hero-pin { position: sticky; top: 0; }
.hero-pin { isolation: isolate; overflow: clip; }
.hero-grid { display: grid; align-items: center; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); min-height: clamp(420px, 77svh, 800px); }
.hero-copy { position: relative; z-index: 1; padding-block: 24px; }
.kicker, .category, .hero-foot, .assembly-controls, .motion-toggle {
  font-family: "Courier New", monospace; font-size: .74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
}
.kicker { display: flex; align-items: center; gap: .7em; }
.kicker i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.hero-copy .kicker { color: #cbd1bf; }
.hero-copy .kicker i { color: var(--lime); box-shadow: 0 0 12px #a9d24b80; }
h1, h2 { font-weight: 575; letter-spacing: -.078em; }
h1 { font-size: clamp(72px, 7.9vw, 144px); line-height: .89; margin: .32em 0 .23em; }
h1 em { font-family: Georgia, "Times New Roman", serif; color: #e0e5cd; font-weight: normal; letter-spacing: -.09em; }
.intro { max-width: 36ch; min-height: 4.44em; font-size: clamp(1rem, 1.28vw, 1.35rem); line-height: 1.48; color: #cbd0c2; }
.button { display: inline-flex; gap: 1.5em; justify-content: space-between; width: fit-content; min-height: 45px; padding: .77em 1.25em; font-size: .93rem; font-weight: 680; border-radius: 100px; }
.button span { font-size: 1.1em; transition: transform .22s ease; }
.button:hover span { transform: translate(3px, 2px); }
.lime { background: var(--lime); color: #17200b; margin-top: clamp(18px, 3vh, 32px); }
.lime:hover { background: #e5ff94; }
.chip-stage { position: relative; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.field { position: relative; width: 100%; height: clamp(330px, 63svh, 675px); isolation: isolate; }
.field::before { content: ""; position: absolute; inset: -12%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 52% 57%, #61714c64, #444c3636 38%, transparent 67%); }
.field-print { position: absolute; inset: 0 -2%; opacity: .52; background-image: radial-gradient(#949985 0.8px, transparent 1px); background-size: 14px 14px; mask-image: radial-gradient(ellipse closest-side, black 10%, transparent 100%); }
.floor-ring { position: absolute; left: 13%; width: 75%; bottom: 7%; height: 28%; border-radius: 50%; border: 1px solid #b6c68c40; transform: rotate(-13deg) scale(var(--floor-scale, .9)); background: radial-gradient(closest-side, #11150d75, transparent); }
.floor-ring::after { content: ""; position: absolute; border: 1px dashed #a7bd683d; border-radius: inherit; inset: -12% -5%; }
.rig { position: absolute; inset: 0; transform: perspective(1100px) rotateY(var(--yaw, 0deg)) rotateX(var(--pitch, 0deg)); }
.piece { position: absolute; left: 50%; top: 50%; width: min(90%, 70svh); height: auto; pointer-events: none; user-select: none; transform: translate(-50%, -50%); }
.intact { opacity: var(--closed, 1); transform: translate(-50%, -50%) rotate(var(--angle, 0deg)) scale(var(--closed-size, 1)); }
.base, .board, .lid { opacity: var(--opened, 0); width: min(84%, 65svh); }
.base { transform: translate(-50%, var(--base-y, -35%)) rotate(var(--angle, 0deg)) scale(var(--size, 1)); }
.board { transform: translate(-50%, var(--board-y, -50%)) rotate(var(--angle, 0deg)) scale(var(--size, 1)); }
.lid { transform: translate(-50%, var(--lid-y, -63%)) rotate(var(--angle, 0deg)) scale(var(--size, 1)); }
.assembly-controls { position: relative; align-self: center; justify-content: center; gap: 14px; padding: 8px 12px; margin-top: 6px; color: #dcdfd4; font-size: .65rem; }
.assembly-controls label { white-space: nowrap; }
.assembly-controls label>span:first-child { color: #848d74; margin-inline: .18em; }
.assembly-controls input { accent-color: var(--lime); width: clamp(52px, 7vw, 105px); min-height: 24px; cursor: ew-resize; }
.hero-foot { justify-content: space-between; min-height: 48px; position: relative; color: #c2c8ba; font-size: .66rem; }
.hero-foot::before { content: ""; position: absolute; inset: 0 var(--pad) auto; border-top: 1px solid #3c4335; }
.scroll-cue { gap: .8rem; }
.scroll-cue i { color: var(--lime); font: 1.08rem Arial, sans-serif; }
.motion-toggle { border: 0; background: none; color: inherit; min-height: 40px; padding: 5px 0 5px 12px; font-size: .64rem; }
.motion-toggle:hover { color: var(--lime); }
.section { padding-block: clamp(58px, 8vw, 126px); }
h2 { font-size: clamp(50px, 6.7vw, 108px); line-height: .99; margin-top: .2em; }
h2 span { color: #6b8242; }
.section-head, .service-grid, .contact-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 8%; }
.section-head>p, .contact-copy p { color: var(--muted); font-size: clamp(1.02rem, 1.45vw, 1.43rem); line-height: 1.45; max-width: 37ch; }
.projects { display: grid; grid-template-columns: 1.13fr 1fr; gap: clamp(24px, 4vw, 70px); margin-top: clamp(26px, 4.5vw, 70px); }
.project { display: block; min-width: 0; }
.project:nth-child(2) { margin-top: clamp(22px, 5vw, 88px); }
.project-image { position: relative; display: grid; place-items: center; aspect-ratio: 1.52; overflow: hidden; border-radius: 3px; isolation: isolate; }
.image-gp { background: radial-gradient(ellipse at 40% 15%, #a9bbb3, #6f8980); }
.image-rts { background: radial-gradient(ellipse at 40% 15%, #626860, #323a34); }
.project-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(143deg, #fff3, transparent 36%, transparent 76%, #15171420); z-index: -1; }
.screenshot { width: 86%; border-radius: 5px; box-shadow: 0 19px 44px -15px #111b17ae; overflow: hidden; background: #e9ece8; transform: translateY(var(--image-drift,0px)); transition: scale .35s ease; }
.project:hover .screenshot { scale: 1.035; }
.chrome-dots { display: block; height: 11px; background: radial-gradient(circle at 7px 5.5px, #99a19a 1.2px, transparent 1.6px), radial-gradient(circle at 12px 5.5px, #99a19a 1.2px, transparent 1.6px), radial-gradient(circle at 17px 5.5px, #99a19a 1.2px, transparent 1.6px); }
.screenshot img { width: 100%; height: auto; }
.project-info { padding: 19px 0 0; }
.category { color: #5b6454; font-size: .67rem; }
.project-info h3, .gallery>h3 { font-size: clamp(1.65rem, 3.1vw, 3.5rem); line-height: 1.07; letter-spacing: -.065em; font-weight: 600; }
.project-info h3 { margin: .16em 0 .24em; }
.project-info>p:not(.category), .screens figcaption span, .services-list dd { color: var(--muted); font-size: 1rem; line-height: 1.52; max-width: 54ch; }
.action-link { display: inline-flex; align-items: center; gap: .6em; border-bottom: 1px solid #888e7e; padding-bottom: 3px; margin-top: .85rem; font-weight: 650; }
.action-link::after { content: "↗"; }
.gallery { border-top: 1px solid var(--line); margin-top: clamp(50px, 7vw, 110px); padding-top: 36px; }
.screens { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(30px, 4vw, 64px) clamp(16px, 2.6vw, 42px); margin-top: 28px; }
.screens figure { min-width: 0; }
.screens img { width: 100%; height: auto; aspect-ratio: 1.72; object-fit: contain; background: #e6e9e1; border: 1px solid #d4d8cd; border-radius: 3px; }
.screens .community-screen img { background: #edefe7; }
.screens figcaption { font-weight: 620; font-size: 1.35rem; letter-spacing: -.035em; margin-top: 13px; }
.screens figcaption span { display: block; margin-top: .26em; font-weight: 400; letter-spacing: normal; }
.private-credit { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 44px; border-block: 1px solid var(--line); padding-block: 15px; }
.private-credit h3 { font: 600 .73rem "Courier New", monospace; text-transform: uppercase; letter-spacing: .1em; }
.private-credit span { font-weight: 580; }
.services { color: var(--paper); background: #20241f; }
.service-grid { align-items: start; grid-template-columns: .9fr 1.1fr; }
.services h2 span, .services .kicker i { color: var(--lime); }
.services-list>div { padding: 17px 0 22px; border-top: 1px solid #525a4b; }
.services-list dt { font-size: clamp(1.1rem, 2vw, 1.8rem); font-weight: 560; letter-spacing: -.04em; margin-bottom: .24em; }
.services-list dd { color: #c3cabc; }
.contact { background: var(--lime); }
.contact-inner { align-items: center; }
.contact-copy p { color: #364523; }
.ink { margin: 17px 0 12px; background: var(--ink); color: #fff; }
.email { display: block; font-size: .94rem; font-weight: 630; width: fit-content; }
.footer { display: flex; align-items: center; gap: 24px; padding-block: 23px; font-size: .87rem; }
.footer .brand { margin-right: auto; }
@keyframes rise { from { opacity: .35; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.motion-on .arrived { animation: rise .65s cubic-bezier(.2,.7,.25,1) both; }
@media (max-width: 900px) { .screens { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.image-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: transparent; border-radius: 3px; color: #fff; cursor: zoom-in; }
.image-open::after { content: "⤢"; position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1c231cdd; font: 20px/1 Arial,sans-serif; }
.photo-viewer { width: min(96vw, 1000px); padding: clamp(14px,2.5vw,30px); border: 1px solid #495044; border-radius: 8px; color: var(--paper); background: #1c211c; }
.photo-viewer::backdrop { background: #101410e8; }
body:has(.photo-viewer[open]) { overflow: hidden; }
.photo-bar, .photo-details, .photo-details>div { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.photo-bar h2 { font-size: clamp(1.4rem,3vw,2.1rem); margin: 0; letter-spacing: -.04em; }
.photo-viewer button { border: 1px solid #6d7666; background: transparent; border-radius: 24px; color: inherit; min-height: 40px; min-width: 40px; padding: 5px 12px; }
.full-photo { display: block; width: 100%; height: min(58svh,520px); object-fit: contain; margin-block: 13px; background: #131613; }
.photo-details p { font-size: .95rem; max-width: 62ch; color: #d8ddcf; }
@media (max-width: 480px) { .photo-details { align-items: start; flex-direction: column; } .full-photo { height: auto; max-height: 53svh; } }
@media (max-width: 680px) {
  .head-inner { min-height: 54px; }
  nav { gap: 14px; font-size: .81rem; }
  .nav-cta { padding: .45em .75em; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; min-height: auto; }
  .hero-copy { padding-block: 29px 2px; }
  h1 { font-size: clamp(52px, 11.9vw, 82px); line-height: .94; margin: .23em 0 .2em; }
  .intro { font-size: .97rem; line-height: 1.35; min-height: 4.05em; max-width: 38ch; }
  .hero-copy .button { margin-top: 12px; padding: .58em 1.05em; min-height: 38px; }
  .field { height: clamp(225px, 42svh, 440px); }
  .piece { width: min(89%, 43svh); }
  .base, .board, .lid { width: min(83%, 41svh); }
  .assembly-controls { margin-top: 0; padding-block: 0; }
  .hero-foot { min-height: 42px; margin-top: 12px; }
  .section-head, .service-grid, .contact-inner, .projects { grid-template-columns: 1fr; gap: 22px; }
  .section-head>p { max-width: 43ch; }
  .project:nth-child(2) { margin-top: 12px; }
  .project-image { aspect-ratio: 1.72; }
  .footer { flex-wrap: wrap; gap: 12px 18px; }
  .footer .brand { flex-basis: 100%; }
}
@media (max-width: 490px) {
  .screens { grid-template-columns: 1fr; gap: 30px; }
  .screens img { aspect-ratio: 1.8; }
  .brand { font-size: 1rem; }
  .kicker { font-size: .66rem; }
}
@media (max-width: 360px) { nav { gap: 9px; } .brand-mark { margin-right: 1px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
