/* -----------------------------------------------
   PORTFOLIO — Global Styles
   Design: Minimalist, technical, clean
----------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Text:wght@200..700&display=swap');

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Stack Sans Text', Arial, sans-serif;
  background-color: #FFFFFF;
  color: #141413;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
}

/* Keep the site canvas consistently white across every page and section. */
main,
.page,
section,
.footer {
  background-color: #FFFFFF;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; }
h4 { font-size: 0.875rem; }

p {
  color: #333333;
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === LAYOUT === */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #EBE8E0;
  transition: border-color 0.4s;
}

.nav__inner {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
}

.nav__mark {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: flex-start;
}

.nav__mark .nav__logo-square {
  animation: none;
  clip-path: none;
  transition: none;
}

.nav__name {
  justify-self: center;
  color: #000;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}

.nav__logo {
  font-size: 0.9rem;
  font-weight: 700;
  color: #000;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-square {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: #000;
  clip-path: polygon(0% 0%, 50% 0%, 100% 0%, 100% 50%, 100% 100%, 50% 100%, 0% 100%, 0% 50%);
  transition: clip-path 1.3s ease;
  animation: shapeMorph 10s infinite ease-in-out;
}

.nav__logo:hover .nav__logo-square,
.nav__mark:hover .nav__logo-square {
  animation-duration: 6.4s;
}

@keyframes shapeMorph {
  0%, 100% {
    /* Square */
    clip-path: polygon(0% 0%, 50% 0%, 100% 0%, 100% 50%, 100% 100%, 50% 100%, 0% 100%, 0% 50%);
  }
  33% {
    /* Circle-ish (8 points) */
    clip-path: polygon(50% 0%, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%, 0% 50%, 15% 15%);
  }
  66% {
    /* Triangle */
    clip-path: polygon(50% 0%, 50% 0%, 50% 0%, 100% 100%, 100% 100%, 50% 100%, 0% 100%, 0% 100%);
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #666666;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.3s, background 0.3s;
}

.nav__links a:hover,
.nav__links a.active {
  color: #000000;
  background: #F5F5F5;
}

.nav__menu-button, .menu-overlay__close {
  position: relative; width: 44px; height: 44px; flex: 0 0 44px;
  border: 1px solid #141413; border-radius: 0; background: transparent;
  color: #141413; cursor: pointer; transition: background-color 360ms ease, color 360ms ease;
}
.nav__menu-button span, .menu-overlay__close::before, .menu-overlay__close::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 2pt;
  background: currentColor; transform: translate(-50%, -50%);
}
.nav__menu-button:hover, .menu-overlay__close:hover { background: #141413; color: #FFFFFF; }

.menu-overlay {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto; background: #FFFFFF;
  scrollbar-gutter: stable both-edges;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 960ms ease, transform 1120ms cubic-bezier(.16,1,.3,1), visibility 0s linear 1120ms;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-is-open { overflow: hidden; }
.menu-overlay__topbar {
  position: sticky; top: 0; z-index: 1; width: 100%; height: clamp(56px, 4vw, 64px);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); border-bottom: 1px solid #D8D5CE;
}
.menu-overlay__topbar-inner {
  display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center;
  width: 100%; max-width: var(--layout-max,1600px); height: 100%;
  margin: 0 auto; padding-inline: var(--layout-gutter,24px);
}
.menu-overlay__close { border-radius: 0; }
.menu-overlay__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.menu-overlay__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.menu-overlay__body {
  display: grid; grid-template-columns: repeat(12,minmax(0,1fr));
  gap: var(--grid-gap,clamp(16px,2vw,32px)); width: 100%; max-width: var(--layout-max,1600px);
  margin: 0 auto; padding: clamp(56px,8vw,120px) var(--layout-gutter,24px) 96px;
}
.menu-overlay__primary { display: flex; flex-direction: column; align-items: flex-start; position: sticky; top: 120px; align-self: start; grid-column: 1 / span 5; }
.menu-overlay__works { grid-column: 7 / -1; }
.menu-overlay__primary a { font-size: clamp(2.75rem,5vw,6rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; transition: opacity 320ms ease; }
.menu-overlay__primary:hover a { opacity: .28; }
.menu-overlay__primary a:hover { opacity: 1; }
.menu-overlay__works-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.menu-overlay__works-heading { padding-bottom: 18px; border-bottom: 1px solid #141413; }
.menu-overlay__works-heading h2 { font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.menu-overlay__works-heading span, .menu-overlay__case-number { color: #8A8882; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.menu-overlay__case-groups { display: grid; gap: clamp(40px,5vw,72px); padding-top: 32px; }
.menu-overlay__category { margin-bottom: 12px; color: #141413; font-size: .75rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.menu-overlay__case-list { list-style: none; }
.menu-overlay__case-link {
  display: grid; grid-template-columns: minmax(0,1fr) auto;
  align-items: start; gap: clamp(16px,2vw,32px); padding: 15px 0 13px;
  border-bottom: 1px solid #D8D5CE; color: #AAA8A2; line-height: 1.25;
  transition: padding-left 360ms ease, color 360ms ease;
}
.menu-overlay__case-main { display: block; min-width: 0; }
.menu-overlay__case-name { font-size: clamp(1.3rem,2vw,2rem); }
.menu-overlay__case-number { padding-top: .42em; }
.menu-overlay__case-thumb {
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  opacity: 0; transform: translateY(-10px); margin-top: 0;
  transition: grid-template-rows 1300ms cubic-bezier(.16,1,.3,1),
              opacity 840ms ease, transform 1300ms cubic-bezier(.16,1,.3,1),
              margin-top 1300ms cubic-bezier(.16,1,.3,1);
}
.menu-overlay__case-thumb img {
  min-height: 0; width: 100%; aspect-ratio: 4 / 3; display: block;
  object-fit: cover; border-radius: 2px;
}
.menu-overlay__case-link:hover, .menu-overlay__case-link:focus-visible { padding-left: 12px; color: #141413; }
.menu-overlay__case-link:hover .menu-overlay__case-thumb,
.menu-overlay__case-link:focus-visible .menu-overlay__case-thumb {
  grid-template-rows: 1fr; opacity: 1; transform: translateY(0); margin-top: 12px;
}
.menu-overlay__case-link:hover .menu-overlay__case-number,
.menu-overlay__case-link:focus-visible .menu-overlay__case-number { color: #141413; }

@media (max-width: 767px) {
  .menu-overlay__body { grid-template-columns: 1fr; gap: 56px; padding-top: 48px; }
  .menu-overlay__primary { position: static; grid-column: 1 / -1; }
  .menu-overlay__works { grid-column: 1 / -1; }
  .menu-overlay__primary a { font-size: clamp(2.35rem,11vw,4rem); }
  .menu-overlay__works-heading { padding-bottom: 14px; }
  .menu-overlay__case-groups { padding-top: 28px; }
  .menu-overlay__case-link { grid-template-columns: 1fr auto; gap: 4px 16px; padding-block: 14px 12px; }
  .menu-overlay__case-number { grid-column: 2; grid-row: 1; }
  .menu-overlay__case-thumb img { aspect-ratio: 16 / 10; }
}

/* === HISTORY — EDITORIAL NARRATIVE === */
.history-page { --history-rule:#d9d9d4; --history-muted:#777772; --history-paper:#f1f1ed; }
.history-editorial { padding-top:clamp(56px,4vw,64px); }
.history-editorial .container--wide { max-width:var(--layout-max); }
.history-hero { min-height:calc(100svh - 64px); padding-top:clamp(38px,5vw,80px); padding-bottom:clamp(96px,13vw,200px); }
.history-hero__meta,.history-next__meta { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--grid-gap); padding-top:12px; color:var(--history-muted); font-size:.64rem; line-height:1.25; }
.history-hero h1 { max-width:24ch; margin:clamp(48px,7vw,108px) 0 clamp(96px,13vw,210px); font-size:clamp(2rem,2.35vw,3.25rem); font-weight:300; letter-spacing:-.0495em; line-height:.98; }
.history-hero__lower,.history-chapter__body,.history-next__grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:var(--grid-gap); align-items:start; }
.history-hero__lead { grid-column:1/span 5; color:#141413; font-size:clamp(1.5rem,2.25vw,2.75rem); letter-spacing:-.04em; line-height:1.05; }
.history-hero__lead span { display:block; white-space:nowrap; }
.history-hero__lower>.history-photo { grid-column:7/span 2; }
.history-hero__lower>.history-copy { grid-column:9/-1; padding-top:clamp(64px,9vw,140px); }
.history-chapter { padding-block:clamp(96px,13vw,208px); }
.history-chapter__header { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:var(--grid-gap); align-items:start; margin-bottom:clamp(96px,12vw,190px); color:var(--history-muted); font-size:.68rem; }
.history-chapter__header>span { grid-column:1; color:#a1a1a1; font-size:clamp(2rem,3vw,4rem); line-height:.85; }
.history-chapter__header>p { grid-column:4/span 2; }
.history-chapter__header>time { grid-column:6/span 2; }
.history-chapter__header h2 { grid-column:4/-1; max-width:24ch; margin-top:clamp(36px,5vw,80px); color:#141413; font-size:clamp(2rem,2.35vw,3.25rem); font-weight:300; letter-spacing:-.0495em; line-height:.98; }
.history-copy { color:#343431; }
.history-copy p { margin:0 0 1.5em; color:inherit; font-size:13px; line-height:19.5px; }
.history-copy__lead { color:#141413!important; font-size:13px!important; letter-spacing:0; line-height:19.5px!important; }
.history-copy--primary { grid-column:4/span 5; }
.history-copy--secondary { grid-column:7/span 5; margin-top:clamp(96px,13vw,208px); }
.history-pullquote { margin-block:clamp(36px,5vw,64px)!important; color:#141413!important; font-size:clamp(1.1rem,1.35vw,1.5rem)!important; letter-spacing:-.025em; line-height:1.2!important; }
.history-photo { margin:0; }
.history-photo>img { display:block; width:100%; height:auto; border-radius:0; object-fit:contain; }
.history-photo__placeholder { display:flex; flex-direction:column; justify-content:space-between; width:100%; padding:14px; background:var(--history-paper); color:#6f6f69; }
.history-photo__placeholder span,.history-photo__placeholder strong,.history-photo figcaption { font-size:.62rem; font-weight:400; letter-spacing:.01em; }
.history-photo__placeholder strong { color:#282825; }
.history-photo figcaption { display:flex; justify-content:space-between; gap:16px; padding-top:8px; color:var(--history-muted); line-height:1.3; }
.history-photo--portrait .history-photo__placeholder,.history-photo--vertical .history-photo__placeholder { aspect-ratio:3/4; }
.history-photo--landscape .history-photo__placeholder { aspect-ratio:16/9; }
.history-photo--panorama .history-photo__placeholder { aspect-ratio:2.35/1; }
.history-photo--square .history-photo__placeholder { aspect-ratio:1; }
.history-photo--wide { grid-column:3/span 5; margin-block:clamp(80px,10vw,150px); }
.history-photo--wide .history-photo__placeholder { padding:18px; }
.history-photo--offset { grid-column:3/span 3; margin-top:clamp(72px,10vw,160px); }
.history-photo--offset-right { grid-column:8/span 4; margin-block:clamp(80px,10vw,150px); }
.history-photo-pair { grid-column:1/-1; display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:var(--grid-gap); margin-block:clamp(96px,12vw,180px); }
.history-photo-pair .history-photo:first-child { grid-column:3/span 3; }
.history-photo-pair .history-photo:last-child { grid-column:7/span 3; margin-top:clamp(64px,8vw,120px); }
.history-project-gallery { grid-column:1/-1; display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:clamp(56px,8vw,128px) var(--grid-gap); margin-block:clamp(88px,11vw,168px); }
.history-project-gallery figure { margin:0; }
.history-project-gallery img { display:block; width:100%; height:auto; object-fit:cover; }
.history-project-gallery figcaption { padding-top:9px; color:var(--history-muted); font-size:.62rem; line-height:1.3; }
.history-project-gallery--chapter-two figure:nth-child(1) { grid-column:1/span 6; }
.history-project-gallery--chapter-two figure:nth-child(2) { grid-column:7/-1; margin-top:clamp(48px,6vw,96px); }
.history-project-gallery--chapter-two figure:nth-child(3) { grid-column:2/span 5; }
.history-project-gallery--chapter-two figure:nth-child(4) { grid-column:8/span 4; margin-top:clamp(64px,8vw,120px); }
.history-project-gallery--chapter-two figure:nth-child(5) { grid-column:1/span 4; }
.history-project-gallery--chapter-two figure:nth-child(6) { grid-column:5/span 4; margin-top:clamp(48px,6vw,96px); }
.history-project-gallery--chapter-two figure:nth-child(7) { grid-column:9/span 4; }
.history-project-gallery--chapter-three figure:nth-child(1) { grid-column:1/span 4; }
.history-project-gallery--chapter-three figure:nth-child(2) { grid-column:6/-1; margin-top:clamp(56px,7vw,108px); }
.history-project-gallery--chapter-three figure:nth-child(3) { grid-column:1/span 6; }
.history-project-gallery--chapter-three figure:nth-child(4) { grid-column:8/-1; margin-top:clamp(72px,9vw,136px); }
.history-project-gallery--chapter-three figure:nth-child(5) { grid-column:3/span 5; }
.history-next { padding-block:clamp(112px,15vw,240px); }
.history-next h2 { max-width:24ch; margin:clamp(64px,9vw,140px) 0 clamp(96px,12vw,190px); font-size:clamp(2rem,2.35vw,3.25rem); font-weight:300; letter-spacing:-.0495em; line-height:.98; }
.history-next__grid>.history-copy { grid-column:2/span 5; }
.history-next__grid>.history-photo { grid-column:9/-1; margin-top:clamp(80px,10vw,160px); }
.history-disclosure { border:0; }
.history-disclosure summary { display:grid; grid-template-columns:1fr auto; align-items:center; gap:16px; min-height:44px; color:#141413; font-size:11px; font-weight:500; cursor:pointer; list-style:none; }
.history-disclosure summary::-webkit-details-marker { display:none; }
.history-disclosure summary span:last-child { font-size:18px; font-weight:300; transition:transform .25s ease; }
.history-disclosure__less { display:none; }
.history-disclosure[open] .history-disclosure__more { display:none; }
.history-disclosure[open] .history-disclosure__less { display:inline; }
.history-disclosure[open] summary span:last-child { transform:rotate(45deg); }
.history-disclosure__content { padding-top:20px; }
.history-concepts { padding-block:clamp(104px,13vw,200px); }
.history-concepts__heading { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:var(--grid-gap); margin:clamp(56px,8vw,120px) 0 clamp(72px,9vw,140px); }
.history-concepts__heading h2 { grid-column:1/span 6; font-size:clamp(2rem,2.35vw,3.25rem); font-weight:300; letter-spacing:-.0495em; line-height:.98; }
.history-concepts__heading p { grid-column:9/-1; max-width:34ch; color:var(--history-muted); font-size:13px; line-height:19.5px; }
.history-concepts__grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:clamp(48px,6vw,88px) var(--grid-gap); align-items:start; }
.history-concept { margin:0; }
.history-concept:nth-child(1) { grid-column:1/span 3; }
.history-concept:nth-child(2) { grid-column:5/span 2; margin-top:clamp(48px,7vw,100px); }
.history-concept:nth-child(3) { grid-column:9/span 3; }
.history-concept:nth-child(4) { grid-column:2/span 2; }
.history-concept:nth-child(5) { grid-column:6/span 3; margin-top:clamp(48px,7vw,100px); }
.history-concept:nth-child(6) { grid-column:10/span 2; }
.history-concept .history-photo__placeholder { aspect-ratio:4/3; }
.history-concept:nth-child(even) .history-photo__placeholder { aspect-ratio:3/4; }
.history-concept figcaption { padding-top:8px; color:var(--history-muted); font-size:.62rem; line-height:1.3; }
.history-horizontal { grid-column:1/-1; width:100vw; margin:clamp(80px,10vw,150px) 0 clamp(96px,12vw,180px) calc(50% - 50vw); overflow:hidden; }
.history-horizontal__heading { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:var(--grid-gap); padding:0 var(--layout-gutter) clamp(24px,3vw,44px); }
.history-horizontal__heading span { grid-column:1/span 2; color:var(--history-muted); font-size:.65rem; line-height:1.3; }
.history-horizontal__heading p { grid-column:5/span 4; max-width:18ch; font-size:clamp(1.5rem,2.35vw,3.25rem); font-weight:300; letter-spacing:-.0495em; line-height:.98; }
.history-horizontal__viewport { width:100%; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; }
.history-horizontal__viewport::-webkit-scrollbar { display:none; }
.history-horizontal__rail { display:flex; align-items:center; width:max-content; min-height:min(84svh,780px); padding-inline:var(--layout-gutter); }
.history-horizontal.is-enhanced .history-horizontal__viewport { height:100svh; overflow:hidden; }
.history-horizontal.is-enhanced .history-horizontal__rail { min-height:100%; }
.history-horizontal__outro span,.history-horizontal__item figcaption { font-size:.65rem; line-height:1.3; }
.history-horizontal__track { display:flex; align-items:center; gap:clamp(24px,3vw,52px); }
.history-horizontal__item { flex:0 0 clamp(360px,42vw,680px); margin:0; }
.history-horizontal__item--compact { flex-basis:clamp(300px,32vw,520px); }
.history-horizontal__item--wide { flex-basis:clamp(440px,54vw,880px); }
.history-horizontal__item img { display:block; width:100%; max-height:70svh; object-fit:contain; border-radius:0; }
.history-horizontal__item figcaption { display:flex; justify-content:space-between; gap:24px; padding-top:9px; color:var(--history-muted); }
.history-horizontal__outro { display:flex; flex:0 0 clamp(220px,28vw,440px); min-height:58svh; padding:16px 0 24px var(--grid-gap); flex-direction:column; justify-content:space-between; color:var(--history-muted); }
.history-horizontal__outro span:last-child { color:#141413; font-size:2rem; }
.history-project-gallery { display:block; }
.history-project-gallery .history-horizontal__track figure { flex:0 0 clamp(420px,48vw,760px); margin:0!important; }
.history-project-gallery .history-horizontal__track figure:nth-child(3n+2) { flex-basis:clamp(340px,38vw,620px); }
.history-project-gallery .history-horizontal__track figure:nth-child(3n) { flex-basis:clamp(460px,54vw,860px); }
.history-project-gallery .history-horizontal__track img { display:block; width:100%; max-height:70svh; object-fit:contain; }
.history-project-gallery .history-horizontal__track figcaption { display:flex; justify-content:space-between; gap:24px; padding-top:9px; color:var(--history-muted); font-size:.65rem; line-height:1.3; }
.history-page .nav,
.history-page .history-hero__meta,
.history-page .history-next__meta,
.history-page .history-chapter,
.history-page .history-photo__placeholder,
.history-page .history-photo figcaption,
.history-page .history-disclosure,
.history-page .history-concepts { border:0!important; }
.history-page .footer__divider { display:none; }
.history-page .history-chapter__header>span { color:#a1a1a1!important; }

@media (max-width:1023px) {
  .history-hero h1,
  .history-chapter__header h2,
  .history-next h2,
  .history-concepts__heading h2 { font-size:clamp(1.9rem,4.2vw,3rem); }
  .history-hero__lower>.history-photo { grid-column:7/span 2; }
  .history-hero__lower>.history-copy { grid-column:7/-1; }
  .history-copy--primary { grid-column:3/span 7; }
  .history-copy--secondary { grid-column:5/span 7; }
}
@media (max-width:767px) {
  .history-hero { min-height:0; padding-bottom:112px; }
  .history-hero__meta,.history-next__meta { grid-template-columns:repeat(2,1fr); row-gap:16px; }
  .history-hero h1 { margin:56px 0 96px; font-size:clamp(1.55rem,6.4vw,2.65rem); line-height:1.01; }
  .history-hero__lower,.history-chapter__body,.history-next__grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; }
  .history-hero__lead,.history-hero__lower>.history-photo,.history-hero__lower>.history-copy { grid-column:1/-1; }
  .history-hero__lead span { white-space:normal; }
  .history-hero__lower>.history-photo { width:52%; margin:48px 0 0 auto; }
  .history-hero__lower>.history-copy { padding-top:48px; }
  .history-chapter__header { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:80px; }
  .history-chapter__header>span { grid-column:1; }
  .history-chapter__header>p { grid-column:2; }
  .history-chapter__header>time { grid-column:4; text-align:right; }
  .history-chapter__header h2 { grid-column:1/-1; margin-top:40px; font-size:clamp(1.55rem,6.4vw,2.65rem); line-height:1.01; }
  .history-copy--primary,.history-copy--secondary { grid-column:1/-1; margin-top:0; }
  .history-photo--wide,.history-photo--offset-right { grid-column:1/-1; width:78%; margin:80px auto; }
  .history-photo--offset { grid-column:2/-1; margin:72px 0 0; }
  .history-photo--panorama .history-photo__placeholder { aspect-ratio:16/10; }
  .history-photo-pair { grid-column:1/-1; grid-template-columns:repeat(4,1fr); margin-block:80px; }
  .history-photo-pair .history-photo:first-child { grid-column:1/span 3; }
  .history-photo-pair .history-photo:last-child { grid-column:2/-1; margin-top:64px; }
  .history-project-gallery { grid-template-columns:repeat(4,minmax(0,1fr)); gap:56px 20px; margin-block:80px; }
  .history-project-gallery--chapter-two figure:nth-child(n),.history-project-gallery--chapter-three figure:nth-child(n) { grid-column:1/-1; margin-top:0; }
  .history-project-gallery--chapter-two figure:nth-child(even),.history-project-gallery--chapter-three figure:nth-child(even) { grid-column:2/-1; }
  .history-next h2 { margin-block:56px 96px; font-size:clamp(1.55rem,6.4vw,2.65rem); line-height:1.01; }
  .history-next__grid>.history-copy { grid-column:1/-1; }
  .history-next__grid>.history-photo { grid-column:2/-1; margin-top:56px; }
  .history-concepts__heading { grid-template-columns:repeat(4,1fr); gap:28px; }
  .history-concepts__heading h2,.history-concepts__heading p { grid-column:1/-1; }
  .history-concepts__heading h2 { font-size:clamp(1.55rem,6.4vw,2.65rem); line-height:1.01; }
  .history-concepts__grid { grid-template-columns:repeat(4,1fr); gap:56px 20px; }
  .history-concept:nth-child(n) { grid-column:span 2; margin-top:0; }
  .history-concept:nth-child(3n+2) { margin-top:48px; }
  .history-horizontal__rail { min-height:76svh; padding-inline:var(--layout-gutter); }
  .history-horizontal.is-enhanced .history-horizontal__viewport { height:86svh; }
  .history-horizontal__heading { grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
  .history-horizontal__heading span { grid-column:1/-1; }
  .history-horizontal__heading p { grid-column:1/-1; font-size:clamp(1.55rem,6.4vw,2.65rem); }
  .history-horizontal__track { gap:20px; }
  .history-horizontal__item,.history-horizontal__item--compact,.history-horizontal__item--wide { flex-basis:78vw; }
  .history-project-gallery .history-horizontal__track figure,.history-project-gallery .history-horizontal__track figure:nth-child(n) { flex-basis:82vw; }
  .history-horizontal__item img { max-height:62svh; }
  .history-project-gallery .history-horizontal__track img { max-height:62svh; }
  .history-horizontal__outro { flex-basis:52vw; min-height:60svh; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .menu-overlay__body { grid-template-columns: repeat(8,minmax(0,1fr)); }
  .menu-overlay__primary { grid-column: 1 / span 3; }
  .menu-overlay__works { grid-column: 4 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-overlay, .menu-overlay__case-thumb { transition: none; }
}

/* === VISUM — LONG-FORM EDITORIAL CASE === */
.case-visum-page .case-hero { min-height: clamp(500px, 47vw, 700px); }
.case-visum-page .case-hero__title { grid-column: 1 / span 11; max-width: 18ch; font-size: clamp(3rem, 5vw, 6.2rem); }
.case-visum-page .case-hero__meta { grid-column: 1 / span 11; }
.case-visum-page .case-lead-media { padding-block: clamp(32px, 4vw, 64px); }
.case-visum-page .case-lead-media img { width: min(100%, 1500px); max-height: none; }

.visum-story { --v-rule: #d8d8d5; --v-muted: #777773; }
.visum-story h2 { color: #09090b; font-size: clamp(2.35rem, 4.7vw, 5.65rem); font-weight: 300; letter-spacing: -.052em; line-height: .98; }
.visum-story h3 { font-weight: 400; }
.visum-kicker { margin: 0 0 20px; color: #242422; font-size: .75rem; letter-spacing: .055em; line-height: 1.2; text-transform: uppercase; }
.visum-section { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--grid-gap); padding: clamp(112px,12vw,192px) var(--layout-gutter); border-bottom: 1px solid var(--v-rule); }
.visum-intro > .visum-kicker { grid-column: 1 / span 3; }
.visum-intro > div { grid-column: 4 / span 8; }
.visum-intro h2 { max-width: 12ch; margin-bottom: clamp(40px,5vw,72px); }
.visum-intro div p { max-width: 760px; margin: 0 0 1.15em; font-size: clamp(1.24rem,1.75vw,1.75rem); letter-spacing: -.025em; line-height: 1.3; }
.visum-heading { grid-column: 1 / span 4; }
.visum-heading h2 { max-width: 9ch; font-size: clamp(2rem,3.25vw,4rem); }
.visum-impact .visum-stat-grid { grid-column: 5 / -1; }
.visum-stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--grid-gap); }
.visum-stat { min-height: 330px; padding: 18px 0 24px; border-top: 1px solid #222; }
.visum-stat > span,.visum-market article > span { display: block; min-height: 42px; color: var(--v-muted); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.visum-stat strong { display: block; margin: clamp(50px,6vw,88px) 0 18px; font-size: clamp(3.5rem,6.2vw,7.2rem); font-weight: 300; letter-spacing: -.065em; line-height: .8; }
.visum-stat p { max-width: 24ch; color: #4f4f4b; font-size: .95rem; line-height: 1.35; }
.visum-stat--result { color: #7126f3; }
.visum-stat--result > span,.visum-stat--result p { color: #7126f3; }

.visum-split .visum-copy { grid-column: 6 / span 6; }
.visum-copy p { max-width: 720px; margin: 0 0 1.3em; color: #555551; font-size: clamp(1rem,1.15vw,1.18rem); line-height: 1.5; }
.visum-copy .visum-lead { color: #111; font-size: clamp(1.3rem,1.85vw,1.85rem); letter-spacing: -.025em; line-height: 1.28; }
.visum-market { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--grid-gap); padding: 0 var(--layout-gutter) clamp(112px,12vw,192px); border-bottom: 1px solid var(--v-rule); }
.visum-market article { min-height: 310px; padding-top: 18px; border-top: 1px solid #222; }
.visum-market strong { display: block; margin: 58px 0 22px; font-size: clamp(3rem,5vw,6.4rem); font-weight: 300; letter-spacing: -.065em; line-height: .85; }
.visum-market p { max-width: 28ch; color: #555551; font-size: .95rem; line-height: 1.4; }
.visum-market a { display: inline-block; margin-top: 28px; border-bottom: 1px solid #8a8985; color: #73736f; font-size: .72rem; }

.visum-statement { align-items: end; background: #111113; color: #fff; }
.visum-statement .visum-kicker { grid-column: 1 / span 3; align-self: start; color: #aaa; }
.visum-statement h2 { grid-column: 4 / -1; max-width: 15ch; color: #fff; }
.visum-statement > p:last-child { grid-column: 7 / span 5; margin-top: 70px; color: #bcbcbc; font-size: clamp(1rem,1.2vw,1.25rem); line-height: 1.5; }

.visum-numbered { padding: clamp(112px,12vw,192px) var(--layout-gutter); border-bottom: 1px solid var(--v-rule); }
.visum-numbered__header { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--grid-gap); margin-bottom: clamp(64px,8vw,120px); }
.visum-numbered__header .visum-kicker { grid-column: 1 / span 3; }
.visum-numbered__header h2 { grid-column: 4 / span 8; max-width: 12ch; }
.visum-numbered ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.visum-numbered li { min-height: 255px; padding: 18px 40px 42px 0; border-top: 1px solid var(--v-rule); }
.visum-numbered li:nth-child(odd) { margin-right: calc(var(--grid-gap)/2); }
.visum-numbered li:nth-child(even) { margin-left: calc(var(--grid-gap)/2); }
.visum-numbered li > span { display: block; margin-bottom: 62px; color: var(--v-muted); font-size: .78rem; }
.visum-numbered li h3 { margin-bottom: 12px; font-size: clamp(1.25rem,1.65vw,1.75rem); letter-spacing: -.035em; }
.visum-numbered li p { max-width: 42ch; color: var(--v-muted); font-size: .98rem; line-height: 1.45; }
.visum-conclusion { max-width: 36ch; margin: clamp(64px,8vw,120px) 0 0 50%; font-size: clamp(1.45rem,2.6vw,3rem); letter-spacing: -.04em; line-height: 1.12; }
.visum-numbered--five ol { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 var(--grid-gap); }
.visum-numbered--five li,.visum-numbered--five li:nth-child(n) { margin: 0; }

.visum-question { padding: clamp(100px,13vw,210px) var(--layout-gutter); background: #7729f4; color: #fff; }
.visum-question span { display: block; margin-bottom: clamp(55px,8vw,120px); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.visum-question p { max-width: 21ch; margin-left: auto; font-size: clamp(2.3rem,4.8vw,5.9rem); font-weight: 300; letter-spacing: -.052em; line-height: .98; }

.visum-media-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 24px; background: #111113; }
.visum-media { margin: 0; background: #f2f2f4; }
.visum-media--wide { grid-column: 1 / -1; }
.visum-media img { width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.visum-media figcaption,.visum-feature figcaption { display: flex; justify-content: space-between; gap: 28px; padding: 18px 4px 4px; background: #111113; color: #aaa; font-size: .8rem; line-height: 1.35; }
.visum-media figcaption span,.visum-feature figcaption span { color: #fff; white-space: nowrap; }

.visum-insight { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--grid-gap); padding: clamp(112px,13vw,208px) var(--layout-gutter); }
.visum-insight > div:first-child { grid-column: 1 / span 4; }
.visum-insight h2 { max-width: 8ch; font-size: clamp(2rem,3.5vw,4.3rem); }
.visum-insight > div:first-child > p:last-child { margin-top: 28px; max-width: 30ch; color: var(--v-muted); }
.visum-insight blockquote { grid-column: 6 / -1; padding: clamp(32px,4vw,58px); background: #f0edf8; }
.visum-insight blockquote strong { display: block; margin-bottom: 22px; color: #7225f3; font-size: clamp(1.5rem,2.3vw,2.7rem); font-weight: 400; letter-spacing: -.035em; }
.visum-insight blockquote p { max-width: 35ch; font-size: clamp(1.25rem,1.8vw,1.85rem); line-height: 1.3; }
.visum-anatomy { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(4,1fr); margin-top: 28px; }
.visum-anatomy span { padding: 14px 12px 0 0; border-top: 1px solid #222; font-size: .77rem; }
.visum-note { grid-column: 8 / -1; margin-top: 48px; color: var(--v-muted); font-size: .95rem; line-height: 1.45; }

.visum-feature { margin: 0; padding: clamp(48px,6vw,96px) var(--layout-gutter) clamp(96px,11vw,176px); background: #f1f1f3; }
.visum-feature img { width: min(100%,1440px); margin-inline: auto; }
.visum-feature figcaption { width: min(100%,1440px); margin-inline: auto; background: transparent; color: #777; }
.visum-feature figcaption span { color: #111; }
.visum-feature--purple { background: #7425f2; }
.visum-feature--purple figcaption,.visum-feature--purple figcaption span { color: #fff; }
.visum-media-stack { background: #111113; }
.visum-media-stack .visum-feature { margin-bottom: 24px; padding-bottom: clamp(64px,8vw,120px); }
.visum-media-stack .visum-feature:last-child { margin-bottom: 0; }

.visum-process { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--grid-gap); padding: clamp(112px,12vw,192px) var(--layout-gutter); border-bottom: 1px solid var(--v-rule); }
.visum-process > div { grid-column: 1 / span 4; }
.visum-process h2 { margin-bottom: 34px; font-size: clamp(2.3rem,4vw,5rem); }
.visum-process > div > p:last-child { color: var(--v-muted); font-size: 1rem; line-height: 1.5; }
.visum-process ol { grid-column: 6 / -1; list-style: none; }
.visum-process li { display: grid; grid-template-columns: 64px 1fr; padding: 20px 0; border-top: 1px solid var(--v-rule); font-size: clamp(1.15rem,1.65vw,1.75rem); }
.visum-process li span { color: var(--v-muted); font-size: .75rem; }

.visum-results { padding: clamp(112px,12vw,192px) var(--layout-gutter); background: #111113; color: #fff; }
.visum-results .visum-kicker { color: #aaa; }
.visum-results h2 { max-width: 12ch; color: #fff; }
.visum-results > p:nth-of-type(2) { max-width: 48ch; margin: 48px 0 96px 50%; color: #aaa; font-size: clamp(1.1rem,1.4vw,1.45rem); line-height: 1.45; }
.visum-results > div { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--grid-gap); }
.visum-results article { padding-top: 22px; border-top: 1px solid #555; }
.visum-results strong { display: block; margin-bottom: 24px; color: #9c70ff; font-size: clamp(3rem,6vw,7rem); font-weight: 300; letter-spacing: -.06em; line-height: .9; }
.visum-results span { color: #bbb; }
.visum-closing { padding: clamp(120px,15vw,240px) var(--layout-gutter); }
.visum-closing p { max-width: 20ch; margin-left: auto; font-size: clamp(2.5rem,5.25vw,6.5rem); font-weight: 300; letter-spacing: -.055em; line-height: .96; }
.visum-closing span { display: block; max-width: 38ch; margin: 72px 0 0 auto; color: var(--v-muted); font-size: clamp(1rem,1.25vw,1.3rem); }

/* === BEM-TE-VI — LONG-FORM EDITORIAL CASE === */
.case-bemtevi-page .case-hero__title { max-width: 19ch; }
.bemtevi-story { --bemtevi-lime: #c8ff00; }
.bemtevi-story .visum-stat--result,
.bemtevi-story .visum-stat--result > span,
.bemtevi-story .visum-stat--result p { color: #668200; }
.bemtevi-story .visum-question { background: var(--bemtevi-lime); color: #09090b; }
.bemtevi-story .visum-results strong { color: var(--bemtevi-lime); }
.bemtevi-persona { background: #f3f3f0; }
.bemtevi-persona__art { grid-column: 6 / span 6; width: 50%; margin: clamp(40px,5vw,72px) 0 0; overflow: hidden; }
.bemtevi-persona__art img { width: 100%; mix-blend-mode: multiply; }
.bemtevi-feature--lime { background: var(--bemtevi-lime); }
.bemtevi-feature--lime figcaption,
.bemtevi-feature--lime figcaption span { color: #09090b; }
.bemtevi-media--portrait img { aspect-ratio: auto; }
.bemtevi-support { align-items: start; }
.bemtevi-role li { min-height: 235px; }
.bemtevi-story .visum-results > div { grid-template-columns: repeat(3,1fr); }
.bemtevi-carousel { padding: clamp(72px,8vw,128px) 0 clamp(88px,10vw,160px); overflow: hidden; background: #111113; color: #fff; }
.bemtevi-carousel__header { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 0 var(--layout-gutter) 44px; }
.bemtevi-carousel__header .visum-kicker { color: #999; }
.bemtevi-carousel__header h3 { color: #fff; font-size: clamp(1.8rem,3vw,3.5rem); font-weight: 300; letter-spacing: -.045em; }
.bemtevi-carousel__controls { display: flex; gap: 8px; }
.bemtevi-carousel__button { display: grid; width: 52px; height: 52px; border: 1px solid #555; color: #fff; font-size: 1.15rem; place-items: center; transition: background-color .2s,color .2s,opacity .2s; }
.bemtevi-carousel__button:hover:not(:disabled) { background: #c8ff00; color: #09090b; }
.bemtevi-carousel__button:disabled { cursor: default; opacity: .28; }
.bemtevi-carousel__track { display: flex; gap: 24px; padding: 0 var(--layout-gutter) 22px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: var(--layout-gutter); scroll-snap-type: x mandatory; scrollbar-color: #c8ff00 #333; scrollbar-width: thin; }
.bemtevi-carousel__slide { flex: 0 0 min(76vw,1100px); scroll-snap-align: start; }
.bemtevi-carousel__slide img { width: 100%; height: clamp(480px,62vw,760px); background: #f1f3f6; object-fit: contain; }
.bemtevi-carousel__slide figcaption { display: flex; justify-content: space-between; gap: 24px; padding-top: 16px; color: #aaa; font-size: .82rem; }
.bemtevi-carousel__slide figcaption span { color: #fff; }

/* === IIZYFOOD — COMPACT EDITORIAL CASE === */
.case-iizyfood-page .case-hero__title { max-width: 16ch; }
.case-iizyfood-page .case-lead-media { background: #f25046; }
.case-iizyfood-page .case-lead-media img { width: min(100%,1080px); max-height: 76svh; }

/* Atomos — umbrella case */
.case-atomos-page { --atomos-blue:#287ad7; --atomos-ink:#0b1729; }
.case-atomos-page .case-hero__title { max-width:17ch; }
.atomos-cover { background:#edf5ff; }
.atomos-cover img { width:min(100%,1440px); max-height:none; }
.atomos-story .visum-kicker { color:#526070; }
.atomos-role { padding:clamp(112px,12vw,192px) var(--layout-gutter); border-block:1px solid #d8d8d5; }
.atomos-role__heading { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:var(--grid-gap); margin-bottom:clamp(72px,9vw,132px); }
.atomos-role__heading .visum-kicker { grid-column:1/span 3; }
.atomos-role__heading h2 { grid-column:4/span 8; max-width:13ch; }
.atomos-role__list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--grid-gap); margin:0; padding:0; list-style:none; }
.atomos-role__list li { min-height:330px; padding:18px 10px 30px 0; border-top:1px solid #151515; }
.atomos-role__list li>span { display:block; margin-bottom:clamp(80px,8vw,120px); color:#78808a; font-size:.75rem; }
.atomos-role__list strong { display:block; margin-bottom:16px; font-size:clamp(1.25rem,1.5vw,1.6rem); font-weight:400; letter-spacing:-.03em; }
.atomos-role__list p { max-width:30ch; color:#626a74; font-size:.94rem; line-height:1.45; }
.atomos-statement { background:var(--atomos-ink); }
.atomos-index { padding:clamp(88px,10vw,150px) var(--layout-gutter); }
.atomos-index>.visum-kicker { margin-bottom:48px; }
.atomos-index>a,.atomos-index>div { display:grid; grid-template-columns:80px 1fr auto; gap:24px; align-items:center; padding:30px 0; border-top:1px solid #cfd3d8; color:#111; }
.atomos-index>a { transition:color .25s ease,padding .25s ease; }
.atomos-index>a:hover,.atomos-index>a:focus-visible { padding-left:12px; color:var(--atomos-blue); }
.atomos-index span,.atomos-index small { color:#7a828d; font-size:.78rem; font-weight:400; }
.atomos-index strong { font-size:clamp(1.35rem,2.1vw,2.25rem); font-weight:400; letter-spacing:-.035em; }
.atomos-index>div { opacity:.42; }
.atomos-product { scroll-margin-top:80px; }
.atomos-product__hero { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:var(--grid-gap); padding:clamp(110px,14vw,220px) var(--layout-gutter); background:var(--atomos-blue); color:#fff; }
.atomos-product__hero .visum-kicker { grid-column:1/span 3; color:#d7e9ff; }
.atomos-product__count { grid-column:11/-1; justify-self:end; color:#d7e9ff; font-size:.78rem; }
.atomos-product__hero h2 { grid-column:4/-1; max-width:13ch; margin-top:56px; color:#fff; }
.atomos-product__hero>p:last-child { grid-column:7/span 5; margin-top:42px; color:#dcecff; font-size:clamp(1rem,1.25vw,1.3rem); line-height:1.5; }
.atomos-showcase,.atomos-screen { margin:0; padding:clamp(28px,4vw,64px); background:#eef0f3; }
.atomos-showcase--blue { background:#287ad7; }
.atomos-showcase img,.atomos-screen img { width:min(100%,1600px); margin-inline:auto; }
.atomos-showcase figcaption,.atomos-screen figcaption { display:flex; justify-content:space-between; gap:28px; width:min(100%,1600px); margin-inline:auto; padding-top:18px; color:#626a74; font-size:.8rem; line-height:1.35; }
.atomos-showcase--blue figcaption { color:#dbeaff; }
.atomos-showcase figcaption span,.atomos-screen figcaption span { color:#111; white-space:nowrap; }
.atomos-showcase--blue figcaption span { color:#fff; }
.atomos-screen { padding-block:clamp(56px,7vw,112px); background:#f7f8fa; }
.atomos-onboarding { padding:clamp(112px,12vw,192px) var(--layout-gutter); background:var(--atomos-ink); color:#fff; }
.atomos-onboarding__intro { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:var(--grid-gap); margin-bottom:clamp(72px,9vw,130px); }
.atomos-onboarding__intro .visum-kicker { grid-column:1/span 3; color:#8fa3bb; }
.atomos-onboarding__intro h2 { grid-column:4/span 8; max-width:12ch; color:#fff; }
.atomos-onboarding__intro>p:last-child { grid-column:7/span 5; margin-top:40px; color:#aebdce; line-height:1.5; }
.atomos-onboarding__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(44px,5vw,80px) var(--grid-gap); }
.atomos-onboarding figure { margin:0; }
.atomos-onboarding img { width:100%; }
.atomos-onboarding figcaption { display:flex; gap:18px; padding-top:16px; color:#c7d2df; font-size:.83rem; }
.atomos-onboarding figcaption span { color:#6f89a8; }
.atomos-system { padding:clamp(120px,14vw,220px) var(--layout-gutter); }
.atomos-system h2 { max-width:16ch; margin:0 0 clamp(84px,10vw,150px) 25%; }
.atomos-system__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--grid-gap); }
.atomos-system__grid p { padding-top:18px; border-top:1px solid #222; color:#48515c; font-size:clamp(1rem,1.15vw,1.2rem); line-height:1.35; }
.atomos-results strong { color:#65a8ff; }
.atomos-next { padding:clamp(120px,14vw,220px) var(--layout-gutter); background:#eef5ff; }
.atomos-next h2 { max-width:14ch; margin-left:25%; }
.atomos-next>p:last-child { max-width:42ch; margin:48px 0 0 50%; color:#556273; font-size:1.05rem; line-height:1.5; }

@media (max-width:760px) {
  .case-atomos-page .case-hero__title { max-width:none; }
  .atomos-role__heading { grid-template-columns:repeat(4,1fr); gap:28px; }
  .atomos-role__heading .visum-kicker,.atomos-role__heading h2 { grid-column:1/-1; }
  .atomos-role__list { grid-template-columns:1fr; }
  .atomos-role__list li { min-height:230px; }
  .atomos-role__list li>span { margin-bottom:64px; }
  .atomos-index>a,.atomos-index>div { grid-template-columns:48px 1fr; }
  .atomos-index small { grid-column:2; }
  .atomos-product__hero,.atomos-onboarding__intro { grid-template-columns:repeat(4,1fr); gap:28px; }
  .atomos-product__hero .visum-kicker { grid-column:1/span 3; }
  .atomos-product__count { grid-column:4; }
  .atomos-product__hero h2,.atomos-product__hero>p:last-child,.atomos-onboarding__intro .visum-kicker,.atomos-onboarding__intro h2,.atomos-onboarding__intro>p:last-child { grid-column:1/-1; }
  .atomos-showcase,.atomos-screen { padding:16px; }
  .atomos-showcase figcaption,.atomos-screen figcaption { display:grid; gap:8px; }
  .atomos-onboarding__grid,.atomos-system__grid { grid-template-columns:1fr; }
  .atomos-onboarding__grid { gap:56px; }
  .atomos-system h2,.atomos-next h2,.atomos-next>p:last-child { margin-left:0; }
  .atomos-system__grid { gap:52px; }
}
.iizy-story { --iizy-red: #ed3438; --iizy-green: #84c648; --iizy-mist: #f2f7ee; }
.iizy-story .visum-statement { background: var(--iizy-red); }
.iizy-story .visum-statement > p:last-child { color: #fff; }
.iizy-pillars ol { grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--grid-gap); }
.iizy-pillars li,
.iizy-pillars li:nth-child(n) { min-height: 285px; margin: 0; padding-right: 28px; }
.iizy-pillars li > span { color: var(--iizy-red); }
.iizy-feature { padding-block: clamp(32px,4vw,64px); background: var(--iizy-mist); }
.iizy-feature img { width: min(100%,1400px); }
.iizy-feature--system { background: #fff; }
.iizy-video { margin: 0; padding: clamp(24px,3vw,48px); background: #111113; }
.iizy-video--light { background: var(--iizy-mist); }
.iizy-video__frame { width: min(100%,1440px); margin-inline: auto; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.iizy-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.iizy-video figcaption { display: flex; justify-content: space-between; gap: 28px; width: min(100%,1440px); margin-inline: auto; padding: 18px 4px 0; color: #aaa; font-size: .8rem; line-height: 1.35; }
.iizy-video figcaption span { color: #fff; white-space: nowrap; }
.iizy-video--light figcaption { color: #777; }
.iizy-video--light figcaption span { color: #111; }
.iizy-showcase { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 24px; padding: 24px; background: #111113; }
.iizy-showcase figure { align-self: start; margin: 0; background: #fff; }
.iizy-showcase img { width: 100%; height: auto; }
.iizy-showcase figure:first-child img { height: 910px; object-fit: cover; object-position: top center; }
.iizy-showcase figcaption,
.iizy-all-screens figcaption { display: flex; justify-content: space-between; gap: 28px; padding: 18px 4px 4px; background: #111113; color: #aaa; font-size: .8rem; line-height: 1.35; }
.iizy-showcase figcaption span,
.iizy-all-screens figcaption span { color: #fff; white-space: nowrap; }
.iizy-closing { background: var(--iizy-mist); }
.iizy-all-screens { margin: 0; padding: 0; background: #111113; }
.iizy-all-screens img { width: 100%; height: auto; object-fit: contain; object-position: top center; }
.iizy-all-screens figcaption { width: 100%; padding: 18px var(--layout-gutter); text-align: left; }
.iizy-credits { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--grid-gap); padding: clamp(112px,12vw,192px) var(--layout-gutter); border-bottom: 1px solid var(--v-rule); }
.iizy-credits > div { grid-column: 1 / span 4; }
.iizy-credits h2 { font-size: clamp(2.35rem,4.7vw,5.65rem); }
.iizy-credits dl { grid-column: 6 / span 6; margin: 0; }
.iizy-credits dl > div { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--v-rule); }
.iizy-credits dt { color: var(--v-muted); font-size: .75rem; letter-spacing: .055em; text-transform: uppercase; }
.iizy-credits dd { margin: 0; font-size: 1rem; line-height: 1.45; }

@media (max-width: 767px) {
  .case-visum-page .case-hero { min-height: auto; }
  .case-visum-page .case-hero__title { grid-column: 1/-1; font-size: clamp(2.45rem,11.5vw,4rem); }
  .case-visum-page .case-hero__meta { grid-column: 1/-1; }
  .visum-story h2 { font-size: clamp(2.25rem,11vw,4rem); }
  .visum-section { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; padding-block: 88px; }
  .visum-intro > .visum-kicker,.visum-intro > div,.visum-heading,.visum-split .visum-copy,.visum-statement .visum-kicker,.visum-statement h2,.visum-statement > p:last-child { grid-column: 1/-1; }
  .visum-intro h2 { margin-bottom: 40px; }
  .visum-impact .visum-stat-grid { grid-column: 1/-1; grid-template-columns: 1fr; }
  .visum-stat { min-height: 230px; }
  .visum-stat strong { margin-top: 44px; }
  .visum-market { grid-template-columns: 1fr; gap: 72px; padding-bottom: 88px; }
  .visum-market article { min-height: 250px; }
  .visum-statement > p:last-child { margin-top: 16px; }
  .visum-numbered { padding-block: 88px; }
  .visum-numbered__header { grid-template-columns: repeat(4,1fr); gap: 28px; }
  .visum-numbered__header .visum-kicker,.visum-numbered__header h2 { grid-column: 1/-1; }
  .visum-numbered ol,.visum-numbered--five ol { grid-template-columns: 1fr; }
  .visum-numbered li,.visum-numbered li:nth-child(n) { min-height: 220px; margin: 0; }
  .visum-conclusion { margin-left: 0; }
  .visum-question p { margin-left: 0; }
  .visum-media-grid { grid-template-columns: 1fr; gap: 48px; padding: 16px; }
  .visum-media,.visum-media--wide { grid-column: 1; }
  .visum-media figcaption,.visum-feature figcaption { display: grid; gap: 8px; }
  .visum-insight { grid-template-columns: repeat(4,1fr); gap: 48px; padding-block: 88px; }
  .visum-insight > div:first-child,.visum-insight blockquote,.visum-anatomy,.visum-note { grid-column: 1/-1; }
  .visum-anatomy { grid-template-columns: repeat(2,1fr); gap: 24px 12px; }
  .visum-feature { padding-inline: 16px; }
  .visum-process { grid-template-columns: repeat(4,1fr); gap: 60px; padding-block: 88px; }
  .visum-process > div,.visum-process ol { grid-column: 1/-1; }
  .visum-results > p:nth-of-type(2) { margin: 40px 0 72px; }
  .visum-results > div { grid-template-columns: 1fr; gap: 70px; }
  .visum-closing p,.visum-closing span { margin-left: 0; }
  .case-bemtevi-page .case-hero__title { max-width: none; }
  .bemtevi-story .visum-results > div { grid-template-columns: 1fr; }
  .bemtevi-persona__art { grid-column: 1 / -1; width: 50%; margin-top: 32px; }
  .bemtevi-carousel__header { align-items: start; padding-bottom: 32px; }
  .bemtevi-carousel__header h3 { max-width: 10ch; }
  .bemtevi-carousel__button { width: 44px; height: 44px; }
  .bemtevi-carousel__track { gap: 14px; }
  .bemtevi-carousel__slide { flex-basis: 86vw; }
  .bemtevi-carousel__slide img { height: 62vh; min-height: 420px; max-height: 620px; }
  .case-iizyfood-page .case-hero__title { max-width: none; }
  .iizy-pillars ol { grid-template-columns: 1fr; }
  .iizy-showcase { grid-template-columns: 1fr; gap: 48px; padding: 16px; }
  .iizy-showcase figure:first-child img { height: auto; object-fit: contain; }
  .iizy-showcase figcaption,
  .iizy-all-screens figcaption,
  .iizy-video figcaption { display: grid; gap: 8px; }
  .iizy-video { padding-inline: 16px; }
  .iizy-all-screens figcaption { padding-inline: 16px; }
  .iizy-credits { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 48px; padding-block: 88px; }
  .iizy-credits > div,
  .iizy-credits dl { grid-column: 1 / -1; }
  .iizy-credits dl > div { grid-template-columns: 1fr 1.7fr; }
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #000;
  transition: transform 0.4s, opacity 0.4s;
}

/* === MOBILE MENU === */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #F0F0F0;
  padding: 12px 24px 20px;
  gap: 4px;
}

.nav__mobile a {
  font-size: 0.9rem;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px solid #F5F5F5;
  display: block;
}

.nav__mobile a:last-child {
  border-bottom: none;
}

/* === PAGE WRAPPER === */
.page {
  padding-top: 56px;
}

/* === SECTIONS === */
.section {
  padding: 80px 0;
}

.section--sm {
  padding: 56px 0;
}

.section--border {
  border-top: 1px solid #F0F0F0;
}

/* === HOME INTRO === */
.hero {
  min-height: clamp(460px, calc(100svh - 56px), 780px);
  padding: clamp(88px, 14vh, 144px) 0 clamp(64px, 10vh, 112px);
  display: flex;
  align-items: center;
}

.hero__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__headline {
  width: max-content;
  max-width: none;
  padding-bottom: .08em;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.0495em;
  line-height: 1;
  color: #141413;
}

.hero__headline span {
  display: block;
  white-space: nowrap;
}

.hero__media {
  width: 100%;
  max-width: 294px;
  aspect-ratio: 4 / 5;
  margin: 0 0 0 auto;
  overflow: hidden;
  position: relative;
  background: #ecece8;
  border-radius: 4px;
}

.hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.78) contrast(0.96);
}

/* === BUTTONS (Pill style without icons) === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.4s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.btn--primary {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.btn--primary:hover {
  background: #222222;
  border-color: #222222;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: #000000;
  border-color: #000000;
}

.btn--outline:hover {
  background: #F5F5F5;
  color: #000000;
}

.btn--light-pill {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  font-weight: 600;
}

.btn--light-pill:hover {
  background: #F0F0F0;
  border-color: #F0F0F0;
  transform: translateY(-1px);
}

.btn--glass-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 600;
}

.btn--glass-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn--nav-pill {
  background: #000000;
  color: #FFFFFF;
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 4px;
}

.btn--nav-pill:hover {
  background: #333333;
}

/* Scroll-driven statement. The unenhanced layout is the readable fallback. */
.scroll-story {
  position: relative;
  min-height: 100svh;
  background: #efefed;
}

.scroll-story__sticky {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.scroll-story__panel {
  position: absolute;
  inset: 0;
  background: #efefed;
  pointer-events: none;
}

.scroll-story__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.scroll-story__phrases {
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  list-style: none;
}

.scroll-story__phrase {
  max-width: 30ch;
  color: #141413;
  font-size: clamp(2rem, 2.35vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -.0495em;
  line-height: .98;
}

.scroll-story.is-enhanced {
  height: 700svh;
  min-height: 4200px;
  background: #fff;
}

.scroll-story.is-enhanced .scroll-story__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
}

.scroll-story.is-enhanced .scroll-story__panel {
  inset: 50% auto auto 50%;
  width: 100vw;
  height: 100svh;
  border-radius: var(--story-panel-radius, 18px);
  transform: translate3d(-50%, -50%, 0)
    scale(var(--story-panel-scale-x, .045), var(--story-panel-scale-y, .038));
  transform-origin: center;
  will-change: transform, border-radius;
}

.scroll-story.is-enhanced .scroll-story__phrases {
  position: relative;
  min-height: min(52vh, 520px);
  display: grid;
  place-items: center start;
}

.scroll-story.is-enhanced .scroll-story__phrase {
  position: absolute;
  grid-area: 1 / 1;
  max-width: 26ch;
  opacity: var(--story-phrase-opacity, 0);
  transform: translate3d(0, var(--story-phrase-y, 32px), 0);
  will-change: opacity, transform;
}

.home-about {
  padding: clamp(96px, 15vw, 184px) 0;
}

.home-about__inner {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.home-about__tag {
  color: #706E68;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: none;
}

.home-about__text {
  max-width: 760px;
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.0405em;
  line-height: 1.08;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__headline {
    max-width: 760px;
  }

  .hero__media {
    max-width: 760px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding: 72px 0 56px;
  }

  .hero__inner { gap: 40px; }

  .hero__headline {
    font-size: clamp(2.75rem, 13vw, 4.5rem);
  }

  .hero__media {
    min-height: 220px;
  }

  .scroll-story__phrase {
    max-width: 18ch;
  }

  .scroll-story.is-enhanced { height: 620svh; }

  .home-about__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* === PHILOSOPHY SECTION (Anthropic Editorial Cards) === */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 0;
}

.philosophy-card {
  background: #FFFFFF;
  min-height: 280.3px;
  border: 0;
  border-radius: 4px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.philosophy-card:hover {
  box-shadow: none;
}

.philosophy-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 8px 0;
  flex: 1;
}

.philosophy-card__title {
  font-size: 20px;
  font-weight: 400;
  color: #111111;
  letter-spacing: -0.018em;
  line-height: 24px;
}

.philosophy-card__text {
  font-size: 13px;
  color: #8F8F8F;
  line-height: 19.5px;
}

.philosophy-card__footer {
  padding: 20px 8px 4px 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.philosophy-card__btn {
  display: inline-block;
  border: 0;
  padding: 7px 12px;
  border-radius: 4px;
  background: transparent;
  color: #000000;
  font-family: Arial, sans-serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 0.13px;
  line-height: 20.8px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.philosophy-card__btn:hover,
.philosophy-card__btn:focus-visible {
  color: #8F8F8F;
}

.philosophy-section .section-header__title {
  color: #141413;
  font-size: clamp(2rem, 2.35vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.0495em;
  line-height: .98;
}

@media (max-width: 850px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* === SECTION HEADER === */
.section-header {
  margin-bottom: 48px;
}

.section-header__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999999;
  margin-bottom: 12px;
}

.section-header__title {
  font-size: clamp(2rem, 2.35vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.0495em;
  line-height: .98;
  color: #141413;
}

.tabs {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  margin-bottom: 48px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #999999;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.6s ease;
}

.tab-btn:hover {
  color: #666;
}

.tab-btn.active {
  color: #000000;
}

.tab-content-wrapper {
  position: relative;
  min-height: 400px; /* Prevent jumpy height during transition */
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 840ms ease, transform 960ms cubic-bezier(.16,1,.3,1);
}

.tab-content.active {
  display: block;
}

.tab-content.show {
  opacity: 1;
  transform: translateY(0);
}

.brand-coming-soon {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: var(--grid-gap);
  margin-bottom: clamp(48px,6vw,88px);
  padding: 22px 0 clamp(40px,5vw,72px);
  border-top: 1px solid #141413;
}

.brand-coming-soon span {
  grid-column: 1 / span 3;
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.brand-coming-soon p {
  grid-column: 5 / span 7;
  max-width: 860px;
  margin: 0;
  font-size: clamp(1.6rem,3vw,3.8rem);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: 1.02;
}

/* === TEXT BLOCKS === */
.text-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-block p {
  font-size: 1.05rem;
  color: #444444;
  line-height: 1.75;
  max-width: 720px;
}

/* === CASES GRID === */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 48px;
}

.case-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.case-card:hover {
  opacity: 0.95;
}

.case-link--disabled,
[aria-disabled="true"].menu-overlay__case-link {
  cursor: not-allowed;
}

.case-link--disabled {
  pointer-events: none;
}

.footer__links-stack .case-link--disabled,
.menu-overlay__case-link[aria-disabled="true"] {
  color: #999999;
}

.case-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F9F9F9;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 4px;
}

.case-card--construction .case-card__img {
  filter: grayscale(1);
}

.case-card--construction .case-card__thumb::before,
.case-card--construction .case-card__thumb::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.case-card--construction .case-card__thumb::after {
  content: "";
  background: rgba(0, 0, 0, 0.5);
}

.case-card--construction .case-card__thumb::before {
  content: "Em construção";
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #FFFFFF;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
}

.case-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s cubic-bezier(.16, 1, .3, 1);
}

.case-card:hover .case-card__img {
  transform: scale(1.02);
}

.case-card__tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: #999999;
  margin-bottom: 6px;
  text-transform: none; /* User didn't specify uppercase */
  letter-spacing: normal;
}

.case-card__title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #000000;
  line-height: 1.2;
  letter-spacing: -0.0135em;
}

/* Override narrow cases-grid for main index */
@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}

/* === CONTACT STRIP (Dark Animated Mesh Container) === */
.contact-strip {
  position: relative;
  overflow: hidden;
  background-color: #0d0d0c;
  padding: 80px 0;
}

.contact-strip__card {
  position: relative;
  background-color: transparent;
  padding: 48px 60px;
  overflow: hidden;
}

.contact-strip__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.6;
  will-change: transform, opacity;
}

.mesh-orb--1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(220, 220, 220, 0.22) 0%, rgba(90, 90, 90, 0.08) 60%, transparent 100%);
  top: -90px;
  left: -50px;
  animation: meshFloat1 40s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.mesh-orb--2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(160, 160, 160, 0.18) 0%, rgba(50, 50, 50, 0.12) 60%, transparent 100%);
  bottom: -110px;
  right: -50px;
  animation: meshFloat2 48s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.mesh-orb--3 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(120, 120, 120, 0.04) 70%, transparent 100%);
  top: 25%;
  left: 45%;
  animation: meshFloat3 36s infinite alternate ease-in-out;
}

@keyframes meshFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.45;
  }
  100% {
    transform: translate(140px, 50px) scale(1.25);
    opacity: 0.75;
  }
}

@keyframes meshFloat2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  100% {
    transform: translate(-130px, -60px) scale(1.18);
    opacity: 0.35;
  }
}

@keyframes meshFloat3 {
  0% {
    transform: translate(-40px, -25px) scale(0.95);
    opacity: 0.35;
  }
  50% {
    transform: translate(70px, 35px) scale(1.3);
    opacity: 0.7;
  }
  100% {
    transform: translate(-30px, 45px) scale(1.05);
    opacity: 0.4;
  }
}

.contact-strip__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-strip__text {
  color: #F5F5F7;
  max-width: 18ch;
}

.contact-strip__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-radius: 4px;
}

@media (max-width: 680px) {
  .contact-strip {
    padding: 56px 0;
  }
  .contact-strip__card {
    padding: 36px 24px;
    border-radius: 4px;
  }
  .contact-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .contact-strip__actions {
    width: 100%;
  }
  .contact-strip__actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  border: 1.5px solid transparent;
}

.btn--primary {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.btn--primary:hover {
  background: #222222;
  border-color: #222222;
}

.btn--outline {
  background: transparent;
  color: #000000;
  border-color: #DADADA;
}

.btn--outline:hover {
  border-color: #000000;
}

/* === FORM === */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #444;
  letter-spacing: 0.01em;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #000;
  background: #FFFFFF;
  border: 1.5px solid #E0E0E0;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}

.form__input:focus,
.form__textarea:focus {
  border-color: #000000;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #BBBBBB;
}

.form__textarea {
  min-height: 140px;
}

/* === CASE PAGE === */
.case-template-page .page,
.case-template-page .case-page {
  padding-top: clamp(56px, 4vw, 64px);
}

.case-template-page .container {
  max-width: none;
  padding-inline: 0;
}

.case-template-page .case-hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  min-height: clamp(410px, 38vw, 560px);
  padding: clamp(54px, 7vw, 104px) var(--layout-gutter) clamp(48px, 5vw, 72px);
  border-bottom: 0;
}

.case-template-page .case-hero__back {
  position: absolute;
  top: 22px;
  left: 50%;
  margin: 0;
  color: #141413;
  font-size: .875rem;
  transform: translateX(-50%);
}

.case-template-page .case-hero__tag {
  display: none;
}

.case-template-page .case-hero__title {
  grid-column: 1 / span 9;
  align-self: end;
  max-width: 15ch;
  margin: 0;
  color: #08080a;
  font-size: clamp(3.25rem, 5.35vw, 6.65rem);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .97;
  opacity: 0;
  transition: opacity 1s cubic-bezier(.16,1,.3,1) .1s;
}

.case-template-page .case-hero__summary {
  display: none;
}

.case-template-page .case-hero__meta {
  grid-column: 1 / span 9;
  display: grid;
  grid-template-columns: 1fr 1.55fr .8fr 1.55fr;
  gap: clamp(18px, 2.5vw, 42px);
  align-self: end;
  margin-top: clamp(56px, 7vw, 96px);
  opacity: 0;
  transition: opacity 1s cubic-bezier(.16,1,.3,1) .7s;
}

.case-template-page.case-is-ready .case-hero__title,
.case-template-page.case-is-ready .case-hero__meta { opacity: 1; }

.case-hero__meta div { min-width: 0; }
.case-hero__meta span,
.case-hero__meta strong { display: block; font-size: clamp(.76rem, 1vw, .92rem); line-height: 1.35; }
.case-hero__meta span { margin-bottom: 8px; color: #9b9b9b; }
.case-hero__meta strong { color: #141413; font-weight: 400; }

.case-lead-media {
  width: 100%;
  margin: 0;
  padding: clamp(48px, 5vw, 80px) var(--layout-gutter);
  overflow: hidden;
  background: #f1f1f3;
}

.case-lead-media img {
  width: min(100%, 1320px);
  max-height: 78svh;
  margin-inline: auto;
  border-radius: 0;
  object-fit: contain;
}

.case-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  width: 100%;
  padding: clamp(96px, 11vw, 176px) var(--layout-gutter) clamp(120px, 14vw, 224px);
}

.case-intro__copy {
  grid-column: 6 / span 6;
  max-width: 760px;
}

.case-intro__copy p {
  margin: 0 0 1.35em;
  color: #09090b;
  font-size: clamp(1.25rem, 1.7vw, 1.72rem);
  line-height: 1.28;
  letter-spacing: -.025em;
}

.case-intro__copy p:last-child { margin-bottom: 0; }

.case-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin: 0 0 clamp(120px, 14vw, 224px);
  padding: 0 24px;
}

.case-image-grid__item {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #f1f1f3;
}

.case-image-grid__item:nth-child(3) { grid-column: 1; }
.case-image-grid__item:nth-child(4) { grid-column: 2; }

.case-image-grid__item img {
  width: 100%;
  height: 100svh;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
}


.case-editorial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  width: 100%;
  padding: 0 var(--layout-gutter) clamp(128px, 14vw, 224px);
}

.case-editorial__heading {
  grid-column: 1 / span 4;
  margin: 0;
  color: #09090b;
  font-size: clamp(1.45rem, 1.85vw, 2rem);
  font-weight: 400;
  letter-spacing: -.032em;
  line-height: 1.12;
}

.case-editorial__content {
  grid-column: 6 / span 6;
  max-width: 760px;
}

.case-editorial__lead {
  margin: 0 0 clamp(44px, 5vw, 72px);
  color: #171717;
  font-size: clamp(.98rem, 1.1vw, 1.12rem);
  line-height: 1.5;
}

.case-editorial__list {
  display: grid;
  gap: clamp(36px, 4vw, 58px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-editorial__number {
  display: block;
  margin-bottom: 9px;
  color: #777;
  font-size: .78rem;
  line-height: 1;
}

.case-editorial__item h3 {
  margin: 0 0 8px;
  color: #09090b;
  font-size: clamp(1.25rem, 1.55vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.case-editorial__item p {
  max-width: 720px;
  margin: 0;
  color: #777;
  font-size: clamp(.95rem, 1.05vw, 1.08rem);
  line-height: 1.45;
}

.case-final-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  margin: 0 0 clamp(96px, 10vw, 160px);
  padding: 0 24px;
}

.case-final-gallery__item {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #f1f1f3;
}

.case-final-gallery__item img {
  width: 100%;
  height: 100svh;
  border-radius: 0;
  object-fit: contain;
}

.case-template-page .case-return {
  display: flex;
  width: 100%;
  padding: 0 var(--layout-gutter) clamp(80px, 9vw, 144px) !important;
}

.case-template-page .case-return .btn {
  min-width: 112px;
  border-color: #141413;
}

.case-related {
  width: 100%;
  padding: clamp(80px, 9vw, 144px) var(--layout-gutter) clamp(88px, 10vw, 160px);
  border-top: 1px solid #deddd9;
}

.case-related__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.case-related__header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -.04em;
}

.case-related__header span {
  color: #85837e;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.case-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.case-related__card { display: block; }

.case-related__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f1f3;
}

.case-related__media img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.16,1,.3,1);
}

.case-related__card:hover .case-related__media img,
.case-related__card:focus-visible .case-related__media img { transform: scale(1.025); }

.case-related__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
}

.case-related__meta strong {
  font-size: 1.05rem;
  font-weight: 400;
}

.case-related__meta small {
  color: #85837e;
  font-size: .75rem;
  text-align: right;
}

.case-back-to-top {
  position: fixed;
  right: clamp(18px, 2.5vw, 40px);
  bottom: clamp(18px, 2.5vw, 40px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  color: #fff;
  font: 400 1.35rem/1 'Stack Sans Text', Arial, sans-serif;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 320ms ease, transform 480ms cubic-bezier(.16,1,.3,1), background-color 240ms ease, color 240ms ease;
}

.case-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.case-back-to-top:hover,
.case-back-to-top:focus-visible {
  background: #fff;
  color: #000;
}

.case-back-to-top:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.case-template-page .case-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  width: 100%;
  margin-inline: 0;
  padding: 0 var(--layout-gutter) clamp(112px, 12vw, 192px);
  border-bottom: 0;
}

.case-template-page .case-section__label { display: none; }

.case-template-page .case-section__title {
  grid-column: 1 / span 4;
  max-width: 17ch;
  margin: 0;
  font-size: clamp(1.45rem, 1.85vw, 2rem);
  font-weight: 400;
  letter-spacing: -.032em;
  line-height: 1.12;
}

.case-template-page .case-section p:not(.case-section__label) {
  grid-column: 6 / span 6;
  max-width: 760px;
  margin: 0;
  color: #171717;
  font-size: clamp(.98rem, 1.1vw, 1.12rem);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .case-template-page .case-hero {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: auto;
    padding-top: 76px;
  }
  .case-template-page .case-hero__back { left: var(--layout-gutter); transform: none; }
  .case-template-page .case-hero__title { grid-column: 1 / -1; font-size: clamp(2.75rem, 13vw, 4.7rem); }
  .case-template-page .case-hero__meta { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); row-gap: 28px; margin-top: 56px; }
  .case-lead-media { padding-block: 28px; }
  .case-intro { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 80px 112px; }
  .case-intro__copy { grid-column: 1 / -1; }
  .case-intro__copy p { font-size: clamp(1.16rem, 5vw, 1.42rem); }
  .case-template-page .case-section { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-bottom: 104px; }
  .case-template-page .case-section__title,
  .case-template-page .case-section p:not(.case-section__label) { grid-column: 1 / -1; }
  .case-image-grid { gap: 16px; padding-inline: 16px; margin-bottom: 112px; }
  .case-image-grid__item,
  .case-image-grid__item:nth-child(3),
  .case-image-grid__item:nth-child(4) { grid-column: 1 / -1; }
  .case-image-grid__item { min-height: 72svh; }
  .case-image-grid__item img { height: 72svh; }
  .case-editorial { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; padding-bottom: 120px; }
  .case-editorial__heading,
  .case-editorial__content { grid-column: 1 / -1; }
  .case-final-gallery { gap: 16px; padding-inline: 16px; margin-bottom: 96px; }
  .case-final-gallery__item { min-height: 72svh; }
  .case-final-gallery__item img { height: 72svh; }
  .case-related__grid { grid-template-columns: 1fr; gap: 44px; }
  .case-related__meta { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .case-template-page .case-hero__title,
  .case-template-page .case-hero__meta { opacity: 1; transition: none; }
  .case-template-page .motion-reveal,
  .case-template-page .motion-child {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

.case-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid #F0F0F0;
}

.case-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 32px;
  transition: color 0.3s;
}

.case-hero__back:hover { color: #000; }

.case-hero__tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999999;
  margin-bottom: 16px;
}

.case-hero__title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.0225em;
  margin-bottom: 16px;
  max-width: 640px;
}

.case-hero__context {
  font-size: 1rem;
  color: #555;
}

.case-section {
  padding: 52px 0;
  border-bottom: 1px solid #F0F0F0;
}

.case-section:last-of-type {
  border-bottom: none;
}

.case-section__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #AAAAAA;
  margin-bottom: 20px;
}

.case-section__title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 16px;
  letter-spacing: -0.0135em;
}

.case-section p {
  font-size: 0.9375rem;
  color: #444;
  max-width: 680px;
  line-height: 1.72;
}

/* === HISTORY PAGE === */
.history-intro {
  padding: 80px 0 56px;
}

.history-intro__meta {
  font-size: 0.8rem;
  color: #999;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.history-intro__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.0225em;
  margin-bottom: 24px;
}

.history-intro__lead {
  font-size: 1.05rem;
  color: #555;
  max-width: 540px;
  line-height: 1.7;
}

.history-block {
  padding: 52px 0;
  border-top: 1px solid #F0F0F0;
}

.history-block__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #AAAAAA;
  margin-bottom: 20px;
}

.history-block__title {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.0135em;
  margin-bottom: 16px;
}

.history-block p {
  font-size: 0.9375rem;
  color: #444;
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.history-block p:last-child { margin-bottom: 0; }

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.history-card {
  padding: 24px;
  background: #fff;
  border: 1.5px solid #F0F0F0;
  border-radius: 4px;
  transition: border-color 0.4s, transform 0.4s;
}

.history-card:hover {
  border-color: #000;
  transform: translateY(-2px);
}

.history-card__role {
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 4px;
}

.history-card__company {
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.history-card__period {
  font-size: 0.625rem;
  font-weight: 500;
  color: #CCCCCC;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.history-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.history-card__tag {
  font-size: 0.65rem;
  font-weight: 600;
  background: #F5F5F5;
  color: #666;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.history-card__badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  background: #000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

/* === EXPERIENCE — HORIZONTAL TIMELINE === */
.experience-body { height: 100svh; overflow: hidden; }

.experience-page {
  --experience-grid-edge: max(var(--layout-gutter), calc((100vw - var(--layout-max)) / 2 + var(--layout-gutter)));
  position: relative;
  height: 100svh;
  padding-top: clamp(56px, 4vw, 64px);
  overflow: hidden;
}

.experience-rail {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.experience-rail::-webkit-scrollbar { display: none; }
.experience-rail:focus-visible { outline: 1px solid #141413; outline-offset: -1px; }

.experience-intro {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  flex: 0 0 max(48vw, 680px);
  height: 100%;
  padding: clamp(24px, 3vw, 48px) var(--grid-gap) clamp(72px, 9vh, 96px) var(--experience-grid-edge);
  scroll-snap-align: start;
}

.experience-intro__eyebrow,
.experience-intro__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #8a8985;
  font-size: .7rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.experience-intro__content {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--grid-gap);
  width: 100%;
}

.experience-intro__index {
  grid-column: 1 / -1;
  margin: 0 0 clamp(14px, 2vh, 28px);
  color: #aaa9a4;
  font-size: .7rem;
  line-height: 1;
  letter-spacing: .06em;
}

.experience-intro__title {
  grid-column: 1 / -1;
  width: max-content;
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 2.35vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -.0495em;
  line-height: .98;
}

.experience-intro__title span {
  display: block;
  white-space: nowrap;
}

.experience-intro__eyebrow span:first-child {
  text-transform: none;
  letter-spacing: 0;
}

.experience-intro__lead {
  grid-column: 1 / span 5;
  max-width: 44ch;
  margin: clamp(28px, 5vh, 56px) 0 0;
  color: #5d5c59;
  font-size: clamp(.9rem, 1.05vw, 1.05rem);
  line-height: 1.55;
}

.experience-intro__linkedin {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 20px;
}

.experience-intro__footer p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.experience-intro__footer { text-transform: none; letter-spacing: 0; }
.experience-intro__footer span { color: #141413; font-size: 1.4rem; transform: translateY(-1px); }

.experience-timeline { display: flex; flex: 0 0 auto; height: 100%; list-style: none; }

.experience-item {
  --item-width: clamp(320px, 25vw, 440px);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  flex: 0 0 var(--item-width);
  width: var(--item-width);
  height: 100%;
  padding: clamp(24px, 3vw, 48px) clamp(20px, 2.2vw, 36px) clamp(72px, 9vh, 96px);
  overflow: hidden;
  background: #fff;
  scroll-snap-align: start;
  isolation: isolate;
}

.experience-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0 58%, rgba(255,255,255,.1) 100%);
  pointer-events: none;
}

.experience-item:focus-visible { outline: 1px solid #141413; outline-offset: -1px; }

.experience-item__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.experience-item__number {
  color: #e7e7e4;
  font-size: clamp(2.25rem, 3.5vw, 4rem);
  font-weight: 200;
  letter-spacing: -.07em;
  line-height: .72;
  transition: color 2100ms cubic-bezier(.16,1,.3,1);
}

.experience-item__period {
  max-width: 13ch;
  color: #777672;
  font-size: .68rem;
  line-height: 1.25;
  text-align: right;
}

.experience-item__content {
  position: relative;
  z-index: 2;
  align-self: center;
  transform: translateY(-2vh);
  transition: transform 2700ms cubic-bezier(.16,1,.3,1), color 1500ms ease;
}

.experience-item__company { margin: 0 0 12px; color: #676662; font-size: .72rem; line-height: 1.3; }

.experience-item__role {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.experience-item__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: 30ch;
  margin-top: 28px;
  list-style: none;
  color: #8d8c87;
  font-size: .66rem;
  line-height: 1.35;
}

.experience-item__skills li:not(:last-child)::after { content: '·'; margin-left: 14px; }

.experience-item:hover .experience-item__number,
.experience-item:focus-visible .experience-item__number { color: #d4d4d0; }

.experience-item--current::before {
  content: 'Atual';
  position: absolute;
  right: clamp(20px, 2.2vw, 36px);
  bottom: clamp(72px, 9vh, 96px);
  z-index: 3;
  color: #141413;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.experience-controls {
  position: absolute;
  right: var(--experience-grid-edge);
  bottom: clamp(20px, 3vh, 32px);
  left: var(--experience-grid-edge);
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto auto;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  pointer-events: none;
}

.experience-progress { height: 1px; overflow: hidden; background: #dededb; }
.experience-progress span { display: block; width: 100%; height: 100%; background: #141413; transform: scaleX(0); transform-origin: left center; transition: transform 120ms linear; }
.experience-counter { margin: 0; color: #85847f; font-size: .68rem; line-height: 1; }
.experience-counter span { color: #141413; }
.experience-buttons { display: flex; pointer-events: auto; }

.experience-buttons button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d8d8d4;
  border-radius: 0;
  background: rgba(255,255,255,.92);
  color: #141413;
  font: 400 1.05rem/1 'Stack Sans Text', Arial, sans-serif;
  cursor: pointer;
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}

.experience-buttons button + button { border-left: 0; }
.experience-buttons button:hover,
.experience-buttons button:focus-visible { border-color: #141413; background: #141413; color: #fff; outline: none; }

@media (max-width: 1023px) {
  .experience-intro__title { font-size: clamp(1.9rem, 4.2vw, 3rem); }
}

@media (max-width: 767px) {
  .experience-intro { flex-basis: 100vw; padding: 24px var(--layout-gutter) 82px; }
  .experience-intro__content { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .experience-intro__title { font-size: clamp(1.55rem, 6.4vw, 2.65rem); line-height: 1.01; }
  .experience-intro__lead { grid-column: 1 / -1; }
  .experience-item { --item-width: 86vw; padding: 24px 24px 82px; }
  .experience-item__number { font-size: clamp(2rem, 10.5vw, 3.25rem); }
  .experience-item__role { font-size: clamp(1.8rem, 8vw, 2.65rem); }
  .experience-item--current::before { right: 24px; bottom: 82px; }
  .experience-controls { right: var(--layout-gutter); bottom: 20px; left: var(--layout-gutter); grid-template-columns: 1fr auto; }
  .experience-progress { grid-column: 1 / -1; }
  .experience-buttons { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .experience-rail { scroll-behavior: auto; }
  .experience-item__content,
  .experience-item__number { transition-duration: 1ms; }
}

/* === WORK METHOD LIST === */
.method-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.method-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: #444;
  padding-bottom: 14px;
  border-bottom: 1px solid #F5F5F5;
}

.method-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.method-list__dot {
  width: 4px;
  height: 4px;
  background: #AAAAAA;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 9px;
}

/* === FOOTER === */
.home-sticky-footer {
  --footer-height: 680px;
  position: relative;
  height: var(--footer-height);
  overflow: clip;
  clip-path: inset(0);
  background: #FFFFFF;
}

.home-sticky-footer .footer {
  position: fixed;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  margin-top: 0;
}

.page {
  position: relative;
  z-index: 1;
}

.footer {
  border-top: 1px solid #F0F0F0;
  padding: 40px 0;
  margin-top: 40px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  padding: 80px 0 60px;
  align-items: start;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.footer__links-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links-stack a {
  font-size: 0.875rem;
  color: #999999;
  transition: color 0.3s;
}

.footer__links-stack a:hover {
  color: #000000;
}

.footer__name {
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 4px;
}

.footer__copy {
  font-size: 0.8125rem;
  color: #999999;
}

.footer__big-title {
  font-size: clamp(3rem, 15vw, 12rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  color: rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 80px 0 20px;
  line-height: 0.8;
  user-select: none;
  pointer-events: none;
}

.footer__divider {
  height: 1px;
  background: #F0F0F0;
  border: none;
  margin: 40px 0 24px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: 0.75rem;
  color: #999999;
}

.footer__socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer__social-link {
  font-size: 0.7rem;
  color: #999999;
  transition: color 0.4s;
}

.footer__social-link:hover {
  color: #000000;
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* === DIVIDER === */
.divider {
  height: 1px;
  background: #F0F0F0;
  border: none;
  margin: 0;
}

/* === SUCCESS MESSAGE === */
.form__success {
  display: none;
  padding: 16px;
  background: #F5F5F5;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #333;
  text-align: center;
}

/* === EMAIL LINK === */
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 40px;
  transition: color 0.3s;
}

.email-link:hover { color: #000; }

/* === TESTIMONIALS === */
.testimonials {
  position: relative;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 12px 0;
}

.marquee-track {
  display: flex;
  gap: 24px;
  animation: scrollMarquee 260s linear infinite;
  will-change: transform;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}

.testimonial-card {
  flex: 0 0 360px;
  width: 360px;
  background: #FFFFFF;
  border: none;
  border-radius: 4px;
  padding: 32px;
  transition: box-shadow 0.4s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #EAEAEA;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
}

.testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111111;
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: #666666;
}

.testimonial-card__text {
  font-size: 0.8125rem;
  color: #333333;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .testimonials__grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .testimonials__grid {
    column-count: 1;
  }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 700px) {
  .brand-coming-soon { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
  .brand-coming-soon span,
  .brand-coming-soon p { grid-column: 1 / -1; }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    padding: 0;
  }

  .hero { padding: 72px 0 56px; }

  .contact-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__mobile.is-open {
    display: flex;
  }

  .section { padding: 56px 0; }
}

@media (min-width: 701px) {
  .nav__mobile { display: none !important; }
}

/* === RESPONSIVE LAYOUT SYSTEM === */
:root {
  --layout-max: 1600px;
  --reading-max: 760px;
  --layout-gutter: clamp(20px, 4vw, 80px);
  --grid-gap: clamp(16px, 2vw, 32px);
  --section-space: clamp(64px, 8vw, 128px);
}

.container--wide,
.nav__inner {
  width: 100%;
  max-width: var(--layout-max);
  padding-inline: var(--layout-gutter);
}

.container {
  width: 100%;
  max-width: calc(var(--reading-max) + (var(--layout-gutter) * 2));
  padding-inline: var(--layout-gutter);
}

.section { padding-block: var(--section-space); }
.nav__inner { height: clamp(56px, 4vw, 64px); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__links a,
.btn,
.nav__burger { min-height: 44px; }

.hero {
  min-height: clamp(560px, calc(100svh - 64px), 920px);
  padding-block: clamp(80px, 9vw, 152px);
}

.hero__inner {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.hero__headline {
  grid-column: 1 / span 6;
  max-width: none;
  font-size: clamp(3.5rem, 5.2vw, 7.25rem);
}

.hero__media {
  grid-column: 8 / -1;
  min-height: 0;
}

.home-about { padding-block: clamp(88px, 10vw, 176px); }

.home-about__inner {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: start;
  min-height: 280svh;
}

.home-about__sticky {
  position: sticky;
  top: clamp(96px, 13vh, 152px);
  grid-column: 1 / span 6;
  min-width: 0;
}

.home-about__text {
  max-width: 18.4em;
  color: #141413;
  font-size: clamp(2rem, 2.35vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.0495em;
  line-height: .98;
}

.home-about__words {
  position: sticky;
  top: clamp(96px, 13vh, 152px);
  grid-column: 8 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-about__word {
  margin: 0;
  color: #8F8F8F;
  font-size: clamp(3.5rem, 6.25vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -0.0616em;
  line-height: 1.1417;
  white-space: nowrap;
  opacity: var(--word-opacity, 0);
  transform: translate3d(0, var(--word-offset, .32em), 0);
  will-change: opacity, transform;
}

.home-about__word.is-visible {
  opacity: var(--word-opacity, 1);
  transform: translate3d(0, var(--word-offset, 0), 0);
}

.section-heading-shell { width: 100%; }

.section-header--centered {
  margin-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}

.section-header__title--display {
  max-width: 22ch;
  margin-inline: auto;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
}

.philosophy-grid,
.cases-grid {
  gap: clamp(32px, 4vw, 64px) var(--grid-gap);
}

.contact-strip { padding-block: clamp(64px, 7vw, 112px); }
.contact-strip__card { padding: clamp(36px, 5vw, 72px); }

.contact-strip__text {
  max-width: 18ch;
}

.footer__inner {
  grid-template-columns: 5fr repeat(3, minmax(140px, 2fr));
  gap: var(--grid-gap);
  padding-block: clamp(64px, 7vw, 112px);
}

.testimonial-card {
  flex-basis: clamp(320px, 24vw, 400px);
  width: clamp(320px, 24vw, 400px);
}

@media (min-width: 1440px) {
  .cases-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-card__thumb { margin-bottom: 20px; }
}

@media (min-width: 1600px) {
  .hero__media { grid-column: 8 / span 5; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .philosophy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .philosophy-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - (var(--grid-gap) / 2));
  }

  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: repeat(8, minmax(0, 1fr)); }

  .hero__headline {
    grid-column: 1 / span 7;
    max-width: none;
  }

  .hero__media {
    grid-column: 4 / -1;
    width: min(100%, 280px);
    max-width: 280px;
    margin-left: 0;
  }

  .home-about__inner { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .home-about__sticky { grid-column: 1 / span 4; }
  .home-about__words { grid-column: 5 / -1; }
  .home-about__inner { min-height: 250svh; }
}

@media (max-width: 767px) {
  :root {
    --layout-gutter: clamp(20px, 6vw, 32px);
    --section-space: clamp(56px, 15vw, 88px);
  }

  .nav__links,
  .btn--nav-pill { display: none; }

  .nav__burger {
    display: flex;
    min-width: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav__mobile.is-open { display: flex !important; }
  .nav__mobile a { min-height: 44px; }

  .hero {
    min-height: auto;
    padding-block: clamp(64px, 18vw, 96px) clamp(56px, 14vw, 80px);
  }

  .hero__inner,
  .home-about__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px var(--grid-gap);
  }

  .hero__headline,
  .home-about__sticky,
  .home-about__words { grid-column: 1 / -1; }

  .hero__headline { font-size: clamp(2.5rem, 11.5vw, 4.5rem); }
  .hero__media {
    grid-column: 2 / -1;
    width: 100%;
    max-width: 252px;
    min-height: 0;
    margin-left: auto;
  }

  .home-about__inner {
    gap: 28px var(--grid-gap);
    min-height: 250svh;
  }

  .home-about__sticky {
    position: relative;
    top: auto;
  }

  .home-about__text {
    max-width: 20ch;
  }

  .home-about__words {
    position: sticky;
    top: clamp(88px, 12vh, 120px);
    margin-top: 32px;
  }

  .home-about__word {
    min-height: auto;
    margin-bottom: 0;
    padding-block: clamp(8px, 2vw, 16px);
    color: #8F8F8F;
    opacity: var(--word-opacity, 0);
    transform: translate3d(0, var(--word-offset, .32em), 0);
  }

  .philosophy-grid,
  .cases-grid,
  .footer__inner { grid-template-columns: 1fr; }

  .philosophy-card:last-child { max-width: none; }

  .contact-strip__actions,
  .contact-strip__actions .btn { width: 100%; }

  .marquee-container {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .testimonial-card {
    flex-basis: min(84vw, 360px);
    width: min(84vw, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .mesh-orb { animation: none !important; }

  .home-about__word {
    color: #8F8F8F;
    transition: none;
  }
}

/* === HOME HERO — TWO-FRAME EDITORIAL INTRO === */
.hero {
  --hero-progress: 0;
  --hero-image-rise: 36px;
  min-height: calc(100svh - clamp(56px, 4vw, 64px));
  padding-block: 0;
  align-items: flex-start;
}

.hero__inner {
  position: relative;
  top: 0;
  height: calc(100svh - clamp(56px, 4vw, 64px));
  min-height: 0;
  align-content: center;
  overflow: hidden;
}

.hero__headline {
  grid-column: 1 / span 9;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 0 clamp(80px, 9vw, 140px);
  font-size: clamp(2rem, 2.35vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -.0495em;
  line-height: .98;
}

.hero__headline span {
  display: inline;
  white-space: normal;
}

.hero__statement-primary { color: #141413; }
.hero__statement-secondary { color: #a1a1a1; }

.hero__media {
  position: absolute;
  grid-column: 11 / -1;
  grid-row: 1;
  right: auto;
  bottom: clamp(28px, 4vw, 64px);
  width: 100%;
  max-width: 206px;
  margin: 0;
  opacity: var(--hero-progress);
  transform: translate3d(0, var(--hero-image-rise), 0);
  justify-self: end;
  will-change: opacity, transform;
}

.motion-ready .hero__statement-primary {
  display: inline;
}

.hero__headline .hero__word {
  display: inline-block;
  color: #141413;
  opacity: 0;
  transform: translate3d(0, .18em, 0);
  animation: hero-word-reveal 620ms var(--motion-ease) both;
}

.hero__word:nth-child(1)  { animation-delay: 100ms; }
.hero__word:nth-child(2)  { animation-delay: 170ms; }
.hero__word:nth-child(3)  { animation-delay: 240ms; }
.hero__word:nth-child(4)  { animation-delay: 310ms; }
.hero__word:nth-child(5)  { animation-delay: 380ms; }
.hero__word:nth-child(6)  { animation-delay: 450ms; }
.hero__word:nth-child(7)  { animation-delay: 520ms; }
.hero__word:nth-child(8)  { animation-delay: 590ms; }
.hero__word:nth-child(9)  { animation-delay: 660ms; }
.hero__word:nth-child(10) { animation-delay: 730ms; }
.hero__word:nth-child(11) { animation-delay: 800ms; }
.hero__word:nth-child(12) { animation-delay: 870ms; }
.hero__word:nth-child(13) { animation-delay: 940ms; }

@keyframes hero-word-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, .18em, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-word-reveal-reduced {
  from { opacity: 0; }
  to { opacity: 1; }
}

.motion-ready .hero__statement-secondary {
  opacity: var(--hero-progress);
  will-change: opacity;
}

.hero.is-complete .hero__media,
.hero.is-complete .hero__statement-secondary { will-change: auto; }

@media (max-width: 1023px) {
  .hero { min-height: calc(100svh - clamp(56px, 4vw, 64px)); }
  .hero__headline {
    grid-column: 1 / -1;
    max-width: 720px;
    padding-bottom: clamp(96px, 14vw, 144px);
    font-size: clamp(1.9rem, 4.2vw, 3rem);
  }
  .page .section-header__title {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
  }
  .scroll-story__phrase {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
  }
  .hero__media {
    grid-column: 7 / -1;
    width: 100%;
    max-width: 206px;
  }
}

@media (max-width: 767px) {
  .hero { min-height: calc(100svh - 56px); }
  .hero__inner {
    height: calc(100svh - 56px);
    min-height: 0;
    gap: 0;
    align-content: center;
  }
  .hero__headline {
    grid-column: 1 / -1;
    max-width: none;
    padding-bottom: clamp(144px, 43vw, 190px);
    font-size: clamp(1.55rem, 6.4vw, 2.65rem);
    line-height: 1.01;
  }
  .page .section-header__title {
    font-size: clamp(1.55rem, 6.4vw, 2.65rem);
    line-height: 1.01;
  }
  .scroll-story__phrase {
    font-size: clamp(1.55rem, 6.4vw, 2.65rem);
    line-height: 1.01;
  }
  .hero__media {
    grid-column: 3 / -1;
    right: auto;
    bottom: clamp(20px, 6vw, 36px);
    width: 100%;
    max-width: 206px;
  }
}

@media (max-height: 700px) and (min-width: 768px) {
  .hero__headline {
    max-width: 780px;
    padding-bottom: clamp(64px, 11vh, 84px);
    font-size: clamp(1.8rem, 4.7vh, 2.6rem);
  }

  .hero__media {
    bottom: clamp(16px, 3vh, 28px);
  }
}

@media (max-height: 560px) and (max-width: 767px) {
  .hero__inner { align-content: start; padding-top: 24px; }

  .hero__headline {
    padding-bottom: clamp(118px, 38vw, 156px);
    font-size: clamp(1.35rem, 5.6vw, 2rem);
  }

  .hero__media {
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    min-height: calc(100svh - 56px);
  }
  .hero__inner { position: relative; top: auto; }
  .motion-ready .hero__statement-primary {
    opacity: 1;
  }
  .hero__headline .hero__word {
    transform: none;
    animation-name: hero-word-reveal-reduced;
    animation-duration: 240ms;
  }
}

/* === HOME MOTION SYSTEM === */
:root {
  --motion-fast: 560ms;
  --motion-base: 1520ms;
  --motion-wide: 2200ms;
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
}

.motion-ready .motion-reveal,
.motion-ready .motion-child {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-wide) var(--motion-ease);
}

.motion-ready .motion-reveal--hero-title {
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 24px, 0);
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-wide) var(--motion-ease),
    clip-path var(--motion-wide) var(--motion-ease);
  transition-delay: 240ms;
}

.motion-ready .motion-reveal--hero-media {
  transform: translate3d(0, 18px, 0) scale(1.025);
  clip-path: inset(8% 0 0 0);
  transition:
    opacity 1800ms var(--motion-ease),
    transform 2600ms var(--motion-ease),
    clip-path 2600ms var(--motion-ease);
  transition-delay: 560ms;
}

.motion-ready .motion-reveal--short { transform: translate3d(0, 12px, 0); }
.motion-ready .motion-reveal--text { transition-duration: 1900ms; transition-delay: 320ms; }
.motion-ready .motion-reveal--late { transition-delay: 360ms; }
.motion-ready .motion-reveal--card { transform: translate3d(0, 20px, 0) scale(.99); }
.motion-ready .contact-strip__actions .motion-reveal { transition-delay: var(--contact-delay, 200ms); }

.motion-ready .motion-reveal.is-visible,
.motion-ready .motion-group.is-visible > .motion-child,
.motion-ready .tab-content.show .motion-child {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  clip-path: inset(0 0 0 0);
}

.motion-ready .motion-group.is-visible > .motion-child,
.motion-ready .tab-content.show .motion-child {
  transition-delay: calc(var(--motion-order, 0) * 260ms);
}

@media (hover: hover) {
  .contact-strip__actions .btn {
    transition: transform var(--motion-fast) ease, background-color var(--motion-fast) ease,
      color var(--motion-fast) ease, border-color var(--motion-fast) ease;
  }

  .contact-strip__actions .btn:hover { transform: translateY(-2px); }
}
