@font-face {
  font-family: Geist;
  src: url("./assets/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Geist, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
  --ink: #f5f5f5;
  --muted: #b4b4b4;
  --bg: #080809;
  --graphite: #161617;
  --line: #333334;
  --header-height: 3.75rem;
  --rail-height: 3.3rem;
  --gutter: clamp(1.25rem, 5.3vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, blockquote, h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
::selection { color: var(--bg); background: var(--ink); }

.shell {
  width: min(100% - 2 * var(--gutter), 84rem);
  margin-inline: auto;
}
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: .65rem;
  left: .65rem;
  padding: .8rem 1rem;
  border-radius: .6rem;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  background: #080809ed;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #ffffff13;
}
.header-layout {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  justify-self: start;
}
.brand-symbol { width: 1.72rem; height: auto; }
.brand-type { display: grid; gap: .19rem; }
.brand-type img { width: 4.7rem; height: auto; }
.brand-type span {
  font-size: .46rem;
  line-height: 1;
  font-weight: 650;
  letter-spacing: .38em;
}
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.3rem, 4vw, 3.3rem); }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: #d6d6d6;
  font-size: .91rem;
  transition: color .2s;
}
.site-nav a:hover { color: #fff; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.75rem;
  width: fit-content;
  padding: .62rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 580;
  line-height: 1.25;
  transition: background .2s, color .2s, border-color .2s;
}
.button-primary { background: var(--ink); color: var(--bg); }
.button-primary:hover { background: #dcdcdc; }
.button-outline { border-color: #7a7a7a; color: var(--ink); }
.button-outline:hover { border-color: #efefef; background: #ffffff12; }
.header-contact {
  justify-self: end;
  min-height: 2.25rem;
  padding: .42rem .84rem;
  font-size: .875rem;
}

.hero {
  min-height: calc(100svh - var(--header-height) - 1.125rem);
  display: grid;
  align-content: center;
  background: var(--bg);
}
.hero-stage {
  --phase: 0;
  --light-position: calc(12% + 91% * var(--phase));
  height: clamp(15.5rem, 44svh, 28rem);
  display: grid;
  place-items: center;
  overflow: clip;
}
.hero-lockup {
  width: min(35.5vw, 35rem, 62svh);
  display: grid;
  justify-items: center;
  gap: clamp(1rem, 2.1vw, 2rem);
  transform: translateY(calc(-32px * var(--phase))) scale(calc(1 - .14 * var(--phase)));
}
.hero-gear {
  width: 29%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 30%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: filter .25s, scale .25s;
}
.hero-gear img {
  width: 100%;
  height: auto;
  animation: turn-gear 18s linear infinite;
}
.hero-gear:hover, .hero-gear:focus-visible {
  filter: drop-shadow(0 0 .9rem #ffffff55);
  scale: 1.07;
}
@keyframes turn-gear { to { rotate: 1turn; } }
.hero-wordmark { position: relative; }
.hero-wordmark img { width: 100%; height: auto; }
.hero-finish {
  position: absolute;
  inset: 0;
  mask: url("./assets/liliag-wordmark.png") center / 100% 100% no-repeat;
  background:
    linear-gradient(105deg, transparent calc(var(--light-position) - 16%), #ffffffdf var(--light-position), transparent calc(var(--light-position) + 16%)),
    linear-gradient(154deg, #dcdcdc, #f9f9f9 37%, #dedede 70%, #f1f1f1);
  pointer-events: none;
}
.hero-copy {
  text-align: center;
  padding-block: .15rem clamp(2.85rem, 8vh, 6rem);
}
.hero h1 {
  max-width: 21ch;
  margin-inline: auto;
  font-size: clamp(2.8rem, 5.72vw, 5.75rem);
  font-weight: 660;
  line-height: 1;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.hero-lead {
  max-width: 57ch;
  margin: clamp(1rem, 2.5vh, 1.65rem) auto 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.57vw, 1.28rem);
  line-height: 1.5;
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: clamp(1.15rem, 3.5vh, 2.15rem);
}
.hero-actions button { background: transparent; cursor: pointer; }
.hero-actions button:hover { background: #ffffff12; }
.hero-actions button .icon { fill: currentColor; stroke-width: 1.15; }

#contenido, .projects, .about, .contact { scroll-margin-top: var(--header-height); }
.projects { background: var(--graphite); }
.projects-intro {
  padding-block: clamp(3.45rem, 7vw, 7rem) clamp(2.8rem, 6vw, 5.5rem);
}
.projects-intro h2, .consulting h2, .about h2, .contact h2 {
  font-size: clamp(2.65rem, 5vw, 5.25rem);
  font-weight: 660;
  line-height: 1;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.projects-intro h2 { max-width: 15ch; margin-bottom: clamp(1.7rem, 4vw, 3.6rem); }
.project-directory {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.project-directory a {
  --directory-highlight: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: start;
  align-items: start;
  gap: .68rem;
  min-height: 8.5rem;
  padding: 1.05rem clamp(.66rem, 1.5vw, 1.7rem);
}
.project-directory a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: var(--directory-highlight);
  background:
    radial-gradient(ellipse 110% 112% at 12% 8%, var(--project-light), transparent),
    radial-gradient(ellipse 92% 108% at 95% 96%, var(--project-reflection), transparent);
  transition: opacity .24s ease;
}
.project-directory a + a { border-inline-start: 1px solid var(--line); }
.project-directory a:is(:focus-visible, :active) { --directory-highlight: 1; }
.project-directory a:focus-visible { outline-offset: -3px; }
@media (hover: hover) {
  .project-directory a:hover { --directory-highlight: 1; }
}
.directory-name {
  display: flex;
  align-items: center;
  min-height: 2.7rem;
  max-width: 100%;
  gap: .42rem;
  color: #ddd;
  font-size: .875rem;
  font-weight: 530;
}
.directory-name img { width: min(100%, 8.6rem); height: auto; }
.directory-adi img { width: 2.5rem; }
.directory-intent {
  font-size: clamp(1.03rem, 1.65vw, 1.45rem);
  font-weight: 610;
  letter-spacing: -.034em;
  line-height: 1.21;
}
.project-directory .icon {
  width: 1.16rem;
  height: 1.16rem;
  transform: translateX(calc(var(--directory-highlight) * .24rem));
  transition: transform .24s ease;
}
.directory-name .consulting-wordmark {
  font-size: clamp(1.04rem, 1.56vw, 1.3rem);
  font-weight: 670;
  letter-spacing: -.055em;
}

.chapter-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 9;
  height: var(--rail-height);
  background: #111111f2;
  backdrop-filter: blur(16px);
  border-block: 1px solid #ffffff18;
}
.chapter-nav ul {
  height: 100%;
  margin-block: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
}
.chapter-nav a {
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  padding: .1rem .35rem 0;
  color: var(--muted);
  font-size: .91rem;
  font-weight: 530;
  text-align: center;
  transition: color .2s;
}
.chapter-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  margin-inline: auto;
  width: min(64%, 8rem);
  height: 1px;
  background: transparent;
}
.chapter-nav a[aria-current], .chapter-nav a:hover { color: var(--ink); }
.chapter-nav a[aria-current]::after { background: var(--ink); }
.chapter-nav a:focus-visible { outline-offset: -4px; }

.chapter, .detail-section { scroll-margin-top: calc(var(--header-height) + var(--rail-height)); }
.showcase {
  --phase: .5;
  overflow: clip;
  background: var(--bg);
}
.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6.2vw, 7.4rem);
  min-height: min(65svh, 36rem);
}
.showcase-copy {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 8vh, 5.3rem);
  transform: translateY(calc((1 - var(--phase)) * 21px));
}
.project-name {
  color: var(--muted);
  font-size: clamp(.93rem, 1.35vw, 1.13rem);
  font-weight: 560;
  margin-bottom: .8rem;
}
.showcase h2 {
  font-weight: 665;
  font-size: clamp(2.75rem, 4.7vw, 5.45rem);
  line-height: 1;
  letter-spacing: -.059em;
  text-wrap: balance;
}
.chapter-adi h2 { max-width: 16ch; }
.chapter-guia h2 { max-width: 15ch; }
.showcase-lead {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.48vw, 1.23rem);
  line-height: 1.55;
  max-width: 29rem;
  margin-top: 1.15rem;
  text-wrap: pretty;
}
.chapter-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  gap: .45rem;
  margin-top: .72rem;
  font-weight: 560;
  font-size: .97rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #909090;
  text-underline-offset: .34em;
}
.chapter-link:hover { text-decoration-color: var(--ink); }
.chapter-link .icon { transition: transform .2s; }
.chapter-link:hover .icon { transform: translateY(.18rem); }

.project-art {
  position: relative;
  min-width: 0;
  min-height: clamp(15rem, 28vw, 27rem);
  display: grid;
  place-items: center;
  align-self: stretch;
}
.project-mark {
  width: min(84%, 29rem);
  height: auto;
}
.marketing-art .project-mark {
  transform: translateX(calc((.5 - var(--phase)) * 72px)) scale(calc(.92 + var(--phase) * .12));
}
.trabajo-art .project-mark {
  transform: perspective(850px) translateY(calc((.5 - var(--phase)) * 50px))
    rotateY(calc((.5 - var(--phase)) * -14deg)) scale(calc(.92 + var(--phase) * .13));
}
.guia-art .project-mark {
  width: min(72%, 24rem);
  transform: translateY(calc((.5 - var(--phase)) * 42px)) rotate(calc((.5 - var(--phase)) * 7deg));
}

.adi-showcase {
  --phase: 0;
  --light-position: calc(-18% + var(--phase) * 136%);
}
.adi-movement {
  width: 112%;
  aspect-ratio: 800 / 428;
  position: relative;
  mix-blend-mode: screen;
  transform: scale(calc(1.15 - var(--phase) * .24));
  mask-image:
    linear-gradient(to bottom, transparent, black 14%, black 83%, transparent),
    linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-composite: intersect;
}
.adi-showcase.is-seen .adi-movement { animation: adi-pullback 1.65s cubic-bezier(.18, .8, .24, 1) both; }
@keyframes adi-pullback { from { scale: 1.18; } to { scale: 1; } }
.adi-movement video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.adi-sweep {
  position: absolute;
  inset: 0;
  background: url("./assets/adi-sweep.png") center / contain no-repeat;
  mask-image: linear-gradient(90deg, transparent calc(var(--light-position) - 13%), #000 var(--light-position), transparent calc(var(--light-position) + 13%));
  mix-blend-mode: screen;
  opacity: .62;
  pointer-events: none;
}
.detail-section, .consulting {
  --phase: .5;
  --line: #ffffff24;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: linear-gradient(180deg, #101012, #161618 40%, #101012);
}
.detail-section::before, .consulting::before {
  --light-offset: calc(var(--phase) - .5);
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12% -14%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 24% 25%, var(--project-light), transparent),
    radial-gradient(ellipse 51% 59% at 84% 73%, var(--project-reflection), transparent);
  transform: translate(calc(var(--light-offset) * 20%), calc(var(--light-offset) * -13%));
}
.chapter-adi, .directory-adi {
  --project-light: rgb(174 55 237 / .29);
  --project-reflection: rgb(62 79 248 / .23);
}
.chapter-marketing, .directory-marketing {
  --project-light: rgb(224 36 143 / .28);
  --project-reflection: rgb(245 117 32 / .22);
}
.chapter-trabajo, .directory-trabajo {
  --project-light: rgb(38 102 248 / .29);
  --project-reflection: rgb(14 183 233 / .22);
}
.chapter-guia, .directory-guia {
  --project-light: rgb(118 153 58 / .32);
  --project-reflection: rgb(54 112 39 / .25);
}
.consulting, .directory-consulting {
  --project-light: rgb(200 153 76 / .27);
  --project-reflection: rgb(166 105 56 / .22);
  --consulting-accent: #efc788;
}
.detail-layout { padding-block: clamp(3.5rem, 7vw, 7rem); }
.detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: end;
  gap: clamp(1rem, 4vw, 4.75rem);
  margin-bottom: clamp(1.75rem, 3.5vw, 3.45rem);
}
.detail-heading h3 {
  font-size: clamp(2.25rem, 4.02vw, 4.1rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.057em;
  text-wrap: pretty;
}
.detail-heading p {
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.21rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.editorial-grid {
  display: grid;
  border-block: 1px solid var(--line);
}
.columns-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.editorial-column {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.7rem) clamp(1.3rem, 3.4vw, 3.35rem);
}
.editorial-column:first-child { padding-inline-start: 0; }
.editorial-column:last-child { padding-inline-end: 0; }
.editorial-column + .editorial-column { border-inline-start: 1px solid var(--line); }
.editorial-grid h4, .use-case h4 {
  font-size: clamp(1.33rem, 2.18vw, 2.05rem);
  font-weight: 635;
  line-height: 1.13;
  letter-spacing: -.04em;
}
.editorial-grid p, .editorial-grid li, .use-case p {
  color: var(--muted);
  font-size: clamp(1.01rem, 1.3vw, 1.14rem);
  line-height: 1.6;
}
.editorial-grid p, .use-case p { margin-top: .6rem; }
.editorial-grid .column-lead { color: var(--ink); font-weight: 520; }
.editorial-grid ul { margin: .9rem 0 0; padding-inline-start: 1.2rem; }
.editorial-grid ul li + li { margin-top: .5rem; }
.editorial-grid li::marker { color: #d7d7d7; }
.process-steps { margin: 0; padding: 0; list-style: none; }
.process-steps h4 { color: var(--ink); }
.use-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(1.2rem, 4vw, 4rem);
  row-gap: 1.2rem;
  margin-top: clamp(1.8rem, 3.8vw, 3.55rem);
}
.use-case h4 { font-size: clamp(1.23rem, 1.9vw, 1.75rem); }
.use-case p { max-width: 55rem; }
.guia-details blockquote {
  font-size: clamp(1.24rem, 1.9vw, 1.68rem);
  line-height: 1.24;
  letter-spacing: -.03em;
  font-weight: 540;
  color: var(--ink);
  margin-block: .85rem;
  max-width: 24ch;
  text-wrap: pretty;
}
.guia-scope { border-bottom: 1px solid var(--line); }
.guia-scope summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.65rem;
  padding-block: .7rem;
  font-weight: 570;
  cursor: pointer;
}
.guia-scope summary::-webkit-details-marker { display: none; }
.guia-scope summary .icon { transition: transform .2s; }
.guia-scope[open] summary .icon { transform: rotate(180deg); }
.guia-scope p {
  max-width: 65ch;
  margin-bottom: .85rem;
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
}
.guia-scope p:last-child { margin-bottom: 1.3rem; }
.detail-action { margin-top: clamp(1.55rem, 3vw, 2.7rem); }
.section-actions { display: flex; flex-wrap: wrap; gap: .68rem; }

.consulting-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(16.75rem, .65fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6.25rem);
}
.consulting-wordmark span { color: var(--consulting-accent); }
.consulting-tagline {
  max-width: 30ch;
  margin-top: .75rem;
  font-size: clamp(1.25rem, 2.45vw, 2.05rem);
  font-weight: 610;
  letter-spacing: -.035em;
  line-height: 1.16;
  text-wrap: pretty;
}
.consulting-intro .showcase-lead { max-width: 35rem; }
.consulting-booking {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: clamp(1.35rem, 3.4vw, 3.25rem);
}
.consulting-booking .button-primary { background: var(--consulting-accent); }
.consulting-booking .button-primary:hover { background: #f8d6a2; }
.consulting-price {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.1;
  white-space: nowrap;
}
.consulting-price strong {
  color: var(--ink);
  font-size: clamp(2.8rem, 5.2vw, 4.65rem);
  font-weight: 650;
  letter-spacing: -.06em;
}
.consulting-note {
  max-width: 29ch;
  margin-block: .6rem 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}
.consulting-process { margin-top: clamp(2.8rem, 6vw, 5.25rem); }
.consulting-process h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.55rem, 2.75vw, 2.4rem);
  font-weight: 640;
  letter-spacing: -.04em;
  line-height: 1.14;
}

.about { color: #151515; background: #f3f3f3; }
.about-layout {
  display: grid;
  grid-template-columns: minmax(5.5rem, 1fr) minmax(0, 2.8fr);
  align-items: center;
  gap: clamp(1.6rem, 5vw, 5rem);
  padding-block: clamp(4rem, 9vw, 8.8rem);
}
.about-layout img {
  width: clamp(5.25rem, 13vw, 10rem);
  height: auto;
  margin-inline: auto;
  filter: brightness(0);
}
.about p, .contact p {
  max-width: 38rem;
  margin-top: .92rem;
  color: #545454;
  font-size: clamp(1.04rem, 1.55vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.contact { background: var(--bg); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  align-items: end;
  gap: clamp(1.75rem, 6vw, 7rem);
  padding-block: clamp(3.75rem, 8.5vw, 8rem);
}
.contact h2 { max-width: 14ch; }
.contact p { margin-top: 0; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .68rem; margin-top: 1.15rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-layout {
  min-height: 4.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 1rem;
  font-size: .875rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.footer-links a { white-space: nowrap; }
.footer-layout .social-link { gap: .35rem; }
.social-link svg { width: .95rem; height: .95rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-link svg .social-fill { fill: currentColor; stroke: none; }
.footer-layout a { display: inline-flex; align-items: center; gap: .42rem; min-height: 2.75rem; }
.footer-layout a:hover { color: var(--ink); }

@media (max-width: 1020px) {
  .showcase-layout { gap: clamp(1.75rem, 4vw, 3rem); }
  .showcase h2 { font-size: clamp(2.5rem, 5.25vw, 4.8rem); }
}

@media (max-width: 740px) {
  :root { --header-height: 3.5rem; --rail-height: 3.25rem; }
  .header-layout { grid-template-columns: auto 1fr auto; gap: .37rem; }
  .brand { gap: .4rem; }
  .brand-symbol { width: 1.48rem; }
  .brand-type img { width: 3.65rem; }
  .brand-type span { font-size: .42rem; letter-spacing: .31em; }
  .site-nav { gap: clamp(.53rem, 2.6vw, 1.1rem); }
  .site-nav a { font-size: .8rem; }
  .header-contact { min-height: 2.2rem; padding-inline: .52rem; font-size: .76rem; }
  .header-contact .icon { display: none; }
  .hero { min-height: 0; }
  .hero-stage { height: clamp(14rem, 35svh, 22.5rem); }
  .hero-lockup { width: min(71vw, 24rem, 61svh); gap: 1.12rem; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 3.93rem); }
  .hero-copy { padding-block: .35rem 3.25rem; }
  .hero-lead { font-size: 1.03rem; max-width: 34ch; }
  .hero-actions { margin-top: 1.22rem; gap: .55rem; }
  .hero-actions .button { padding-inline: .86rem; font-size: .86rem; }
  .projects-intro h2 { font-size: clamp(2.35rem, 9.5vw, 4.04rem); }
  .project-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-directory a { min-height: 7.2rem; padding: .85rem .66rem; gap: .49rem; }
  .project-directory a:nth-child(odd) { border-inline-start: 0; }
  .project-directory a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .directory-name { min-height: 1.9rem; font-size: .76rem; }
  .directory-name img { width: min(100%, 6.35rem); }
  .directory-adi img { width: 2rem; }
  .directory-intent { font-size: 1rem; }
  .project-directory .icon { width: 1rem; height: 1rem; }
  .project-directory .directory-consulting {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-content: center;
    min-height: 5.3rem;
    row-gap: .12rem;
  }
  .directory-consulting .icon { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .chapter-nav ul {
    width: calc(100% - .6rem);
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .65fr) minmax(0, 1.15fr);
  }
  .chapter-nav a { padding-inline: .14rem; font-size: clamp(.69rem, 3.18vw, .88rem); }
  .showcase-layout { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
  .showcase-copy { grid-row: 2; padding-block: .65rem 3rem; }
  .showcase h2 {
    font-size: clamp(2.52rem, 10vw, 4.13rem);
    max-width: 15.8ch;
    text-wrap: pretty;
  }
  .project-name { margin-bottom: .62rem; }
  .showcase-lead { margin-top: .88rem; font-size: 1.03rem; }
  .project-art { grid-row: 1; min-height: clamp(10.75rem, 53vw, 20rem); }
  .project-mark { width: min(78%, 25rem); }
  .guia-art .project-mark { width: min(69%, 22rem); }
  .detail-layout { padding-block: 3rem; }
  .detail-heading { grid-template-columns: minmax(0, 1fr); gap: .78rem; margin-bottom: 1.5rem; }
  .detail-heading h3 { font-size: clamp(2.22rem, 8.8vw, 3.85rem); }
  .columns-two, .columns-three { grid-template-columns: minmax(0, 1fr); }
  .editorial-column { padding: 1.3rem 0; }
  .editorial-column + .editorial-column { border-inline-start: 0; border-top: 1px solid var(--line); }
  .consulting-intro { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .consulting-booking { border-inline-start: 0; border-top: 1px solid var(--line); padding: 1.35rem 0 0; }
  .use-case, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .about-layout { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .about-layout img { width: 4.75rem; margin-inline: 0; }
  .footer-layout { font-size: .79rem; }
  .footer-links { gap: 0 .7rem; }
}

@media (max-width: 430px) {
  .header-layout { width: calc(100% - 1.5rem); }
}

@media (max-width: 375px) {
  .header-layout { width: calc(100% - 1rem); }
  .brand { min-width: 1.75rem; min-height: 2.75rem; }
  .brand-type { display: none; }
  .site-nav { gap: .42rem; }
  .site-nav a { font-size: .77rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .hero-gear img, .adi-showcase.is-seen .adi-movement { animation: none; }
  .hero-lockup, .project-mark, .adi-movement, .showcase-copy, .detail-section::before, .consulting::before {
    transform: none !important;
  }
  .adi-sweep { display: none; }
}

button.button { cursor: pointer; }
button.button-outline { background: transparent; }
button.button-outline:hover { background: #ffffff12; }

.lilia-launcher {
  position: fixed;
  z-index: 30;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lilia-medallion {
  width: 3.6rem;
  height: 3.6rem;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #656568;
  border-radius: 50%;
  background: #080809;
  box-shadow: 0 .25rem 1.15rem #0009, inset 0 1px 0 #fff2;
}
.lilia-emblem {
  width: 65%;
  aspect-ratio: 1;
  mask: url('./assets/liliag-symbol.png') center / contain no-repeat;
  background:
    linear-gradient(116deg, transparent 35%, #868c96 44%, #fff 50%, #a6abb2 56%, transparent 65%) 100% center / 300% 100% no-repeat,
    linear-gradient(160deg, #fff 12%, #c9cdd2 53%, #858a93 65%, #f1f2f4 86%);
  animation: lilia-metal 10s linear infinite;
}
@keyframes lilia-metal {
  0%, 85% { background-position: 100% center, center; }
  97%, 100% { background-position: 0% center, center; }
}
.lilia-invite {
  max-width: 16rem;
  padding: .65rem .85rem;
  border: 1px solid #6f6f72;
  border-radius: .8rem;
  background: #161617;
  box-shadow: 0 .2rem .9rem #0008;
  color: #fff;
  font-size: .85rem;
  font-weight: 580;
  text-align: left;
}
.lilia-launcher:hover .lilia-medallion,
.lilia-launcher:hover .lilia-invite { border-color: #f7f7f8; }

.lilia-chat {
  position: fixed;
  inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) auto;
  width: min(25rem, calc(100% - 2rem));
  height: min(38rem, calc(100dvh - 2rem));
  box-sizing: border-box;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #454547;
  border-radius: 1rem;
  background: #f6f6f8;
  color: #181818;
  box-shadow: 0 1rem 4rem #0009;
}
.lilia-chat[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lilia-chat::backdrop { background: #0004; }
.lilia-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .45rem .65rem .45rem 1rem;
  background: #151516;
  color: #fff;
}
.lilia-chat-header h2 { margin: 0; font-size: 1rem; }
.lilia-close {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.lilia-close:hover { background: #fff2; }
#lilia-webchat { min-height: 0; }
#lilia-webchat iframe { width: 100%; height: 100%; display: block; border: 0; }
.lilia-status, .lilia-help, .lilia-preview {
  position: absolute;
  inset: 3.4rem 0 0;
  margin: 0;
  padding: 1.5rem;
  background: #f6f6f8;
}
.lilia-help a, .lilia-help button { text-decoration: underline; }
.lilia-help button { font: inherit; border: 0; padding: 0; background: transparent; cursor: pointer; }
.lilia-preview a {
  display: block;
  width: fit-content;
  margin-top: 1rem;
  padding: .6rem .85rem;
  border-radius: 999px;
  background: #181818;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .lilia-emblem { animation: none; }
}
