@font-face {
  font-family: 'Golos Text';
  src: url('assets/fonts/golos-text-variable.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff;
  --fg: #111;
  --muted: #898989;
  --rule: #e6e6e6;
  --card: #f4f4f4
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Golos Text', sans-serif;
  transition: background .35s, color .35s
}

body.dark {
  --bg: #111;
  --fg: #f6f6f6;
  --muted: #a1a1a1;
  --rule: #343434;
  --card: #292929
}

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

.page {
  max-width: 1492px;
  margin: auto;
  padding: 14px 36px 24px
}

.wordmark {
  display: flex;
  flex-direction: column;
  font-size: clamp(56px, 7.4vw, 110px);
  font-weight: 650;
  letter-spacing: -.052em;
  line-height: .96;
  text-transform: uppercase
}

.wordmark span {
  display: flex;
  justify-content: space-between;
  align-items: flex-start
}

.wordmark sup {
  font-size: 27px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.1
}

.header-rule {
  height: 1px;
  background: var(--rule);
  margin-top: 16px
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px
}

.availability {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 650
}

.availability i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 8px;
  box-shadow: 0 0 0 5px #22c55e15
}

.theme {
  border: 0;
  background: transparent;
  color: var(--fg);
  font-size: 26px;
  cursor: pointer
}

.nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding: 18px 0 0;
  min-height: 82px
}

.nav>a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px
}

.nav b {
  font-weight: 650;
  text-transform: uppercase
}

.nav small {
  color: var(--muted);
  font-size: 14px
}

.nav .muted b {
  color: var(--muted)
}

.nav-resume {
  grid-column: 5
}

.social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 14px
}

.social a:last-child {
  grid-column: 1
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 126px 0 115px;
  min-height: 700px
}

.identity {
  display: flex;
  gap: 32px;
  align-items: flex-start
}

.avatar {
  width: 77px;
  height: 77px;
  flex: none;
  border-radius: 50%;
  background: #e6e3dc;
  display: grid;
  place-items: center;
  font-size: 20px
}

.identity p {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4
}

.intro-copy {
  font-size: clamp(26px, 2.9vw, 43px);
  font-weight: 500;
  line-height: 1.31;
  letter-spacing: -.034em
}

.eyebrow {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.025em
}

.work {
  padding-top: 54px
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 24px;
  margin-top: 25px
}

.case {
  min-width: 0
}

.cover {
  height: auto;
  aspect-ratio: 698/436;
  display: block;
  overflow: hidden;
  border-radius: 9px;
  position: relative;
  background: var(--card);
  transition: transform .55s cubic-bezier(.2, .8, .2, 1)
}

.case:hover .cover {
  transform: scale(.985)
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1)
}

.case:hover img {
  transform: scale(1.055)
}

.case-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px
}

.case-title h2 {
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -.04em;
  margin: 0
}

.case-title span {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap
}

.case-meta {
  font-size: 14px;
  margin: 10px 0 0;
  color: var(--muted)
}

.case-desc {
  font-size: 16px;
  margin: 9px 0 0
}

.cover-neutral {
  background: #d7d3ca;
  display: flex;
  align-items: center;
  justify-content: center
}

.cover-label {
  font-size: clamp(30px, 5vw, 75px);
  font-weight: 650;
  letter-spacing: -.07em;
  line-height: .9;
  z-index: 1
}

.cover-shape {
  position: absolute;
  width: 35%;
  height: 100%;
  right: 8%;
  transform: rotate(24deg);
  background: linear-gradient(125deg, #b6b1a6, #eee9df);
  box-shadow: 25px 0 70px #3333
}

.cover-ink {
  background: #9a0c2c;
  display: grid;
  place-items: center
}

.mini-ui {
  width: 66%;
  height: 73%;
  border-radius: 12px;
  background: #fff;
  color: #141414;
  padding: 7%;
  box-shadow: 0 25px 65px #0004
}

.mini-ui span {
  font-size: 12px;
  font-weight: 800
}

.mini-ui strong {
  display: block;
  font-size: clamp(24px, 3vw, 48px);
  line-height: 1.1;
  margin: 13% 0
}

.mini-line {
  width: 70%;
  height: 9px;
  background: #ececec;
  border-radius: 5px;
  margin-top: 12px
}

.mini-line.short {
  width: 44%
}

.cover-light {
  background: #c3cdd0;
  display: grid;
  place-items: center;
  color: #26353d;
  font-size: 25px;
  letter-spacing: -.03em
}

.cover-light strong {
  font-size: 130px;
  line-height: 1
}

.pet {
  border-top: 1px solid var(--rule);
  margin-top: 135px;
  padding: 65px 0 150px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.pet p {
  font-size: clamp(26px, 3vw, 43px);
  line-height: 1.2;
  letter-spacing: -.04em;
  margin: 0
}

.soon {
  grid-column: 2;
  color: var(--muted);
  font-size: 15px
}

.contact {
  border-top: 1px solid var(--rule);
  padding: 80px 0 140px
}

.contact h2 {
  font-size: clamp(50px, 8vw, 115px);
  line-height: 1;
  letter-spacing: -.065em;
  font-weight: 600;
  margin: 60px 0 30px
}

.contact h2 span {
  font-weight: 300
}

.contact>p {
  font-size: 20px
}

.email {
  display: inline-block;
  font-size: 25px;
  border-bottom: 1px solid;
  padding: 15px 0
}

.contact .notice {
  font-size: 12px;
  color: var(--muted);
  margin-top: 35px
}

footer {
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
  font-size: 13px
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.2, .8, .2, 1)
}

.reveal.reveal-pending.visible {
  opacity: 1;
  transform: none
}

@media(max-width:800px) {
  .page {
    padding: 14px 20px
  }

  .wordmark {
    font-size: clamp(44px, 11vw, 80px)
  }

  .wordmark sup {
    font-size: 18px
  }

  .nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
  }

  .nav-resume {
    grid-column: 1
  }

  .social {
    grid-column: 2/4
  }

  .intro {
    grid-template-columns: 1fr;
    padding: 75px 0 80px;
    min-height: 0;
    gap: 65px
  }

  .identity {
    gap: 18px
  }

  .identity p {
    font-size: 14px
  }

  .avatar {
    width: 60px;
    height: 60px
  }

  .intro-copy {
    font-size: clamp(26px, 5.5vw, 38px)
  }

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

  .pet {
    grid-template-columns: 1fr;
    margin-top: 80px;
    padding-bottom: 100px
  }

  .soon {
    grid-column: 1
  }

  .contact {
    padding-bottom: 80px
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  .cover,
  .cover img {
    transition: none
  }
}

/* Portfolio motion & interaction refinements */
body.dark {
  --fg: #E7E2DA
}

body.dark .mini-ui {
  background: #E7E2DA
}

body.dark .mini-line {
  background: #c9c4bc
}

/* Repeated heartbeat: the center and halo beat together */
.availability i {
  position: relative;
  vertical-align: middle;
  transform-origin: center;
  animation: heartbeat 1.65s ease-in-out infinite;
  will-change: transform
}

.availability i::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, .34);
  animation: heartbeat-halo 1.65s ease-in-out infinite;
  pointer-events: none
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1)
  }

  12% {
    transform: scale(1.35)
  }

  23% {
    transform: scale(1)
  }

  36% {
    transform: scale(1.23)
  }

  49% {
    transform: scale(1)
  }
}

@keyframes heartbeat-halo {

  0%,
  100% {
    opacity: .45;
    transform: scale(1)
  }

  15% {
    opacity: .85;
    transform: scale(1.4)
  }

  27% {
    opacity: .3;
    transform: scale(1)
  }

  39% {
    opacity: .7;
    transform: scale(1.25)
  }

  60% {
    opacity: .3;
    transform: scale(1)
  }
}

/* Cursor inspired by the reference: a tiny circular dot, with an interactive ring */
@media (pointer:fine) and (prefers-reduced-motion:no-preference) {

  body.custom-cursor-active,
  body.custom-cursor-active * {
    cursor: none !important
  }

  .custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--fg);
    pointer-events: none;
    z-index: 99999;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    transition: width .22s ease, height .22s ease, background .22s ease, border-color .22s ease;
    mix-blend-mode: difference
  }

  .custom-cursor.is-hovering {
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid #fff
  }

  .custom-cursor.is-hidden {
    opacity: 0
  }
}

/* Opening choreography for header + content */

body.motion-ready .header {
  animation: header-enter .9s cubic-bezier(.16, 1, .3, 1) both
}

body.motion-ready .wordmark span {
  animation: line-enter .95s cubic-bezier(.16, 1, .3, 1) both
}

body.motion-ready .wordmark span:nth-child(2) {
  animation-delay: .12s
}

body.motion-ready .header-rule {
  animation: rule-enter .85s cubic-bezier(.16, 1, .3, 1) .25s both;
  transform-origin: left
}

body.motion-ready .status-row,
body.motion-ready .nav {
  animation: line-enter .75s cubic-bezier(.16, 1, .3, 1) .3s both
}

@keyframes header-enter {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes line-enter {
  from {
    opacity: 0;
    transform: translateY(23px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes rule-enter {
  from {
    transform: scaleX(0)
  }

  to {
    transform: scaleX(1)
  }
}

.reveal {
  transition-delay: var(--reveal-delay, 0ms)
}

@media(prefers-reduced-motion:reduce) {
  body:not(.motion-ready) .header {
    opacity: 1
  }

  body.motion-ready .header,
  body.motion-ready .wordmark span,
  body.motion-ready .header-rule,
  body.motion-ready .status-row,
  body.motion-ready .nav {
    animation: none
  }

  .availability i,
  .availability i::after {
    animation: none
  }

  .custom-cursor {
    display: none
  }
}

/* Story page */
.history-page .nav a[aria-current="page"] b {
  color: var(--fg)
}

.story-main {
  overflow: hidden
}

.story-hero {
  min-height: calc(100svh - 365px);
  padding: 100px 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.story-kicker,
.story-hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .05em
}

.story-kicker {
  border-top: 1px solid var(--rule);
  padding-top: 16px
}

.story-title {
  font-size: clamp(68px, 10.8vw, 162px);
  letter-spacing: -.078em;
  line-height: .95;
  font-weight: 650;
  margin: 55px 0 85px
}

.story-title-line {
  display: block;
  overflow: hidden;
  padding-right: .09em
}

.story-title-line>span {
  display: block
}

.motion-ready .story-title-line>span {
  transform: translateY(120%)
}

.motion-ready .story-title-line>span {
  animation: story-rise 1.25s cubic-bezier(.19, 1, .22, 1) both
}

.motion-ready .story-title-line:nth-child(2)>span {
  animation-delay: .13s
}

.motion-ready .story-title-line:nth-child(3)>span {
  animation-delay: .26s
}

.story-title-last {
  display: flex;
  align-items: end;
  justify-content: space-between
}

.story-title-aside {
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.02em;
  text-transform: none;
  margin: 0 1% 1.6%;
  white-space: nowrap
}

.story-title-dot {
  color: #22c55e
}

.story-hero-bottom {
  align-items: end
}

.story-hero-bottom p {
  max-width: 450px;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 0
}

.story-scroll {
  white-space: nowrap
}

.story-scroll span {
  display: inline-block;
  margin-left: 14px;
  animation: scroll-bob 2s ease-in-out infinite
}

.story-section {
  border-top: 1px solid var(--rule);
  padding: 26px 0 150px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px
}

.story-section-label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .06em
}

.story-statement {
  font-size: clamp(38px, 4.4vw, 67px);
  font-weight: 550;
  line-height: 1.14;
  letter-spacing: -.057em;
  margin: 0 0 95px
}

.story-statement em {
  font-style: normal;
  color: var(--muted)
}

.story-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px
}

.story-two-col p,
.story-now-grid p {
  font-size: 19px;
  line-height: 1.58;
  margin: 0;
  max-width: 480px
}

.story-heading {
  font-size: clamp(47px, 5.4vw, 80px);
  letter-spacing: -.064em;
  line-height: 1.05;
  font-weight: 550;
  margin: 0 0 75px
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 20px;
  padding: 34px 0 55px;
  border-top: 1px solid var(--rule)
}

.timeline-year {
  font-size: 12px;
  letter-spacing: .04em;
  font-weight: 650
}

.timeline-body h3 {
  font-size: clamp(30px, 3.1vw, 47px);
  letter-spacing: -.05em;
  font-weight: 550;
  margin: -9px 0 6px;
  display: flex;
  justify-content: space-between
}

.timeline-body h3 span {
  font-size: 20px;
  font-weight: 400
}

.timeline-role {
  color: var(--muted);
  font-size: 14px !important;
  margin: 0 0 30px !important
}

.timeline-body p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 540px;
  margin: 0
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 27px
}

.story-tags span {
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: 9px 12px;
  font-size: 10px;
  letter-spacing: .04em
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px 32px
}

.principle {
  border-top: 1px solid var(--rule);
  padding-top: 15px
}

.principle>span {
  font-size: 11px;
  color: var(--muted)
}

.principle h3 {
  font-size: clamp(25px, 2.4vw, 35px);
  letter-spacing: -.045em;
  font-weight: 550;
  margin: 40px 0 20px
}

.principle p {
  font-size: 16px;
  line-height: 1.65;
  max-width: 400px;
  margin: 0
}

.story-quote {
  background: #e7e2da;
  color: #171717;
  padding: 45px 55px 38px;
  margin: 0 0 150px;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.dark .story-quote {
  background: #242321;
  color: #e7e2da
}

.story-quote>span,
.quote-bottom {
  font-size: 12px;
  letter-spacing: .05em;
  font-weight: 650
}

.story-quote blockquote {
  font-size: clamp(52px, 7.2vw, 106px);
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: 1.08;
  margin: 65px 0
}

.story-quote blockquote i {
  font-style: normal;
  color: #77746e
}

.quote-bottom {
  display: flex;
  justify-content: space-between
}

.story-now {
  padding-bottom: 200px
}

.story-now-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px
}

.story-now-grid .story-heading {
  margin: 0
}

.story-now-grid p {
  margin-bottom: 65px
}

.story-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  transition: padding .3s ease
}

.story-cta:last-child {
  border-bottom: 1px solid var(--rule)
}

.story-cta:hover {
  padding-left: 12px;
  padding-right: 12px
}

.page-wipe {
  position: fixed;
  inset: 0;
  background: var(--fg);
  z-index: 9998;
  pointer-events: none;
  transform: translateY(100%)
}

body.is-leaving .page-wipe {
  animation: wipe-in .7s cubic-bezier(.76, 0, .24, 1) forwards
}

body.is-leaving {
  pointer-events: none
}

@keyframes story-rise {
  to {
    transform: translateY(0)
  }
}

@keyframes scroll-bob {
  50% {
    transform: translateY(7px)
  }
}

@keyframes wipe-in {
  to {
    transform: translateY(0)
  }
}

@media(max-width:950px) {
  .story-hero {
    min-height: 65svh;
    padding: 80px 0
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-bottom: 110px
  }

  .story-title {
    font-size: clamp(59px, 11vw, 105px)
  }

  .story-title-aside {
    font-size: 12px
  }

  .story-hero-bottom {
    flex-wrap: wrap
  }

  .story-hero-bottom p {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
    margin-top: 20px
  }

  .story-quote {
    min-height: 500px;
    padding: 30px
  }

  .story-quote blockquote {
    font-size: clamp(45px, 7vw, 75px)
  }
}

@media(max-width:600px) {
  .story-hero {
    padding: 65px 0 80px;
    min-height: 0
  }

  .story-title {
    font-size: clamp(49px, 11.4vw, 74px);
    margin: 60px 0
  }

  .story-title-last {
    align-items: end
  }

  .story-title-aside {
    font-size: 10px;
    line-height: 1.35;
    margin: 0 0 5px 8px
  }

  .story-kicker,
  .story-hero-bottom {
    font-size: 10px
  }

  .story-section {
    padding-bottom: 85px
  }

  .story-statement {
    font-size: clamp(34px, 8.5vw, 52px);
    margin-bottom: 50px
  }

  .story-two-col,
  .principles-grid,
  .story-now-grid {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .story-two-col p,
  .story-now-grid p {
    font-size: 17px
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .timeline-body h3 {
    margin: 0
  }

  .story-heading {
    font-size: clamp(42px, 10vw, 60px);
    margin-bottom: 45px
  }

  .principles-grid {
    gap: 50px
  }

  .principle h3 {
    margin-top: 30px
  }

  .story-quote {
    margin: 0 0 90px;
    min-height: 410px;
    padding: 23px
  }

  .story-quote blockquote {
    font-size: clamp(38px, 9vw, 58px);
    margin: 60px 0
  }

  .quote-bottom {
    font-size: 9px
  }

  .story-now {
    padding-bottom: 100px
  }

  .story-now-grid p {
    margin-bottom: 35px
  }
}

@media(prefers-reduced-motion:reduce) {
  .story-title-line>span {
    transform: none !important;
    animation: none !important
  }

  .story-scroll span {
    animation: none !important
  }

  body.is-leaving .page-wipe {
    animation: none !important
  }
}

/* Tariffs case — editorial product case study */
.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  gap: 20px
}

.case-header a {
  color: var(--fg);
  text-decoration: none
}

.back-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em
}

.case-brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.03em
}

.case-brand sup {
  font-weight: 400
}

.tariff-hero {
  padding-top: 48px
}

.tariff-topline,
.tariff-hero-bottom,
.tariff-showcase-top,
.tariff-showcase-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px
}

.tariff-topline,
.tariff-scroll-note,
.tariff-index,
.tariff-showcase-top {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .07em
}

.tariff-heading {
  font-size: clamp(62px, 10.1vw, 155px);
  line-height: .95;
  letter-spacing: -.085em;
  margin: 90px 0 75px;
  font-weight: 650
}

.tariff-heading .story-title-line {
  display: block;
  overflow: hidden
}

.tariff-heading .story-title-line>span {
  display: block;
  transform: translateY(110%);
  animation: story-rise 1.05s cubic-bezier(.2, .8, .2, 1) forwards
}

.tariff-heading .story-title-line:nth-child(2)>span {
  animation-delay: .15s
}

.tariff-plus {
  font-weight: 300;
  font-size: .55em;
  vertical-align: top;
  margin-left: 15px
}

.tariff-hero-bottom {
  align-items: end;
  margin-bottom: 40px
}

.tariff-hero-bottom>p {
  max-width: 610px;
  font-size: clamp(20px, 2.3vw, 32px);
  line-height: 1.27;
  letter-spacing: -.035em;
  margin: 0
}

.tariff-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 400px
}

.tariff-chips span {
  border: 1px solid var(--rule);
  border-radius: 30px;
  padding: 9px 13px;
  font-size: 11px
}

.tariff-hero-image {
  background: #b7ada1;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1.95;
  display: flex;
  align-items: center;
  justify-content: center
}

.tariff-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.tariff-scroll-note {
  display: flex;
  justify-content: space-between;
  padding: 19px 0;
  border-bottom: 1px solid var(--rule)
}

.tariff-scroll-note span {
  font-size: 23px
}

.tariff-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 155px 0;
  border-bottom: 1px solid var(--rule)
}

.tariff-index {
  padding-top: 13px;
  color: var(--muted)
}

.tariff-section h2 {
  font-size: clamp(46px, 5.5vw, 88px);
  letter-spacing: -.065em;
  line-height: 1.03;
  font-weight: 550;
  margin: 0 0 50px
}

.tariff-lead {
  font-size: clamp(21px, 2.2vw, 32px);
  line-height: 1.43;
  letter-spacing: -.035em;
  max-width: 900px;
  margin: 0 0 65px
}

.tariff-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  border-top: 1px solid var(--rule);
  padding-top: 25px
}

.tariff-facts div {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.tariff-facts small,
.tariff-comparison small,
.tariff-result small {
  font-size: 11px;
  letter-spacing: .07em;
  color: var(--muted)
}

.tariff-facts strong {
  font-size: 18px;
  font-weight: 550
}

.tariff-problems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.tariff-problems article {
  min-height: 200px;
  padding: 23px;
  background: var(--surface, #f4f3f1);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.tariff-problems article span,
.tariff-steps article span {
  font-size: 12px;
  color: var(--muted)
}

.tariff-problems p {
  font-size: 23px;
  letter-spacing: -.04em;
  line-height: 1.2;
  margin: 40px 0 0
}

.tariff-dark-panel {
  background: #161615;
  color: #e7e2da;
  padding: 42px;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 65px 0;
  border-radius: 6px
}

.tariff-dark-panel>span,
.tariff-panel-bottom {
  font-size: 12px;
  letter-spacing: .09em
}

.tariff-dark-panel>p {
  font-size: clamp(43px, 6vw, 90px);
  letter-spacing: -.07em;
  line-height: 1.05;
  max-width: 1120px;
  margin: 65px 0
}

.tariff-dark-panel em,
.tariff-showcase h2 em {
  font-style: normal;
  color: #9e9a94
}

.tariff-panel-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #53504b;
  padding-top: 20px
}

.tariff-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 22px
}

.tariff-steps article {
  border-top: 1px solid var(--rule);
  padding-top: 20px
}

.tariff-steps h3 {
  font-size: 29px;
  letter-spacing: -.04em;
  margin: 55px 0 12px;
  font-weight: 550
}

.tariff-steps p {
  font-size: 16px;
  line-height: 1.55;
  max-width: 360px;
  color: var(--muted)
}

.tariff-figma-note {
  border: 1px solid var(--rule);
  padding: 24px;
  margin-top: 65px
}

.tariff-figma-note span {
  font-size: 11px;
  color: var(--muted)
}

.tariff-figma-note p {
  font-size: 19px;
  max-width: 600px
}

.tariff-figma-note a,
.tariff-inline-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px
}

.tariff-architecture {
  background: var(--surface, #f4f3f1);
  padding: 35px;
  border-radius: 6px
}

.architecture-main {
  background: var(--fg);
  color: var(--bg);
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.04em
}

.architecture-branches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 65px
}

.architecture-branches>div {
  padding: 20px;
  background: var(--bg);
  min-height: 125px;
  font-size: 20px;
  letter-spacing: -.03em;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.architecture-branches small {
  font-size: 12px;
  color: var(--muted)
}

.tariff-caption {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0 25px
}

.tariff-showcase {
  background: #dedad3;
  color: #191918;
  margin: 75px 0;
  padding: 40px;
  border-radius: 6px
}

.tariff-showcase h2 {
  font-size: clamp(48px, 7vw, 110px);
  letter-spacing: -.075em;
  line-height: 1.02;
  font-weight: 550;
  margin: 90px 0 65px
}

.tariff-showcase-visual {
  height: auto;
  aspect-ratio: 1.95;
  overflow: hidden;
  border-radius: 6px
}

.tariff-showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.tariff-showcase-bottom {
  padding-top: 35px;
  align-items: end
}

.tariff-showcase-bottom p {
  font-size: 20px;
  max-width: 550px;
  line-height: 1.35
}

.tariff-showcase-bottom a {
  font-size: 12px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px
}

.tariff-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px
}

.tariff-comparison>div {
  background: var(--surface, #f4f3f1);
  padding: 25px;
  min-height: 300px;
  display: flex;
  flex-direction: column
}

.tariff-comparison h3 {
  font-size: 27px;
  letter-spacing: -.045em;
  font-weight: 550;
  margin: 45px 0 12px
}

.tariff-comparison p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted)
}

.tariff-comparison a {
  font-size: 12px;
  font-weight: 650;
  color: var(--fg);
  margin-top: auto;
  text-decoration: none
}

.tariff-result {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--rule);
  padding-top: 25px
}

.result-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 7px #22c55e22;
  animation: heartbeat 2s infinite
}

.tariff-result div {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.tariff-result strong {
  font-size: 24px
}

.tariff-result p {
  margin-left: auto;
  max-width: 370px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4
}

.tariff-next {
  padding: 150px 0 180px
}

.tariff-next>span {
  font-size: 12px;
  letter-spacing: .07em
}

.tariff-next h2 {
  font-size: clamp(56px, 9vw, 140px);
  letter-spacing: -.075em;
  line-height: .98;
  font-weight: 550;
  margin: 60px 0 100px
}

.tariff-next a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 8px;
  font-size: 14px;
  font-weight: 650
}

body.dark {
  --surface: #292825
}

@media(max-width:800px) {
  .tariff-section {
    grid-template-columns: 1fr;
    padding: 90px 0;
    gap: 35px
  }

  .tariff-heading {
    margin: 70px 0 50px
  }

  .tariff-hero-bottom {
    flex-direction: column;
    align-items: start
  }

  .tariff-chips {
    justify-content: start
  }

  .tariff-dark-panel {
    min-height: 470px;
    padding: 25px
  }

  .tariff-showcase {
    padding: 25px
  }

  .tariff-showcase-bottom {
    flex-direction: column;
    align-items: start
  }

  .architecture-branches {
    grid-template-columns: 1fr 1fr;
    margin-top: 25px
  }
}

@media(max-width:520px) {
  .case-brand {
    display: none
  }

  .tariff-topline {
    font-size: 10px
  }

  .tariff-heading {
    font-size: clamp(47px, 11vw, 75px);
    margin: 60px 0 45px
  }

  .tariff-plus {
    margin-left: 4px
  }

  .tariff-hero-image,
  .tariff-showcase-visual {
    aspect-ratio: 1.35
  }

  .tariff-section h2 {
    font-size: clamp(40px, 10vw, 58px)
  }

  .tariff-facts,
  .tariff-problems,
  .tariff-steps,
  .tariff-comparison {
    grid-template-columns: 1fr
  }

  .tariff-problems article {
    min-height: 150px
  }

  .tariff-dark-panel {
    min-height: 410px
  }

  .tariff-panel-bottom {
    flex-wrap: wrap
  }

  .tariff-showcase h2 {
    margin: 60px 0 40px
  }

  .tariff-result {
    flex-wrap: wrap
  }

  .tariff-result p {
    margin-left: 0;
    flex-basis: 100%
  }

  .tariff-next {
    padding: 100px 0
  }

  .tariff-next h2 {
    margin: 50px 0
  }
}

@media(prefers-reduced-motion:reduce) {
  .tariff-heading .story-title-line>span {
    animation: none;
    transform: none
  }
}

/* Tariffs case refinement */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 100001;
  pointer-events: none;
  background: transparent
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #22c55e;
  transition: width .09s linear
}

.tariff-heading {
  font-size: clamp(52px, 8vw, 112px);
  margin: 64px 0 54px;
  letter-spacing: -.07em
}

.tariff-section {
  padding: 105px 0
}

.tariff-section h2 {
  font-size: clamp(32px, 3.7vw, 54px);
  margin-bottom: 28px;
  letter-spacing: -.045em
}

.tariff-lead {
  font-size: clamp(18px, 1.7vw, 25px);
  margin-bottom: 42px
}

.tariff-showcase h2 {
  font-size: clamp(34px, 4.2vw, 62px);
  margin: 60px 0 50px
}

.tariff-dark-panel {
  min-height: 390px
}

.tariff-dark-panel>p {
  font-size: clamp(34px, 4.6vw, 65px)
}

.tariff-next h2 {
  font-size: clamp(45px, 6.3vw, 90px)
}

.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.stakeholder-grid article {
  background: var(--card);
  padding: 25px;
  min-height: 280px;
  display: flex;
  flex-direction: column
}

.stakeholder-grid small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em
}

.stakeholder-grid h3 {
  font-size: 23px;
  letter-spacing: -.04em;
  font-weight: 550;
  margin: 50px 0 14px
}

.stakeholder-grid p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0
}

.case-visual-pair,
.case-architecture-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.case-architecture-visual {
  grid-template-columns: repeat(2, 1fr)
}

.case-architecture-visual figure:last-child {
  grid-column: 1/-1
}

.visual-frame {
  margin: 0;
  background: var(--card);
  border-radius: 8px;
  padding: 15px;
  overflow: hidden
}

.visual-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px
}

.visual-frame figcaption,
.detail-gallery figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 15px 0 4px
}

.device-stage {
  background: radial-gradient(ellipse at 50% 5%, #c7c1b8, #aaa397 80%);
  border-radius: 8px;
  padding: 9% 9% 7%;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 470px;
  overflow: hidden
}

.device-desktop {
  width: 81%;
  background: #1c1d1e;
  border: 9px solid #222426;
  border-bottom-width: 15px;
  border-radius: 12px;
  box-shadow: 0 25px 45px #0005;
  overflow: hidden
}

.device-top {
  height: 24px;
  background: #202124;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  font-size: 9px
}

.device-top i {
  width: 5px;
  height: 5px;
  background: #777;
  border-radius: 50%
}

.device-top span {
  margin-left: 12px
}

.device-desktop>img {
  display: block;
  width: 100%;
  height: auto
}

.device-phone {
  position: absolute;
  width: 19%;
  right: 5%;
  bottom: 3%;
  background: #101113;
  border: 7px solid #151515;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 36px #0006
}

.device-phone>img {
  display: block;
  width: 100%;
  height: auto
}

.device-phone-island {
  position: absolute;
  top: 5px;
  left: 37%;
  width: 26%;
  height: 10px;
  background: #151515;
  border-radius: 9px;
  z-index: 1
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px
}

.detail-gallery figure {
  margin: 0;
  background: #c4beb5;
  padding: 32px 18%;
  border-radius: 7px;
  min-width: 0
}

.detail-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 18px 35px #0003
}

.detail-gallery figcaption {
  color: #292724
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.before-after-grid figure {
  margin: 0;
  min-width: 0
}

.before-after-image {
  height: 390px;
  overflow: hidden;
  background: var(--card);
  border-radius: 7px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start
}

.before-after-image img {
  height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain
}

.before-after-grid figcaption {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0
}

.before-after-grid figcaption span {
  font-size: 11px;
  color: var(--muted)
}

.before-after-grid figcaption strong {
  font-size: 18px;
  font-weight: 550
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule)
}

.case-metrics article {
  padding: 28px 16px 35px;
  border-right: 1px solid var(--rule)
}

.case-metrics article:first-child {
  padding-left: 0
}

.case-metrics article:last-child {
  border: 0
}

.case-metrics strong {
  display: block;
  font-size: clamp(38px, 4.8vw, 70px);
  font-weight: 550;
  letter-spacing: -.06em
}

.case-metrics span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4
}

.metric-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 15px 0 40px
}

body.dark .tariff-showcase {
  background: #272623;
  color: #E7E2DA
}

body.dark .tariff-showcase h2 em {
  color: #b4afa6
}

@media(pointer:fine) {

  body,
  body * {
    cursor: auto !important
  }

  .custom-cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--fg);
    background: transparent;
    mix-blend-mode: normal;
    transition: width .25s, height .25s, background .25s, opacity .2s;
    transform: translate(-50%, -50%)
  }

  .custom-cursor::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--fg);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
  }

  .custom-cursor.is-hovering {
    width: 54px;
    height: 54px;
    border: 1px solid var(--fg);
    background: color-mix(in srgb, var(--fg) 10%, transparent)
  }
}

@media(max-width:850px) {
  .stakeholder-grid {
    grid-template-columns: 1fr
  }

  .stakeholder-grid article {
    min-height: 190px
  }

  .stakeholder-grid h3 {
    margin-top: 25px
  }

  .case-visual-pair,
  .case-architecture-visual {
    grid-template-columns: 1fr
  }

  .case-architecture-visual figure:last-child {
    grid-column: auto
  }

  .device-stage {
    min-height: 260px;
    padding: 9% 5%
  }

  .device-phone {
    border-width: 4px;
    border-radius: 17px
  }

  .device-desktop {
    border-width: 5px
  }

  .before-after-image {
    height: 260px
  }
}

@media(max-width:550px) {

  .detail-gallery,
  .before-after-grid {
    grid-template-columns: 1fr
  }

  .case-metrics {
    grid-template-columns: 1fr
  }

  .case-metrics article {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule)
  }

  .case-metrics article:last-child {
    border-bottom: 0
  }

  .device-stage {
    min-height: 200px
  }

  .tariff-section {
    padding: 75px 0
  }
}

/* Life / Travel / Taste — editorial photo story */
.avatar {
  overflow: hidden;
  background: #d8c6b7
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
  display: block
}

.life {
  border-top: 1px solid var(--rule);
  margin-top: 132px;
  padding-top: 27px
}

.life-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.life-head-aside {
  font-size: 11px;
  letter-spacing: .07em;
  color: var(--muted)
}

.life-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 7%;
  align-items: end;
  padding: 68px 0 74px
}

.life-intro h2 {
  font-size: clamp(56px, 7vw, 104px);
  line-height: .96;
  font-weight: 580;
  letter-spacing: -.075em;
  margin: 0
}

.life-intro h2 em {
  font-family: 'Golos Text', sans-serif;
  font-weight: 400;
  letter-spacing: -.065em
}

.life-description {
  max-width: 565px;
  padding-bottom: 3px
}

.life-description p {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  letter-spacing: -.02em;
  margin: 0 0 20px
}

.life-description p:last-child {
  margin-bottom: 0
}

.life-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start
}

.life-photo {
  margin: 0;
  min-width: 0
}

.life-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
  will-change: transform
}

.life-photo:hover img {
  transform: scale(1.045)
}

.life-photo {
  overflow: hidden
}

.life-photo>img {
  border-radius: 4px
}

.life-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  font-size: 11px;
  line-height: 1.35
}

.life-photo figcaption span:first-child {
  color: var(--muted);
  white-space: nowrap
}

.life-photo figcaption span:last-child {
  text-align: right
}

.life-photo--hero {
  grid-column: span 7
}

.life-photo--hero img {
  aspect-ratio: 1.18;
  object-position: center 48%
}

.life-photo--small {
  grid-column: span 5
}

.life-photo--small img {
  aspect-ratio: 1.05
}

.life-photo--wide {
  grid-column: span 7
}

.life-photo--wide img {
  aspect-ratio: 1.52
}

.life-photo--painting {
  grid-column: span 7
}

.life-photo--painting img {
  aspect-ratio: 1.2;
  object-position: center 45%
}

.life-photo--swans {
  grid-column: span 5
}

.life-photo--swans img {
  aspect-ratio: 1.1
}

.life-outro {
  border-top: 1px solid var(--rule);
  margin-top: 75px;
  padding-top: 25px;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 20px;
  align-items: start
}

.life-outro span {
  font-size: 11px;
  letter-spacing: .06em
}

.life-outro span:last-child {
  font-size: 26px
}

.life-outro p {
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: -.045em;
  line-height: 1.2;
  margin: 0;
  max-width: 700px
}

.life+.pet {
  margin-top: 130px;
  padding-bottom: 110px
}

body.dark .life-photo figcaption {
  color: #E7E2DA
}

@media(max-width:850px) {
  .life {
    margin-top: 90px
  }

  .life-intro {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 55px 0
  }

  .life-intro h2 {
    font-size: clamp(54px, 10vw, 86px)
  }

  .life-description {
    max-width: 650px
  }

  .life-gallery {
    gap: 12px
  }

  .life-photo figcaption {
    font-size: 10px
  }

  .life-outro {
    grid-template-columns: 1fr 2fr
  }
}

@media(max-width:580px) {
  .life-head {
    align-items: flex-start
  }

  .life-head-aside {
    font-size: 9px;
    text-align: right;
    max-width: 145px
  }

  .life-intro h2 {
    font-size: clamp(47px, 11.5vw, 70px)
  }

  .life-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 22px 10px
  }

  .life-photo--hero,
  .life-photo--wide,
  .life-photo--painting {
    grid-column: span 2
  }

  .life-photo--small,
  .life-photo--swans {
    grid-column: span 1
  }

  .life-photo--small img,
  .life-photo--swans img {
    aspect-ratio: .78
  }

  .life-photo--hero img {
    aspect-ratio: 1.05
  }

  .life-photo--wide img {
    aspect-ratio: 1.4
  }

  .life-photo figcaption {
    flex-direction: column;
    gap: 3px
  }

  .life-photo figcaption span:last-child {
    text-align: left
  }

  .life-outro {
    grid-template-columns: 1fr auto;
    margin-top: 55px
  }

  .life-outro p {
    grid-column: 1/3;
    grid-row: 2
  }

  .life+.pet {
    margin-top: 90px
  }
}

@media(prefers-reduced-motion:reduce) {
  .life-photo img {
    transition: none
  }
}

/* Compact personal carousel and editorial contacts */
.life-carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 15px;
  font-size: 11px;
  letter-spacing: .07em;
  color: var(--muted)
}

.life-controls {
  display: flex;
  gap: 8px
}

.life-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  font-size: 20px;
  cursor: pointer;
  transition: background .2s, color .2s
}

.life-controls button:hover {
  background: var(--fg);
  color: var(--bg)
}

.life-gallery {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 14px !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 10px;
  align-items: stretch
}

.life-gallery::-webkit-scrollbar {
  display: none
}

.life-photo,
.life-photo--hero,
.life-photo--small,
.life-photo--wide,
.life-photo--painting,
.life-photo--swans {
  flex: 0 0 clamp(230px, 28vw, 390px);
  width: clamp(230px, 28vw, 390px);
  grid-column: auto;
  scroll-snap-align: start;
  overflow: visible
}

.life-photo>img,
.life-photo--hero img,
.life-photo--small img,
.life-photo--wide img,
.life-photo--painting img,
.life-photo--swans img {
  height: clamp(255px, 30vw, 400px);
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 3px
}

.life-photo figcaption {
  font-size: 11px
}

.life-outro {
  margin-top: 50px
}

.avatar {
  width: 64px;
  height: 64px
}

.avatar img {
  object-position: center 43%
}

.contact-minimal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 0 95px;
  align-items: start
}

.contact-minimal .contact-resume {
  font-size: clamp(22px, 2.5vw, 38px);
  font-weight: 650;
  letter-spacing: -.035em;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  width: max-content
}

.contact-minimal .contact-resume span,
.contact-minimal .contact-links span {
  font-weight: 400
}

.contact-minimal .contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  row-gap: 28px;
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: -.035em
}

.contact-minimal .contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  width: max-content
}

.contact-minimal a:hover {
  opacity: .55
}

@media(max-width:800px) {
  .avatar {
    width: 56px;
    height: 56px
  }

  .life-photo,
  .life-photo--hero,
  .life-photo--small,
  .life-photo--wide,
  .life-photo--painting,
  .life-photo--swans {
    flex-basis: clamp(220px, 65vw, 340px);
    width: clamp(220px, 65vw, 340px)
  }

  .life-photo>img,
  .life-photo--hero img,
  .life-photo--small img,
  .life-photo--wide img,
  .life-photo--painting img,
  .life-photo--swans img {
    height: clamp(260px, 70vw, 380px)
  }

  .contact-minimal {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 65px
  }

  .contact-minimal .contact-links {
    max-width: 430px
  }
}

@media(prefers-reduced-motion:reduce) {
  .life-gallery {
    scroll-behavior: auto
  }
}

/* Alfa-Bank design-system case */
.ds-main {
  padding-bottom: 70px
}

.ds-kicker {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: .075em;
  font-weight: 650
}

.ds-hero {
  padding-top: 32px
}

.ds-title {
  font-size: clamp(45px, 6.2vw, 88px);
  line-height: 1.08;
  letter-spacing: -.067em;
  font-weight: 600;
  margin: 64px 0 34px
}

.ds-title em {
  font-style: normal;
  color: var(--muted)
}

.ds-lead {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 45px;
  align-items: end;
  margin-bottom: 70px
}

.ds-lead>p {
  font-size: clamp(19px, 2.2vw, 29px);
  line-height: 1.35;
  letter-spacing: -.03em;
  margin: 0;
  max-width: 770px
}

.ds-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end
}

.ds-tags span {
  border: 1px solid var(--rule);
  padding: 9px 12px;
  border-radius: 40px;
  font-size: 11px
}

.ds-hero-art {
  background: #e6e8e8;
  color: #1b1d20;
  padding: 30px 35px 18px;
  border-radius: 5px
}

.ds-art-label,
.ds-art-caption {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .055em;
  font-weight: 650
}

.ds-art-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 450px;
  padding: 45px 10px
}

.ds-art-frame {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 20px 50px #0002;
  padding: 10px;
  position: relative;
  flex-shrink: 0
}

.ds-art-frame--wide {
  width: 43%;
  aspect-ratio: 16/9
}

.ds-art-frame--square {
  width: 25%;
  aspect-ratio: 1
}

.ds-art-frame--portrait {
  width: 17%;
  aspect-ratio: 3/4
}

.ds-art-scene {
  position: absolute;
  inset: 10px;
  border-radius: 6px;
  background: linear-gradient(145deg, #f1b8a3, #c76d63 55%, #823b44);
  overflow: hidden
}

.ds-art-scene i {
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  background: #f4c4a5;
  border-radius: 50%;
  left: 15%;
  top: 12%
}

.ds-art-scene b {
  position: absolute;
  width: 120%;
  height: 48%;
  left: -10%;
  bottom: -15%;
  background: #622d3e;
  transform: rotate(-11deg);
  border-radius: 45%
}

.ds-art-frame small {
  position: absolute;
  bottom: -25px;
  left: 0;
  font-size: 11px
}

.ds-art-caption {
  font-size: 10px;
  color: #555;
  padding-top: 14px
}

.ds-section {
  border-top: 1px solid var(--rule);
  padding: 28px 0 115px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 35px
}

.ds-side {
  font-size: 11px;
  letter-spacing: .065em;
  font-weight: 650
}

.ds-content h2 {
  font-size: clamp(29px, 3.6vw, 49px);
  line-height: 1.15;
  letter-spacing: -.052em;
  font-weight: 560;
  margin: 0 0 28px
}

.ds-body {
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.58;
  max-width: 800px;
  margin: 0 0 42px
}

.ds-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 23px
}

.ds-facts div {
  display: flex;
  flex-direction: column;
  gap: 13px
}

.ds-facts span,
.ds-geometry-text>span {
  font-size: 10px;
  letter-spacing: .07em;
  color: var(--muted)
}

.ds-facts strong {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500
}

.ds-geometry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  background: var(--surface, #f3f3f2);
  padding: 32px;
  border-radius: 4px
}

.ds-geometry-demo {
  min-height: 310px;
  display: grid;
  place-items: center
}

.ds-geometry-box {
  width: 90%;
  aspect-ratio: 16/9;
  border: 2px solid #d43d45;
  position: relative;
  display: grid;
  place-items: center;
  color: #d43d45;
  font-size: 11px;
  background: repeating-linear-gradient(45deg, transparent, transparent 17px, #d43d450b 18px)
}

.ds-geometry-box>span {
  position: absolute;
  top: 9px;
  left: 10px
}

.ds-spacer {
  border: 2px dashed #d43d45;
  width: 56%;
  aspect-ratio: 16/9;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 11px
}

.ds-spacer b {
  font-size: 24px
}

.ds-geometry-text {
  align-self: center
}

.ds-geometry-text h3 {
  font-size: 25px;
  letter-spacing: -.045em;
  font-weight: 550;
  line-height: 1.2;
  margin: 15px 0
}

.ds-geometry-text p {
  font-size: 14px;
  line-height: 1.65
}

.ds-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.ds-doc-grid>div {
  border-top: 1px solid var(--rule);
  padding-top: 15px
}

.ds-doc-grid span {
  font-size: 11px;
  color: var(--muted)
}

.ds-doc-grid h3 {
  font-size: 20px;
  font-weight: 550;
  margin: 28px 0 12px
}

.ds-doc-grid p {
  font-size: 14px;
  line-height: 1.55
}

.ds-flow {
  display: flex;
  align-items: stretch;
  gap: 9px
}

.ds-flow>div {
  flex: 1;
  min-width: 0;
  background: var(--surface, #f2f2f0);
  padding: 20px;
  min-height: 135px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.ds-flow>div span {
  font-size: 11px;
  color: var(--muted)
}

.ds-flow>div strong {
  font-size: 18px;
  letter-spacing: -.03em;
  font-weight: 550
}

.ds-flow>i {
  font-style: normal;
  align-self: center
}

.ds-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 18px
}

.ds-block-demo {
  background: #ece9e7;
  color: #191919;
  padding: 28px;
  border-radius: 4px
}

.ds-block-head,
.ds-block-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  letter-spacing: .06em
}

.ds-block-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 45px 0
}

.ds-block-cards>div {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 15px
}

.ds-block-cards span,
.ds-block-cards small {
  font-size: 11px;
  color: #777
}

.ds-block-cards b {
  font-size: 20px;
  letter-spacing: -.04em
}

.ds-back {
  display: inline-block;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  font-size: 14px;
  font-weight: 650
}

.ds-cover {
  background: #e8e7e5;
  color: #191919;
  padding: 23px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  overflow: hidden
}

.ds-cover-head,
.ds-cover-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .05em;
  font-weight: 650
}

.ds-cover-bottom {
  font-size: 20px;
  letter-spacing: -.045em;
  align-items: end
}

.ds-cover-bottom span {
  font-size: 10px;
  letter-spacing: .03em
}

.ds-cover-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 67%
}

.ds-cover-tile {
  background: linear-gradient(145deg, #f3c5ac, #bf6e69 60%, #6b394b);
  box-shadow: 0 12px 28px #0002;
  border: 6px solid #fff;
  border-radius: 7px;
  display: flex;
  align-items: end;
  padding: 9px;
  color: #fff;
  font-size: 10px
}

.ds-cover-tile--landscape {
  width: 44%;
  aspect-ratio: 16/9
}

.ds-cover-tile--portrait {
  width: 19%;
  aspect-ratio: 3/4
}

.ds-cover-tile--square {
  width: 24%;
  aspect-ratio: 1
}

.ds-cover:hover .ds-cover-tile {
  transform: translateY(-5px);
  transition: transform .35s ease
}

.dark .ds-geometry,
.dark .ds-flow>div {
  background: #292825
}

.dark .ds-cover {
  background: #dedbd5;
  color: #171717
}

.dark .ds-hero-art {
  background: #d8d9d6
}

@media(max-width:850px) {
  .ds-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 80px
  }

  .ds-title {
    margin-top: 45px
  }

  .ds-lead {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .ds-tags {
    justify-content: flex-start
  }

  .ds-art-grid {
    min-height: 310px;
    gap: 12px
  }

  .ds-geometry {
    grid-template-columns: 1fr
  }

  .ds-facts {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:550px) {
  .ds-kicker {
    font-size: 9px
  }

  .ds-title {
    font-size: clamp(40px, 10vw, 55px)
  }

  .ds-hero-art {
    padding: 17px
  }

  .ds-art-grid {
    min-height: 215px;
    padding: 30px 0;
    gap: 8px
  }

  .ds-art-frame {
    padding: 5px;
    border-radius: 6px
  }

  .ds-art-scene {
    inset: 5px
  }

  .ds-facts,
  .ds-doc-grid {
    grid-template-columns: 1fr
  }

  .ds-flow {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .ds-flow>i {
    display: none
  }

  .ds-flow>div {
    min-height: 110px
  }

  .ds-block-cards {
    grid-template-columns: 1fr
  }

  .ds-geometry {
    padding: 18px
  }

  .ds-geometry-demo {
    min-height: 200px
  }

  .ds-cover {
    padding: 16px
  }

  .ds-cover-bottom {
    font-size: 15px
  }
}

/* Original Figma component documentation + accessible image viewer */
.ds-visual-intro {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  margin: 48px 0 72px
}

.ds-visual-intro-copy {
  max-width: 320px
}

.ds-visual-label,
.ds-doc-figure-title {
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 600
}

.ds-visual-intro-copy p {
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.5;
  margin-top: 18px
}

.ds-image-trigger {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: #f4f4f4;
  cursor: zoom-in;
  text-align: left;
  overflow: hidden;
  border-radius: 12px
}

.ds-image-trigger img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .35s ease
}

.ds-image-trigger:hover img {
  transform: scale(1.012)
}

.ds-cover-preview {
  max-width: 560px;
  justify-self: end
}

.ds-zoom-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border-radius: 40px;
  padding: 9px 13px;
  background: rgba(18, 18, 18, .84);
  color: #fff;
  font-size: 12px;
  pointer-events: none
}

.ds-media-section .ds-content h2 {
  max-width: 660px
}

.ds-document-image {
  max-width: 850px;
  margin-top: 24px;
  background: #fff;
  border: 1px solid #e5e5e5
}

.ds-image-footnote {
  font-size: 12px;
  opacity: .6;
  margin-top: 12px
}

.ds-doc-figure {
  margin-top: 36px
}

.ds-doc-figure-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  opacity: .65
}

.ds-lightbox[hidden] {
  display: none !important
}

.ds-lightbox {
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: #151515;
  color: #f5f3ee;
  display: flex;
  flex-direction: column
}

.ds-lightbox-toolbar {
  flex: none;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(16px, 3vw, 40px);
  border-bottom: 1px solid #383838
}

.ds-lightbox-caption {
  font-size: 13px
}

.ds-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 9px
}

.ds-lightbox-actions button {
  border: 1px solid #555;
  background: transparent;
  color: inherit;
  border-radius: 5px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit
}

.ds-lightbox-actions button:hover {
  background: #353535
}

.ds-lightbox-actions span {
  font-size: 12px;
  min-width: 42px;
  text-align: center
}

.ds-lightbox-viewport {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px;
  overscroll-behavior: contain
}

.ds-lightbox-viewport img {
  display: block;
  max-width: none;
  width: auto;
  height: auto;
  transform-origin: top left;
  user-select: none
}

.ds-lightbox-help {
  font-size: 11px;
  text-align: center;
  opacity: .6;
  padding: 9px
}

.ds-lightbox-open {
  overflow: hidden
}

.ds-lightbox,
.ds-lightbox * {
  cursor: auto !important
}

@media(max-width:700px) {
  .ds-visual-intro {
    grid-template-columns: 1fr;
    margin: 25px 0 42px
  }

  .ds-cover-preview {
    justify-self: stretch;
    max-width: none
  }

  .ds-lightbox-toolbar {
    flex-wrap: wrap
  }

  .ds-lightbox-caption {
    width: 100%
  }

  .ds-lightbox-viewport {
    padding: 12px
  }

  .ds-lightbox-help {
    display: none
  }
}

/* Alfa Business Mobile case */
.alfa-main {
  max-width: 1240px;
  margin: auto;
  padding: 42px 24px 100px
}

.alfa-hero {
  padding: 70px 0 95px;
  border-bottom: 1px solid var(--line, #ddd)
}

.alfa-kicker,
.alfa-label,
.alfa-hero-meta {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .65
}

.alfa-hero h1 {
  font-size: clamp(35px, 4.4vw, 65px);
  line-height: 1.1;
  letter-spacing: -.045em;
  font-weight: 600;
  max-width: 950px;
  margin: 24px 0
}

.alfa-lead {
  font-size: clamp(17px, 2vw, 24px);
  max-width: 690px;
  line-height: 1.45
}

.alfa-hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 45px
}

.alfa-story,
.alfa-section-heading {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 28px;
  padding: 80px 0;
  border-bottom: 1px solid var(--line, #ddd)
}

.alfa-story h2,
.alfa-section-heading h2 {
  font-size: clamp(25px, 2.7vw, 38px);
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 550;
  margin: 0 0 24px
}

.alfa-story p,
.alfa-section-heading p {
  max-width: 750px;
  font-size: 17px;
  line-height: 1.65;
  opacity: .8
}

.alfa-issues {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 35px
}

.alfa-issues>div {
  padding: 22px;
  background: rgba(120, 120, 120, .08);
  border-radius: 12px
}

.alfa-issues p {
  font-size: 14px;
  margin-bottom: 0
}

.alfa-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px
}

.alfa-tags span {
  border: 1px solid currentColor;
  border-radius: 30px;
  padding: 9px 13px;
  font-size: 12px;
  opacity: .7
}

.alfa-pair {
  padding: 45px 0 85px;
  border-bottom: 1px solid var(--line, #ddd)
}

.alfa-pair-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: baseline;
  margin-bottom: 25px
}

.alfa-pair-heading h3 {
  font-size: 21px;
  font-weight: 550
}

.alfa-pair-heading span,
.alfa-photo-note {
  font-size: 12px;
  opacity: .65
}

.alfa-compare {
  background: #ededeb;
  border-radius: 18px;
  min-height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 20px;
  overflow: hidden
}

.alfa-phone {
  width: min(320px, 85vw);
  height: 610px;
  border: 8px solid #252525;
  border-radius: 46px;
  background: #fff;
  box-shadow: 0 18px 50px #0002;
  position: relative;
  overflow: hidden;
  flex: none
}

.alfa-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 21px;
  background: #252525;
  border-radius: 0 0 15px 15px;
  z-index: 6
}

.alfa-screen {
  position: absolute;
  inset: 8px 4px 5px;
  border-radius: 32px;
  overflow: hidden;
  background: white
}

.alfa-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block
}

.alfa-after-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%)
}

.alfa-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #f43b5f;
  z-index: 4
}

.alfa-divider i {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #f43b5f;
  color: #fff;
  font-size: 15px;
  font-style: normal;
  border-radius: 100%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center
}

.alfa-range-row {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 470px;
  margin: 24px auto 8px;
  font-size: 12px
}

.alfa-range-row input {
  flex: 1;
  accent-color: #f43b5f;
  cursor: pointer
}

.alfa-photo-note {
  text-align: center
}

.alfa-open {
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font: inherit
}

.alfa-extras-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px
}

.alfa-extra-item {
  border: 0;
  background: rgba(120, 120, 120, .07);
  border-radius: 16px;
  padding: 26px 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: inherit;
  cursor: pointer
}

.alfa-phone-small {
  transform: none;
  width: 160px;
  height: 320px;
  border-width: 5px;
  border-radius: 25px
}

.alfa-phone-small .alfa-screen {
  inset: 5px 2px 3px;
  border-radius: 17px
}

.alfa-phone-small .alfa-notch {
  height: 12px
}

.alfa-extra-item>span {
  font-size: 12px
}

.alfa-disclaimer {
  font-size: 13px !important;
  opacity: .55 !important
}

.alfa-modal[hidden] {
  display: none
}

.alfa-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(14, 14, 14, .95);
  overflow: auto;
  padding: 80px 20px 30px;
  text-align: center
}

.alfa-modal img {
  display: block;
  margin: auto;
  max-width: none;
  width: auto;
  height: auto
}

.alfa-modal-close {
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 2;
  background: #eee;
  color: #111;
  border: 0;
  border-radius: 30px;
  padding: 12px 18px;
  cursor: pointer
}

@media(max-width:700px) {

  .alfa-story,
  .alfa-section-heading {
    grid-template-columns: 1fr;
    padding: 52px 0
  }

  .alfa-issues {
    grid-template-columns: 1fr
  }

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

  .alfa-compare {
    min-height: 570px;
    padding: 20px 10px
  }

  .alfa-phone {
    height: 540px;
    width: 280px
  }

  .alfa-pair-heading {
    display: block
  }

  .alfa-hero {
    padding: 45px 0 55px
  }
}

/* Alfa case refresh — restrained typography, mockup cover, responsive layout */
.alfa-cover {
  position: relative;
  background: #f1f0ee;
  overflow: hidden;
  display: block
}

.alfa-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1)
}

.alfa-cover:hover img {
  transform: scale(1.045)
}

.alfa-cover-mark {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fffdf4e8;
  color: #202020;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 11px;
  letter-spacing: .07em
}

.alfa-page .alfa-main {
  max-width: 1400px;
  padding-top: 18px
}

.alfa-page .alfa-hero {
  padding: 42px 0 74px
}

.alfa-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center
}

.alfa-page .alfa-hero h1 {
  font-size: clamp(30px, 3.25vw, 49px);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 18px 0 24px
}

.alfa-page .alfa-lead {
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.55;
  max-width: 540px
}

.alfa-page .alfa-hero-meta {
  gap: 12px 22px;
  margin-top: 36px;
  font-size: 11px;
  line-height: 1.6
}

.alfa-hero-visual {
  position: relative;
  background: #eee;
  border-radius: 14px;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center
}

.alfa-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0
}

.alfa-visual-caption {
  position: absolute;
  bottom: 14px;
  right: 15px;
  font-size: 9px;
  letter-spacing: .08em;
  background: #ffffffe0;
  color: #444;
  padding: 8px 10px;
  border-radius: 5px
}

.alfa-jump {
  display: inline-flex;
  gap: 35px;
  align-items: center;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  margin-top: 30px;
  padding-bottom: 9px;
  font-size: 14px
}

.alfa-jump span {
  font-size: 19px
}

.alfa-page .alfa-story h2,
.alfa-page .alfa-section-heading h2 {
  font-size: clamp(23px, 2.3vw, 33px)
}

.alfa-floating-labels {
  position: absolute;
  left: 25px;
  right: 25px;
  top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  color: #333
}

.alfa-compare {
  position: relative
}

.alfa-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 30px
}

.alfa-principles>div {
  padding: 20px;
  background: rgba(125, 125, 125, .08);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.alfa-principles span {
  font-size: 12px;
  opacity: .45
}

.alfa-principles strong {
  font-size: 16px;
  font-weight: 600
}

.alfa-principles p {
  font-size: 14px;
  margin: 0
}

.alfa-asset-note {
  font-size: 12px;
  opacity: .6;
  margin: 24px 0
}

@media(max-width:860px) {
  .alfa-hero-layout {
    grid-template-columns: 1fr
  }

  .alfa-hero-visual {
    min-height: 330px
  }

  .alfa-principles {
    grid-template-columns: 1fr
  }
}

@media(max-width:500px) {
  .alfa-page .alfa-hero {
    padding-top: 28px
  }

  .alfa-hero-visual {
    min-height: 250px
  }

  .alfa-page .alfa-hero h1 {
    font-size: 30px
  }

  .alfa-cover-mark {
    font-size: 9px
  }
}

/* Alfa redesign — original UI screenshots in device mockups */
.alfa-hero-visual {
  min-height: 520px;
  background: radial-gradient(ellipse at 55% 35%, #fff 0%, #f2f1ef 52%, #e6e3df 100%);
  isolation: isolate
}

.alfa-cover-stage {
  position: absolute;
  inset: 0;
  perspective: 1200px;
  overflow: hidden
}

.alfa-cover-stage:after {
  content: "";
  position: absolute;
  inset: auto 5% 2% 5%;
  height: 18%;
  background: radial-gradient(ellipse, #14141420, transparent 70%);
  filter: blur(18px);
  pointer-events: none
}

.alfa-cover-device {
  position: absolute;
  width: 34%;
  height: 76%;
  top: 13%;
  left: 33%;
  border: 5px solid #252525;
  background: #252525;
  border-radius: clamp(18px, 2.5vw, 36px);
  padding: 3px;
  box-shadow: 0 25px 55px #1114, 0 4px 12px #0003;
  overflow: hidden;
  transform-origin: center center
}

.alfa-cover-display {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: #fff;
  position: relative
}

.alfa-cover-display img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top !important
}

.alfa-cover-device-1 {
  left: 4%;
  top: 19%;
  height: 66%;
  width: 30%;
  transform: rotate(-13deg) translateY(15px);
  z-index: 1
}

.alfa-cover-device-2 {
  left: 20%;
  top: 11%;
  height: 73%;
  width: 33%;
  transform: rotate(-7deg);
  z-index: 2
}

.alfa-cover-device-3 {
  left: 35%;
  top: 7%;
  height: 83%;
  width: 36%;
  transform: rotate(0);
  z-index: 5;
  box-shadow: 0 32px 70px #1115
}

.alfa-cover-device-4 {
  left: 60%;
  top: 13%;
  height: 74%;
  width: 33%;
  transform: rotate(9deg);
  z-index: 3
}

.alfa-cover-device-5 {
  left: 79%;
  top: 23%;
  height: 65%;
  width: 29%;
  transform: rotate(16deg);
  z-index: 1
}

.alfa-compare {
  background: linear-gradient(145deg, #f6f5f3, #e8e7e5)
}

.alfa-compare .alfa-screen {
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  outline-offset: 6px
}

.alfa-compare .alfa-screen:focus-visible {
  outline: 3px solid #ee3750
}

.alfa-compare .alfa-image {
  pointer-events: none;
  user-select: none
}

.alfa-compare .alfa-after-clip {
  pointer-events: none
}

.alfa-compare .alfa-divider {
  pointer-events: none;
  background: #fff;
  box-shadow: 0 0 0 1px #1112, 0 0 14px #0003
}

.alfa-compare .alfa-divider i {
  background: #fff;
  color: #222;
  box-shadow: 0 2px 12px #0004;
  font-weight: 700
}

.alfa-pair-heading span {
  font-size: 13px
}

.alfa-photo-note {
  margin-top: 22px
}

@media(max-width:860px) {
  .alfa-hero-visual {
    min-height: 460px
  }
}

@media(max-width:500px) {
  .alfa-hero-visual {
    min-height: 330px
  }

  .alfa-cover-device {
    border-width: 3px;
    padding: 2px;
    border-radius: 16px
  }

  .alfa-pair-heading span {
    display: block;
    margin-top: 7px
  }
}


/* iPhone portfolio composition v13 — original Figma screen images are unmodified */
.alfa-hero-visual {
  min-height: 570px !important;
  background: radial-gradient(ellipse at 50% 25%, #fff9f6 0%, #f7eeea 38%, #e9dcd7 100%) !important;
  border-radius: 22px !important;
  overflow: hidden
}

.alfa-cover-stage {
  position: absolute;
  inset: 0;
  perspective: 1500px;
  isolation: isolate
}

.alfa-cover-stage::before {
  content: "";
  position: absolute;
  inset: 13% 6%;
  background: radial-gradient(ellipse at 50% 55%, rgba(239, 50, 47, .13), transparent 63%);
  filter: blur(32px)
}

.alfa-cover-device {
  box-sizing: border-box !important;
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  width: 27% !important;
  height: auto !important;
  aspect-ratio: 390/844 !important;
  padding: 5px !important;
  border: 2px solid #77716f !important;
  border-radius: clamp(22px, 3vw, 43px) !important;
  background: linear-gradient(125deg, #4d4a49, #151617 25%, #333 80%, #8d8782) !important;
  box-shadow: inset 0 0 0 2px #141414, 0 30px 45px rgba(42, 29, 26, .26), 0 9px 17px rgba(42, 29, 26, .17) !important;
  overflow: visible !important;
  transform-origin: center 70%;
}

.alfa-cover-display {
  position: relative !important;
  width: 100%;
  height: 100%;
  border-radius: clamp(18px, 2.6vw, 36px) !important;
  overflow: hidden !important;
  background: #f7f7f7 !important;
}

.alfa-cover-display img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
  transform: none !important;
}

.alfa-dynamic-island {
  position: absolute;
  z-index: 7;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 3.3%;
  border-radius: 100px;
  background: #111;
  box-shadow: 0 1px 3px #0005;
  pointer-events: none
}

.alfa-cover-device-1 {
  left: 3% !important;
  top: 26% !important;
  transform: rotate(-15deg) scale(.84) !important;
  z-index: 1
}

.alfa-cover-device-2 {
  left: 18% !important;
  top: 17% !important;
  transform: rotate(-8deg) scale(.95) !important;
  z-index: 3
}

.alfa-cover-device-3 {
  left: 37% !important;
  top: 10% !important;
  transform: rotate(-1deg) scale(1.08) !important;
  z-index: 6
}

.alfa-cover-device-4 {
  left: 57% !important;
  top: 17% !important;
  transform: rotate(9deg) scale(.95) !important;
  z-index: 4
}

.alfa-cover-device-5 {
  left: 74% !important;
  top: 26% !important;
  transform: rotate(16deg) scale(.84) !important;
  z-index: 2
}

.alfa-cover-stage::after {
  content: "";
  position: absolute;
  bottom: 2%;
  left: 10%;
  right: 10%;
  height: 9%;
  background: radial-gradient(ellipse, #45312b36, transparent 70%);
  filter: blur(17px);
  pointer-events: none;
  z-index: 0
}

.alfa-cover {
  background: #f5eae5 !important;
  overflow: hidden;
  isolation: isolate
}

.alfa-cover .alfa-cover-stage {
  inset: 0;
  transform: scale(.95);
  transform-origin: center center
}

.alfa-cover .alfa-cover-device {
  border-radius: clamp(12px, 2vw, 25px) !important;
  padding: 3px !important
}

.alfa-cover .alfa-cover-display {
  border-radius: clamp(10px, 1.8vw, 22px) !important
}

.alfa-cover .alfa-dynamic-island {
  top: 6px
}

.alfa-cover .alfa-cover-mark {
  z-index: 10
}

@media(max-width:860px) {
  .alfa-hero-visual {
    min-height: 500px !important
  }
}

@media(max-width:540px) {
  .alfa-hero-visual {
    min-height: 335px !important;
    border-radius: 14px !important
  }

  .alfa-cover-device {
    padding: 3px !important;
    border-width: 1px !important;
    border-radius: 19px !important
  }

  .alfa-cover-display {
    border-radius: 16px !important
  }

  .alfa-dynamic-island {
    top: 6px
  }

  .alfa-cover-device-1 {
    left: -1% !important
  }

  .alfa-cover-device-2 {
    left: 16% !important
  }

  .alfa-cover-device-3 {
    left: 36% !important
  }

  .alfa-cover-device-4 {
    left: 58% !important
  }

  .alfa-cover-device-5 {
    left: 76% !important
  }
}

/* Alfa Business Mobile — editorial case redesign */
.alfa-cover-mark {
  display: none !important
}

.a-redesign {
  background: #f8f8f6;
  color: #191919
}

.a-redesign .page {
  max-width: 1600px;
  margin: auto
}

.a-redesign main {
  overflow: hidden
}

.a-redesign .case-header {
  position: relative;
  z-index: 5
}

.a-intro {
  padding: 70px clamp(24px, 5vw, 88px) 0
}

.a-kicker {
  font-size: 11px;
  letter-spacing: .13em;
  font-weight: 650;
  display: flex;
  gap: 12px;
  align-items: center
}

.a-kicker>span:last-child {
  margin-left: auto;
  color: #777
}

.a-dot {
  width: 8px;
  height: 8px;
  background: #ef3124;
  border-radius: 50%
}

.a-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin: 40px 0 64px
}

.a-title-row h1 {
  font-size: clamp(54px, 7.3vw, 116px);
  letter-spacing: -.075em;
  line-height: .99;
  font-weight: 600;
  margin: 0
}

.a-title-row em {
  font-style: normal;
  color: #858585
}

.a-period,
.a-outcome h2 span {
  color: #ef3124
}

.a-title-row>p {
  max-width: 340px;
  font-size: 17px;
  line-height: 1.65;
  color: #555;
  margin: 0 0 8px
}

.a-cover {
  height: clamp(410px, 55vw, 740px);
  background: radial-gradient(circle at 50% 70%, #f3e4e0 0%, #ece7e5 46%, #e4e3e1 100%);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  isolation: isolate
}

.a-cover-glow {
  position: absolute;
  width: 75%;
  height: 75%;
  left: 12%;
  top: 20%;
  background: radial-gradient(ellipse, #fff9f6a6, transparent 70%)
}

.a-device-stage {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  perspective: 1600px
}

.a-phone {
  position: absolute;
  bottom: -22%;
  width: clamp(130px, 18vw, 265px);
  height: clamp(320px, 43vw, 615px);
  border: 7px solid #202023;
  border-radius: 36px;
  background: #151515;
  box-shadow: 0 28px 45px #2224, 0 5px 12px #0003;
  overflow: hidden;
  transform-origin: bottom center
}

.a-phone-screen {
  height: 100%;
  overflow: hidden;
  background: white;
  border-radius: 27px
}

.a-phone-screen img {
  width: 100%;
  height: auto;
  display: block
}

.a-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 16px;
  border-radius: 20px;
  background: #121212
}

.a-phone-1 {
  z-index: 4;
  left: 41%;
  bottom: -12%;
  transform: rotate(-2deg) scale(1.12)
}

.a-phone-2 {
  z-index: 3;
  left: 23%;
  bottom: -18%;
  transform: rotate(-10deg)
}

.a-phone-3 {
  z-index: 2;
  left: 8%;
  bottom: -24%;
  transform: rotate(-16deg) scale(.9)
}

.a-phone-4 {
  z-index: 3;
  left: 60%;
  bottom: -18%;
  transform: rotate(9deg)
}

.a-phone-5 {
  z-index: 2;
  left: 76%;
  bottom: -24%;
  transform: rotate(16deg) scale(.9)
}

.a-cover-index {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 8;
  font-size: 11px;
  letter-spacing: .1em;
  color: #555
}

.a-cover-index span {
  margin-left: 16px
}

.a-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #d9d9d6;
  gap: 25px;
  padding: 35px 0 55px
}

.a-facts div {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.a-facts span,
.a-section-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .12em;
  color: #777
}

.a-facts strong {
  font-size: 15px;
  font-weight: 550
}

.a-section {
  display: grid;
  grid-template-columns: 24% 1fr;
  gap: 30px;
  padding: 135px clamp(24px, 5vw, 88px);
  border-bottom: 1px solid #dededb
}

.a-section h2 {
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 560;
  letter-spacing: -.065em;
  line-height: 1.08;
  margin: 0 0 38px
}

.a-section h2 span {
  color: #9a9a9a
}

.a-large {
  font-size: clamp(21px, 2.3vw, 32px);
  line-height: 1.48;
  letter-spacing: -.025em;
  max-width: 900px
}

.a-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  margin-top: 50px
}

.a-two-cols p,
.a-heading-flex p {
  color: #666;
  line-height: 1.7;
  font-size: 16px;
  max-width: 440px
}

.a-dark {
  padding: 95px clamp(24px, 5vw, 88px) 105px;
  background: #1b1b1c;
  color: white
}

.a-dark .a-section-label {
  color: #999
}

.a-dark h2 {
  font-size: clamp(54px, 8vw, 110px);
  line-height: 1;
  letter-spacing: -.075em;
  font-weight: 550;
  margin: 70px 0 95px
}

.a-dark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px
}

.a-dark-grid>div {
  border-top: 1px solid #666;
  padding-top: 24px
}

.a-dark-grid b {
  color: #ef4639;
  font-size: 12px
}

.a-dark-grid h3 {
  font-size: 25px;
  font-weight: 550;
  margin: 45px 0 10px
}

.a-dark-grid p {
  color: #aaa;
  line-height: 1.65;
  max-width: 320px
}

.a-gallery-section {
  display: block
}

.a-gallery-section>.a-section-label {
  margin-bottom: 38px
}

.a-heading-flex {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px
}

.a-gallery {
  margin-top: 60px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 65px 25px 0;
  background: #e9e7e5;
  border-radius: 14px;
  overflow: hidden;
  min-height: 520px
}

.a-gallery-card {
  appearance: none;
  background: none;
  border: 0;
  cursor: zoom-in;
  width: 19%;
  height: 490px;
  position: relative;
  transition: transform .25s
}

.a-gallery-card:hover {
  transform: translateY(-16px)
}

.a-gallery-card .a-phone {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  height: 470px;
  border-width: 5px;
  border-radius: 28px;
  box-shadow: 0 15px 30px #0002
}

.a-gallery-card .a-phone-screen {
  border-radius: 22px
}

.a-gallery-card .a-island {
  top: 8px;
  height: 12px
}

.a-gallery-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .1em;
  margin-top: 20px;
  color: #777
}

.a-work-list>div {
  display: grid;
  grid-template-columns: 60px 1fr 1.1fr;
  gap: 25px;
  border-top: 1px solid #d3d3d0;
  padding: 27px 0
}

.a-work-list span {
  color: #ef3124;
  font-size: 12px
}

.a-work-list h3 {
  font-size: 23px;
  letter-spacing: -.03em;
  margin: 0;
  font-weight: 560
}

.a-work-list p {
  margin: 0;
  line-height: 1.65;
  color: #666
}

.a-comparisons {
  background: #f0efec
}

.a-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 60px
}

.a-compare-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  min-width: 0
}

.a-compare-top,
.a-compare-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .07em;
  color: #666
}

.a-compare-stage {
  padding: 25px 8px;
  display: flex;
  justify-content: center;
  background: #f4f4f3;
  border-radius: 8px;
  margin: 18px 0
}

.a-compare-screen {
  position: relative;
  width: min(100%, 255px);
  aspect-ratio: 375/812;
  overflow: hidden;
  border: 5px solid #202020;
  border-radius: 24px;
  cursor: ew-resize;
  touch-action: none;
  background: white;
  box-shadow: 0 14px 30px #0002
}

.a-compare-screen>.a-base,
.a-compare-screen .alfa-after-clip img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top
}

.a-compare-screen .alfa-after-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%)
}

.a-compare-screen .alfa-divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ef3124;
  z-index: 3;
  pointer-events: none
}

.a-compare-screen .alfa-divider i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 33px;
  height: 33px;
  background: #ef3124;
  color: white;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 15px
}

.a-compare-bottom {
  font-weight: 650;
  color: #222
}

.a-open-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 20px
}

.a-open-row button {
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: 12px
}

.a-outcome {
  background: #e9e7e4;
  padding: 115px clamp(24px, 5vw, 88px)
}

.a-outcome>span {
  font-size: 11px;
  letter-spacing: .13em
}

.a-outcome h2 {
  font-size: clamp(55px, 7vw, 100px);
  letter-spacing: -.07em;
  line-height: 1.05;
  font-weight: 550;
  margin: 55px 0 35px
}

.a-outcome p {
  font-size: 19px;
  line-height: 1.65;
  max-width: 730px;
  color: #555
}

.a-outcome a {
  display: inline-block;
  margin-top: 60px;
  color: inherit;
  border-bottom: 1px solid;
  text-decoration: none;
  padding-bottom: 8px
}

@media(max-width:900px) {
  .a-title-row {
    display: block
  }

  .a-title-row>p {
    margin-top: 30px
  }

  .a-section {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 85px;
    padding-bottom: 85px
  }

  .a-comparison-grid {
    grid-template-columns: 1fr 1fr
  }

  .a-gallery {
    min-height: 400px
  }

  .a-gallery-card,
  .a-gallery-card .a-phone {
    height: 360px
  }

  .a-facts {
    grid-template-columns: 1fr 1fr
  }

  .a-work-list>div {
    grid-template-columns: 40px 1fr
  }

  .a-work-list p {
    grid-column: 2
  }

  .a-phone {
    border-radius: 25px
  }

  .a-phone-screen {
    border-radius: 19px
  }
}

@media(max-width:600px) {
  .a-intro {
    padding-top: 45px
  }

  .a-title-row {
    margin-bottom: 35px
  }

  .a-title-row h1 {
    font-size: clamp(45px, 11vw, 65px)
  }

  .a-kicker {
    font-size: 9px
  }

  .a-kicker>span:last-child {
    display: none
  }

  .a-cover {
    height: 365px
  }

  .a-phone {
    width: 150px;
    height: 350px;
    border-width: 5px;
    border-radius: 23px
  }

  .a-phone-screen {
    border-radius: 18px
  }

  .a-phone-1 {
    left: 31%
  }

  .a-phone-2 {
    left: 5%
  }

  .a-phone-3 {
    display: none
  }

  .a-phone-4 {
    left: 63%
  }

  .a-phone-5 {
    display: none
  }

  .a-facts {
    padding-bottom: 35px
  }

  .a-two-cols,
  .a-dark-grid {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .a-dark {
    padding-top: 70px;
    padding-bottom: 70px
  }

  .a-dark h2 {
    margin: 55px 0
  }

  .a-dark-grid h3 {
    margin-top: 20px
  }

  .a-heading-flex {
    display: block
  }

  .a-gallery {
    gap: 12px;
    overflow-x: auto;
    justify-content: flex-start;
    min-height: 370px;
    padding: 35px 20px 0
  }

  .a-gallery-card {
    min-width: 165px;
    width: 165px
  }

  .a-gallery-card,
  .a-gallery-card .a-phone {
    height: 340px
  }

  .a-comparison-grid {
    grid-template-columns: 1fr
  }

  .a-compare-screen {
    width: 240px
  }

  .a-work-list h3 {
    font-size: 20px
  }

  .a-outcome {
    padding-top: 75px;
    padding-bottom: 75px
  }

  .a-cover-index {
    font-size: 9px
  }
}

/* ALFA / precision cover v15: original screenshots retain native aspect ratio. */
.alfa-cover,
.a-cover {
  background: radial-gradient(ellipse at 50% 35%, #fffaf8 0%, #f7eeeb 49%, #eee0db 100%) !important;
  isolation: isolate;
  overflow: hidden
}

.alfa-editorial-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate
}

.alfa-editorial-stage::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 12%;
  height: 65%;
  background: radial-gradient(ellipse, #e1b5a6aa, transparent 70%);
  filter: blur(42px)
}

.alfa-editorial-stage::after {
  content: "";
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: 3%;
  height: 10%;
  background: radial-gradient(ellipse, #553a3530, transparent 70%);
  filter: blur(18px)
}

.alfa-editorial-phone {
  position: absolute;
  box-sizing: border-box;
  width: 24%;
  aspect-ratio: 393/852;
  top: 12%;
  border-radius: clamp(16px, 2.3vw, 36px);
  background: #202125;
  padding: clamp(3px, .45vw, 7px);
  border: 1px solid #45454a;
  box-shadow: 0 24px 55px #2e222640, 0 5px 14px #1a13162a;
  transform-origin: center center;
  overflow: hidden;
  transition: transform .5s ease;
}

.alfa-editorial-bezel,
.alfa-editorial-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #fff
}

.alfa-editorial-screen {
  border-radius: clamp(13px, 1.9vw, 30px)
}

.alfa-editorial-scroll {
  position: absolute;
  inset: 0 0 8.7% 0;
  overflow: hidden
}

.alfa-editorial-scroll img {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: initial !important;
  transform: none !important;
  border: 0 !important
}

.alfa-editorial-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9.5%;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center bottom;
  border-top: 1px solid #f3f3f3
}

.alfa-editorial-phone-4 {
  left: 4%;
  top: 24%;
  z-index: 1;
  transform: rotate(-14deg) scale(.87)
}

.alfa-editorial-phone-2 {
  left: 20%;
  top: 15%;
  z-index: 3;
  transform: rotate(-7deg) scale(.98)
}

.alfa-editorial-phone-1 {
  left: 38%;
  top: 7%;
  z-index: 5;
  transform: rotate(-1deg) scale(1.1);
  box-shadow: 0 35px 80px #25191e55
}

.alfa-editorial-phone-5 {
  left: 59%;
  top: 15%;
  z-index: 4;
  transform: rotate(8deg) scale(.98)
}

.alfa-editorial-phone-3 {
  left: 76%;
  top: 24%;
  z-index: 2;
  transform: rotate(15deg) scale(.87)
}

.a-cover .alfa-editorial-stage {
  inset: 0
}

.alfa-cover .alfa-editorial-stage {
  inset: 0
}

.a-cover-index {
  z-index: 8;
  pointer-events: none
}

@media(max-width:650px) {
  .alfa-editorial-phone {
    width: 32%;
    top: 20%;
    border-radius: 19px;
    padding: 3px
  }

  .alfa-editorial-screen {
    border-radius: 16px
  }

  .alfa-editorial-phone-4 {
    left: -14%;
    top: 28%
  }

  .alfa-editorial-phone-2 {
    left: 6%;
    top: 21%
  }

  .alfa-editorial-phone-1 {
    left: 34%;
    top: 14%
  }

  .alfa-editorial-phone-5 {
    left: 60%;
    top: 21%
  }

  .alfa-editorial-phone-3 {
    left: 82%;
    top: 28%
  }

  .alfa-editorial-tabbar {
    height: 10%
  }
}

/* v16 — realistic titanium iPhone frames, original Figma screen crops */
.alfa-editorial-stage {
  overflow: hidden;
  perspective: 1800px
}

.alfa-editorial-stage::before {
  background: radial-gradient(ellipse at 51% 48%, #e2bdb0a8, transparent 69%);
  filter: blur(55px)
}

.alfa-editorial-phone {
  width: 23.6%;
  aspect-ratio: 393/852;
  height: auto;
  border-radius: clamp(22px, 3.3vw, 49px);
  padding: clamp(5px, .55vw, 9px);
  border: 1px solid #77797a;
  background: linear-gradient(104deg, #090b0d 0%, #676b6d 2%, #191b1d 4%, #090b0d 9%, #16191c 91%, #9c9e9d 97%, #252729 99%, #0d0e0f 100%);
  box-shadow: 0 33px 58px #33282645, 0 11px 20px #241b1b24, inset 1px 0 1px #d1d0cd, inset -1px 0 2px #a4a3a1;
  overflow: visible;
  isolation: isolate;
}

.alfa-editorial-phone::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px #101214, inset 0 0 0 3px #3e4244;
  z-index: 6
}

.alfa-editorial-phone::after {
  content: "";
  position: absolute;
  left: 0;
  top: 17%;
  width: 3px;
  height: 12%;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg, #363b3f, #b6b9b8, #323538);
  box-shadow: -1px 40px 0 #7c8081, -1px 72px 0 #7c8081;
  z-index: -1
}

.alfa-editorial-bezel {
  border-radius: clamp(18px, 2.85vw, 42px);
  background: #050607;
  padding: clamp(2px, .22vw, 4px);
  box-sizing: border-box;
  box-shadow: 0 0 0 1px #050607;
  overflow: hidden
}

.alfa-editorial-screen {
  border-radius: clamp(16px, 2.6vw, 38px);
  overflow: hidden
}

.alfa-editorial-screen::before {
  content: "";
  position: absolute;
  z-index: 8;
  pointer-events: none;
  top: 0;
  left: 0;
  right: 0;
  height: 24%;
  background: linear-gradient(110deg, #ffffff20, transparent 37%);
  border-radius: inherit;
  opacity: .32
}

.alfa-editorial-screen::after {
  content: "";
  position: absolute;
  top: 1.35%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 3.1%;
  border-radius: 100px;
  background: linear-gradient(115deg, #08090a, #000 70%, #101215);
  box-shadow: inset 0 0 0 1px #202326, 0 1px 2px #0004;
  z-index: 10;
  pointer-events: none
}

.alfa-editorial-scroll {
  inset: 0 0 8.8% 0;
  overflow: hidden
}

.alfa-editorial-scroll img {
  width: 100% !important;
  height: auto !important;
  object-fit: initial !important;
  object-position: top !important;
  transform: none !important
}

.alfa-editorial-tabbar {
  height: 9.2%;
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
  border-top: 0;
  box-shadow: 0 -6px 12px #fff9;
  z-index: 5
}

.alfa-editorial-phone-4 {
  left: 3%;
  top: 24%;
  transform: rotate(-12deg) scale(.87);
  z-index: 1
}

.alfa-editorial-phone-2 {
  left: 20%;
  top: 14%;
  transform: rotate(-5deg) scale(.98);
  z-index: 3
}

.alfa-editorial-phone-1 {
  left: 38%;
  top: 7%;
  transform: rotate(-1deg) scale(1.10);
  z-index: 6;
  box-shadow: 0 39px 72px #281c1d60, 0 12px 25px #241b1b35, inset 1px 0 1px #d1d0cd, inset -1px 0 2px #a4a3a1
}

.alfa-editorial-phone-5 {
  left: 59%;
  top: 15%;
  transform: rotate(6deg) scale(.98);
  z-index: 4
}

.alfa-editorial-phone-3 {
  left: 76%;
  top: 25%;
  transform: rotate(13deg) scale(.87);
  z-index: 2
}

.alfa-cover .alfa-editorial-phone {
  border-radius: clamp(13px, 2.5vw, 31px);
  padding: clamp(3px, .4vw, 6px)
}

.alfa-cover .alfa-editorial-bezel {
  border-radius: clamp(11px, 2.3vw, 29px);
  padding: 2px
}

.alfa-cover .alfa-editorial-screen {
  border-radius: clamp(10px, 2.1vw, 27px)
}

@media(max-width:650px) {
  .alfa-editorial-phone {
    width: 32%;
    border-radius: clamp(17px, 4vw, 24px);
    padding: 4px
  }

  .alfa-editorial-bezel {
    border-radius: clamp(14px, 3.7vw, 21px);
    padding: 2px
  }

  .alfa-editorial-screen {
    border-radius: clamp(12px, 3.4vw, 19px)
  }

  .alfa-editorial-phone-4 {
    left: -14%;
    top: 28%
  }

  .alfa-editorial-phone-2 {
    left: 6%;
    top: 21%
  }

  .alfa-editorial-phone-1 {
    left: 34%;
    top: 14%
  }

  .alfa-editorial-phone-5 {
    left: 60%;
    top: 21%
  }

  .alfa-editorial-phone-3 {
    left: 82%;
    top: 28%
  }
}

/* Accessibility helpers; content stays visible until its animation is initialized. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px
}

@media(prefers-reduced-motion:reduce) {
  .reveal.reveal-pending {
    opacity: 1;
    transform: none;
    transition: none
  }
}
