:root {
  color-scheme: light;
  --ink: #171816;
  --surface: #f4f3ee;
  --white: #faf9f3;
  --lime: #c7f253;
  --lime-ink: #4a6215;
  --muted: #5e6058;
  --line: #d5d5cb;
  --dark-line: #363831;
  --max-width: 1320px;
  --gutter: clamp(22px, 5.35vw, 84px);
  --font: Inter, "Geist", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: var(--font); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
figure, p, h1, h2, h3 { margin: 0; }
section[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px; background: var(--lime); transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--max-width)); margin-inline: auto; }
.section-pad { padding-block: clamp(66px, 8vw, 119px); }

.site-header, .hero, .site-footer { background: var(--ink); color: var(--white); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--dark-line); }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 9px; font-size: 29px; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.brand-period { color: var(--lime); }
.brand-mark { display: grid; grid-template-columns: repeat(2, 5px); gap: 3px; transform: rotate(-13deg); }
.brand-mark i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.brand-mark i:last-child { background: transparent; border: 1px solid var(--lime); }
.site-header nav { display: flex; gap: clamp(16px, 3vw, 42px); font-size: 14px; }
.site-header nav a { color: #d0d1c8; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--lime); }
.header-contact { justify-self: end; display: flex; gap: 13px; align-items: center; padding: 9px 14px; border: 1px solid #494c40; border-radius: 50px; font-size: 14px; }
.header-contact span { color: var(--lime); }
.header-contact:hover { border-color: var(--lime); }
.eyebrow { display: flex; align-items: center; gap: 9px; font: 700 11px/1.5 var(--mono); letter-spacing: .125em; }
.signal { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); display: inline-block; flex: none; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; width: fit-content; min-height: 51px; border: 0; border-radius: 48px; padding: 12px 19px; font-size: 14px; font-weight: 700; transition: background-color .2s, color .2s; }
.button span { font-size: 19px; line-height: 1; }
.button.primary { background: var(--lime); color: var(--ink); }
.button.primary:hover { background: #e0ff9c; }
.button.primary:focus-visible { outline-color: var(--lime); }
.button.dark { background: var(--ink); color: var(--white); }
.button.dark:hover { background: #333626; }
.button.dark:focus-visible { outline-color: var(--ink); }

.hero { overflow: clip; }
.hero-inner { min-height: clamp(565px, 47vw, 715px); display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 2; padding-block: 58px 64px; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.hero .eyebrow { color: #d4d6c9; }
.hero h1 { margin: 22px 0 23px; font-size: clamp(69px, 8.15vw, 126px); letter-spacing: -.083em; line-height: .88; font-weight: 800; }
.hero h1 span { color: var(--lime); }
.hero-description { color: #d0d1c6; font-size: clamp(16px, 1.38vw, 20px); line-height: 1.48; }
.hero-copy .button { margin-top: 31px; }
.hero-art { align-self: stretch; position: relative; isolation: isolate; }
.hero-orbit { position: absolute; inset: 7% 6% 9% 1%; border-radius: 50%; border: 1px solid #383c2d; transform: rotate(-28deg) scaleX(.88); }
.hero-orbit::after { content: ""; position: absolute; inset: 8%; border: 1px solid #34382a; border-radius: 50%; }
.dot-field { position: absolute; width: 95%; aspect-ratio: 1; top: 49%; left: 48%; transform: translate(-50%, -50%); background: radial-gradient(circle, #b9e747 1.65px, transparent 2.3px) 0 0 / 9px 9px; mask-image: radial-gradient(ellipse at 48% 49%, black 0%, #000e 21%, #0009 37%, #0002 56%, transparent 72%); }
.dot-field::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 46% 46%, #c7f25322, transparent 54%); }
.art-cross { position: absolute; color: #a3b46f; font: 18px/1 var(--mono); }
.art-cross-top { left: 11%; top: 18%; }
.art-cross-bottom { right: 10%; bottom: 22%; }
.board-layer { position: absolute; height: var(--board-height); left: var(--board-left); top: var(--board-top); transform: translate3d(var(--move-x, 0px), var(--move-y, 0px), 0); }
.board-layer img { height: 100%; width: auto; max-width: none; transform: rotate(var(--tilt)); filter: drop-shadow(11px 15px 12px #10110dd9); }
.board-back { --board-left: 27%; --board-top: 12%; --board-height: 70%; --tilt: -34deg; }
.board-middle { --board-left: 48%; --board-top: 8%; --board-height: 75%; --tilt: -25deg; }
.board-front { --board-left: 66%; --board-top: 22%; --board-height: 65%; --tilt: -17deg; }
.hero-art figcaption { position: absolute; right: 0; bottom: 29px; }
.hero-art figcaption a { display: flex; align-items: center; gap: 9px; color: #e0e1d6; font: 700 11px/1.5 var(--mono); letter-spacing: .11em; }
.hero-art figcaption a:hover { color: var(--lime); }
.hero-art figcaption .signal { width: 6px; height: 6px; }

.work .signal, .studio .signal, .case-intro .signal { background: var(--lime-ink); }
.section-heading { margin-bottom: 31px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-heading h2, .studio h2, .contact h2 { margin-top: 10px; font-size: clamp(42px, 5.55vw, 83px); letter-spacing: -.075em; line-height: .96; }
.section-heading h2 span, .studio h2 span { color: var(--lime-ink); }
.section-heading > p { color: var(--muted); font-size: 15px; line-height: 1.46; padding-bottom: 4px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 21px; }
.project-wide { grid-column: 1 / -1; }
.project-visual { height: auto; aspect-ratio: 1.53; position: relative; isolation: isolate; overflow: hidden; border-radius: 5px; }
.personal-visual { aspect-ratio: 2.24; background: #b6c7d1; }
.photo-visual { background: #e7e2d4; }
:is(.personal-visual, .photo-visual) > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.personal-visual > img { object-position: center 42%; }
.project-card:hover :is(.personal-visual, .photo-visual) > img { transform: scale(1.025); }
.monin-visual { background: radial-gradient(ellipse at 60% 85%, #f4e2a4, transparent 62%), #bba46b; }
.modera-visual { background: radial-gradient(ellipse at 55% 110%, #9d634c, transparent 75%), #372527; }
.project-visual :is(.visual-left,.visual-right,.visual-center) { position: absolute; height: 76%; width: auto; filter: drop-shadow(3px 11px 12px #16130f66); transition: transform .35s ease; }
.project-visual .visual-left { top: 12%; left: 22%; transform: rotate(-12deg); }
.project-visual .visual-right { top: 14%; right: 23%; transform: rotate(12deg); }
.project-visual .visual-center { top: 10%; left: 50%; transform: translateX(-50%) rotate(-3deg); }
.project-card:hover .visual-left { transform: translateX(-8px) rotate(-15deg); }
.project-card:hover .visual-right { transform: translateX(8px) rotate(15deg); }
.project-card:hover .visual-center { transform: translate(-50%, -4px) rotate(-1deg); }
.project-caption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-block: 15px 17px; border-bottom: 1px solid var(--line); }
.project-caption h3 { font-size: clamp(25px, 3vw, 43px); line-height: 1; letter-spacing: -.06em; }
.project-caption p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.project-arrow, .round-button { display: inline-grid; place-items: center; flex: none; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 50%; font-size: 22px; transition: background-color .2s, border-color .2s; }
.project-card:hover .project-arrow, .round-button:hover { background: var(--lime); border-color: var(--lime); }

.studio { background: #e8e8de; }
.studio-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.service-list { margin: 0; padding: 0; list-style: none; }
.service-list li { padding: 17px 0; border-bottom: 1px solid #c2c4b6; font-size: clamp(17px, 2vw, 25px); font-weight: 600; letter-spacing: -.025em; }
.service-list li:first-child { border-top: 1px solid #c2c4b6; }
.service-list p { margin-top: 5px; color: var(--muted); font-size: 15px; font-weight: 400; letter-spacing: normal; line-height: 1.45; }
.contact { background: var(--lime); }
.contact .signal { background: var(--ink); }
.contact-inner { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.contact h2 { margin-top: 13px; }
.contact-phone { display: inline-block; margin-top: 16px; font-size: clamp(17px, 2vw, 23px); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.footer-inner { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 14px; color: #cccec4; font-size: 13px; }
.footer-inner .brand { color: var(--white); }
.footer-inner > a:last-child:hover { color: var(--lime); }

.case-intro { padding-block: clamp(34px, 5vw, 78px) 36px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 700; font-size: 14px; }
.back-link:hover { color: var(--ink); }
.case-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: end; margin-top: 41px; }
.case-heading h1 { font-size: clamp(55px, 9.5vw, 141px); letter-spacing: -.085em; line-height: .89; margin-top: 11px; }
.category-heading h1 { font-size: clamp(43px, 7vw, 108px); letter-spacing: -.065em; line-height: .95; text-wrap: balance; }
.case-description { color: var(--muted); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.5; max-width: 43ch; }
.case-meta { display: flex; flex-wrap: wrap; gap: 0 25px; padding: 18px 0 0; margin: 25px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font: 700 11px/1.8 var(--mono); letter-spacing: .075em; }
.case-media { padding-bottom: clamp(60px, 8vw, 110px); }
.case-cover, .case-gallery figure img { display: block; width: 100%; height: auto; border-radius: 5px; }
.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 23px; }
.case-media > .case-gallery:first-child { margin-top: 0; }
.case-gallery figcaption { padding-top: 9px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.menu-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 20px; margin-top: 23px; }
.menu-gallery figure { background: #e7e2d4; padding: clamp(10px, 3vw, 44px); border-radius: 5px; }
.menu-gallery img { width: 100%; height: auto; box-shadow: 0 6px 18px #302a1c44; }
.menu-gallery figcaption { padding-top: 12px; font-size: 14px; line-height: 1.4; }
.case-next { background: var(--lime); padding: 30px 0; }
.case-next a { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: clamp(22px, 3.2vw, 45px); letter-spacing: -.05em; font-weight: 700; }
.case-next small { display: block; font: 700 11px/1.5 var(--mono); letter-spacing: .09em; margin-bottom: 5px; }
.case-next .project-arrow { border-color: #879c42; }
.case-next a:hover .project-arrow { background: var(--ink); color: var(--white); }

.calendar { margin-top: 24px; background: #34272a; color: var(--white); border-radius: 5px; padding: clamp(19px, 4vw, 55px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: center; }
.calendar h2 { font-size: clamp(29px, 4vw, 57px); line-height: 1; letter-spacing: -.06em; margin-bottom: 13px; }
.calendar p { color: #e0d6d7; font-size: 15px; line-height: 1.45; }
.calendar-controls { display: flex; gap: 12px; align-items: center; margin-top: 23px; }
.calendar-controls[hidden] { display: none; }
.round-button { background: transparent; border-color: #86777a; color: inherit; }
.round-button:hover { color: var(--ink); }
.calendar-step { min-width: 78px; text-align: center; font: 700 12px/1.4 var(--mono); }
.calendar figure { justify-self: center; width: min(100%, 270px); }
.calendar img { width: 100%; height: auto; aspect-ratio: 95 / 142; box-shadow: 0 12px 26px #130d11a1; }
.calendar img.calendar-fade { animation: calendar-fade .24s ease; }
@keyframes calendar-fade { from { opacity: .55; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.calendar figcaption { margin-top: 10px; color: #e0d6d7; font-size: 14px; text-align: center; }

.brief { min-height: 75vh; padding-block: clamp(38px, 6vw, 86px); }
.brief-content { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(22px, 3vw, 48px); align-items: start; margin-top: 32px; }
.brief h1 { font-size: clamp(45px, 6.1vw, 91px); line-height: .94; letter-spacing: -.065em; margin-bottom: 15px; }
.brief p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.brief-form-link { margin-top: 16px; }
.brief-form-link a { text-decoration: underline; text-underline-offset: .2em; }
.brief-form-frame { display: block; width: 100%; border: 0; border-radius: 5px; background: var(--white); }

@media (max-width: 880px) {
  .brief-content { grid-template-columns: minmax(0, 1fr); max-width: 650px; }
}

@media (max-width: 1040px) {
  .hero h1 { font-size: clamp(57px, 9vw, 92px); }
  .hero-inner { grid-template-columns: 1fr 1fr; min-height: 555px; }
  .board-layer { height: calc(var(--board-height) * .86); top: calc(var(--board-top) + 5%); }
}

@media (max-width: 720px) {
  .header-inner { min-height: 65px; }
  .brand { font-size: 25px; }
  .site-header nav { gap: 14px; font-size: 13px; }
  .header-contact { padding: 8px 10px; gap: 4px; font-size: 13px; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-block: 47px 0; }
  .hero h1 { font-size: clamp(62px, 12.45vw, 94px); margin-block: 14px 17px; }
  .hero-copy .button { margin-top: 22px; }
  .desktop-only { display: none; }
  .hero-description { max-width: 32ch; }
  .hero-art { height: clamp(320px, 76vw, 440px); margin-top: -6px; }
  .hero-orbit { inset: 0 9% 8%; }
  .dot-field { width: min(93%, 390px); }
  .board-layer { height: var(--board-height); top: var(--board-top); }
  .hero-art figcaption { bottom: 20px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 21px; }
  .section-heading > p br { display: none; }
  .personal-visual { aspect-ratio: 1.65; }
  .project-grid { gap: 22px 13px; }
  .project-caption { padding-block: 12px 14px; }
  .project-arrow { width: 34px; height: 34px; font-size: 19px; }
  .studio-inner, .case-heading { grid-template-columns: 1fr; }
  .studio h2 br { display: none; }
  .case-heading { margin-top: 29px; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .menu-gallery, .case-gallery { gap: 11px; }
}

@media (max-width: 420px) {
  .header-inner nav { gap: 10px; }
  .header-contact span, .footer-inner > p { display: none; }
  .header-contact { padding-inline: 8px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-wide { grid-column: auto; }
  .calendar { grid-template-columns: 1fr; }
  .calendar figure { width: min(75%, 240px); }
  .case-gallery { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .board-layer { transform: none; }
}
