:root {
  --bys-ink: #111916;
  --bys-green: #17382f;
  --bys-copper: #a4512f;
  --bys-paper: #f4f5f1;
  --bys-white: #fff;
  --bys-line: rgba(17, 25, 22, .18);
}

.bys-page { margin: 0; overflow-x: hidden; background: var(--bys-paper); color: var(--bys-ink); }
.bys-page main { display: block; overflow: hidden; }
.bys-shell { width: min(100% - 48px, 1760px); margin: 0 auto; }
.bys-section-label, .bys-eyebrow { margin: 0; color: var(--bys-copper); font-size: 12px; line-height: 1.4; text-transform: uppercase; letter-spacing: .12em; }

.bys-hero { position: relative; min-height: min(860px, 88svh); display: flex; align-items: flex-end; overflow: hidden; background: var(--bys-ink); color: #fff; }
.bys-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.bys-hero__veil { position: absolute; inset: 0; background: rgba(8, 15, 13, .42); }
.bys-hero__content { position: relative; z-index: 1; padding-bottom: clamp(64px, 8vw, 120px); }
.bys-eyebrow { margin-bottom: 24px; color: #efad87; }
.bys-hero h1 { max-width: 14ch; margin: 0; color: #fff; font-size: clamp(48px, 6vw, 94px); font-weight: 400; line-height: 1.01; text-wrap: balance; }
.bys-hero__lead { max-width: 62ch; margin: 30px 0 34px; color: rgba(255, 255, 255, .84); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; }
.bys-hero__index { position: absolute; z-index: 1; right: 28px; bottom: 24px; margin: 0; color: rgba(255, 255, 255, .58); font-size: 11px; }
.bys-text-link { display: inline-block; padding-bottom: 7px; border-bottom: 1px solid currentColor; color: inherit; font-size: 14px; text-decoration: none; }

.bys-intro { padding: clamp(96px, 12vw, 190px) 0; background: #fff; }
.bys-intro__grid, .bys-promise__grid { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); gap: clamp(60px, 11vw, 210px); align-items: start; }
.bys-intro h2, .bys-promise h2, .bys-custom h2, .bys-cta h2 { max-width: 15ch; margin: 0; font-size: clamp(40px, 5vw, 78px); font-weight: 400; line-height: 1.04; text-wrap: balance; }
.bys-intro__grid > div > p { max-width: 66ch; margin: 40px 0 0; color: #405049; font-size: 19px; line-height: 1.72; }

.bys-liquid-section { min-height: min(720px, 76svh); display: grid; place-items: center; padding: clamp(100px, 12vw, 180px) 0; overflow: hidden; background: var(--bys-paper); text-align: center; }
.bys-liquid-section__inner { display: flex; flex-direction: column; align-items: center; }
.bys-liquid-section h2 { margin: 28px 0 0; color: #405049; font-size: clamp(25px, 2.6vw, 42px); font-weight: 400; line-height: 1.2; }
.bys-liquid { position: relative; width: 100%; max-width: 1500px; min-height: 1.18em; margin-top: clamp(24px, 4vw, 58px); color: var(--bys-copper); font-size: clamp(50px, 8vw, 136px); font-weight: 400; line-height: 1.08; filter: url(#bys-liquid-threshold) blur(.6px); }
.bys-liquid > span { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; white-space: nowrap; }
.bys-liquid__filters { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

.bys-process { padding: clamp(100px, 12vw, 190px) 0; background: var(--bys-green); color: #fff; }
.bys-process__header { display: grid; grid-template-columns: .4fr 1fr; gap: clamp(54px, 10vw, 190px); align-items: start; margin-bottom: clamp(70px, 9vw, 140px); }
.bys-process__header h2 { max-width: 14ch; margin: 0; font-size: clamp(42px, 5vw, 78px); font-weight: 400; line-height: 1.04; }
.bys-process .bys-section-label { color: #efad87; }
.bys-process__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .25); list-style: none; }
.bys-process__list li { min-height: 250px; padding: 28px 28px 36px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.bys-process__list li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .25); }
.bys-process__list b { color: #efad87; font-size: 12px; font-weight: 400; }
.bys-process__list h3 { margin: 48px 0 16px; color: #fff; font-size: 29px; font-weight: 400; }
.bys-process__list p { max-width: 36ch; margin: 0; color: rgba(255, 255, 255, .7); font-size: 15px; line-height: 1.65; }

.bys-practice { padding: clamp(96px, 10vw, 160px) 0; background: #fff; }
.bys-practice__inner { display: grid; grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr); gap: clamp(64px, 10vw, 180px); align-items: center; }
.bys-practice__media { width: min(100%, 560px); margin: 0; }
.bys-practice__media img { display: block; width: 100%; height: auto; }
.bys-practice__copy { align-self: center; max-width: 680px; padding: 4px 0 4px clamp(28px, 3vw, 52px); border-left: 1px solid rgba(164, 81, 47, .45); }
.bys-practice__copy h2 { max-width: 12ch; margin: 28px 0 34px; font-size: clamp(40px, 4vw, 64px); font-weight: 400; line-height: 1.05; }
.bys-practice__copy > p:not(.bys-section-label) { max-width: 48ch; margin: 0 0 22px; color: #405049; font-size: 17px; line-height: 1.7; }

.bys-promise { padding: clamp(100px, 12vw, 190px) 0; background: var(--bys-ink); color: #fff; }
.bys-promise h2 { color: #fff; }
.bys-promise__grid > div > p { max-width: 63ch; margin: 42px 0 0; color: rgba(255, 255, 255, .74); font-size: 19px; line-height: 1.7; }
.bys-promise__note { padding-left: 24px; border-left: 2px solid var(--bys-copper); color: #efad87 !important; }

.bys-custom { padding: clamp(100px, 12vw, 190px) 0; background: #fff; }
.bys-custom__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2vw, 34px); align-items: start; }
.bys-custom__copy { grid-column: 1 / span 5; padding-top: clamp(24px, 5vw, 80px); }
.bys-custom__copy h2 { margin-top: 28px; font-size: clamp(38px, 4.2vw, 66px); }
.bys-custom__copy > p:not(.bys-section-label) { max-width: 50ch; margin: 32px 0 0; color: #405049; font-size: 17px; line-height: 1.7; }
.bys-custom figure { margin: 0; overflow: hidden; }
.bys-custom figure img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.16, 1, .3, 1); }
.bys-custom figure:hover img { transform: scale(1.035); }
.bys-custom__primary { grid-column: 7 / span 5; aspect-ratio: 4 / 5; }
.bys-custom__primary img { object-position: center; }
.bys-custom__secondary { grid-column: 5 / span 6; aspect-ratio: 16 / 9; margin-top: clamp(50px, 8vw, 130px) !important; }

.bys-manifesto { padding: clamp(110px, 14vw, 230px) 0; background: var(--bys-paper); }
.bys-manifesto p { margin: 0; font-size: clamp(42px, 5.8vw, 96px); line-height: 1.14; }
.bys-manifesto p + p { margin-top: clamp(12px, 1.4vw, 24px); }
.bys-manifesto p:nth-child(2) { margin-left: min(8vw, 130px); }
.bys-manifesto p:nth-child(3) { margin-left: min(16vw, 260px); }
.bys-manifesto em { color: var(--bys-copper); font-style: normal; }
.bys-manifesto__line { width: 100%; height: 1px; margin: clamp(70px, 9vw, 140px) 0 56px; background: var(--bys-line); }
.bys-manifesto h2 { max-width: 28ch; margin: 0 0 0 auto; font-size: clamp(29px, 3.2vw, 52px); font-weight: 400; line-height: 1.22; text-align: right; text-wrap: balance; }

.bys-cta { padding: clamp(90px, 10vw, 160px) 0; background: var(--bys-copper); color: #fff; }
.bys-cta__grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.bys-cta .bys-section-label { margin-bottom: 24px; color: rgba(255, 255, 255, .7); }
.bys-cta h2 { color: #fff; font-size: clamp(40px, 4.7vw, 72px); }
.bys-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.bys-button { display: inline-block; padding: 16px 26px; background: var(--bys-ink); color: #fff; font-size: 14px; text-decoration: none; }

[data-bys-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 800ms ease, transform 900ms cubic-bezier(.16, 1, .3, 1); }
[data-bys-reveal].is-visible { opacity: 1; transform: translateY(0); }
.bys-hero [data-bys-reveal] { opacity: 1; transform: none; }
.bys-practice:target [data-bys-reveal] { opacity: 1; transform: none; }

footer.vib-footer { margin-top: 0 !important; }

@media (max-width: 980px) {
  .bys-process__list { grid-template-columns: repeat(2, 1fr); }
  .bys-process__list li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .bys-process__list li:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .25); }
  .bys-practice__inner { grid-template-columns: 1fr; gap: 64px; }
  .bys-practice__media { width: min(78vw, 560px); height: auto; min-height: 0; }
  .bys-custom__copy { grid-column: 1 / span 6; }
  .bys-custom__primary { grid-column: 7 / span 6; }
  .bys-custom__secondary { grid-column: 4 / span 7; }
}

@media (max-width: 840px) {
  .bys-shell { width: calc(100% - 32px); max-width: 680px; }
  .bys-hero { min-height: 720px; }
  .bys-hero__image { object-position: 44% center; }
  .bys-hero h1 { max-width: 100%; font-size: clamp(40px, 11.2vw, 50px); overflow-wrap: break-word; white-space: normal; }
  .bys-hero__lead { max-width: 100%; font-size: 16px; overflow-wrap: anywhere; white-space: normal; }
  .bys-hero__index { display: none; }
  .bys-intro__grid, .bys-promise__grid, .bys-process__header, .bys-cta__grid { grid-template-columns: 1fr; gap: 34px; }
  .bys-intro h2, .bys-promise h2, .bys-custom h2, .bys-cta h2 { font-size: clamp(38px, 11vw, 52px); }
  .bys-liquid-section { min-height: 560px; }
  .bys-liquid-section h2 { max-width: 16ch; font-size: 24px; }
  .bys-liquid { min-height: 2.2em; font-size: clamp(43px, 13vw, 60px); line-height: 1.02; }
  .bys-liquid > span { white-space: normal; text-wrap: balance; }
  .bys-process__list { grid-template-columns: 1fr; }
  .bys-process__list li, .bys-process__list li:nth-child(even) { min-height: 0; padding: 26px 0 34px; border-left: 0; }
  .bys-process__list h3 { margin-top: 24px; }
  .bys-practice { padding: 80px 0; }
  .bys-practice__inner { gap: 48px; }
  .bys-practice__media { width: 100%; min-height: 0; }
  .bys-practice__copy { padding: 0 0 0 22px; }
  .bys-custom__grid { display: flex; flex-direction: column; }
  .bys-custom__primary, .bys-custom__secondary { width: 100%; aspect-ratio: 4 / 3; margin-top: 28px !important; }
  .bys-manifesto p, .bys-manifesto p:nth-child(2), .bys-manifesto p:nth-child(3) { margin-left: 0; font-size: clamp(36px, 10.5vw, 50px); line-height: 1.14; }
  .bys-manifesto p + p { margin-top: 14px; }
  .bys-manifesto h2 { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  [data-bys-reveal] { opacity: 1; transform: none; transition: none; }
  .bys-custom figure img { transition: none; }
}
