@font-face {
  font-family: "Geist Kame";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f7f4;
  --ink: #3a3a3a;
  --coral: #e77777;
  --coral-text: var(--coral);
  --ink-on-coral: #2b2b2b;
  --line: rgba(58, 58, 58, 0.18);
  --soft: #6b6b6a;
  --max: 1480px;
  --display-section: clamp(38px, 4.1vw, 68px);
  --intro-display: clamp(19px, 1.55vw, 24px);
  --display-subsection: clamp(28px, 2.5vw, 40px);
  --kame-hexagon-mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Geist Kame", Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--coral); color: var(--ink); }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 18px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 620; transform: translateY(-160%); }
.admin-bar .skip-link { top: 42px; }
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--coral-text); outline-offset: 3px; }
main:focus { outline: none; }

.section-shell { width: min(calc(100% - 80px), var(--max)); margin-inline: auto; }
.site-header { width: min(calc(100% - 80px), var(--max)); height: 76px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20; }
.brand { display: block; }
.brand img { width: 182px; height: auto; transform: translateX(-5.2%); }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.main-nav a:not(.nav-cta) { transition: opacity .25s ease; }
.main-nav a:not(.nav-cta):hover { opacity: .55; }
.language-nav { display: flex; align-items: center; gap: 11px; padding-left: 1px; font-size: 12px; letter-spacing: .045em; }
.language-nav a, .mobile-language a { color: var(--soft); }
.language-nav a[aria-current="page"], .mobile-language a[aria-current="page"] { color: var(--coral-text); font-weight: 700; }
.mobile-nav { display: none; }
.nav-cta, .primary-cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; background: var(--coral); color: var(--ink-on-coral); font-weight: 620; white-space: nowrap; transition: transform .25s ease, background .25s ease; }
.nav-cta:hover, .primary-cta:hover { transform: translateY(-2px); background: #eb8686; }
.nav-cta:active, .primary-cta:active { transform: translateY(0) scale(.98); }
.nav-cta:focus-visible, .primary-cta:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.hero { min-height: min(700px, calc(100dvh - 76px)); display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(450px, .84fr); align-items: center; column-gap: clamp(46px, 3.5vw, 64px); padding-block: 22px 28px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 860px; }
.hero-kicker { margin: 0 0 22px; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.12; letter-spacing: .04em; color: var(--soft); font-weight: 350; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(58px, 4.8vw, 80px); line-height: .93; letter-spacing: -.061em; font-weight: 570; }
.hero-line { display: block; }
.hero h1 strong { color: var(--coral); font-weight: 650; }
.hero-intro { max-width: 620px; margin: 27px 0 28px; font-size: clamp(18px, 1.45vw, 23px); line-height: 1.42; letter-spacing: -.022em; color: var(--soft); }
.hero-intro strong { color: var(--coral-text); font-weight: 680; }

.hexagon-core, .studio-mark, .footer-mark, .final-cta-mark { background-color: var(--coral); -webkit-mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; }
.product-orbit-module { width: clamp(400px, 30vw, 470px); justify-self: start; transform: translateY(-14px); }
.product-orbit { position: relative; aspect-ratio: 1; }
.product-orbit-line { position: absolute; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.orbit-outer { inset: 12%; border-color: rgba(58,58,58,.09); }
.orbit-middle { inset: 25%; border-color: rgba(58,58,58,.13); }
.orbit-inner { inset: 37%; border-color: rgba(231,119,119,.26); }
.product-orbit-core { position: absolute; width: 30%; aspect-ratio: 1.06; left: 35%; top: 34%; background: var(--coral); -webkit-mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; animation: orbit-core-breathe 7s ease-in-out infinite; }
.product-points { position: absolute; inset: 0; }
.product-point { position: absolute; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; color: var(--soft); }
.product-point > span { position: absolute; width: 8px; height: 8px; left: 10px; top: 10px; background: var(--ink); -webkit-mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; transition: background .25s ease, transform .25s ease; }
.product-point p { position: absolute; left: 25px; top: 50%; width: 112px; margin: 0; transform: translateY(-50%); font-size: 12px; line-height: 1.18; white-space: normal; text-align: left; opacity: 1; pointer-events: none; }
.product-one { left: 16%; top: 19%; animation: product-drift-a 8s ease-in-out infinite; }
.product-two { right: 18%; top: 27%; animation: product-drift-b 10s ease-in-out -2s infinite; }
.product-three { right: 8%; top: 51%; animation: product-drift-c 9s ease-in-out infinite; }
.product-four { right: 9%; bottom: 19%; animation: product-drift-a 11s ease-in-out -4s infinite; }
.product-five { left: 43%; bottom: 5%; animation: product-drift-b 9s ease-in-out -3s infinite; }
.product-six { left: 17%; bottom: 24%; animation: product-drift-c 12s ease-in-out -2s infinite; }
.product-seven { left: 6%; top: 52%; animation: product-drift-a 10s ease-in-out -5s infinite; }
.product-eight { left: 47%; top: 7%; animation: product-drift-b 13s ease-in-out infinite; }
.product-two p, .product-three p, .product-four p { left: auto; right: 25px; transform: translateY(-50%); text-align: right; }
.product-two p { width: 92px; }
.product-three p { width: 108px; }
.product-four p { width: 88px; }
.product-five p { left: 50%; top: auto; bottom: 27px; width: 100px; transform: translateX(-50%); text-align: center; }
.product-six p { width: 92px; }
.product-seven p { width: 104px; }
.product-eight p { left: 50%; top: auto; bottom: 26px; width: 112px; transform: translateX(-50%); text-align: center; }
@keyframes orbit-core-breathe { 50% { transform: scale(1.025); } }
@keyframes product-drift-a { 50% { transform: translate(5px,-7px); } }
@keyframes product-drift-b { 50% { transform: translate(-6px,5px); } }
@keyframes product-drift-c { 50% { transform: translate(4px,6px); } }

.statement { padding: 48px 0 145px; }
.statement > p { max-width: 760px; margin: 0 0 14px; font-size: var(--display-subsection); line-height: 1.08; letter-spacing: -.04em; color: var(--ink); font-weight: 520; }
.statement h2 { max-width: 1080px; margin: 0; font-size: var(--display-section); line-height: 1.03; letter-spacing: -.055em; font-weight: 520; }
.statement h2 br { display: none; }
.statement h2 strong, .difference-intro h2 strong { color: var(--coral); font-weight: 650; }
.statement-body { margin: 64px 0 0; max-width: 940px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 72px; font-size: 19px; line-height: 1.5; }
.statement-point { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.statement-point > span { width: 13px; height: 13px; margin-top: 8px; background: var(--coral); -webkit-mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; }
.statement-point p { margin: 0; }

.selected-work { padding-bottom: 88px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 44px; }
.section-heading h2, .services > h2, .process > h2, .difference-intro h2, .studio h2, .related > h2 { margin: 0; font-size: var(--display-section); line-height: 1.03; letter-spacing: -.055em; font-weight: 520; }
.text-link { font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px 16px; align-items: start; }
.compact-projects .project-caption { padding-top: 13px; }
.compact-projects .project-caption { display: block; }
.compact-projects .project-caption h3 { font-size: 16px; margin-bottom: 4px; }
.compact-projects .project-caption p, .compact-projects .project-caption span { font-size: 13px; }
.compact-projects .project-caption span { display: block; margin-top: 6px; color: var(--coral-text); font-size: 12px; }
.project-card a { display: block; }
.project-image-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #ddd; }
.project-image-wrap img, .project-motion-thumbnail { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1), filter .7s ease; }
.project-card:hover .project-image-wrap img, .project-card:hover .project-motion-thumbnail { transform: scale(1.018); }
.project-hover { display: none; }
.project-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: 18px; }
.project-caption h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.03em; font-weight: 560; }
.project-caption p, .project-caption span { margin: 0; font-size: 13px; color: var(--soft); }

.difference { border-top: 1px solid var(--line); padding-block: 92px 60px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 130px; }
.difference-intro p { max-width: 390px; margin-top: 30px; font-size: 19px; line-height: 1.5; }
.difference-list { padding-top: 6px; }
.difference-list > div { padding: 0 0 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 45px; }
.difference-list > div:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.difference-list h3 { margin: 0; font-size: 20px; font-weight: 560; }
.difference-list p { margin: 0; max-width: 500px; line-height: 1.55; color: var(--soft); }

.animation-value { padding-block: 54px 88px; }
.animation-value-heading { width: min(100%, 1320px); margin-inline: auto; padding-inline: clamp(12px, 2vw, 32px); text-align: center; }
.animation-value-heading h2 { max-width: 1200px; margin: 0 auto; font-size: clamp(38px, 4vw, 62px); line-height: 1.03; letter-spacing: -.057em; font-weight: 520; }
.animation-value-heading h2 strong { color: var(--coral); font-weight: 650; }
.animation-value-heading > p { max-width: 700px; margin: 28px auto 0; color: var(--soft); font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; letter-spacing: -.025em; }
.kikko-advantages { width: min(100%, 1120px); margin: 58px auto 0; display: flex; flex-direction: column; align-items: center; gap: 26px; }

.services { padding-block: 72px 78px; width: 100%; max-width: none; padding-inline: max(40px, calc((100vw - var(--max)) / 2)); }
.services > h2 { max-width: 1160px; }
.services-list { margin-top: 82px; border-bottom: 1px solid var(--line); }
.service-row { border-top: 1px solid var(--line); }
.service-row > button { width: 100%; padding: 28px 0; border: 0; background: transparent; color: inherit; display: grid; grid-template-columns: 70px 1fr auto; align-items: baseline; text-align: left; cursor: pointer; }
.service-number { font-size: 13px; color: var(--soft); }
.service-row h3 { margin: 0; font-size: clamp(24px, 2.5vw, 40px); letter-spacing: -.045em; font-weight: 520; }
.service-state { font-size: 13px; color: var(--soft); }
.service-reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.16,1,.3,1); }
.service-reveal p { min-height: 0; overflow: hidden; margin: 0 8% 0 70px; max-width: 820px; color: var(--soft); font-size: 18px; line-height: 1.58; opacity: 0; transition: opacity .35s ease, margin-bottom .55s cubic-bezier(.16,1,.3,1); }
.service-row.is-open .service-reveal { grid-template-rows: 1fr; }
.service-row.is-open .service-reveal p { opacity: 1; margin-bottom: 36px; }

.process { padding-block: 58px 155px; }
.process > h2 { max-width: 780px; }
.process-track { margin-top: 82px; display: grid; grid-template-columns: repeat(6, 1fr); }
.process-item { position: relative; padding: 38px 25px 0 0; border-top: 1px solid var(--line); }
.process-item > span { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--coral); -webkit-mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; }
.process-item h3 { margin: 0 0 16px; font-size: 17px; font-weight: 620; }
.process-item p { margin: 0; max-width: 190px; font-size: 15px; line-height: 1.5; color: var(--soft); }
.kikko-field { position: relative; width: min(100%, 820px); height: auto; aspect-ratio: 760 / 205; margin-inline: auto; }
.kikko-cell { position: absolute; width: 19.6%; aspect-ratio: 1.06; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: default; display: grid; place-items: center; }
.kikko-cell::before, .kikko-cell::after { content: ""; position: absolute; inset: 0; background: var(--coral); -webkit-mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; transition: opacity .35s ease, transform .35s cubic-bezier(.16,1,.3,1); }
.kikko-cell::before { opacity: .28; }
.kikko-cell::after { inset: 2px; background: var(--paper); }
.kikko-cell span { position: relative; z-index: 1; max-width: 78%; font-size: 14px; line-height: 1.15; text-align: center; font-weight: 560; transition: color .3s ease; }
.kikko-cell:hover::before, .kikko-cell:focus-visible::before, .kikko-cell.is-active::before { opacity: 1; transform: scale(1.025); }
.kikko-cell:hover::after, .kikko-cell:focus-visible::after, .kikko-cell.is-active::after { opacity: 0; transform: scale(.94); }
.kikko-cell-1 { left: 0; top: 24%; }
.kikko-cell-2 { left: 20.1%; top: 0; }
.kikko-cell-3 { left: 40.2%; top: 24%; }
.kikko-cell-4 { left: 60.3%; top: 0; }
.kikko-cell-5 { left: 80.4%; top: 24%; }
.kikko-readout { width: min(100%, 820px); min-height: 0; padding: 23px clamp(22px, 5vw, 58px) 0; border-top: 2px solid var(--coral); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.kikko-readout span { display: block; margin-bottom: 12px; color: var(--coral-text); font-size: clamp(23px, 2vw, 32px); font-weight: 650; letter-spacing: -.035em; }
.kikko-readout p { max-width: 360px; margin: 0; color: var(--soft); font-size: 17px; line-height: 1.55; }

.sectors { padding-bottom: 145px; }
.sectors > h2 { max-width: 980px; margin: 0 0 54px; font-size: var(--display-section); line-height: 1.03; letter-spacing: -.055em; font-weight: 520; }
.section-label { margin: 0 0 30px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.sector-list { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.sector-list span { position: relative; font-size: clamp(20px, 2.15vw, 34px); line-height: 1.08; letter-spacing: -.035em; padding: 20px 32px 20px 20px; margin-right: 30px; border-bottom: 1px solid var(--line); }
.sector-list span::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; aspect-ratio: 1.06; background: var(--coral); transform: translateY(-50%); -webkit-mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; }

.clients { padding-bottom: 145px; }
.clients-heading { margin-bottom: 58px; }
.clients-heading h2 { margin: 0; font-size: clamp(38px, 4.1vw, 68px); line-height: 1.03; letter-spacing: -.055em; font-weight: 520; }
.clients-heading > p { max-width: 760px; margin: 26px 0 0; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.48; letter-spacing: -.025em; color: var(--soft); }
.clients-grid { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--line); }
.clients-grid > div { min-height: 94px; padding: 20px 16px; border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.clients-grid img { width: min(78%, 112px); height: 40px; object-fit: contain; }

.clients { padding-bottom: 78px; }
.studio { padding-block: 68px 92px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.studio-signature { width: min(58%, 235px); height: auto; justify-self: center; }
.studio h2 { margin-bottom: 30px; }
.studio h2 + p { max-width: 680px; font-size: 20px; line-height: 1.55; }
.team { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.team > a { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.team strong { transition: color .3s ease; }
.team a:hover strong, .team a:focus-visible strong { color: var(--coral-text); }
.team span { color: var(--soft); font-size: 15px; }

.final-cta { position: relative; min-height: 650px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; overflow: hidden; }
.final-cta h2 { position: relative; z-index: 2; margin: 0; font-size: clamp(62px, 8.5vw, 138px); line-height: .9; letter-spacing: -.072em; font-weight: 540; }
.final-cta > p { position: relative; z-index: 2; max-width: 520px; margin: 38px 0 30px; font-size: 18px; line-height: 1.5; }
.final-cta .primary-cta { position: relative; z-index: 2; }
.final-cta-mark { position: absolute; width: 540px; aspect-ratio: 1.06; right: 1%; top: 50%; transform: translateY(-50%); opacity: .18; }

.site-footer { width: min(calc(100% - 80px), var(--max)); margin-inline: auto; min-height: 300px; padding-block: 70px 38px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 70px 1fr auto; gap: 40px; align-items: start; }
.footer-mark { width: 52px; height: 52px; }
.footer-title { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.footer-title + p { margin: 0; color: var(--soft); }
.footer-links { display: flex; gap: 30px; font-size: 14px; }
.footer-legal { grid-column: 2 / 4; margin-top: 62px; padding-top: 21px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-meta { margin: 0; color: var(--soft); font-size: 12px; }
.footer-legal nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; }
.footer-legal a, .footer-legal button { padding: 0; border: 0; background: transparent; color: var(--soft); font: inherit; font-size: 12px; cursor: pointer; transition: color .25s ease; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--ink); }

.legal-page { padding-block: 95px 150px; }
.legal-hero { padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.legal-hero > p { margin: 0 0 18px; color: var(--coral-text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.legal-hero h1 { max-width: 1120px; margin: 0; font-size: clamp(62px, 9vw, 138px); line-height: .88; letter-spacing: -.072em; font-weight: 540; }
.legal-content { width: min(100%, 860px); margin: 80px auto 0; font-size: 17px; line-height: 1.65; }
.legal-content h2 { margin: 80px 0 22px; padding-top: 24px; border-top: 1px solid var(--line); font-size: clamp(26px, 3vw, 42px); line-height: 1.08; letter-spacing: -.04em; font-weight: 560; }
.legal-content h3 { margin: 48px 0 18px; font-size: 22px; letter-spacing: -.025em; font-weight: 580; }
.legal-content h2:first-of-type { margin-top: 42px; }
.legal-content p { margin: 0 0 22px; }
.legal-content ul { margin: 0 0 26px; padding-left: 22px; }
.legal-content li { margin-bottom: 10px; }
.legal-content a { border-bottom: 1px solid currentColor; }
.legal-updated { color: var(--soft); font-size: 13px; }
.legal-details { margin: 36px 0 10px; border-top: 1px solid var(--line); }
.legal-details > div { padding: 17px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 190px 1fr; gap: 30px; }
.legal-details dt { color: var(--soft); font-size: 13px; }
.legal-details dd { margin: 0; }
.legal-table-wrap { width: 100%; margin: 32px 0 40px; overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.45; }
.legal-table th, .legal-table td { min-width: 150px; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { color: var(--soft); font-size: 12px; font-weight: 560; }
.legal-admin-note { margin-bottom: 30px; padding: 18px 20px; border-left: 3px solid var(--coral); background: rgba(231,119,119,.1); font-size: 14px; }
.legal-cookie-button { border-bottom: 1px solid var(--ink) !important; }

.error-page { min-height: calc(100dvh - 76px); padding-block: 90px 100px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; overflow: hidden; }
.error-copy { position: relative; z-index: 2; }
.error-label { margin: 0 0 22px; color: var(--coral-text); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.error-copy h1 { max-width: 850px; margin: 0; font-size: clamp(68px, 8vw, 126px); line-height: .89; letter-spacing: -.072em; font-weight: 540; }
.error-copy h1 + p { max-width: 480px; margin: 36px 0 32px; color: var(--soft); font-size: 18px; line-height: 1.5; }
.error-actions { display: flex; align-items: center; gap: 30px; }
.error-system { position: relative; width: min(36vw, 500px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.error-system::before, .error-system::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.error-system::before { inset: 8%; }
.error-system::after { inset: 24%; }
.error-system span { position: absolute; width: 15%; aspect-ratio: 1.06; background: var(--coral); opacity: .28; -webkit-mask: var(--kame-hexagon-mask); mask: var(--kame-hexagon-mask); }
.error-system span:nth-child(1) { left: 10%; top: 44%; }
.error-system span:nth-child(2) { right: 16%; top: 15%; opacity: .55; }
.error-system span:nth-child(3) { right: 9%; bottom: 18%; opacity: 1; }
.error-system strong { font-size: clamp(65px, 8vw, 120px); letter-spacing: -.07em; font-weight: 520; }

.portfolio-hero { padding-block: 130px 110px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; }
.portfolio-hero h1 { margin: 0; font-size: clamp(76px, 12vw, 190px); line-height: .8; letter-spacing: -.078em; font-weight: 520; }
.portfolio-hero p { max-width: 520px; margin: 0; font-size: 18px; line-height: 1.52; }
.portfolio-section { padding-bottom: 180px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 68px; padding-block: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters button { position: relative; border: 0; padding: 0 0 0 14px; background: transparent; color: var(--soft); cursor: pointer; transition: color .25s ease; }
.filters button::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; aspect-ratio: 1.06; background: var(--coral); opacity: 0; transform: translateY(-50%) scale(.7); -webkit-mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; transition: opacity .25s ease, transform .25s ease; }
.filters button:hover, .filters button.active { color: var(--ink); }
.filters button.active::before { opacity: 1; transform: translateY(-50%) scale(1); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 54px 16px; }
.portfolio-grid .project-hover, .featured-grid .project-hover { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; min-height: 46px; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--coral); color: var(--ink-on-coral); font-size: 12px; transform: translateY(102%); transition: transform .45s cubic-bezier(.16,1,.3,1); }
.portfolio-grid .project-card:hover .project-hover, .portfolio-grid .project-card a:focus-visible .project-hover, .featured-grid .project-card:hover .project-hover, .featured-grid .project-card a:focus-visible .project-hover { transform: translateY(0); }
.portfolio-grid .project-card:hover .project-image-wrap img, .portfolio-grid .project-card:hover .project-motion-thumbnail, .portfolio-grid .project-card a:focus-visible .project-image-wrap img, .portfolio-grid .project-card a:focus-visible .project-motion-thumbnail, .featured-grid .project-card:hover .project-image-wrap img, .featured-grid .project-card:hover .project-motion-thumbnail, .featured-grid .project-card a:focus-visible .project-image-wrap img, .featured-grid .project-card a:focus-visible .project-motion-thumbnail { transform: scale(1.022); }
.portfolio-grid .project-caption { display: block; padding-top: 13px; }
.portfolio-grid .project-caption h3 { margin-bottom: 3px; font-size: 16px; }
.portfolio-grid .project-caption p { font-size: 13px; }
.portfolio-grid .project-caption > span { display: block; margin-top: 6px; color: var(--coral-text); font-size: 12px; }
.portfolio-cta { padding-block: 150px 180px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 70px; }
.portfolio-cta h2 { max-width: 890px; margin: 0; font-size: clamp(45px, 6vw, 96px); line-height: .98; letter-spacing: -.062em; font-weight: 520; }

.project-hero { padding-block: 90px 60px; }
.back-link { display: inline-block; margin-bottom: 100px; font-size: 14px; border-bottom: 1px solid currentColor; }
.project-title-block { display: block; }
.project-title-block h1 { margin: 0; font-size: clamp(65px, 10vw, 150px); line-height: .87; letter-spacing: -.075em; font-weight: 520; }
.project-title-block > div { max-width: 600px; margin-top: 38px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; border-top: 1px solid var(--line); padding-top: 16px; }
.project-title-block p { margin: 0; font-size: 14px; color: var(--soft); }
.project-title-block p + p { color: var(--coral-text); font-weight: 620; }
.project-media-stage { display: flex; justify-content: center; }
.project-media { width: min(1180px, 128vh, calc(100vw - 300px)); aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.project-media iframe, .project-media img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.case-study { position: relative; margin-top: 44px; padding-block: 116px 175px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 110px; }
.case-study::before { content: ""; position: absolute; top: 0; left: 50%; width: min(180px, 18%); height: 2px; background: var(--coral); transform: translateX(-50%); }
.case-study h2 { max-width: 800px; margin: 0; font-size: clamp(38px, 4.5vw, 70px); line-height: 1.05; letter-spacing: -.05em; font-weight: 520; }
.case-solution { margin: 42px 0 0; font-size: 21px; line-height: 1.55; }
.case-services { margin-top: 64px; }
.case-services ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
.case-services li { padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.project-gallery { padding-bottom: 175px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; align-items: start; }
.project-extra-videos { padding-bottom: 175px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.project-extra-videos.with-gallery { padding-bottom: 24px; }
.project-extra-video { width: min(1180px, 128vh, calc(100vw - 300px)); margin-inline: auto; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.project-extra-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.gallery-item { grid-column: span 6; margin: 0; overflow: hidden; background: #eeeae6; }
.gallery-item-wide { grid-column: 1 / -1; }
.gallery-item-portrait { grid-column: span 6; width: 100%; max-width: 620px; justify-self: center; }
.gallery-item-portrait:only-child { grid-column: 4 / span 6; }
.gallery-item img { display: block; width: 100%; height: auto; margin-inline: auto; }

.related { padding-bottom: 180px; }
.related > h2 { margin-bottom: 60px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

@media (min-width: 1100px) {
  .hero h1 > span { white-space: nowrap; }
}

@media (max-width: 1160px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 30px; padding-block: 28px 40px; }
  .product-orbit-module { width: min(52vw, 380px); order: 2; justify-self: center; transform: none; }
  .hero-copy { order: 1; max-width: 800px; }
  .hero h1 { font-size: clamp(52px, 7.6vw, 76px); }
}

@media (max-width: 900px) {
  .section-shell, .site-header, .site-footer { width: min(calc(100% - 40px), var(--max)); }
  .site-header { height: 68px; }
  .brand img { width: 150px; }
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 42px; cursor: pointer; font-size: 14px; user-select: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-menu-mark { width: 10px; aspect-ratio: 1.06; background: var(--ink); -webkit-mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; mask: url('../images/brand/kame-hexagon.svg') center / contain no-repeat; transition: background .3s ease, transform .45s cubic-bezier(.16,1,.3,1); }
  .mobile-nav[open] .mobile-menu-mark { background: var(--coral); transform: rotate(60deg); }
  .mobile-nav-panel { position: absolute; top: 68px; left: 0; width: 100%; padding: 27px 0 32px; background: var(--paper); border-block: 1px solid var(--line); }
  .mobile-nav-panel nav { display: flex; flex-direction: column; }
  .mobile-nav-panel nav a { padding: 13px 0; font-size: 31px; line-height: 1; letter-spacing: -.045em; }
  .mobile-language { margin: 26px 0 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 22px; font-size: 12px; letter-spacing: .05em; }
  .mobile-language a[aria-current="page"] { color: var(--coral-text); font-weight: 700; }
  .mobile-nav-panel .nav-cta { width: 100%; min-height: 48px; }
  .hero { gap: 28px; padding-block: 26px 36px; }
  .product-orbit-module { width: min(62vw, 390px); order: 2; justify-self: center; transform: none; }
  .hero-copy { order: 1; }
  .hero h1 { font-size: clamp(46px, 8.8vw, 68px); }
  .statement { padding: 44px 0 105px; }
  .statement-body { margin-top: 60px; grid-template-columns: 1fr; gap: 24px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 45px 18px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 52px 18px; }
  .difference, .studio, .case-study { grid-template-columns: 1fr; gap: 75px; }
  .selected-work { padding-bottom: 70px; }
  .difference { padding-block: 70px 50px; }
  .difference-list > div { grid-template-columns: 130px 1fr; }
  .services { padding-inline: 20px; }
  .services { padding-block: 70px 68px; }
  .animation-value { padding-block: 48px 80px; }
  .animation-value-heading { padding-inline: clamp(12px, 4vw, 42px); }
  .kikko-advantages { gap: 24px; }
  .kikko-readout { width: min(100%, 670px); padding-top: 22px; }
  .process { padding-block: 52px 125px; }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 55px 0; }
  .sector-list span { font-size: 24px; }
  .studio { grid-template-columns: 1fr; }
  .studio-signature { width: min(38vw, 210px); justify-self: start; }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .sectors { padding-bottom: 110px; }
  .clients { padding-bottom: 65px; }
  .studio { padding-block: 60px 82px; gap: 65px; }
  .final-cta { min-height: 620px; }
  .final-cta-mark { width: 400px; right: -25%; }
  .site-footer { grid-template-columns: 58px 1fr; }
  .footer-links { grid-column: 2; flex-wrap: wrap; }
  .footer-legal { grid-column: 2; align-items: flex-start; flex-direction: column; }
  .footer-legal nav { justify-content: flex-start; }
  .error-page { grid-template-columns: 1fr; min-height: auto; }
  .error-system { width: min(62vw, 420px); }
  .portfolio-hero, .project-title-block { grid-template-columns: 1fr; }
  .portfolio-hero { padding-block: 90px 80px; }
  .project-title-block > div { max-width: 520px; }
  .project-media-stage { width: min(calc(100% - 40px), var(--max)); }
  .project-media { width: 100%; }
  .project-extra-video { width: 100%; }
  .gallery-item, .gallery-item-portrait { grid-column: span 6; }
  .gallery-item-portrait:only-child { grid-column: 3 / span 8; }
}

@media (max-width: 767px) {
  .hero { gap: 0; padding-bottom: 24px; }
  .product-orbit-module { display: none; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(46px, 13.5vw, 62px); }
  .hero-intro { font-size: 18px; margin-block: 25px; }
  .statement { padding: 38px 0 88px; }
  .statement h2 br { display: block; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
  .difference { padding-block: 64px 40px; }
  .difference-list > div { grid-template-columns: 1fr; gap: 18px; padding-bottom: 35px; margin-bottom: 35px; }
  .animation-value-heading h2 { max-width: 360px; font-size: clamp(27px, 7.2vw, 30px); line-height: 1.04; letter-spacing: -.045em; }
  .animation-value-heading h2 br { display: none; }
  .services { padding-block: 60px 62px; }
  .services > h2 { max-width: 360px; font-size: clamp(31px, 8.2vw, 34px); line-height: 1.02; }
  .services-list { margin-top: 70px; }
  .service-row > button { grid-template-columns: 42px 1fr auto; }
  .service-reveal p { margin-left: 42px; }
  .process { padding-block: 48px 105px; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 48px 0; }
  .animation-value { padding-block: 38px 72px; }
  .kikko-advantages { margin-top: 48px; gap: 24px; }
  .kikko-field { --kikko-mobile: clamp(100px, 29vw, 116px); width: min(100%, 390px); height: calc(var(--kikko-mobile) * 1.68); aspect-ratio: auto; display: grid; grid-template-columns: repeat(6, calc(var(--kikko-mobile) / 2)); grid-template-rows: repeat(2, calc(var(--kikko-mobile) * .68)); justify-content: center; align-items: start; }
  .kikko-cell { position: relative; width: var(--kikko-mobile); left: auto; top: auto; }
  .kikko-cell-1 { grid-column: 1 / span 2; grid-row: 1; }
  .kikko-cell-2 { grid-column: 3 / span 2; grid-row: 1; }
  .kikko-cell-3 { grid-column: 5 / span 2; grid-row: 1; }
  .kikko-cell-4 { grid-column: 2 / span 2; grid-row: 2; }
  .kikko-cell-5 { grid-column: 4 / span 2; grid-row: 2; }
  .kikko-cell span { max-width: 78%; font-size: 12px; line-height: 1.15; }
  .kikko-readout { width: min(100%, 420px); }
  .sectors { padding-bottom: 92px; }
  .clients { padding-bottom: 52px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid > div { min-height: 96px; padding: 18px; }
  .clients-grid img { width: min(72%, 130px); height: 42px; }
  .featured-grid { grid-template-columns: 1fr; }
  .studio { padding-block: 48px 76px; }
  .team { grid-template-columns: 1fr; }
  .final-cta { min-height: 620px; }
  .final-cta h2 { font-size: 64px; }
  .site-footer { min-height: 360px; }
  .site-footer { grid-template-columns: 42px 1fr; gap: 28px 20px; }
  .footer-mark { width: 38px; height: 38px; }
  .footer-links { gap: 14px 22px; }
  .footer-legal { margin-top: 32px; }
  .footer-legal nav { gap: 12px 18px; }
  .legal-page { padding-block: 62px 105px; }
  .legal-hero { padding-bottom: 48px; }
  .legal-hero h1 { font-size: 62px; }
  .legal-content { margin-top: 55px; font-size: 16px; }
  .legal-content h2 { margin-top: 62px; }
  .legal-details > div { grid-template-columns: 1fr; gap: 5px; }
  .error-page { padding-block: 65px 85px; gap: 60px; }
  .error-copy h1 { font-size: 64px; }
  .error-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .portfolio-hero h1 { font-size: 82px; }
  .filters { gap: 16px 24px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 58px; }
  .portfolio-cta { align-items: flex-start; flex-direction: column; }
  .project-hero { padding-top: 60px; }
  .back-link { margin-bottom: 70px; }
  .case-study { padding-block: 110px 130px; }
  .project-gallery { padding-bottom: 120px; gap: 12px; }
  .gallery-item, .gallery-item-portrait, .gallery-item-wide { grid-column: 1 / -1; }
  .gallery-item-portrait:only-child { grid-column: 1 / -1; max-width: 520px; }
  .case-services ul, .related-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .product-orbit-core { animation: none; }
}

@media (max-width: 420px) {
  .animation-value-heading { padding-inline: 4px; }
  .kikko-cell span { font-size: 11px; }
}
