/* Home page: headline figures, the four doors, news and the call to action */
:root { --paper: #F5F5F7; --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
.hm-in { max-width: 1320px; margin: 0 auto; }
.hm-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: #78C070; color: #0E100F; font-size: 17px; font-weight: 500; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform 120ms var(--ease-out), background-color 160ms ease; }
.hm-pill:active { transform: scale(0.97); }
.hm-pill.ghost { background: rgba(255, 255, 255, 0.12); color: #F2F1EE; }
.hm-link { display: inline-flex; align-items: center; min-height: 44px; color: #2E7D3A; font-size: 17px; text-decoration: none; }
.hm-link::after { content: "\203A"; margin-left: 0.35em; transition: transform 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hm-pill:hover { background: #8FD08A; color: #0E100F; } .hm-pill.ghost:hover { background: rgba(255, 255, 255, 0.2); color: #F2F1EE; } .hm-link:hover { text-decoration: underline; text-underline-offset: 0.2em; } .hm-link:hover::after { transform: translateX(3px); } }
.hm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* headline figures, on white */
.figs { background: var(--paper); color: #1d1d1f; padding: calc(110px * var(--vy, 1)) var(--pad-x, 56px) calc(120px * var(--vy, 1)); box-sizing: border-box; }
.figs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 60px; margin-bottom: calc(72px * var(--vy, 1)); }
.figs-head h2 { margin: 0; max-width: 16ch; font-size: clamp(38px, 5vw, 72px); font-weight: 300; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.figs-head p { margin: 0; font-size: 20px; line-height: 1.4; color: #55555a; }
.figs-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.fig-v { display: flex; align-items: baseline; flex-wrap: wrap; font-size: clamp(54px, 7.4vw, 124px); font-weight: 200; line-height: 0.95; letter-spacing: -0.045em; color: #121413; font-variant-numeric: tabular-nums; }
.fig-v small { margin-left: 0.14em; font-size: 0.3em; font-weight: 300; letter-spacing: -0.01em; color: #2E7D3A; }
.fig-l { display: block; margin-top: 16px; max-width: 26ch; font-size: 17px; line-height: 1.45; color: #3a3a3d; }
.figs-foot { margin-top: calc(56px * var(--vy, 1)); }
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
.cnt::after { content: attr(data-v); }

/* the four doors */
.doors { background: #121413; color: #F2F1EE; padding: calc(120px * var(--vy, 1)) var(--pad-x, 56px); box-sizing: border-box; }
.doors-head { display: flex; flex-wrap: wrap; gap: 14px 80px; align-items: baseline; margin-bottom: calc(56px * var(--vy, 1)); }
.doors-head h2 { flex: 0 0 200px; margin: 0; font-size: 14px; font-weight: 300; color: #A9ACA6; }
.doors-head p { margin: 0; max-width: 40ch; font-size: clamp(22px, 2.1vw, 30px); font-weight: 300; line-height: 1.35; }
.doors-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.door { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); min-height: clamp(440px, 38vw, 580px); border-radius: 20px; overflow: hidden; color: #F2F1EE; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--ease-out); }
.door > * { grid-area: 1 / 1; }
.door img { z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 500ms var(--ease-out); }
.door::after { content: ""; grid-area: 1 / 1; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(14, 16, 15, 0.9) 0%, rgba(14, 16, 15, 0.4) 46%, rgba(14, 16, 15, 0) 72%); }
.door:active { transform: scale(0.985); }
.door-b { z-index: 2; align-self: end; display: flex; flex-direction: column; gap: 8px; padding: 26px; }
.door-k { font-size: 14px; color: #B7E0B0; }
.door-t { font-size: clamp(28px, 2.3vw, 34px); font-weight: 300; line-height: 1.08; letter-spacing: -0.02em; }
.door-d { max-width: 30ch; font-size: 16px; line-height: 1.45; color: #E3E5E0; }
.door-go { display: inline-flex; align-items: center; min-height: 36px; font-size: 16px; color: #B7E0B0; }
.door-go::after { content: "\203A"; margin-left: 0.35em; transition: transform 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .door:hover img { transform: scale(1.04); } .door:hover .door-go::after { transform: translateX(3px); } }

/* news, on white */
.hnews { background: var(--paper); color: #1d1d1f; padding: calc(100px * var(--vy, 1)) var(--pad-x, 56px) calc(110px * var(--vy, 1)); box-sizing: border-box; }
.hnews-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: calc(40px * var(--vy, 1)); }
.hnews-head h2 { margin: 0; font-size: clamp(30px, 3.2vw, 46px); font-weight: 300; letter-spacing: -0.025em; }
.hnews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hn { display: flex; flex-direction: column; gap: 14px; color: #1d1d1f; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--ease-out); }
.hn:active { transform: scale(0.985); }
.hn-pic { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: #e5e5ea; }
.hn-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.hn-d { font-size: 14px; color: #55555a; }
.hn-t { font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; line-height: 1.3; text-wrap: balance; }
@media (hover: hover) and (pointer: fine) { .hn:hover .hn-pic img { transform: scale(1.04); } .hn:hover .hn-t { text-decoration: underline; text-underline-offset: 0.18em; } }

/* contact */
.hcta { background: #121413; color: #F2F1EE; padding: calc(120px * var(--vy, 1)) var(--pad-x, 56px); box-sizing: border-box; }
.hcta-in { display: flex; flex-wrap: wrap; gap: 14px 80px; align-items: baseline; }
.hcta h2 { flex: 0 0 200px; margin: 0; font-size: 14px; font-weight: 300; color: #A9ACA6; }
.hcta-body { display: flex; flex-direction: column; gap: 32px; }
.hcta p { margin: 0; max-width: 24ch; font-size: clamp(28px, 3.4vw, 52px); font-weight: 300; line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
.hcta-btns { display: flex; flex-wrap: wrap; gap: 12px 14px; }

/* arrival: pictures and blocks lift in as they scroll into view, only where supported and never for reduced motion */
@keyframes hm-lift { from { opacity: 0.55; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes hm-cnt { from { --n: 0; } to { --n: var(--to); } }
@media (max-width: 1000px) { .figs-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .doors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hnews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hnews-grid .hn:nth-child(3) { display: none; } }
@media (max-width: 640px) {
  .doors-head h2, .hcta h2 { flex-basis: 100%; }
  .doors-grid { grid-template-columns: minmax(0, 1fr); }
  .door { min-height: 380px; }
  .hnews-grid { grid-template-columns: minmax(0, 1fr); }
  .hnews-grid .hn:nth-child(3) { display: flex; }
  .hcta-btns .hm-pill { flex: 1 1 100%; }
}

.door-t { font-size: clamp(30px, 2.6vw, 38px); }
.door-d b { font-weight: 500; color: #F2F1EE; }
.hero-benefits { font-size: 13px !important; }
#hero-counter { display: none; }
@media (max-width: 640px) { .doors-head p { font-size: 19px; } }
.door img, .hn-pic img { transition-duration: 400ms; }
.fig-v { contain: layout; }
@media (max-width: 1000px) { .hnews-grid .hn:nth-child(3) { display: none; } }
@media (max-width: 640px) { .hnews-grid .hn:nth-child(3) { display: none; } .door { min-height: 340px; } }

/* ===== a bolder, more cinematic landing page: heavy uppercase type, word-by-word statements, a scroll scene ===== */
/* hero */
.hm-h1 { margin: 0; font-size: clamp(52px, 7.2vw, 120px); font-weight: 500; line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
.hm-h1 span { color: #B7E0B0; }
.hm-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .hm-pill { min-height: 52px; }
@media (max-width: 760px) { .hero-content h1.hm-h1 { font-size: 34px !important; } .hm-ctas { gap: 10px; } .hm-ctas .hm-pill { flex: 1 1 auto; padding: 0 20px; } }

/* statement and headline figures, on white */
.figs-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.figs-l { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.figs-statement { margin: 0; font-size: clamp(32px, 4vw, 58px); font-weight: 500; line-height: 0.96; letter-spacing: -0.035em; text-transform: uppercase; color: #121413; max-width: none; }
.figs-sub { margin: 0; font-size: 20px; color: #55555a; }
.figs-row { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3.4vw, 48px); }
.fig-v { font-size: clamp(64px, 8.4vw, 136px); font-weight: 500; letter-spacing: -0.05em; }
.fig-v small { font-weight: 500; letter-spacing: -0.02em; }
.fig-l { margin-top: 10px; font-size: 17px; max-width: 34ch; }
@media (max-width: 900px) { .figs-grid { grid-template-columns: minmax(0, 1fr); } .figs-l { position: static; } .figs-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fig-v { font-size: clamp(44px, 12vw, 80px); } }

/* the scene: the steel frame becomes the finished house as you scroll */
.fscene { background: #0E100F; color: #F2F1EE; position: relative; }
.scene-stage { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vh, 36px); padding: calc(96px * var(--vy, 1)) var(--pad-x, 56px); box-sizing: border-box; }
.scene-ghost { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 0; font-size: clamp(120px, 28vw, 480px); font-weight: 500; line-height: 0.8; letter-spacing: -0.05em; color: #1D2120; white-space: nowrap; pointer-events: none; user-select: none; }
.scene-pic { position: relative; z-index: 1; margin: 0 auto; width: min(100%, 1180px); aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #181B1A; }
.scene-pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.scene-a, .scene-b { object-position: 50% 50%; }
.scene-tag { position: absolute; left: 20px; bottom: 18px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: rgba(14, 16, 15, 0.78); font-size: 15px; }
.scene-tag.a { display: none; }
.scene-copy { position: relative; z-index: 1; width: min(100%, 1180px); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 60px; }
.scene-copy h2 { margin: 0; flex: 1 1 520px; max-width: none; font-size: clamp(28px, 4vw, 60px); font-weight: 500; line-height: 0.96; letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
.scene-side { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; max-width: 34ch; }
.scene-side p { margin: 0; font-size: 18px; line-height: 1.5; color: #D6D9D3; }
.fscene .hm-link { color: #B7E0B0; }
@media (max-width: 760px) { .scene-pic { aspect-ratio: 4 / 3; border-radius: 16px; } .scene-ghost { top: 30%; } }
/* the pinned, scroll-linked scene: the picture holds on screen while the page scrolls through the track; the script moves the wipe */
@media (prefers-reduced-motion: no-preference) and (min-height: 560px) {
  .scene-track { position: relative; height: 210vh; height: 210svh; }
  .scene-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 72px; padding-bottom: 28px; }
  .scene-pic { width: min(100%, 1180px, 112svh); }
  .scene-tag.a { display: block; }
}

/* closing line */
.hcta p { font-size: clamp(32px, 4.6vw, 72px); font-weight: 500; line-height: 0.98; letter-spacing: -0.03em; text-transform: uppercase; max-width: 18ch; }
@media (max-width: 640px) { .hcta p { font-size: 32px; } }
.doors-head p { text-wrap: pretty; }

@media (max-width: 900px) { .hcta p { max-width: none; } }
@media (max-width: 640px) { .hcta p { font-size: 26px; } .scene-copy h2 { font-size: 28px; flex-basis: 100%; } }

.hcta p { font-size: clamp(26px, 3.3vw, 48px); max-width: none; }
@media (max-width: 640px) { .hcta p { font-size: 24px; } }

/* ===== the first screen: everything visible on load, the duoKore frame building itself beside the headline ===== */
.hero--build { height: 100vh; height: 100svh; min-height: 640px; max-height: 1080px; }
.hero--build .hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 96px var(--pad-x, 56px) 28px; box-sizing: border-box; }
.hero--build .hero-content > div:first-child { flex: 1 1 auto; display: flex; flex-wrap: nowrap; align-items: center; gap: clamp(24px, 4vw, 64px); min-height: 0; }
.hero--build .hero-content > div:first-child > div:first-child { flex: 1 1 46%; min-width: 0; }
.hero--build .hm-h1 { font-size: clamp(44px, 5.4vw, 92px); }
.hero--build .hero-benefits { flex: 0 0 auto; margin-top: 18px; }
.hero-build { flex: 1 1 54%; min-width: 0; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.hb-stage { position: relative; height: 100%; max-height: min(66vh, 760px); aspect-ratio: 1062 / 1350; max-width: 100%; }
.hb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }
.hb-full { clip-path: inset(100% 0 0 0); }
.hb-cap { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); display: grid; }
.hb-c { grid-area: 1 / 1; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #F2F1EE; font-size: 14px; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.hb-c.b { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes hb-build { 0%, 18% { clip-path: inset(100% 0 0 0); } 48%, 82% { clip-path: inset(0 0 0 0); } 92%, 100% { clip-path: inset(100% 0 0 0); } }
  @keyframes hb-cap-a { 0%, 30% { opacity: 1; } 42%, 82% { opacity: 0; } 95%, 100% { opacity: 1; } }
  @keyframes hb-cap-b { 0%, 30% { opacity: 0; } 42%, 82% { opacity: 1; } 95%, 100% { opacity: 0; } }
  @keyframes hb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes hb-in { from { opacity: 0; transform: translateY(28px) scale(0.96); } to { opacity: 1; transform: none; } }
  .hb-full { animation: hb-build 12s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
  .hb-c.a { animation: hb-cap-a 12s linear infinite; }
  .hb-c.b { animation: hb-cap-b 12s linear infinite; }
  .hb-stage { animation: hb-in 900ms cubic-bezier(0.23, 1, 0.32, 1) 150ms both, hb-float 7s ease-in-out 1.2s infinite; }
}
@media (prefers-reduced-motion: reduce) { .hb-full { clip-path: none; } .hb-c.a { opacity: 0; } .hb-c.b { opacity: 1; } }
@media (max-width: 900px) {
  .hero--build { min-height: 600px; }
  .hero--build .hero-content { padding: 80px 20px 20px; }
  .hero--build .hero-content > div:first-child { flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; }
  .hero--build .hm-h1 { font-size: 34px !important; }
  .hero--build .hero-content p { font-size: 16px; }
  .hero-build { align-self: center; width: 100%; }
  .hb-stage { height: auto; width: min(72vw, 300px); max-height: 36svh; }
  .hb-cap { bottom: -2px; }
  .hero--build .hero-benefits { display: none; }
}
@media (max-width: 760px) {
  .hero--build { height: 100vh !important; height: 100svh !important; min-height: 600px !important; max-height: 900px; display: flex !important; flex-direction: column !important; }
  .hero--build .hero-content { display: flex !important; flex-direction: column; flex: 1 1 auto; min-height: 0; padding: 12px 20px 18px !important; }
  .hero--build .hero-content > div:first-child { flex: 1 1 auto; min-height: 0; padding: 0 !important; order: 0; }
  .hero--build .hero-content > div:first-child > div:first-child { flex: 0 0 auto; }
  .hero--build .hero-benefits { display: none !important; }
  .hero--build .hb-stage { height: auto; width: min(70vw, 320px); flex: 0 1 auto; max-height: 40svh; margin: 0 auto; }
}
@media (max-width: 760px) {
  .hero--build .hero-content { position: static !important; inset: auto !important; }
  .hero--build > header { flex: 0 0 auto; }
  .hero--build .hero-build { align-self: center !important; flex: 0 1 auto !important; }
}
@media (max-width: 900px) { .hero--build .hero-content > div:first-child { flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; } }
@media (max-width: 760px) {
  .hero--build .hm-ctas { flex-direction: row; gap: 10px; }
  .hero--build .hm-ctas .hm-pill { flex: 1 1 0; min-height: 46px; padding: 0 12px; font-size: 15px; }
  .hero--build .hero-content p { font-size: 15px; line-height: 1.45; }
  .hero--build .hm-h1 { font-size: 32px !important; }
  .hero--build .hero-content > div:first-child { gap: 10px !important; }
  .hero--build .hb-stage { max-height: 30svh; width: min(60vw, 260px); margin-top: 6px; }
}

/* ===== photo hero, one screen tall: content fills the height, benefits sit at the bottom ===== */
.hero--photo .hero-content { height: 100%; display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; }
.hero--photo .hero-content > div:first-child { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; }
@media (max-width: 760px) {
  .hero--photo { height: auto !important; min-height: 100svh !important; max-height: none !important; }
  .hero--photo .hero-benefits { font-size: 11px !important; } /* shown on phones, as a slim swipeable row at the foot of the hero */
}

/* ===== "Working with": partners strip directly under the hero ===== */
.partners { background: #121413; color: #F2F1EE; padding: 26px var(--pad-x, 56px); box-sizing: border-box; border-bottom: 1px solid #2E322F; }
.pt-in { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 16px 40px; }
.pt-k { flex: 0 0 auto; font-size: 14px; color: #A9ACA6; }
.pt-view { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.pt-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 64px; width: max-content; }
.pt-row li { font-size: clamp(17px, 1.5vw, 21px); font-weight: 400; letter-spacing: -0.005em; color: #D6D9D4; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes pt-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 32px)); } }
  .pt-row { animation: pt-scroll 101s linear infinite; }
  .pt-view:hover .pt-row { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .pt-row { flex-wrap: wrap; width: auto; gap: 10px 32px; } .pt-row li[aria-hidden="true"] { display: none; } .pt-view { -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 760px) { .pt-in { flex-direction: column; align-items: flex-start; gap: 10px; } .pt-view { width: 100%; } }

/* numbers box: the duoKore wordmark (transparent version) and the story */
.figs-logo { display: block; width: clamp(130px, 12vw, 170px); height: auto; margin: 0 0 8px; }
.figs-p { margin: 0; max-width: 44ch; font-size: 17px; line-height: 1.55; color: #3a3a3d; }

/* ===== mission and values ===== */
.values { background: #181B1A; color: #F2F1EE; padding: calc(120px * var(--vy, 1)) var(--pad-x, 56px); box-sizing: border-box; }
.values-head { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin-bottom: calc(64px * var(--vy, 1)); }
.values-k { font-size: 14px; color: #A9ACA6; }
.values-head h2 { margin: 0; font-size: clamp(34px, 4.4vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.values-head p { margin: 0; max-width: 44ch; font-size: clamp(19px, 1.6vw, 23px); font-weight: 300; line-height: 1.45; color: #D6D9D4; }
.values-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 28px; }
.values-grid li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid #78C070; }
.v-t { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.v-d { font-size: 16px; line-height: 1.5; color: #C9CDC7; }
/* the line beside the logos */
.strip-line { margin: 0; font-size: clamp(18px, 1.8vw, 26px); font-weight: 500; letter-spacing: -0.01em; text-transform: uppercase; color: #F2F1EE; }

/* values spell BUILD: the first letter of each value in the brand's light green */

/* ===== mission and values: an entrance that spells BUILD ===== */
.v-l { color: #B7E0B0; font-weight: 600; }
.v-big { display: block; font-size: 64px; line-height: 1; font-weight: 500; color: #B7E0B0; letter-spacing: -0.01em; margin-bottom: 6px; }
@media (max-width: 760px) { .v-big { font-size: 46px; } }
.values { position: relative; overflow: hidden; isolation: isolate; }
.values::before { content: ""; position: absolute; left: 50%; top: -30%; width: 70vw; height: 90%; background: radial-gradient(closest-side, rgba(120, 192, 112, 0.16), rgba(120, 192, 112, 0) 72%); pointer-events: none; z-index: -1; }
.values-grid li { position: relative; border-top-color: transparent; }
.values-grid li::before { content: ""; position: absolute; left: 0; top: -2px; width: 100%; height: 2px; background: #78C070; transform-origin: 0 50%; }
@media (hover: hover) { .values-grid li { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); } .values-grid li:hover { transform: translateY(-4px); } .values-grid li:hover .v-big { text-shadow: 0 0 26px rgba(183, 224, 176, 0.7); } .v-big { transition: text-shadow 0.4s; } }
/* before the entrance: everything held invisible (opacity and transforms only, so nothing moves the layout) */
.js .values:not(.build-in) .values-k, .js .values:not(.build-in) .values-head p, .js .values:not(.build-in) .v-t, .js .values:not(.build-in) .v-d, .js .values:not(.build-in) .v-big { opacity: 0; }
.js .values:not(.build-in) .values-head h2 { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate3d(0, 28px, 0); }
.js .values:not(.build-in) .values-grid li::before { transform: scaleX(0); }
/* the entrance */
@keyframes bl-rise { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate3d(0, 28px, 0); } to { opacity: 1; clip-path: inset(0 0 -20% 0); transform: none; } }
@keyframes bl-fade { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
@keyframes bl-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bl-letter { 0% { opacity: 0; transform: translate3d(0, -22px, 0) scale(0.92); } 60% { opacity: 1; transform: translate3d(0, 4px, 0) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes bl-glow { 0%, 100% { text-shadow: 0 0 0 rgba(183, 224, 176, 0); } 45% { text-shadow: 0 0 30px rgba(183, 224, 176, 0.85); } }
.js .values.build-in .values-k { animation: bl-fade 0.6s ease-out both; }
.js .values.build-in .values-head h2 { animation: bl-rise 0.9s cubic-bezier(0.2, 0.65, 0.2, 1) 0.1s both; }
.js .values.build-in .values-head p { animation: bl-fade 0.7s ease-out 0.45s both; }
.js .values.build-in .values-grid li::before { animation: bl-rule 0.7s cubic-bezier(0.2, 0.65, 0.2, 1) calc(0.55s + var(--i) * 0.11s) both; }
.js .values.build-in .v-big { animation: bl-letter 0.75s cubic-bezier(0.2, 0.65, 0.2, 1) calc(0.65s + var(--i) * 0.11s) both, bl-glow 0.9s ease-in-out calc(1.35s + var(--i) * 0.14s) 1; }
.js .values.build-in .v-t, .js .values.build-in .v-d { animation: bl-fade 0.6s ease-out calc(0.85s + var(--i) * 0.11s) both; }
.values-grid li:nth-child(1) { --i: 0; } .values-grid li:nth-child(2) { --i: 1; } .values-grid li:nth-child(3) { --i: 2; } .values-grid li:nth-child(4) { --i: 3; } .values-grid li:nth-child(5) { --i: 4; }
@media (prefers-reduced-motion: reduce) { .values *, .values *::before { animation: none !important; opacity: 1 !important; clip-path: none !important; transform: none !important; } }

/* ===== mission and values: the mission on the left, the five values down the right with B U I L D in one column ===== */
.values .hm-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 72px; align-items: start; }
.values .values-head { margin-bottom: 0; position: sticky; top: 112px; }
.values .values-grid { display: flex; flex-direction: column; gap: 0; }
.values .values-grid li { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 24px; row-gap: 6px; align-items: start; padding: 26px 0 28px; }
.values .values-grid li:last-child { padding-bottom: 8px; }
.values .v-big { grid-row: 1 / 3; grid-column: 1; margin: 0; font-size: 72px; line-height: 0.9; }
.values .v-t { grid-column: 2; font-size: 22px; margin-top: 4px; }
.values .v-d { grid-column: 2; max-width: 56ch; }
@media (max-width: 1000px) { .values .hm-in { grid-template-columns: 1fr; gap: 40px; } .values .values-head { position: static; } }
@media (max-width: 760px) { .values .values-grid li { grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding: 20px 0 22px; } .values .v-big { font-size: 48px; } .values .v-t { font-size: 19px; margin-top: 2px; } }

/* ===== phones: What we do as a swipe row, a tighter BUILD column ===== */
.doors-pager { display: none; }
@media (max-width: 760px) {
  .doors-grid { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--pad-x, 20px) * -1); padding: 0 var(--pad-x, 20px);
    scroll-padding-left: var(--pad-x, 20px); }
  .doors-grid::-webkit-scrollbar { display: none; }
  .doors-grid .door { flex: 0 0 85%; min-height: 360px; scroll-snap-align: start; }
  /* the lift-into-place effect is for vertical lists; in a sideways row the cards simply sit there, fully visible */
  html.sfx .doors-grid .door { opacity: 1 !important; translate: none !important; will-change: auto !important; }
  .doors-pager { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; letter-spacing: 0.08em; color: #A9ACA6; }
  .dp-dots { display: flex; gap: 6px; }
  .dp-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.28); transition: width 0.25s ease, background-color 0.25s ease; }
  .dp-dots i.on { width: 18px; background: #B7E0B0; }
  /* values: keep the BUILD column (it spells the word), just tighter */
  .values .values-grid li { grid-template-columns: 52px minmax(0, 1fr) !important; column-gap: 14px !important; padding: 15px 0 16px !important; row-gap: 4px; }
  .values .v-big { font-size: 40px !important; }
  .values .v-t { font-size: 18px !important; }
  .values .v-d { font-size: 15px !important; line-height: 1.5; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .dp-dots i { transition: none; } }
