:root {
  --paper: #000;
  --surface: #0b0d0c;
  --surface-raised: #111613;
  --text: #f2f5f1;
  --muted: #a8b1a8;
  --soft: #718073;
  --green: #39cf53;
  --line: #2a332c;
  --line-bright: #4b5b4e;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "Space Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); }
section[id] { scroll-margin-top: 90px; }
::selection { background: var(--green); color: #061008; }
a { color: inherit; }
h1, h2 { -webkit-user-select: none; user-select: none; }
.shell { width: min(1240px, calc(100% - 64px)); margin: auto; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 20px; padding: 12px 16px; background: var(--green); color: #061008; font-weight: 800; }
.skip-link:focus { top: 15px; }

.header { position: sticky; z-index: 20; top: 0; background: rgba(0, 0, 0, .88); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); }
.header.is-scrolled { border-color: var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand img { display: block; width: 146px; filter: brightness(0) invert(1); }
.nav, .header__end, .hero__actions { display: flex; align-items: center; }
.nav { gap: 30px; }
.nav a, .header__cta { font-size: 13px; font-weight: 700; text-decoration: none; }
.nav a, .header__cta, .quiet-link, .contact__links a, footer a { transition: color .25s ease; }
.nav a:hover, .nav a[aria-current="page"], .header__cta, .contact__links a:hover, footer a:hover { color: var(--green); }
.header__end { gap: 26px; }
.header__cta { gap: 8px; }
.icon { display: inline-block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.header__cta .icon { width: 17px; height: 17px; transition: transform .25s ease; }
.header__cta:hover .icon { transform: translate(3px, -3px); }
.menu { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: none; }
.menu span { display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.menu.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
.menu.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }

.hero { position: relative; overflow: hidden; background: #000; }
.hero__scene { position: absolute; top: 0; right: 0; left: 39%; height: 632px; overflow: hidden; }
.hero__scene::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.8) 13%, transparent 48%); pointer-events: none; }
.hero__scene canvas { display: block; width: 100%; height: 100%; }
.scene-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--soft); font-size: 12px; }
.hero__scene.is-ready .scene-fallback { display: none; }
.hero__content { position: relative; z-index: 2; min-height: 632px; padding-top: 112px; }
.hero__overline, .section-title > p, .approach__intro > p, .contact__intro > p { margin: 0; color: var(--green); font: 400 12px var(--mono); letter-spacing: .04em; }
.hero__overline { color: #a9b3aa; }
.hero h1 { max-width: 760px; margin: 28px 0 26px; font-size: clamp(64px, 7.9vw, 116px); letter-spacing: -.04em; line-height: .9; }
.hero h1 strong, .contact h2 .contact__accent, .approach h2 span { color: var(--green); }
.hero__lead { max-width: 510px; margin: 0; color: #c0c9c1; font-size: 17px; line-height: 1.62; }
.hero__actions { gap: 26px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 56px; padding: 0 21px; border: 1px solid var(--green); background: var(--green); color: #061008; font-size: 14px; font-weight: 800; text-decoration: none; transition: background .28s ease, transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease; }
.button .icon { width: 17px; height: 17px; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.button:hover { background: #58df70; box-shadow: 5px 5px 0 #1b6428; transform: translate(-2px, -2px); }
.button:hover .icon { transform: translate(3px, -3px); }
.quiet-link { padding: 8px 0 6px; border-bottom: 1px solid #6a756b; color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; }
.quiet-link .icon { width: 16px; height: 16px; vertical-align: -3px; transition: transform .25s ease; }
.quiet-link:hover { border-color: var(--green); color: var(--green); }
.quiet-link:hover .icon { transform: translateY(3px); }
.hero__statement { position: relative; z-index: 2; padding: 56px 0 96px; border-top: 1px solid var(--line); }
.hero__statement p { max-width: 1080px; margin: 0; font-size: clamp(34px, 4.65vw, 70px); font-weight: 700; letter-spacing: -.04em; line-height: 1.3; }
.hero__statement span { color: var(--green); }

.section { padding: 120px 0; border-top: 1px solid var(--line); }
.section-title { margin-bottom: 55px; }
.section-title > p { margin-bottom: 18px; }
.section-title h2 { max-width: 940px; margin: 0; font-size: clamp(40px, 5vw, 72px); letter-spacing: -.04em; line-height: 1.02; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.service { position: relative; display: flex; min-height: 366px; flex-direction: column; justify-content: space-between; padding: 22px; overflow: hidden; border-right: 1px solid var(--line); background: #020302; color: var(--text); text-decoration: none; transition: background .35s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.service:last-child { border-right: 0; }
.service:hover, .service:focus-visible { z-index: 1; background: var(--surface-raised); transform: translateY(-7px); outline: 1px solid var(--line-bright); }
.service__top { display: flex; align-items: flex-start; justify-content: space-between; }
.service__code, .work-item__meta span { color: var(--green); font: 400 11px var(--mono); letter-spacing: .03em; }
.service__icon { width: 96px; height: 64px; fill: none; stroke: #829184; stroke-width: 1.2; stroke-linecap: square; stroke-linejoin: miter; transition: stroke .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.service:hover .service__icon { stroke: var(--green); transform: translateY(-3px); }
.service__copy { max-width: 245px; padding-bottom: 22px; }.service h3 { margin: 0 0 12px; font-size: clamp(25px, 2vw, 30px); letter-spacing: -.05em; }.service p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.62; transition: color .25s ease; }.service:hover p { color: #d4ddd5; }.service__arrow { position: absolute; right: 21px; bottom: 16px; width: 23px; height: 23px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; transition: transform .3s cubic-bezier(.2,.8,.2,1); }.service:hover .service__arrow { transform: translate(4px, -4px); }

.work { padding-top: 0; }.work .section-title { padding-top: 96px; }.work-list { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); grid-template-rows: repeat(2, 306px); gap: 16px; }.work-item { position: relative; display: block; overflow: hidden; background: var(--surface); color: #fff; text-decoration: none; isolation: isolate; }.work-item--aroma { grid-row: span 2; }.work-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: .83; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .4s ease; }.work-item--aroma img { object-position: 70% top; }.work-item::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(180deg, rgba(0,0,0,.08) 10%, rgba(0,0,0,.15) 44%, rgba(0,0,0,.87) 100%); }.work-item:hover img { opacity: 1; transform: scale(1.045); }.work-item__info { position: absolute; right: 0; bottom: 0; left: 0; padding: 23px 24px; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.48)); }.work-item--aroma .work-item__info { right: auto; bottom: 24px; left: 24px; width: min(390px, calc(100% - 48px)); border: 1px solid rgba(232, 237, 230, .22); background: rgba(6, 8, 6, .88); backdrop-filter: blur(10px); }.work-item__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }.work-item__meta .icon { width: 22px; height: 22px; color: var(--green); transition: transform .3s ease; }.work-item:hover .work-item__meta .icon { transform: translate(3px, -3px); }.work-item__info strong { display: block; font-size: 26px; letter-spacing: -.04em; }.work-item__info p { max-width: 390px; margin: 7px 0 14px; color: #e3e8e2; font-size: 13px; line-height: 1.55; }.work-item__info b { display: inline-block; color: var(--green); font-size: 12px; }.work-item:hover b { text-decoration: underline; text-underline-offset: 4px; }
.work-item { width: 100%; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; }
.work-item--aroma img { object-position: right top; }
.work-item--aroma { display: flex; flex-direction: column; background: #efeae2; }
.work-item--aroma img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; opacity: 1; }
.work-item--aroma::after { display: none; }
.work-item--aroma .work-item__info { position: relative; right: auto; bottom: auto; left: auto; width: auto; min-height: 0; margin-top: auto; border: 0; background: #090b09; backdrop-filter: none; }
.work-item--aroma .work-item__info { padding: 16px 24px 18px; }
.work-item--aroma .work-item__meta { margin-bottom: 14px; }
.work-item--aroma .work-item__info p { margin: 5px 0 9px; }
.work-item--aroma:hover img { transform: scale(1.018); }
.work-item--rust .work-item__info,
.work-item--pulse .work-item__info { padding: 14px 18px 15px; }
.work-item--rust .work-item__meta,
.work-item--pulse .work-item__meta { margin-bottom: 11px; }

.approach, .contact { padding: 122px 0; border-top: 1px solid var(--line); }.approach__grid { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.22fr); gap: clamp(65px, 10vw, 150px); }.approach h2 { margin: 20px 0 0; font-size: clamp(52px, 5.4vw, 80px); letter-spacing: -.04em; line-height: .96; }.approach__note { max-width: 280px; margin: 34px 0 0 !important; color: var(--muted) !important; font: 400 14px/1.6 var(--sans) !important; letter-spacing: 0 !important; }.approach__steps { border-top: 1px solid var(--line); }.approach article { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 25px; padding: 30px 0 31px; border-bottom: 1px solid var(--line); }.approach article::before { position: absolute; top: 0; bottom: 0; left: 30px; width: 1px; background: linear-gradient(var(--green), transparent); content: ""; opacity: .5; }.approach article span { position: relative; z-index: 1; color: var(--green); font: 400 14px var(--mono); }.approach article h3 { margin: 0 0 7px; font-size: 25px; letter-spacing: -.04em; }.approach article p { max-width: 460px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }

.contact__grid { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(500px, 1.18fr); gap: clamp(65px, 11vw, 160px); }.contact h2 { margin: 20px 0 0; font-size: clamp(52px, 5.6vw, 84px); letter-spacing: -.04em; line-height: 1; }.contact h2 > span { display: block; line-height: .88; }.contact h2 > span + span { margin-top: .12em; }.contact h2 .contact__accent { color: var(--green); }.contact__links { display: grid; width: min(100%, 330px); margin-top: 45px; border-top: 1px solid var(--line); }.contact__links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; text-decoration: none; }.contact form { display: grid; align-content: start; gap: 22px; padding: 28px; border: 1px solid var(--line); background: #060806; }.contact label { display: grid; gap: 10px; color: #dfe7df; font-size: 12px; font-weight: 800; }.contact input, .contact textarea { width: 100%; min-height: 52px; border: 1px solid var(--line-bright); border-radius: 0; background: #020302; padding: 13px 14px; color: var(--text); font: 400 16px var(--sans); outline: none; resize: vertical; transition: border-color .2s ease, box-shadow .2s ease; }.contact textarea { min-height: 132px; }.contact input:focus, .contact textarea:focus { border-color: var(--green); box-shadow: inset 3px 0 var(--green); }.contact input::placeholder, .contact textarea::placeholder { color: #92a093; }.button--dark { width: 100%; margin-top: 3px; }.button--dark { width: 100%; margin-top: 3px; }.form-status { min-height: 18px; margin: -8px 0 0; color: #cfe0d1; font-size: 12px; font-weight: 700; }
.contact-method { display: grid; gap: 10px; min-width: 0; margin: 0; border: 0; padding: 0; }.contact-method legend { padding: 0; color: #dfe7df; font-size: 12px; font-weight: 800; }.contact-method__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }.contact-method__option { display: grid; min-height: 66px; place-items: center; align-content: center; gap: 6px; border: 1px solid var(--line-bright); background: #020302; padding: 8px; color: #cfe0d1; font: 700 11px var(--sans); cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }.contact-method__option svg { width: 21px; height: 21px; fill: currentColor; }.contact-method__option:hover { border-color: var(--green); color: var(--text); transform: translateY(-2px); }.contact-method__option.is-selected { border-color: var(--green); background: var(--green); color: #061008; }.contact-method__option:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }.contact-value[hidden] { display: none; }
.contact-method__option svg { display: none; }.contact-method__option::before { width: 21px; height: 21px; background: currentColor; content: ""; }.contact-method__option[data-contact-method="telegram"]::before { -webkit-mask: url("/assets/icons/telegram.svg") center / contain no-repeat; mask: url("/assets/icons/telegram.svg") center / contain no-repeat; }.contact-method__option[data-contact-method="whatsapp"]::before { -webkit-mask: url("/assets/icons/whatsapp.svg") center / contain no-repeat; mask: url("/assets/icons/whatsapp.svg") center / contain no-repeat; }
.contact-method__option[data-contact-method="phone"] svg { display: block; width: 21px; height: 21px; fill: currentColor; }.contact-method__option[data-contact-method="phone"]::before { display: none; }

footer { padding: 27px 0; border-top: 1px solid var(--line); }.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 25px; }.footer__row > img { width: 121px; filter: brightness(0) invert(1); }.footer__row div { display: flex; gap: 20px; }.footer a { font-size: 12px; text-decoration: none; }.footer small { color: var(--soft); font: 400 11px var(--mono); }

html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); } html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 830px) { body.menu-open { overflow: hidden; }.shell { width: min(680px, calc(100% - 32px)); }.header__row { height: 66px; }.brand img { width: 126px; }.nav { position: fixed; top: 66px; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 12px 16px 25px; background: #000; border-bottom: 1px solid var(--line); }.nav.is-open { display: flex; }.nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }.header__cta { display: none; }.menu { display: block; }.menu.is-open { background: #142418; }.hero__scene { top: 380px; right: 0; left: 0; height: 420px; }.hero__scene::after { background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); }.hero__content { min-height: 810px; padding-top: 58px; }.hero h1 { margin-top: 26px; font-size: clamp(54px, 15vw, 82px); }.hero__lead { max-width: 440px; font-size: 16px; }.hero__actions { margin-top: 30px; }.hero__statement { padding: 38px 0 58px; }.hero__statement p { font-size: clamp(31px, 9vw, 49px); }.section, .approach, .contact { padding: 80px 0; }.section-title { margin-bottom: 39px; }.section-title > p { margin-bottom: 14px; }.service-grid { grid-template-columns: 1fr 1fr; }.service { min-height: 285px; }.service:nth-child(2) { border-right: 0; }.service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.service__icon { width: 78px; height: 52px; }.work .section-title { padding-top: 80px; }.work-list { grid-template-columns: 1fr; grid-template-rows: none; }.work-item, .work-item--aroma { min-height: 360px; }.work-item--aroma { min-height: 475px; }.work-item--aroma .work-item__info { bottom: 18px; left: 18px; width: min(390px, calc(100% - 36px)); }.approach__grid, .contact__grid { grid-template-columns: 1fr; gap: 54px; }.approach article { grid-template-columns: 68px 1fr; gap: 16px; }.approach article::before { left: 20px; }.contact form { padding: 22px; }.footer__row { align-items: flex-start; flex-direction: column; }.footer__row div { gap: 16px; } }
@media (max-width: 430px) { .hero__scene { top: 380px; height: 395px; }.hero__content { min-height: 790px; }.hero__actions { align-items: flex-start; flex-direction: column; gap: 14px; }.service-grid { grid-template-columns: 1fr; }.service { min-height: 228px; border-right: 0; border-bottom: 1px solid var(--line); }.service:last-child { border-bottom: 0; }.service__copy { padding-bottom: 12px; }.work-item--aroma { min-height: 400px; }.work-item__info { padding: 19px; }.work-item__meta { margin-bottom: 20px; }.work-item__info strong { font-size: 23px; }.approach h2, .contact h2 { font-size: 54px; }.contact form { padding: 17px; }.footer__row div { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Service details stay in the landing page, rather than becoming duplicate routes. */
.service { width: 100%; border-top: 0; border-left: 0; border-radius: 0; font: inherit; text-align: left; cursor: pointer; }
.service-modal { position: fixed; z-index: 60; inset: 0; display: grid; padding: 22px; visibility: hidden; opacity: 0; pointer-events: none; transition: visibility 0s linear .35s, opacity .35s ease; }
.service-modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
.service-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .82); backdrop-filter: blur(8px); }
.service-modal__dialog { position: relative; width: min(1120px, 100%); max-height: calc(100dvh - 44px); margin: auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line-bright) #080b09; border: 1px solid var(--line-bright); background: #080b09; transform: translateY(24px); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.service-modal__dialog::-webkit-scrollbar { width: 9px; }.service-modal__dialog::-webkit-scrollbar-track { background: #080b09; }.service-modal__dialog::-webkit-scrollbar-thumb { border: 3px solid #080b09; background: var(--line-bright); }
.service-modal.is-open .service-modal__dialog { transform: none; }
.service-modal__panel { min-height: 620px; padding: clamp(58px, 8vw, 112px); }
.service-modal__eyebrow { margin: 0 0 25px; color: var(--green); font: 400 12px var(--mono); letter-spacing: .04em; }
.service-modal h2 { max-width: 820px; margin: 0; font-size: clamp(48px, 6.7vw, 92px); letter-spacing: -.04em; line-height: .98; }
.service-modal h2 span { color: var(--green); }
.service-modal__lead { max-width: 650px; margin: 31px 0 55px; color: #c3ccc4; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.55; }
.service-modal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 840px; border-top: 1px solid var(--line); }
.service-modal__grid > div { padding: 18px 28px 22px 16px; border-bottom: 1px solid var(--line); }.service-modal__grid > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.service-modal__grid span { color: var(--green); font: 400 11px var(--mono); }.service-modal__grid p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.58; }
.service-modal__section { max-width: 840px; padding: 31px 16px 33px; border-bottom: 1px solid var(--line); }
.service-modal__section-label { margin: 0 0 16px; color: var(--green); font: 400 11px var(--mono); letter-spacing: .03em; }
.service-modal__list, .service-modal__steps { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; counter-reset: modal-steps; }
.service-modal__list li, .service-modal__steps li { position: relative; padding-left: 21px; color: #d7dfd7; font-size: 15px; line-height: 1.55; }
.service-modal__list li::before { position: absolute; top: .62em; left: 0; width: 6px; height: 6px; background: var(--green); content: ""; }
.service-modal__steps li { counter-increment: modal-steps; padding-left: 34px; color: var(--muted); }
.service-modal__steps li::before { position: absolute; top: .12em; left: 0; color: var(--green); content: "0" counter(modal-steps); font: 400 11px var(--mono); }
.service-modal__section--split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(180px, .8fr); gap: 46px; }
.service-modal__section--split > div + div { padding-left: 30px; border-left: 1px solid var(--line); }
.service-modal__body { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.service-modal .button { margin-top: 42px; }
.service-modal__close { position: absolute; z-index: 2; top: 20px; right: 20px; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line-bright); background: #080b09; color: var(--text); cursor: pointer; transition: border-color .2s ease, color .2s ease; }.service-modal__close:hover { border-color: var(--green); color: var(--green); }.service-modal__close .icon { width: 20px; height: 20px; }
body.modal-open { overflow: hidden; }
@media (max-width: 830px) { .service-modal { padding: 0; }.service-modal__dialog { max-height: 100dvh; border: 0; }.service-modal__panel { min-height: 100dvh; padding: 92px 28px 45px; }.service-modal h2 { font-size: clamp(45px, 12vw, 70px); }.service-modal__lead { margin: 25px 0 42px; font-size: 16px; }.service-modal__grid { grid-template-columns: 1fr; }.service-modal__grid > div, .service-modal__grid > div + div { padding: 17px 16px; border-left: 0; }.service-modal__section { padding: 27px 0; }.service-modal__section--split { grid-template-columns: 1fr; gap: 29px; }.service-modal__section--split > div + div { padding-top: 27px; padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }.service-modal__list li, .service-modal__steps li, .service-modal__body { font-size: 14px; }.service-modal .button { width: 100%; margin-top: 32px; } }

/* Case library: a focused project view without sending visitors to another route. */
.case-modal { position: fixed; z-index: 70; inset: 0; display: grid; padding: 22px; visibility: hidden; opacity: 0; pointer-events: none; transition: visibility 0s linear .35s, opacity .35s ease; }
.case-modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
.case-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .86); backdrop-filter: blur(8px); }
.case-modal__dialog { position: relative; width: min(1200px, 100%); max-height: calc(100dvh - 44px); margin: auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line-bright) #080b09; border: 1px solid var(--line-bright); background: #080b09; transform: translateY(24px); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.case-modal__dialog::-webkit-scrollbar { width: 9px; }.case-modal__dialog::-webkit-scrollbar-track { background: #080b09; }.case-modal__dialog::-webkit-scrollbar-thumb { border: 3px solid #080b09; background: var(--line-bright); }
.case-modal.is-open .case-modal__dialog { transform: none; }
.case-modal__close { position: absolute; z-index: 4; top: 20px; right: 20px; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line-bright); background: #080b09; color: var(--text); cursor: pointer; transition: border-color .2s ease, color .2s ease; }.case-modal__close:hover { border-color: var(--green); color: var(--green); }.case-modal__close .icon { width: 20px; height: 20px; }
.case-modal__catalog, .case-modal__project { min-height: 680px; padding: clamp(58px, 7.5vw, 96px); }
.case-modal__eyebrow { margin: 0 0 22px; color: var(--green); font: 400 12px var(--mono); letter-spacing: .04em; }
.case-modal h2 { max-width: 900px; margin: 0; font-size: clamp(50px, 6.5vw, 91px); letter-spacing: -.05em; line-height: .94; }.case-modal h2 span { color: var(--green); }
.case-modal__lead { max-width: 700px; margin: 28px 0 50px; color: #c3ccc4; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; }
.case-modal__catalog-grid { display: grid; grid-template-columns: 1.18fr repeat(2, .91fr); align-items: stretch; border: 1px solid var(--line); }
.case-modal__catalog-item { position: relative; display: flex; min-height: 440px; flex-direction: column; align-items: flex-start; overflow: hidden; border: 0; border-right: 1px solid var(--line); background: #070907; color: var(--text); padding: 21px; text-align: left; cursor: pointer; isolation: isolate; }.case-modal__catalog-item:last-child { border-right: 0; }
.case-modal__catalog-item img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .35s ease; }.case-modal__catalog-item--aroma img { object-position: center top; opacity: .78; }.case-modal__catalog-item::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(180deg, rgba(4, 6, 5, .1), rgba(4, 6, 5, .94) 78%); }.case-modal__catalog-item:hover img { transform: scale(1.045); opacity: .9; }.case-modal__catalog-item:hover::after { background: linear-gradient(180deg, rgba(4, 6, 5, .04), rgba(4, 6, 5, .86) 76%); }
.case-modal__catalog-meta { color: var(--green); font: 400 11px var(--mono); }.case-modal__catalog-item strong { margin-top: auto; font-size: clamp(22px, 2vw, 29px); letter-spacing: -.05em; }.case-modal__catalog-item p { max-width: 300px; margin: 8px 0 17px; color: #d1dad2; font-size: 13px; line-height: 1.5; }.case-modal__catalog-link { display: inline-flex; align-items: center; gap: 11px; color: var(--green); font-size: 12px; font-weight: 800; }.case-modal__catalog-link .icon { width: 17px; height: 17px; transition: transform .25s ease; }.case-modal__catalog-item:hover .case-modal__catalog-link .icon { transform: translate(3px, -3px); }
.case-modal__back { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 46px; border: 0; border-bottom: 1px solid var(--line-bright); background: transparent; padding: 0 0 7px; color: var(--text); font: 700 13px var(--sans); cursor: pointer; transition: border-color .2s ease, color .2s ease; }.case-modal__back:hover { border-color: var(--green); color: var(--green); }.case-modal__back .icon { width: 17px; height: 17px; transform: rotate(180deg); }
.case-modal__project-head { display: grid; grid-template-columns: minmax(0, .89fr) minmax(360px, 1.11fr); gap: clamp(46px, 7vw, 96px); align-items: end; padding-bottom: 64px; }.case-modal__project-head .case-modal__lead { margin-bottom: 27px; }
.case-modal__tags { display: flex; flex-wrap: wrap; gap: 8px; }.case-modal__tags span { border: 1px solid var(--line-bright); padding: 7px 9px; color: #c3ccc4; font: 400 11px var(--mono); }
.case-modal__visual { overflow: hidden; border: 1px solid var(--line); background: #070907; }.case-modal__visual img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }.case-modal__project[data-case-project="aroma"] .case-modal__visual { background: #f2ece7; }.case-modal__project[data-case-project="aroma"] .case-modal__visual img { object-position: center top; }
.case-modal__content { display: grid; grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr); gap: clamp(46px, 8vw, 108px); padding: 38px 0 43px; border-top: 1px solid var(--line); }.case-modal__content:last-of-type { border-bottom: 1px solid var(--line); }.case-modal__section-label { margin: 0 0 15px; color: var(--green); font: 400 11px var(--mono); letter-spacing: .03em; }.case-modal__content h3 { max-width: 340px; margin: 0; font-size: clamp(25px, 2.7vw, 38px); letter-spacing: -.045em; line-height: 1.02; }.case-modal__content > div > p { max-width: 600px; margin: 0; color: #c3ccc4; font-size: 15px; line-height: 1.65; }
.case-modal__metrics { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 30px; border-top: 1px solid var(--line); }.case-modal__metrics > div { padding: 17px 18px 0 0; }.case-modal__metrics > div + div { border-left: 1px solid var(--line); padding-left: 18px; }.case-modal__metrics strong { display: block; color: var(--green); font-size: 26px; letter-spacing: -.04em; }.case-modal__metrics span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.case-modal__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 27px; }.case-modal__features article { padding: 0 0 23px; border-bottom: 1px solid var(--line); }.case-modal__features article:nth-child(n + 3) { padding-top: 23px; }.case-modal__features h4 { margin: 0 0 7px; font-size: 16px; letter-spacing: -.02em; }.case-modal__features p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.case-modal__footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 32px; }.case-modal__footer p { max-width: 480px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }.case-modal__footer .button { flex: none; }
.case-modal__switcher { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 25px clamp(58px, 7.5vw, 96px); border-top: 1px solid var(--line); background: #060806; }.case-modal__switcher > span { color: var(--soft); font: 400 11px var(--mono); }.case-modal__switcher div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px 24px; }.case-modal__switcher button { border: 0; border-bottom: 1px solid transparent; background: transparent; padding: 0 0 5px; color: #d4ddd5; font: 700 12px var(--sans); cursor: pointer; transition: border-color .2s ease, color .2s ease; }.case-modal__switcher button:hover, .case-modal__switcher button[aria-current="true"] { border-color: var(--green); color: var(--green); }
@media (max-width: 830px) { .case-modal { padding: 0; }.case-modal__dialog { max-height: 100dvh; border: 0; }.case-modal__catalog, .case-modal__project { min-height: 100dvh; padding: 92px 28px 48px; }.case-modal h2 { font-size: clamp(46px, 12vw, 70px); }.case-modal__lead { margin: 24px 0 39px; font-size: 16px; }.case-modal__catalog-grid { grid-template-columns: 1fr; }.case-modal__catalog-item { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--line); }.case-modal__catalog-item:last-child { border-bottom: 0; }.case-modal__back { margin-bottom: 36px; }.case-modal__project-head, .case-modal__content { grid-template-columns: 1fr; gap: 31px; }.case-modal__project-head { padding-bottom: 45px; }.case-modal__content { padding: 29px 0 32px; }.case-modal__content h3 { max-width: 480px; }.case-modal__footer { align-items: flex-start; flex-direction: column; }.case-modal__footer .button { width: 100%; }.case-modal__switcher { align-items: flex-start; flex-direction: column; gap: 16px; padding: 22px 28px; }.case-modal__switcher div { justify-content: flex-start; } }
@media (max-width: 480px) { .case-modal__catalog, .case-modal__project { padding-right: 20px; padding-left: 20px; }.case-modal__catalog-item { min-height: 300px; }.case-modal__features, .case-modal__metrics { grid-template-columns: 1fr; }.case-modal__features article:nth-child(n + 2) { padding-top: 23px; }.case-modal__metrics > div + div { margin-top: 17px; border-top: 1px solid var(--line); border-left: 0; padding-top: 17px; padding-left: 0; }.case-modal__switcher { padding-right: 20px; padding-left: 20px; }.case-modal__switcher div { gap: 13px 18px; } }

/* Desktop dialogs use a compact horizontal frame; navigation remains within reach while content scrolls. */
.service-modal__close, .case-modal__close { position: sticky; z-index: 5; top: 20px; margin: 20px 20px -66px auto; }
.case-modal__back { position: sticky; z-index: 3; top: 0; display: flex; width: 100%; min-height: 54px; margin: 0 0 34px; border-bottom: 1px solid var(--line); background: #080b09; padding: 13px 78px; padding-left: 0; }
.service-modal__toolbar { position: sticky; z-index: 5; top: 0; display: flex; min-height: 72px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #080b09; padding: 13px 20px 13px clamp(28px, 8vw, 112px); color: var(--green); font: 400 11px var(--mono); letter-spacing: .04em; }
.service-modal__close { position: static; z-index: auto; flex: none; margin: 0; }
.case-modal__back { color: var(--green); font: 400 11px var(--mono); letter-spacing: .04em; }
@media (min-width: 831px) {
  .service-modal__dialog { height: min(calc((100vw - 44px) * .6), calc(100dvh - 64px), 670px); max-height: none; }
  .case-modal__dialog { height: min(calc((100vw - 44px) * .6), calc(100dvh - 64px), 720px); max-height: none; }
  .case-modal__project { padding-top: 58px; }
  .case-modal__back { margin-bottom: -26px; }
  .case-modal__project-head { padding-bottom: 220px; }
}

/* The portfolio is a compact picker; project navigation mirrors the close control. */
.case-modal__catalog h2 { max-width: 620px; margin-bottom: 30px; font-size: clamp(48px, 5.1vw, 72px); }
.case-modal__catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-modal__catalog-item { min-height: 0; aspect-ratio: 16 / 9; padding: 17px; }.case-modal__catalog-item strong { font: 400 clamp(14px, 1.15vw, 17px) var(--mono); letter-spacing: 0; }.case-modal__catalog-link { position: absolute; right: 17px; bottom: 16px; }.case-modal__catalog-link .icon { width: 20px; height: 20px; }
.case-modal__catalog-grid { gap: 14px; border: 0; }.case-modal__catalog-item, .case-modal__catalog-item:last-child { border: 1px solid var(--line); }
.case-modal__project { --case-project-pad: clamp(58px, 7.5vw, 96px); }
.case-modal__back { position: sticky; z-index: 4; top: 76px; display: grid; width: 46px; min-height: 46px; height: 46px; place-items: center; margin: -20px calc(20px - var(--case-project-pad)) 34px auto; border: 1px solid var(--line-bright); background: #080b09; padding: 0; color: var(--text); }
.case-modal__back:hover { color: var(--green); }.case-modal__back-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
@media (max-width: 1100px) and (min-width: 831px) { .case-modal__catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 830px) { .case-modal__project { --case-project-pad: 28px; }.case-modal__catalog h2 { margin-bottom: 28px; }.case-modal__catalog-grid { grid-template-columns: 1fr; }.case-modal__catalog-item { min-height: 0; } }
@media (max-width: 480px) { .case-modal__project { --case-project-pad: 20px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.agent-widget { position: fixed; z-index: 50; right: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.agent-widget__trigger { display: inline-grid; width: 58px; height: 58px; place-items: center; border: 1px solid var(--green); border-radius: 50%; background: var(--green); color: #061008; cursor: pointer; box-shadow: 5px 5px 0 #1b6428; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }.agent-widget__trigger:hover { box-shadow: 2px 2px 0 #1b6428; transform: translate(3px, 3px); }.agent-widget__trigger .icon { width: 24px; height: 24px; }.agent-widget__trigger span { margin-top: -3px; font: 800 9px var(--sans); }
.agent-widget__notice { width: min(310px, calc(100vw - 48px)); border: 1px solid var(--line-bright); border-radius: 8px; background: #0a0e0b; box-shadow: 8px 8px 0 rgba(0, 0, 0, .24); animation: agent-notice-in .45s cubic-bezier(.2,.8,.2,1) both; }.agent-widget__notice button { display: grid; width: 100%; gap: 5px; border: 0; background: transparent; padding: 14px 16px; color: var(--muted); text-align: left; font: 500 12px/1.4 var(--sans); cursor: pointer; }.agent-widget__notice strong { color: var(--text); font-size: 13px; }
.agent-widget__panel { width: min(390px, calc(100vw - 48px)); height: min(590px, calc(100dvh - 112px)); overflow: hidden; border: 1px solid var(--line-bright); border-radius: 8px; background: #080b09; box-shadow: 12px 12px 0 rgba(0, 0, 0, .3); }.agent-widget__panel:not([hidden]) { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; animation: agent-panel-in .32s cubic-bezier(.2,.8,.2,1) both; }
.agent-widget__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 18px 18px 16px; }.agent-widget__head span { color: var(--green); font: 400 11px var(--mono); letter-spacing: .04em; }.agent-widget__head h2 { margin: 8px 0 0; font-size: 23px; letter-spacing: -.04em; line-height: 1.05; }.agent-widget__close { display: grid; width: 34px; height: 34px; place-items: center; flex: none; border: 1px solid var(--line-bright); background: transparent; color: var(--text); cursor: pointer; transition: color .2s ease, border-color .2s ease; }.agent-widget__close:hover { border-color: var(--green); color: var(--green); }.agent-widget__close .icon { width: 17px; height: 17px; }
.agent-widget__messages { display: flex; min-height: 0; flex-direction: column; gap: 10px; overflow-y: auto; overscroll-behavior: contain; padding: 18px; scrollbar-width: thin; scrollbar-color: var(--line-bright) #080b09; }.agent-message { align-self: flex-start; max-width: 88%; border: 1px solid var(--line); padding: 11px 12px; color: #dce5dd; font-size: 13px; line-height: 1.5; }.agent-message--user { align-self: flex-end; border-color: #2d703a; background: #102916; color: #f2f5f1; }.agent-message--pending { color: var(--muted); font: 400 12px var(--mono); }.agent-message--error { border-color: #865859; color: #f0cccc; }
.agent-widget__form { position: relative; display: grid; grid-template-columns: 1fr 48px; gap: 8px; border-top: 1px solid var(--line); padding: 12px; }.agent-widget__form textarea { min-height: 48px; max-height: 110px; border: 1px solid var(--line-bright); background: #050705; padding: 12px; color: var(--text); font: 400 13px/1.4 var(--sans); outline: none; resize: vertical; }.agent-widget__form textarea:focus { border-color: var(--green); box-shadow: inset 3px 0 var(--green); }.agent-widget__send { display: grid; width: 48px; height: 48px; place-items: center; align-self: end; border: 1px solid var(--green); background: var(--green); color: #061008; cursor: pointer; transition: background .2s ease, transform .2s ease; }.agent-widget__send:hover { background: #58df70; transform: translate(-2px, -2px); }.agent-widget__send:disabled { cursor: wait; opacity: .55; transform: none; }.agent-widget__send .icon { width: 20px; height: 20px; }.agent-widget__privacy { margin: 0; border-top: 1px solid var(--line); padding: 10px 14px 12px; color: var(--soft); font-size: 10px; line-height: 1.45; }
@keyframes agent-notice-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } } @keyframes agent-panel-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 540px) { .agent-widget { right: 16px; bottom: 16px; }.agent-widget__panel, .agent-widget__notice { width: min(390px, calc(100vw - 32px)); }.agent-widget__panel { height: min(590px, calc(100dvh - 88px)); }.agent-widget__trigger { width: 54px; height: 54px; } }
@media (prefers-reduced-motion: reduce) { .agent-widget__notice, .agent-widget__panel:not([hidden]) { animation: none; } }

/* Consent controls use the same compact, technical treatment as the inquiry flow. */
.consent-check, .agent-widget__consent { align-items: start; grid-template-columns: 16px 1fr; gap: 10px; color: var(--muted); font: 600 11px/1.45 var(--sans); }
.consent-check input, .agent-widget__consent input { width: 16px; height: 16px; min-height: 0; margin: 1px 0 0; accent-color: var(--green); }
.consent-check a, .agent-widget__consent a { color: var(--text); text-underline-offset: 3px; }
.consent-check a:hover, .agent-widget__consent a:hover { color: var(--green); }
.footer__row div { flex-wrap: wrap; justify-content: center; }

.agent-widget__panel { height: min(650px, calc(100dvh - 96px)); }
.agent-widget__panel:not([hidden]) { grid-template-rows: auto auto minmax(0, 1fr) auto auto; }
.agent-widget__name { display: grid; gap: 7px; border-bottom: 1px solid var(--line); padding: 12px 18px 14px; color: #dfe7df; font-size: 11px; font-weight: 800; }
.agent-widget__name input { width: 100%; min-height: 42px; border: 1px solid var(--line-bright); background: #050705; padding: 10px 11px; color: var(--text); font: 400 13px var(--sans); outline: none; }
.agent-widget__name input:focus { border-color: var(--green); box-shadow: inset 3px 0 var(--green); }
.agent-widget__form { grid-template-areas: "message send" "consent consent"; align-items: start; }
.agent-widget__form textarea { grid-area: message; }
.agent-widget__send { grid-area: send; }
.agent-widget__consent { display: grid; grid-area: consent; margin-top: 2px; }
.agent-widget__privacy { padding-top: 9px; }
@media (max-width: 540px) { .agent-widget__panel { height: min(650px, calc(100dvh - 70px)); }.agent-widget__name { padding-right: 14px; padding-left: 14px; }.agent-widget__messages { padding: 14px; } }

/* Public legal pages retain the studio's typographic system without turning documents into a product screen. */
.legal-page { min-height: 100dvh; background: #050605; }.legal-header { border-bottom: 1px solid var(--line); }.legal-header .shell, .legal-footer .shell { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }.legal-brand img { display: block; width: 137px; filter: brightness(0) invert(1); }.legal-back, .legal-footer a { color: var(--muted); font: 700 12px var(--sans); text-decoration: none; }.legal-back:hover, .legal-footer a:hover, .legal-document a:hover { color: var(--green); }.legal-back span { color: var(--green); }.legal-document { max-width: 880px; padding-top: clamp(66px, 10vw, 126px); padding-bottom: 112px; }.legal-eyebrow, .legal-number { margin: 0; color: var(--green); font: 400 11px var(--mono); letter-spacing: .03em; }.legal-document h1 { max-width: 820px; margin: 22px 0 18px; font-size: clamp(52px, 8vw, 104px); letter-spacing: -.055em; line-height: .91; }.legal-document h1 span { color: var(--green); }.legal-date { margin: 0; color: var(--soft); font: 400 11px var(--mono); }.legal-intro { max-width: 670px; margin: clamp(54px, 7vw, 86px) 0 64px; color: #d4ddd5; font-size: clamp(18px, 2vw, 23px); line-height: 1.42; }.legal-intro p { margin: 0 0 17px; }.legal-toc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-bottom: 80px; border-top: 1px solid var(--line); }.legal-toc a { border-bottom: 1px solid var(--line); padding: 14px 0; color: var(--muted); font: 400 12px var(--mono); text-decoration: none; }.legal-toc a:nth-child(odd) { padding-right: 18px; }.legal-toc a:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }.legal-document section { position: relative; padding: 46px 0 52px 116px; border-top: 1px solid var(--line); }.legal-document section:last-child { border-bottom: 1px solid var(--line); }.legal-document section .legal-number { position: absolute; top: 51px; left: 0; }.legal-document h2 { max-width: 560px; margin: 0 0 22px; font-size: clamp(27px, 3.2vw, 40px); letter-spacing: -.045em; line-height: 1.03; }.legal-document section > p:not(.legal-number) { max-width: 640px; margin: 0 0 14px; color: #bdc8be; font-size: 15px; line-height: 1.67; }.legal-document section > p:last-child { margin-bottom: 0; }.legal-document a { color: var(--text); text-decoration-color: var(--green); text-underline-offset: 3px; }.legal-footer { border-top: 1px solid var(--line); }.legal-footer span { color: var(--soft); font: 400 11px var(--mono); }
@media (max-width: 640px) { .legal-document { width: min(100% - 40px, 880px); padding-top: 58px; padding-bottom: 70px; }.legal-header .shell, .legal-footer .shell { width: min(100% - 40px, 1240px); min-height: 64px; }.legal-document h1 { font-size: clamp(46px, 14vw, 70px); }.legal-toc { grid-template-columns: 1fr; margin-bottom: 52px; }.legal-toc a:nth-child(n) { padding: 13px 0; border-left: 0; }.legal-document section { padding: 30px 0 35px; }.legal-document section .legal-number { position: static; margin-bottom: 18px; }.legal-document h2 { font-size: 29px; }.legal-document section > p:not(.legal-number) { font-size: 14px; } }

/* AI chat begins with an explicit consent step before the conversation surface is revealed. */
.agent-widget__panel:not([hidden]) { grid-template-rows: auto minmax(0, 1fr) auto; }
.agent-widget__onboarding { display: grid; align-content: start; gap: 17px; padding: 22px 18px; }.agent-widget__onboarding > p { margin: 0 0 2px; color: var(--muted); font-size: 13px; line-height: 1.5; }.agent-widget__onboarding .agent-widget__name { border: 0; padding: 0; }.agent-widget__onboarding .agent-widget__consent { margin-top: 2px; }.agent-widget__start { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; border: 1px solid var(--green); background: var(--green); padding: 0 16px; color: #061008; font: 800 13px var(--sans); cursor: pointer; transition: background .2s ease, transform .2s ease; }.agent-widget__start:hover { background: #58df70; transform: translate(-2px, -2px); }.agent-widget__start .icon { width: 18px; height: 18px; }
.agent-widget__chat { display: grid; min-height: 0; grid-template-rows: minmax(0, 1fr) auto; }.agent-widget__chat .agent-widget__messages { min-height: 0; }

/* The agent is a focused conversation surface: consent first, then one calm chat canvas. */
.agent-widget { right: 22px; bottom: 22px; gap: 10px; }.agent-widget__panel { width: min(404px, calc(100vw - 44px)); height: min(610px, calc(100dvh - 76px)); border-color: #405046; border-radius: 12px; background: #080b09; box-shadow: none; }.agent-widget__panel:not([hidden]) { grid-template-rows: auto minmax(0, 1fr) auto; }.agent-widget__head { min-height: 76px; align-items: center; padding: 15px 18px; }.agent-widget__identity { display: flex; align-items: center; gap: 10px; }.agent-widget__signal { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #4b5b4e; color: var(--green); }.agent-widget__signal .icon { width: 15px; height: 15px; }.agent-widget__identity strong, .agent-widget__identity span { display: block; }.agent-widget__identity strong { color: var(--text); font-size: 13px; letter-spacing: -.02em; }.agent-widget__identity div > span { margin-top: 2px; color: var(--soft); font-size: 10px; }.agent-widget__close { width: 36px; height: 36px; border-color: #4b5b4e; }.agent-widget__close:hover { background: #101711; }
.agent-widget__onboarding { grid-template-rows: 1fr auto auto auto; gap: 18px; padding: 30px 28px 24px; }.agent-widget__intro { max-width: 295px; }.agent-widget__intro h2 { margin: 0 0 16px; color: var(--text); font-size: 38px; letter-spacing: -.04em; line-height: .97; }.agent-widget__intro p { margin: 0; color: #aeb8af; font-size: 14px; line-height: 1.52; }.agent-widget__onboarding .agent-widget__name { gap: 8px; padding: 0; border: 0; color: #d9e2da; font-size: 11px; }.agent-widget__name input { min-height: 48px; border-color: #48584b; background: #0a0e0b; padding: 12px; font-size: 14px; }.agent-widget__name input::placeholder, .agent-widget__form textarea::placeholder { color: #7e8a80; }.agent-widget__consent { gap: 9px; color: #aeb8af; font-size: 11px; line-height: 1.42; }.agent-widget__consent input { border-radius: 2px; }.agent-widget__consent a { color: #dce5dd; }.agent-widget__start { min-height: 52px; border: 0; border-radius: 0; background: var(--green); padding: 0 16px; color: #061008; }.agent-widget__start:hover { background: #54dc6b; transform: none; }.agent-widget__start:focus-visible, .agent-widget__send:focus-visible, .agent-widget__close:focus-visible, .agent-widget__trigger:focus-visible { outline: 2px solid #f2f5f1; outline-offset: 3px; }
.agent-widget__chat { grid-template-rows: auto minmax(0, 1fr) auto; }.agent-widget__chat-title { padding: 22px 22px 17px; border-bottom: 1px solid var(--line); }.agent-widget__chat-title h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; line-height: 1; }.agent-widget__chat-title p { margin: 6px 0 0; color: var(--soft); font-size: 11px; }.agent-widget__messages { gap: 14px; padding: 20px 22px; background: #090c0a; }.agent-message { max-width: 87%; border-color: #344137; border-radius: 2px; background: #0e130f; padding: 12px 13px; color: #e2e9e2; font-size: 13px; line-height: 1.5; }.agent-message--user { border-color: transparent; background: var(--green); color: #061008; }.agent-message--pending { border-color: transparent; background: transparent; padding: 2px 0; color: var(--soft); }.agent-message--error { border-color: #795152; background: #180d0e; }.agent-widget__form { grid-template-columns: 1fr 50px; grid-template-areas: "message send"; gap: 10px; padding: 14px 16px; background: #080b09; }.agent-widget__form textarea { min-height: 50px; border-color: #48584b; background: #0a0e0b; padding: 13px; font-size: 13px; }.agent-widget__send { width: 50px; height: 50px; border: 0; background: var(--green); }.agent-widget__send:hover { background: #54dc6b; transform: none; }.agent-widget__privacy { border-top: 1px solid var(--line); padding: 10px 18px 12px; color: #7d8b80; font-size: 10px; }
.agent-widget__chat[hidden], .agent-widget__onboarding[hidden] { display: none !important; }
@media (max-width: 540px) { .agent-widget { right: 12px; bottom: 12px; }.agent-widget__panel { width: calc(100vw - 24px); height: min(610px, calc(100dvh - 24px)); }.agent-widget__onboarding { padding: 26px 22px 20px; }.agent-widget__intro h2 { font-size: 34px; }.agent-widget__messages { padding: 16px; }.agent-widget__chat-title { padding: 19px 16px 15px; } }

.agent-widget__identity div > span, .agent-widget__privacy { font-size: 11px; }
.agent-widget__trigger span { font-size: 11px; }
.agent-widget__panel:has(.agent-widget__onboarding:not([hidden])) { height: min(530px, calc(100dvh - 76px)); }
.agent-widget__onboarding { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: none; align-content: start; gap: 20px; }
.agent-widget__onboarding > * { grid-column: 1; }
.agent-widget__onboarding .agent-widget__intro { max-width: 300px; margin-bottom: 4px; }
.agent-widget__onboarding .agent-widget__name { width: 100%; }
.agent-widget__onboarding .agent-widget__consent { width: 100%; grid-area: auto; }
@media (max-width: 540px) { .agent-widget__panel:has(.agent-widget__onboarding:not([hidden])) { height: min(530px, calc(100dvh - 24px)); } }

.agent-widget__signal { width: 32px; height: 32px; border: 0; background: var(--green); color: #061008; }
.agent-widget__signal .icon { width: 19px; height: 19px; fill: #061008; stroke: none; }
.agent-widget__identity { gap: 11px; }
.agent-widget__identity strong { font-size: 14px; }
.agent-widget__identity div > span { font-size: 11px; }
.agent-widget__onboarding { gap: 17px; padding: 26px 28px 22px; }
.agent-widget__intro h2 { margin-bottom: 12px; font-size: 32px; line-height: 1; }
.agent-widget__intro p { font-size: 13px; line-height: 1.5; }
@media (max-width: 540px) { .agent-widget__onboarding { padding: 24px 22px 20px; }.agent-widget__intro h2 { font-size: 30px; } }

/* Onboarding follows the same composed, branded hierarchy as the approved reference. */
.agent-widget__panel:has(.agent-widget__onboarding:not([hidden])) { width: min(380px, calc(100vw - 44px)); height: min(510px, calc(100dvh - 44px)); border-color: #53745d; border-radius: 14px; background: #080b09; }
.agent-widget__head { min-height: 70px; padding: 14px 16px; }.agent-widget__identity { gap: 10px; min-width: 0; }.agent-widget__identity > img { display: block; width: 138px; height: auto; filter: brightness(0) invert(1); }.agent-widget__identity > span:last-child { color: #9cc7a5; font-size: 12px; white-space: nowrap; }.agent-widget__divider { width: 1px; height: 24px; background: #526057; }.agent-widget__close { width: 36px; height: 36px; border-radius: 8px; flex: none; }
.agent-widget__onboarding { gap: 12px; padding: 22px 28px 18px; }.agent-widget__onboarding .agent-widget__intro { max-width: 300px; margin: 0; }.agent-widget__intro h2 { margin: 0 0 10px; font-size: 34px; letter-spacing: -.04em; line-height: .94; }.agent-widget__intro h2 span { color: var(--green); }.agent-widget__intro p { max-width: 300px; font-size: 12px; line-height: 1.4; }.agent-widget__onboarding .agent-widget__name { gap: 6px; font-size: 11px; }.agent-widget__input-wrap { display: flex; align-items: center; gap: 10px; min-height: 48px; border: 1px solid #779b7e; border-radius: 8px; padding: 0 13px; background: #0c120e; }.agent-widget__input-wrap .icon { width: 18px; height: 18px; flex: none; color: #e6eee7; stroke-width: 1.65; }.agent-widget__name .agent-widget__input-wrap input { min-width: 0; min-height: 0; border: 0; background: transparent; padding: 0; font-size: 14px; box-shadow: none; }.agent-widget__consent { gap: 9px; font-size: 11px; line-height: 1.35; }.agent-widget__consent input { width: 17px; height: 17px; margin-top: 0; border: 1px solid #dbe5dc; accent-color: var(--green); }.agent-widget__start { min-height: 48px; border-radius: 8px; padding: 0 16px; font-size: 13px; }.agent-widget__start .icon { width: 19px; height: 19px; stroke-width: 2; }.agent-widget__privacy { padding: 11px 28px 13px; color: #afb8b0; font-size: 10px; }
@media (max-width: 540px) { .agent-widget__panel:has(.agent-widget__onboarding:not([hidden])) { width: calc(100vw - 24px); height: min(535px, calc(100dvh - 24px)); border-radius: 14px; }.agent-widget__head { min-height: 66px; padding: 12px 15px; }.agent-widget__identity > img { width: 112px; }.agent-widget__identity > span:last-child { font-size: 11px; }.agent-widget__divider { height: 22px; }.agent-widget__close { width: 35px; height: 35px; }.agent-widget__onboarding { gap: 14px; padding: 23px 25px 19px; }.agent-widget__intro h2 { margin-bottom: 11px; font-size: 32px; }.agent-widget__intro p { font-size: 13px; }.agent-widget__input-wrap { min-height: 50px; }.agent-widget__consent { font-size: 11px; }.agent-widget__start { min-height: 50px; }.agent-widget__privacy { padding: 11px 25px 13px; font-size: 10px; } }

/* Sending is an explicit action; the response state is visible without adding noise to the thread. */
.agent-widget__form { display: block; min-height: 60px; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 9px 58px 9px 14px; background: #080b09; transition: background .18s ease; }
.agent-widget__form:focus-within { background: #0a0e0b; }
.agent-widget__form textarea { display: block; width: 100%; min-height: 42px; max-height: 124px; border: 0; background: transparent; padding: 11px 0 0; color: var(--text); line-height: 1.4; resize: none; box-shadow: none; overflow-y: auto; }
.agent-widget__form textarea:focus { border: 0; box-shadow: none; }
.agent-widget__send { position: absolute; right: 12px; bottom: 7px; display: grid; width: 46px; height: 46px; min-height: 0; place-items: center; overflow: hidden; border-radius: 0; background: transparent; color: var(--green); }
.agent-widget__send .icon--send { width: 30px; height: 30px; transform: scale(1); transition: transform .18s cubic-bezier(.16, 1, .3, 1); }
.agent-widget__send:hover:not(:disabled) { background: transparent; }
.agent-widget__send:hover:not(:disabled) .icon--send { transform: scale(1.12); }
.agent-widget__send:disabled { background: transparent; opacity: .55; }
.agent-widget__form textarea:disabled { cursor: wait; color: #859087; }
.agent-message--pending { display: inline-flex; align-items: center; align-self: flex-start; gap: 9px; min-height: 26px; padding: 2px 0; }
.agent-thinking__mark { width: 18px; height: 18px; color: var(--green); }
.agent-thinking__dots { display: inline-flex; align-items: center; gap: 4px; height: 18px; }
.agent-thinking__dots i { display: block; width: 4px; height: 4px; border-radius: 50%; background: #a9b7ac; animation: agent-thinking-dot 1.05s cubic-bezier(.45, 0, .55, 1) infinite; }
.agent-thinking__dots i:nth-child(2) { animation-delay: .14s; }.agent-thinking__dots i:nth-child(3) { animation-delay: .28s; }
@keyframes agent-thinking-dot { 0%, 100% { opacity: .32; transform: translateX(-2px); } 50% { opacity: 1; transform: translateX(2px); } }
@media (prefers-reduced-motion: reduce) { .agent-widget__send .icon--send { transition: none; }.agent-thinking__dots i { animation: none; opacity: .8; transform: none; } }

/* The AI entry point is a focused, recognisable message signal. */
.agent-widget__trigger { display: grid; width: 64px; min-width: 64px; height: 64px; place-items: center; border: 1px solid #42c95a; border-radius: 22px; background: #080b09; padding: 0; color: var(--green); box-shadow: none; }
.agent-widget__trigger .agent-widget__trigger-message { width: 28px; height: 28px; stroke-width: 1.8; }
.agent-widget__trigger:hover { border-color: #5be874; background: #0b110d; box-shadow: none; transform: translateY(-2px); }
.agent-widget__trigger:hover .agent-widget__trigger-message { transform: scale(1.08); }
@media (max-width: 540px) { .agent-widget__trigger { width: 60px; min-width: 60px; height: 60px; border-radius: 21px; }.agent-widget__trigger .agent-widget__trigger-message { width: 27px; height: 27px; } }

/* Service views open on a calm first screen; details follow on scroll. */
.service-modal__actions { position: sticky; z-index: 7; top: 20px; display: grid; width: 46px; margin: 20px 20px -178px auto; gap: 10px; }
.service-modal__close { position: static; width: 46px; height: 46px; margin: 0; }
.service-modal__pager { display: grid; gap: 10px; }
.service-modal__pager button { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line-bright); background: #080b09; color: var(--text); cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.service-modal__pager button:hover:not(:disabled) { border-color: var(--green); color: var(--green); }
.service-modal__pager button:disabled { cursor: default; opacity: .35; }
.service-modal__pager-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.service-modal__scroll-cue { position: absolute; z-index: 6; bottom: 28px; left: clamp(58px, 8vw, 112px); display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; background: transparent; color: var(--muted); font: 400 11px var(--mono); letter-spacing: .04em; cursor: pointer; transition: color .2s ease, opacity .2s ease, transform .2s ease; }
.service-modal__scroll-cue:hover { color: var(--text); }
.service-modal__scroll-cue.is-hidden { pointer-events: none; opacity: 0; transform: translateY(8px); }
.service-modal__scroll-icon { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; animation: service-scroll-nudge 1.8s ease-in-out infinite; }
@keyframes service-scroll-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (min-width: 831px) { .service-modal__panel { padding-top: 58px; }.service-modal__grid { margin-top: 320px; } }
@media (max-width: 830px) { .service-modal__actions { top: 14px; width: 42px; margin: 14px 14px -108px auto; }.service-modal__pager { grid-auto-flow: column; }.service-modal__panel { padding-top: 92px; }.service-modal__pager button, .service-modal__close { width: 42px; height: 42px; }.service-modal__scroll-cue { bottom: 21px; left: 28px; } }
@media (prefers-reduced-motion: reduce) { .service-modal__scroll-icon { animation: none; } }

