/* Basado en el template Onda de 8B (https://github.com/8bsite/design-studio-website-template)
   MIT License (c) 2026 8B. Ver LICENSE-8B.md */

@font-face { font-family: 'Gabarito'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/gabarito-latin.woff2) format('woff2'); }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/onest-latin.woff2) format('woff2'); }

/* [layers] */
@layer tokens, base, atoms, layout, sections, scenes;

/* [tokens] */
@layer tokens {
:root {
  --color-1: #0d0c11;
  --color-2: #ffffff;
  --color-3: #6c3cff;
  --color-4: #efeef4;
  --color-5: #aaa7b4;
  --color-6: #5d5a67;
  --color-7: #1f1d26;
  --font-1: "Gabarito", "Gabarito Fallback", "Arial Black", Arial, sans-serif;
  --font-2: "Onest", "Onest Fallback", Arial, sans-serif;
  --radius-1: 28px;
  --radius-2: 999px;
  --radius-3: 14px;
  --shadow-1: 0 -18px 50px color-mix(in srgb, var(--color-1) 45%, transparent);
  --shadow-2: 0 2px 0 var(--color-3);
  --shadow-3: 0 0 0 2px var(--color-1);
  --space-1: clamp(16px, 3.4vw, 48px);
  --space-2: clamp(96px, 15vh, 200px);
}
}

/* [base] */
@font-face { font-family: "Gabarito Fallback"; src: local("Arial Black"), local("Arial-Black"), local("Arial Bold"); font-weight: 800 1000; size-adjust: 79.7%; ascent-override: 117.9%; descent-override: 32.6%; line-gap-override: 0%; }
@font-face { font-family: "Gabarito Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); font-weight: 550 799; size-adjust: 92.5%; ascent-override: 101.7%; descent-override: 28.1%; line-gap-override: 0%; }
@font-face { font-family: "Onest Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); font-weight: 100 549; size-adjust: 106.2%; ascent-override: 91.4%; descent-override: 29.2%; line-gap-override: 0%; }
@font-face { font-family: "Onest Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); font-weight: 550 799; size-adjust: 101.9%; ascent-override: 95.2%; descent-override: 30.4%; line-gap-override: 0%; }
@layer base {
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body { margin: 0; background: var(--color-2); color: var(--color-1); overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--color-3); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
main { overflow-x: clip; }
.skip { position: fixed; left: var(--space-1); top: 12px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-2); background: var(--color-2); color: var(--color-1); font-family: var(--font-2); font-size: 15px; font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.skip:focus-visible { transform: none; }
}

/* [system] */
@layer atoms {
.m-text { font-family: var(--font-2); font-size: 17px; font-weight: 400; line-height: 1.55; letter-spacing: 0; text-transform: none; font-style: normal; }
.m-text-2 { font-family: var(--font-1); font-size: min(40vw, calc((100vw - 2 * var(--space-1)) / (var(--len, 5) * 0.47))); font-weight: 800; line-height: 0.8; letter-spacing: -0.065em; text-transform: none; font-style: normal; }
.m-text-3 { font-family: var(--font-1); font-size: clamp(50px, 9.2vw, 150px); font-weight: 800; line-height: 0.88; letter-spacing: -0.055em; text-transform: none; font-style: normal; }
.m-text-4 { font-family: var(--font-1); font-size: clamp(30px, 3.9vw, 58px); font-weight: 700; line-height: 0.96; letter-spacing: -0.04em; text-transform: none; font-style: normal; }
.m-text-5 { font-family: var(--font-2); font-size: clamp(19px, 1.7vw, 25px); font-weight: 500; line-height: 1.28; letter-spacing: -0.015em; text-transform: none; font-style: normal; }
.m-text-6 { font-family: var(--font-2); font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: 0.01em; text-transform: none; font-style: normal; }
.m-text-7 { font-family: var(--font-1); font-size: clamp(22px, 2.05vw, 30px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; text-transform: none; font-style: normal; }
.m-dot { display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.035em; border-radius: var(--radius-2); background: var(--color-3); vertical-align: baseline; }
.m-btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 18px; overflow: hidden; border: 0; border-radius: var(--radius-2); background: var(--color-3); color: var(--color-2); font-family: var(--font-2); font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; }
.m-btn::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: var(--radius-2); background: currentColor; }
.m-btn::after { content: ""; position: absolute; z-index: -1; left: 22px; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: var(--radius-2); background: var(--color-1); transform: scale(0); transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.m-btn__label { position: relative; }
@media (hover: hover) { .m-btn:hover::after { transform: scale(60); } }
.m-btn-2 { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 18px; overflow: hidden; border: 0; border-radius: var(--radius-2); background: var(--color-2); color: var(--color-1); font-family: var(--font-2); font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: color .35s; }
.m-btn-2::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: var(--radius-2); background: var(--color-3); }
.m-btn-2::after { content: ""; position: absolute; z-index: -1; left: 22px; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: var(--radius-2); background: var(--color-1); transform: scale(0); transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.m-btn-2 .m-btn__label { position: relative; }
@media (hover: hover) { .m-btn-2:hover { color: var(--color-2); } .m-btn-2:hover::after { transform: scale(60); } }
.m-link { display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--font-2); font-size: clamp(17px, 1.45vw, 21px); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; text-decoration: none; }
.m-link__label { position: relative; padding-block: 3px; }
.m-link__label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: var(--radius-2); background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.m-link__arrow { width: 0.8em; height: 0.8em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
@media (hover: hover) { .m-link:hover .m-link__label::after { transform: scaleX(1); } .m-link:hover .m-link__arrow { transform: translateX(4px); } }
.m-link-2 { position: relative; display: inline-block; padding-block: 4px; font-family: var(--font-2); font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: -0.005em; text-decoration: none; }
.m-link-2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: var(--radius-2); background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
@media (hover: hover) { .m-link-2:hover::after { transform: scaleX(1); } }
.m-icon { position: relative; isolation: isolate; display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; padding: 0; border: 1.5px solid currentColor; border-radius: var(--radius-2); background: transparent; color: inherit; cursor: pointer; transition: color .35s; }
.m-icon::after { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: var(--radius-2); background: var(--color-3); transform: scale(0); transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.m-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (hover: hover) { .m-icon:hover { color: var(--color-2); } .m-icon:hover::after { transform: scale(1); } }
.m-surface { border-radius: var(--radius-1); background: var(--color-4); color: var(--color-1); }
.m-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid color-mix(in srgb, currentColor 32%, transparent); border-radius: var(--radius-2); font-family: var(--font-2); font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: 0; text-transform: none; font-style: normal; white-space: nowrap; }
.m-field { display: block; width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1.5px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 0; background: transparent; color: inherit; font-family: var(--font-2); font-size: 17px; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; font-style: normal; }
.m-field:focus-visible { outline: none; border-bottom-color: var(--color-3); box-shadow: var(--shadow-2); }
textarea.m-field { min-height: 112px; resize: vertical; }
}

/* [section:navigation] */
@layer sections {
#navigation { position: fixed; z-index: 40; inset: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 14px var(--space-1); pointer-events: none; }
#navigation > * { pointer-events: auto; }
#navigation .nav__brand { display: inline-flex; align-items: baseline; min-height: 48px; padding: 9px 18px 0; border-radius: var(--radius-2); background: var(--color-1); color: var(--color-2); font-family: var(--font-1); font-size: 25px; font-weight: 800; line-height: 1.2; letter-spacing: -0.05em; text-decoration: none; }
#navigation .nav__links { margin-inline: auto; padding: 0 8px; border-radius: var(--radius-2); background: var(--color-1); color: var(--color-2); }
#navigation .nav__links ul { display: flex; }
#navigation .nav__cta { box-shadow: var(--shadow-3); }
#navigation .nav__links a { display: block; margin: 0 14px; padding-block: 14px; }
#navigation .nav__links a::after { bottom: 10px; }
#navigation .nav__menu { display: none; margin-left: auto; }
#navigation .menu { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; padding: 14px var(--space-1) 32px; background: var(--color-1); color: var(--color-2); overflow-y: auto; }
#navigation .menu[hidden] { display: none; }
#navigation .menu__top { display: flex; justify-content: flex-end; }
#navigation .menu__list { align-self: center; display: grid; gap: 6px; }
#navigation .menu__list a { font-family: var(--font-1); font-size: clamp(42px, 13vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; text-decoration: none; }
#navigation .menu__foot { color: var(--color-5); }
@media (max-width: 899px) {
  #navigation .nav__links, #navigation .nav__cta { display: none; }
  #navigation .nav__menu { display: inline-flex; }
}
}

/* [section:hero] */
@layer sections {
#hero { --ap: min(74vw, 44svh); position: relative; z-index: 3; display: grid; grid-template-rows: 1fr auto; min-height: max(100svh, 560px); padding: 0 var(--space-1); background: var(--color-1); color: var(--color-2); overflow: clip visible; }
#hero .hero__intro { display: grid; justify-items: start; align-content: start; gap: 18px; max-width: 32rem; padding-top: clamp(92px, 14svh, 150px); }
#hero .hero__lead { color: var(--color-2); }
#hero .hero__title { position: static; align-self: end; padding-bottom: clamp(18px, 5svh, 52px); white-space: nowrap; }
#hero .hero__word, #hero .hero__mask, #hero .hero__glyphs { display: inline-block; }
#hero .hero__period { position: static; display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.035em; border-radius: var(--radius-2); background: var(--color-3); vertical-align: baseline; }
#hero .hero__stage { position: absolute; left: calc(50% - var(--ap) / 2); top: calc(57% - var(--ap) / 2); width: var(--ap); height: var(--ap); font-size: 16px; line-height: 0; }
#hero .hero__aperture { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: var(--radius-2); background: var(--color-3); }
#hero .hero__img { width: 100%; height: 100%; object-fit: cover; }
#hero .hero__tint { position: absolute; inset: 0; background: var(--color-3); opacity: 0; }
#hero .hero__orbit { position: absolute; inset: -9%; display: block; border-radius: var(--radius-2); border: 1px solid color-mix(in srgb, var(--color-2) 16%, transparent); }
#hero .hero__moon { position: absolute; left: 50%; top: 0; width: 9%; height: 9%; margin: -4.5% 0 0 -4.5%; border-radius: var(--radius-2); background: var(--color-3); }
@media (min-width: 900px) and (orientation: landscape) {
  #hero { --ap: min(36vw, 60svh); }
  #hero .hero__title { font-size: min(26.5vw, 43svh); }
  #hero .hero__period { position: relative; background: transparent; }
  #hero .hero__stage { left: 0; top: auto; bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  #hero .hero__mask { animation: hero-mask .95s linear backwards; }
  #hero .hero__glyphs { animation: hero-rise .95s cubic-bezier(.16, .84, .24, 1) backwards; }
  #hero .hero__stage { transform-origin: 50% 50%; animation: hero-swell 1.1s cubic-bezier(.2, .9, .25, 1.12) backwards; }
  #hero .hero__intro { animation: hero-lift .9s .12s cubic-bezier(.16, .84, .24, 1) backwards; }
  #hero .hero__img { animation: hero-turn 46s linear infinite; }
  #hero .hero__orbit { animation: hero-orbit 13s linear infinite; }
  #hero.is-offscreen .hero__img, #hero.is-offscreen .hero__orbit { animation-play-state: paused; }
  @media (min-width: 900px) and (orientation: landscape) { #hero .hero__stage { transform-origin: 0 100%; animation-name: hero-inflate; } }
  @keyframes hero-mask { from, to { clip-path: inset(-40% -8% 0 -8%); } }
  @keyframes hero-rise { from { transform: translateY(92%); } }
  @keyframes hero-swell { from { transform: scale(.72); } }
  @keyframes hero-inflate { from { transform: scale(.36); } }
  @keyframes hero-lift { from { transform: translateY(26px); } }
  @keyframes hero-turn { to { transform: rotate(360deg); } }
  @keyframes hero-orbit { to { transform: rotate(360deg); } }
}
}

/* [section:statement] */
@layer sections {
#statement { position: relative; padding: var(--space-2) var(--space-1) calc(var(--space-2) * 0.9); background: var(--color-2); }
#statement .statement__title { font-size: clamp(40px, 8.7vw, 140px); }
#statement .statement__line { display: block; }
#statement .statement__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: clamp(56px, 11vh, 120px); }
#statement .statement__lead { max-width: 36rem; }
#statement .statement__index ul { display: grid; gap: 12px; }
@media (min-width: 900px) {
  #statement .statement__body { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
  #statement .statement__lead { font-size: clamp(24px, 2.35vw, 34px); line-height: 1.16; letter-spacing: -0.025em; }
}
}

/* [section:work] */
@layer sections {
#work { position: relative; color: var(--color-2); }
#work .work__plate { position: absolute; inset: 0 0 -2px; background: var(--color-1); }
#work .work__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: clamp(28px, 4vh, 48px); padding: var(--space-2) var(--space-1); }
#work .work__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
#work .work__lead { max-width: 25rem; color: var(--color-5); }
#work .work__track { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
#work .case { position: relative; display: block; overflow: hidden; border-radius: var(--radius-1); background: var(--color-7); aspect-ratio: 4 / 5; }
#work .case__media { position: absolute; inset: 0; overflow: hidden; }
#work .case__img { position: absolute; top: 0; left: -7%; width: 114%; max-width: none; height: 100%; object-fit: cover; }
#work .case__media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-1) 82%, transparent), transparent); }
#work .case__tag { position: absolute; left: clamp(18px, 2vw, 28px); top: clamp(18px, 2vw, 28px); background: color-mix(in srgb, var(--color-1) 62%, transparent); }
#work .case__text { position: absolute; left: clamp(18px, 2.4vw, 36px); right: clamp(18px, 2.4vw, 36px); bottom: clamp(18px, 2.4vw, 36px); display: grid; gap: 10px; }
#work .case__line { max-width: 30rem; color: var(--color-2); }
@media (min-width: 700px) {
  #work .work__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #work .case { aspect-ratio: 16 / 11; }
  #work .case:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 16 / 6.5; }
}
}

/* [scene-style:work] */
@layer scenes {
@media (prefers-reduced-motion: no-preference) {
  #work.is-track { height: calc(100svh + var(--run, 0px)); }
  #work.is-track .work__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; padding-top: clamp(84px, 13svh, 120px); padding-bottom: clamp(24px, 5svh, 48px); grid-template-rows: auto minmax(0, 1fr); overflow: clip; }
  #work.is-track .work__window { display: flex; align-items: center; min-height: 0; transform-origin: 0 50%; }
  #work.is-track .work__track { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; height: min(100%, 64svh); }
  #work.is-track .case { width: auto; height: 100%; aspect-ratio: 4 / 5; flex: none; }
  @media (min-width: 700px) { #work.is-track .case { aspect-ratio: 16 / 10.5; } }
}
}

/* [section:capabilities] */
@layer sections {
#capabilities { position: relative; padding: calc(var(--space-2) * 0.6) var(--space-1) var(--space-2); background: var(--color-1); color: var(--color-2); }
#capabilities .capabilities__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(40px, 7vh, 80px); }
#capabilities .capabilities__lead { max-width: 27rem; color: var(--color-5); }
#capabilities .capabilities__deck { display: grid; gap: 20px; }
#capabilities .service { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: clamp(18px, 2.4vw, 34px); overflow: hidden; box-shadow: var(--shadow-1); }
#capabilities .service__text { display: flex; flex-direction: column; gap: 16px; }
#capabilities .service__line { max-width: 30rem; color: var(--color-6); }
#capabilities .service__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; color: var(--color-6); }
#capabilities .service__media { overflow: hidden; border-radius: var(--radius-3); aspect-ratio: 16 / 10; }
#capabilities .service__media img { width: 100%; height: 100%; object-fit: cover; }
#capabilities .service__shade { position: absolute; inset: 0; background: var(--color-1); opacity: 0; pointer-events: none; }
@media (min-width: 900px) {
  #capabilities .service { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 3vw, 48px); height: min(62svh, 560px); min-height: 400px; }
  #capabilities .service__media { aspect-ratio: auto; height: 100%; }
}
}

/* [scene-style:capabilities] */
@layer scenes {
@media (prefers-reduced-motion: no-preference) {
  #capabilities.is-deck .service { position: sticky; top: calc(clamp(80px, 12svh, 108px) + var(--i) * 14px); transform-origin: 50% 0; }
}
}

/* [section:method] */
@layer sections {
#method { position: relative; padding: var(--space-2) var(--space-1); background: var(--color-2); }
#method .method__head { display: grid; gap: 24px; max-width: 60rem; margin-bottom: clamp(48px, 9vh, 110px); }
#method .method__lead { max-width: 34rem; }
#method .method__body { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 20px; align-items: start; }
#method .method__ring { position: relative; grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 1; }
#method .method__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; rotate: -90deg; }
#method .method__track { fill: none; stroke: color-mix(in srgb, var(--color-1) 14%, transparent); stroke-width: 1.5; }
#method .method__arc { fill: none; stroke: var(--color-3); stroke-width: 5; stroke-linecap: round; }
#method .method__station { position: absolute; left: calc(50% + 42.5% * var(--x)); top: calc(50% + 42.5% * var(--y)); width: 9%; height: 9%; margin: -4.5% 0 0 -4.5%; border-radius: var(--radius-2); background: var(--color-3); }
#method .method__arm { position: absolute; inset: 7.5%; }
#method .method__runner { position: absolute; left: 50%; top: 0; width: 15%; height: 15%; margin: -7.5% 0 0 -7.5%; border: 3px solid var(--color-3); border-radius: var(--radius-2); background: var(--color-2); }
#method .method__steps { grid-column: 1; grid-row: 1; display: grid; gap: clamp(56px, 18vh, 170px); }
#method .step { display: grid; gap: 14px; max-width: 34rem; }
#method .step__text { color: var(--color-6); }
@media (min-width: 900px) {
  #method .method__body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 7vw; }
  #method .method__ring { grid-column: 1; width: min(100%, 50svh); justify-self: center; }
  #method .method__steps { grid-column: 2; padding-block: 8svh 14svh; }
}
}

/* [scene-style:method] */
@layer scenes {
@media (prefers-reduced-motion: no-preference) {
  #method.is-cycle .method__ring { position: sticky; top: 104px; }
  @media (min-width: 900px) { #method.is-cycle .method__ring { top: calc(50svh - min(25svh, 21vw)); } }
}
}

/* [section:studio] */
@layer sections {
#studio { position: relative; padding: var(--space-2) var(--space-1); background: var(--color-2); }
#studio .studio__head { display: grid; gap: 28px; margin-bottom: clamp(48px, 8vh, 96px); }
#studio .studio__lead { max-width: 42rem; }
#studio .studio__collage { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#studio .shot { position: relative; overflow: hidden; border-radius: var(--radius-3); background: var(--color-4); }
#studio .shot img { width: 100%; height: 100%; object-fit: cover; }
#studio .shot--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
#studio .shot--tall { aspect-ratio: 3 / 4; }
#studio .studio__roles { grid-column: span 2; display: grid; align-content: start; gap: 18px; padding-top: 24px; }
#studio .studio__roles ul { display: grid; }
#studio .role { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--color-1) 16%, transparent); }
#studio .role__place { color: var(--color-6); }
@media (min-width: 900px) {
  #studio .studio__head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; column-gap: 6vw; }
  #studio .studio__collage { display: block; aspect-ratio: 1.85; }
  #studio .shot { position: absolute; }
  #studio .shot:nth-child(1) { left: 0; top: 0; width: 34%; }
  #studio .shot:nth-child(2) { left: 37%; top: 5.5%; width: 19%; }
  #studio .shot:nth-child(3) { left: 8%; top: 47%; width: 20%; }
  #studio .shot:nth-child(4) { left: 59%; top: 0; width: 41%; }
  #studio .shot:nth-child(5) { left: 31%; top: 53.3%; width: 36%; }
  #studio .studio__roles { position: absolute; left: 71%; top: 55%; width: 29%; padding-top: 0; }
}
}

/* [section:faq] */
@layer sections {
#faq { position: relative; display: grid; gap: 40px; padding: var(--space-2) var(--space-1); background: var(--color-2); border-top: 1px solid color-mix(in srgb, var(--color-1) 12%, transparent); }
#faq .faq__title { font-size: clamp(48px, 7.2vw, 116px); }
#faq .faq__item { border-bottom: 1px solid color-mix(in srgb, var(--color-1) 16%, transparent); }
#faq .faq__item:first-child { border-top: 1px solid color-mix(in srgb, var(--color-1) 16%, transparent); }
#faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
#faq summary::-webkit-details-marker { display: none; }
#faq .faq__mark { position: relative; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--color-1); border-radius: var(--radius-2); }
#faq .faq__mark::after { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-radius: var(--radius-2); background: var(--color-3); transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
#faq details[open] .faq__mark::after { transform: scale(3.1); }
#faq .faq__answer { max-width: 40rem; padding: 0 0 26px; color: var(--color-6); }
@media (hover: hover) { #faq summary:hover .faq__mark::after { transform: scale(1.8); } #faq details[open] summary:hover .faq__mark::after { transform: scale(3.1); } }
@media (min-width: 900px) { #faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6vw; } }
}

/* [section:contact] */
@layer sections {
#contact { position: relative; padding: var(--space-2) var(--space-1); background: var(--color-3); color: var(--color-2); }
#contact :focus-visible { outline-color: var(--color-2); }
#contact .contact__title { font-size: min(19vw, calc((100vw - 2 * var(--space-1)) / (var(--len) * 0.5))); line-height: 0.86; white-space: nowrap; }
#contact .contact__title .m-dot { background: var(--color-2); }
#contact .contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: clamp(40px, 8vh, 88px); }
#contact .contact__info { display: grid; align-content: start; gap: 32px; }
#contact .contact__lead { max-width: 30rem; }
#contact .contact__mail { font-family: var(--font-1); font-size: clamp(28px, 3.4vw, 50px); font-weight: 700; line-height: 1; letter-spacing: -0.035em; text-decoration: none; }
#contact .contact__mail span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 4px; }
#contact .contact__places { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
#contact .contact__places dt { margin-bottom: 6px; }
#contact .contact__places dd a { text-decoration: none; }
#contact .contact__form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); }
#contact .contact__form label { display: grid; gap: 2px; color: var(--color-6); }
#contact .contact__form .m-field { color: var(--color-1); }
#contact .contact__form :focus-visible { outline-color: var(--color-3); }
#contact .contact__pair { display: grid; gap: 18px; }
#contact .contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 6px; }
#contact .contact__status { color: var(--color-1); }
@media (min-width: 640px) { #contact .contact__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { #contact .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 6vw; } }
}

/* [section:footer] */
@layer sections {
#footer { --ap: min(30vw, 44svh); position: relative; padding: clamp(80px, 12vh, 140px) var(--space-1) 28px; background: var(--color-1); color: var(--color-2); overflow: clip; }
#footer .footer__bye { position: relative; padding-top: var(--ap); white-space: nowrap; font-size: min(36vw, 40svh); }
#footer .footer__word { display: inline-block; }
#footer .footer__period { position: relative; display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.035em; vertical-align: baseline; }
#footer .footer__aperture { position: absolute; left: 0; bottom: 0; width: var(--ap); height: var(--ap); overflow: hidden; border-radius: var(--radius-2); background: var(--color-3); transform-origin: 0 100%; }
#footer .footer__img { width: 100%; height: 100%; object-fit: cover; }
#footer .footer__tint { position: absolute; inset: 0; background: var(--color-3); opacity: 0; }
#footer .footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; margin-top: clamp(48px, 9vh, 96px); padding-top: 32px; border-top: 1px solid color-mix(in srgb, var(--color-2) 16%, transparent); }
#footer .footer__col { display: grid; align-content: start; gap: 6px; }
#footer .footer__label { margin-bottom: 8px; color: var(--color-5); }
#footer .footer__news { grid-column: 1 / -1; display: grid; gap: 14px; }
#footer .footer__field { display: flex; align-items: center; gap: 12px; }
#footer .footer__field .m-field { flex: 1; }
#footer .footer__note { color: var(--color-5); }
#footer .footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; color: var(--color-5); }
@media (min-width: 900px) {
  #footer .footer__bye { font-size: min(24vw, 40svh); }
  #footer .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr); }
  #footer .footer__news { grid-column: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  #footer .footer__img { animation: footer-turn 46s linear infinite; }
  #footer.is-offscreen .footer__img { animation-play-state: paused; }
  @keyframes footer-turn { to { transform: rotate(360deg); } }
}
}
