/* About + History pages. Uses tokens from style.css. */

/* ---------- shared decoration ---------- */
.has-deco { overflow: clip; }
.has-deco > .container { position: relative; z-index: 1; }
.deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.deco__s { position: absolute; display: block; will-change: translate; }
.deco__s--ring { width: clamp(120px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%; border: 16px solid var(--blue); opacity: .18; right: -3%; top: 6%; }
.deco__s--dot { width: 44px; aspect-ratio: 1; border-radius: 50%; background: var(--red); opacity: .2; left: 4%; bottom: 10%; }
.deco__s--dot2 { width: 30px; aspect-ratio: 1; border-radius: 50%; background: var(--green); opacity: .28; left: 3%; top: 12%; }
.deco__s--blob { width: clamp(100px, 14vw, 190px); aspect-ratio: 1.2; background: var(--yellow); opacity: .35; border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%; right: 4%; bottom: 3%; }

/* ---------- company ---------- */
.about-split { gap: clamp(32px, 6vw, 80px); }
.collage { position: relative; padding: 0 0 12% 0; max-width: 560px; margin-inline: auto; width: 100%; }
.collage__blob { position: absolute; width: 70%; aspect-ratio: 1; right: -6%; top: -6%; border-radius: 50%; background: var(--yellow); opacity: .55; z-index: 0; }
.collage__main { position: relative; z-index: 1; width: 82%; margin-left: auto; --ratio: 1/1; background: var(--white); }
.collage__main img { object-fit: contain; padding: 4%; }
.collage__side { position: absolute; z-index: 2; left: 0; bottom: 0; width: 46%; border: 6px solid var(--white); border-radius: var(--r-lg); }
.collage__badge { position: absolute; z-index: 3; right: 4%; bottom: 3%; background: var(--white); padding: 10px 16px; border-radius: var(--r-pill); box-shadow: var(--shadow-md); }
.collage__badge img { height: 30px; width: auto; }
.about-stats { margin-top: clamp(48px, 7vw, 88px); padding: clamp(24px, 3.4vw, 40px); background: var(--cream); border-radius: var(--r-xl); border: 1px solid var(--line); }
.about-stats .stat { padding-left: 16px; border-left: 4px solid var(--line); }
.about-stats .stat:nth-child(1) { border-color: var(--red); } .about-stats .stat:nth-child(2) { border-color: var(--blue); }
.about-stats .stat:nth-child(3) { border-color: var(--green); } .about-stats .stat:nth-child(4) { border-color: var(--yellow); }

/* ---------- product tiles ---------- */
.tile { --accent: var(--red); display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-xl); overflow: hidden; text-decoration: none; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: translate .3s var(--ease), box-shadow .3s; }
.tile--blue { --accent: var(--blue); } .tile--green { --accent: var(--green); }
.tile:hover { translate: 0 -8px; box-shadow: var(--shadow-lg); }
.tile__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream); border-bottom: 6px solid var(--accent); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.07); }
.tile__body { display: flex; flex-direction: column; gap: .35rem; padding: clamp(20px, 2.4vw, 28px); flex: 1; }
.tile__title { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.1; }
.tile__text { color: var(--ink-soft); }
.tile__go { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--red-dark); }
.tile--blue .tile__go { color: var(--blue-dark); } .tile--green .tile__go { color: var(--green-dark); }
.tile__go .btn__icon { transition: transform .25s var(--ease); }
.tile:hover .btn__icon { transform: translateX(5px); }

/* ---------- vision & mission ---------- */
.vm { gap: clamp(20px, 3vw, 36px); }
.vm__card { display: flex; flex-direction: column; justify-content: center; min-height: clamp(300px, 36vw, 420px); }
.vm__card--vision { background: var(--yellow); color: var(--ink); }
.vm__card--mission { background: var(--blue-dark); color: var(--white); }
.vm__mark { width: 64px; height: 64px; margin-bottom: 1.2rem; opacity: .35; }
.vm__label { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; margin-bottom: 1rem; }
.vm__text { font-family: var(--font-head); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; font-size: clamp(1.9rem, 3.8vw, 3.1rem); margin: 0; }
.vm__card::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 190px; height: 190px; border-radius: 50%; border: 26px solid rgba(255,255,255,.22); }
.vm__card--vision::after { border-color: rgba(227, 30, 38, .22); }

/* ---------- SPIRIT ---------- */
.spirit { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 960px) { .spirit { grid-template-columns: 5fr 7fr; align-items: start; } .spirit__sticky { position: sticky; top: calc(var(--header-h) + 28px); } }
.spirit-letters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 1.6rem; max-width: 440px; }
.spirit-letters__l { aspect-ratio: 3 / 4; display: grid; place-items: center; border-radius: 14px; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 4.2vw, 2.7rem); line-height: 1; background: var(--c); color: var(--fg, #fff); transition: transform .45s var(--ease), opacity .45s, filter .45s; }
.spirit-letters__l--red, .spirit-row--red { --c: var(--red-dark); --fg: #fff; }
.spirit-letters__l--blue, .spirit-row--blue { --c: var(--blue-dark); --fg: #fff; }
.spirit-letters__l--green, .spirit-row--green { --c: var(--green-dark); --fg: #fff; }
.spirit-letters__l--yellow, .spirit-row--yellow { --c: var(--yellow); --fg: var(--ink); }
.js .spirit-letters__l:not(.is-on) { opacity: .28; filter: grayscale(.9); transform: scale(.92); }
.spirit-letters__l.is-on { transform: translateY(-6px) scale(1.04); box-shadow: var(--shadow-md); }
.spirit__list { display: grid; gap: clamp(12px, 1.6vw, 18px); }
.spirit-row { display: grid; grid-template-columns: clamp(72px, 12vw, 112px) 1fr; align-items: center; gap: clamp(14px, 2.4vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(12px, 1.6vw, 18px); box-shadow: var(--shadow-sm); transition: box-shadow .3s, translate .3s var(--ease); }
.spirit-row:hover { translate: 6px 0; box-shadow: var(--shadow-md); }
.spirit-row__letter { aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--r-md); background: var(--c); color: var(--fg); font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 7vw, 4.8rem); line-height: 1; }
.spirit-row h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: .25em; }
.spirit-row__init { color: var(--c); }
.spirit-row--yellow .spirit-row__init { color: var(--ink); }
.spirit-row--red .spirit-row__init { color: var(--red-dark); }
.spirit-row p { margin: 0; color: var(--ink-soft); }

/* ---------- IT-CAN-BE ---------- */
.culture { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .culture { grid-template-columns: 1fr 1.25fr 1.25fr; align-items: stretch; } }
.culture-group { --c: var(--red-dark); background: var(--white); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-md); border-top: 8px solid var(--c); position: relative; overflow: hidden; }
.culture-group--blue { --c: var(--blue-dark); } .culture-group--green { --c: var(--green-dark); }
.culture-group__word { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 9vw, 6.5rem); line-height: .9; letter-spacing: -.05em; color: var(--c); margin: 0 0 .25em; }
.culture-group__list li + li { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.culture-group__list strong { display: block; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: -.02em; }
.culture-group__list span { color: var(--ink-soft); }

/* ---------- logo ---------- */
.logo-intro { gap: clamp(32px, 6vw, 80px); }
.logo-stage { position: relative; display: grid; place-items: center; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; }
.logo-stage__icon { position: relative; width: 62%; height: auto; border-radius: 50%; box-shadow: var(--shadow-lg); background: var(--white); }
.logo-stage__ring { position: absolute; inset: 0; border-radius: 50%; border: 3px dashed var(--blue); opacity: .55; rotate: var(--spin, 0deg); }
.logo-stage__ring--2 { inset: 9%; border: 12px solid var(--yellow); border-style: solid; border-right-color: var(--red); border-bottom-color: var(--green); border-left-color: var(--blue); opacity: .9; }
.logo-wide { width: 100%; max-width: 480px; height: auto; border-radius: var(--r-sm); }
.symbols { margin-top: clamp(40px, 6vw, 72px); }
.symbols .card { display: flex; flex-direction: column; }
.symbols .card h3 { font-size: 1.5rem; }
.symbols .card p { color: var(--ink-soft); }
.symbols .card p:last-child { margin-bottom: 0; }
.logo-close { max-width: 70ch; margin: clamp(32px, 5vw, 56px) auto 0; padding-left: 22px; border-left: 6px solid var(--yellow); font-size: 1.15rem; }
.logo-close p { margin: 0; }

/* ---------- advocacy ---------- */
.adv { gap: clamp(32px, 6vw, 80px); }
.adv__feature { background: var(--white); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-md); border: 1px solid var(--line); text-align: center; }
.adv__feature h3 { font-size: 1.6rem; }
.adv__feature p { color: var(--ink-soft); margin-bottom: 0; text-align: left; }
.adv__dial { position: relative; width: min(100%, 240px); aspect-ratio: 1; margin: 0 auto 1.2rem; }
.adv__dial svg { width: 100%; height: 100%; }
.adv__track, .adv__arc { fill: none; stroke-width: 10; }
.adv__track { stroke: var(--yellow-soft); }
.adv__arc { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 20 100; transition: stroke-dasharray 1.6s var(--ease) .2s; }
.js .adv__arc:not(.is-in) { stroke-dasharray: 0 100; }
.adv__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: clamp(3.4rem, 8vw, 4.8rem); letter-spacing: -.05em; color: var(--green-dark); line-height: 1; }

/* ---------- affiliations ---------- */
.affil { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(12px, 2vw, 24px); }
.affil__chip { padding: 14px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.affil__chip img { height: 52px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- history: timeline ---------- */
.timeline { --fill: 100%; position: relative; display: grid; gap: clamp(28px, 4vw, 56px); padding-block: 12px; margin-top: 12px; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 0; bottom: 0; left: 21px; width: 6px; border-radius: 6px; translate: -50% 0; }
.timeline::before { background: var(--line); }
.timeline::after { background: linear-gradient(180deg, var(--red), var(--yellow) 26%, var(--green) 52%, var(--blue) 78%, var(--red)); clip-path: inset(0 0 calc(100% - var(--fill)) 0); }
.tl-item { position: relative; padding-left: 56px; }
.tl-dot { position: absolute; left: 21px; top: 28px; width: 26px; height: 26px; translate: -50% 0; border-radius: 50%; background: var(--c); border: 5px solid var(--white); box-shadow: 0 0 0 3px var(--c); z-index: 2; transition: transform .5s var(--ease), background .4s, box-shadow .4s; }
.tl-item--red { --c: var(--red); } .tl-item--blue { --c: var(--blue); } .tl-item--green { --c: var(--green); } .tl-item--yellow { --c: var(--yellow); }
.js .tl-item:not(.is-active) .tl-dot { background: var(--white); box-shadow: 0 0 0 3px #CFC8AE; transform: scale(.7); }
.tl-item.is-active .tl-dot { transform: scale(1.25); }
.tl-item--hero .tl-dot { top: 48px; width: 34px; height: 34px; }
.tl-card { --c2: var(--blue-dark); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 2.6vw, 32px); box-shadow: var(--shadow-sm); position: relative; }
.tl-card p { margin: 0; color: var(--ink-soft); }
.tl-card p + p { margin-top: .8rem; }
.tl-card__year { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 8vw, 5.2rem); line-height: .9; letter-spacing: -.05em; color: var(--c2) !important; margin-bottom: .2em !important; }
.tl-item--red .tl-card { --c2: var(--red-dark); } .tl-item--green .tl-card { --c2: var(--green-dark); }
.tl-card--hero { background: var(--yellow); border-color: transparent; box-shadow: var(--shadow-lg); padding: clamp(24px, 3.6vw, 48px); }
.tl-card--hero p { color: var(--ink); font-weight: 500; }
.tl-card--hero .tl-card__year { color: var(--ink) !important; font-size: clamp(4.5rem, 14vw, 9rem); }
.tl-card__tag { margin-bottom: .8rem; }
.tl-card__row { display: grid; gap: 20px; align-items: start; }
@media (min-width: 560px) { .tl-card__row { grid-template-columns: 1fr auto; } }
.tl-card__logo { margin: 0; background: var(--white); border-radius: var(--r-md); padding: 10px; text-align: center; font-size: .8rem; font-weight: 700; line-height: 1.25; max-width: 130px; }
.tl-card__logo img { width: 72px; height: auto; margin: 0 auto 6px; }
@media (min-width: 900px) {
  .timeline::before, .timeline::after { left: 50%; }
  .tl-item { padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .tl-dot { left: 50%; }
  .tl-item--left .tl-item__inner { grid-column: 1; padding-right: clamp(36px, 5vw, 64px); }
  .tl-item--right .tl-item__inner { grid-column: 2; padding-left: clamp(36px, 5vw, 64px); }
  .tl-item--hero .tl-item__inner { grid-column: 1 / -1; padding-inline: clamp(36px, 6vw, 96px) 0; display: grid; justify-items: center; }
  .tl-item--hero .tl-card { width: min(100%, 820px); margin-top: 28px; }
  .tl-item--hero .tl-dot { top: 0; }
  .tl-item--left .tl-card::after, .tl-item--right .tl-card::after { content: ""; position: absolute; top: 40px; width: clamp(36px, 5vw, 64px); height: 3px; background: var(--line); }
  .tl-item--left .tl-card::after { left: 100%; } .tl-item--right .tl-card::after { right: 100%; }
  .tl-item--left .tl-card__year { text-align: right; }
  .tl-item--hero .tl-card__year { text-align: center; }
  .tl-item--hero .tl-card__tag { display: table; margin-inline: auto; margin-bottom: .8rem; }
}
@media (max-width: 899px) { .tl-item--hero .tl-dot { top: 40px; } }

/* ---------- awards ---------- */
.awards-head { gap: clamp(24px, 5vw, 64px); margin-bottom: clamp(32px, 5vw, 56px); }
.awards-stats { grid-template-columns: repeat(2, 1fr); }
.awards { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .awards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .awards { grid-template-columns: repeat(3, 1fr); } .awards .award:nth-child(3n+2) { margin-top: 28px; } }
.award { --c: var(--red); position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-sm); overflow: hidden; }
.award--blue { --c: var(--blue); } .award--green { --c: var(--green); } .award--yellow { --c: var(--yellow); }
.award:hover { box-shadow: var(--shadow-lg); translate: 0 -5px; }
.award__no { position: absolute; right: 16px; top: 8px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; letter-spacing: -.05em; color: var(--yellow-soft); line-height: 1; }
.award__img { width: auto; height: auto; max-width: 100%; max-height: 72px; margin-bottom: 14px; object-fit: contain; align-self: flex-start; position: relative; }
.award__name { font-size: 1.25rem; position: relative; margin-bottom: .35em; }
.award__body { color: var(--ink-soft); margin-bottom: 1rem; position: relative; }
.award__years { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.award__years .chip { padding: .25em .8em; font-size: .8125rem; }

@media (prefers-reduced-motion: reduce) {
  .adv__arc, .spirit-letters__l, .tl-dot { transition: none !important; }
  .tile:hover, .award:hover, .spirit-row:hover { translate: none; }
}
