/* ===== Content sections ===== */

/* Section head */
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.sec-head__idx { font-size: 13px; letter-spacing: 0.1em; }
.sec-head__main { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 30px 56px; align-items: end; }
.sec-head__main > h2 {
  line-height: 1.28;
}
.sec-head__aside { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding-bottom: 6px; }
.sec-head--center .sec-head__main { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head--center .sec-head__top { justify-content: center; gap: 16px; }
@media (max-width: 820px) { .sec-head__main { grid-template-columns: 1fr; gap: 22px; } }

/* Logos / marquee */
.logos__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.logos__item { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; color: var(--text-2); white-space: nowrap; }
.logos__item svg { color: var(--accent); }

/* Intro */
.intro__statement { max-width: 16ch; }
.intro__statement { max-width: 22ch; font-weight: 500; }
.intro__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(48px, 6vw, 88px); flex-wrap: wrap; }
.intro__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; flex: 1; min-width: 280px; }
.intro__pillar-h { font-size: 16px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.intro__pillar-h::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.intro__pillar p { font-size: 15px; }
@media (max-width: 760px) { .intro__pillars { grid-template-columns: 1fr; gap: 26px; } }

/* Services grid */
.services-ov__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { text-align: left; padding: 28px 26px 24px; overflow: hidden; min-height: 248px; display: flex; flex-direction: column; }
.svc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent), 0 12px 28px rgba(19,19,22,0.07); }
.svc__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.svc__no { font-size: 13px; color: var(--accent); letter-spacing: 0.08em; }
.svc__tag { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.12em; padding: 5px 10px; border: 1px solid var(--line); border-radius: 100px; }
.svc__title { margin: 30px 0 12px; transition: transform 0.5s var(--ease); }
.svc:hover .svc__title { transform: translateX(4px); }
.svc__blurb { font-size: 14.5px; }
.svc__foot { margin-top: 22px; }
.svc__arrow { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--text); transition: all 0.45s var(--ease); }
.svc:hover .svc__arrow { background: var(--accent); border-color: var(--accent); color: var(--accent-text); transform: rotate(0deg) translate(2px,-2px); }
.svc__glow { position: absolute; top: -40%; right: -30%; width: 60%; height: 80%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none; }
.svc:hover .svc__glow { opacity: 1; }

.svc-support { display: flex; align-items: center; gap: 30px; padding: 24px 28px; margin-top: 16px; text-align: left; }
.svc-support__l { display: flex; flex-direction: column; gap: 6px; flex: none; }
.svc-support__l .mono { font-size: 12px; color: var(--text-3); letter-spacing: 0.08em; }
.svc-support p { flex: 1; font-size: 15px; }
.svc-support:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent), 0 10px 24px rgba(19,19,22,0.06); }
.svc-support:hover .svc__arrow { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
@media (max-width: 880px) { .services-ov__grid { grid-template-columns: 1fr 1fr; } .svc-support { flex-direction: column; align-items: flex-start; gap: 18px; } }
@media (max-width: 560px) { .services-ov__grid { grid-template-columns: 1fr; } }

/* Work grid */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.work { text-align: left; overflow: hidden; padding: 14px; display: flex; flex-direction: column; }
.work--lg { grid-column: 1 / -1; }
.work__media { aspect-ratio: 16 / 10; border-radius: var(--r-md); width: 100%; position: relative; }
.work__media.has-image { background-size: cover; background-position: center; }
.work__media.has-image::after { display: none; }
.work__media.has-image .work__mediatag { background: color-mix(in srgb, var(--bg) 78%, transparent); border: 1px solid var(--line); border-radius: 100px; padding: 5px 10px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.work--lg .work__media { aspect-ratio: 21 / 9; }
.work__mediatag { position: absolute; top: 14px; left: 14px; font-size: 11px; color: var(--text-3); letter-spacing: 0.08em; }
.work__hoverbtn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: color-mix(in srgb, var(--pa, var(--accent)) 16%, transparent);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  color: var(--text); font-weight: 600; font-size: 15px;
  opacity: 0; transition: opacity 0.45s var(--ease); border-radius: var(--r-md);
}
.work:hover .work__hoverbtn { opacity: 1; }
.work:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--pa, var(--accent)) 22%, transparent), 0 12px 28px rgba(19,19,22,0.07); border-color: var(--line); }
.work__meta { padding: 18px 8px 8px; }
.work__metatop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.work__title { transition: color 0.3s var(--ease); }
.work:hover .work__title { color: var(--accent); }
.work__year { font-size: 12px; }
.work__sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.work__sub .muted { font-size: 14px; }
.work__type { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 10px; border: 1px solid var(--line); border-radius: 100px; }
.work__flag { position: absolute; top: 22px; right: 22px; font-size: 11px; color: var(--accent); letter-spacing: 0.08em; background: var(--surface); padding: 5px 11px; border-radius: 100px; border: 1px solid var(--line); z-index: 2; }
@media (max-width: 720px) { .work-grid { grid-template-columns: 1fr; } }

/* Why bento */
.why__bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why__cell { padding: 28px 26px; display: flex; flex-direction: column; min-height: 230px; position: relative; overflow: hidden; }
.why__cell--big { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: clamp(24px, 5vw, 72px); min-height: 0; padding: 40px clamp(28px, 4vw, 48px); background: var(--text); color: var(--bg); border-color: transparent; }
.why__big-l { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.why__cell--big .why__tag { color: var(--accent-2); margin-bottom: 0; }
.why__cell--big .why__t { margin: 0; }
.why__big-d { max-width: 38ch; color: color-mix(in srgb, var(--bg) 64%, var(--text)); flex: 1; }
.why__cell:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent), 0 12px 28px rgba(19,19,22,0.07); }
.why__tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: auto; }
.why__t { margin: 26px 0 12px; }
.why__num { position: absolute; bottom: 18px; right: 22px; font-size: 12px; color: var(--text-3); }
.why__cell--big .why__num { color: color-mix(in srgb, var(--bg) 50%, var(--text)); }
@media (max-width: 900px) { .why__bento { grid-template-columns: 1fr; } .why__cell--big { flex-direction: column; align-items: flex-start; gap: 18px; } .why__big-l { gap: 14px; } }

/* Process */
.process__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.process__line { position: absolute; top: 26px; left: 6%; right: 6%; height: 1px; background: var(--line); transform-origin: left; }
.process__line.is-in { animation: drawline 1.2s var(--ease) forwards; }
@keyframes drawline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.process__node { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; position: relative; z-index: 1; margin-bottom: 24px; transition: all 0.4s var(--ease); }
.process__node .mono { font-size: 13px; color: var(--accent); }
.process__step:hover .process__node { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }
.process__step:hover .process__node .mono { color: var(--accent-text); }
.process__t { margin-bottom: 10px; }
.process__step p { font-size: 14.5px; }
@media (max-width: 820px) { .process__track { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .process__line { display: none; } }
@media (max-width: 460px) { .process__track { grid-template-columns: 1fr; } }

/* FAQ */
.faq-sec__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-sec__head { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.faq-sec__head .eyebrow { margin-bottom: 6px; }
.faq-sec__head .btn { margin-top: 10px; }
.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); opacity: 1; transform: none; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; gap: 20px; padding: 26px 4px; text-align: left; transition: padding 0.3s var(--ease); }
.faq__qn { font-size: 12px; color: var(--text-3); flex: none; }
.faq__qt { flex: 1; font-size: clamp(17px, 2vw, 21px); font-weight: 500; letter-spacing: -0.01em; transition: color 0.3s var(--ease); }
.faq__q:hover .faq__qt { color: var(--accent); }
.faq__icon { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); transition: all 0.4s var(--ease); }
.faq__item.is-open .faq__icon { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease), opacity 0.35s var(--ease); opacity: 0; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a { opacity: 1; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p { padding: 0 56px 28px 44px; max-width: 60ch; font-size: 15.5px; }
@media (max-width: 820px) { .faq-sec__grid { grid-template-columns: 1fr; } .faq-sec__head { position: static; } .faq__a-inner p { padding: 0 0 26px 44px; } }

html[data-theme="dark"] .svc:hover,
html[data-theme="dark"] .svc-support:hover,
html[data-theme="dark"] .work:hover,
html[data-theme="dark"] .why__cell:hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent), 0 12px 30px rgba(0,0,0,0.24);
}

@media (max-width: 760px) {
  .sec-head__top { align-items: flex-start; gap: 14px; flex-direction: column; }
  .intro__row { align-items: flex-start; gap: 30px; }
  .svc { min-height: auto; padding: 24px 22px; }
  .svc__title { margin-top: 24px; }
  .work--lg .work__media, .work__media { aspect-ratio: 4 / 3; }
  .work__metatop, .work__sub { align-items: flex-start; flex-direction: column; gap: 8px; }
  .why__cell { min-height: auto; padding: 24px 22px 52px; }
  .why__cell--big { padding: 28px 22px; }
  .process__track { gap: 28px; }
  .faq__q { gap: 12px; padding: 22px 0; align-items: flex-start; }
  .faq__icon { width: 34px; height: 34px; }
  .faq__qt { font-size: 17px; line-height: 1.35; }
  .cta-band__title { max-width: 11ch; font-size: clamp(42px, 13vw, 62px); }
  .cta-band__meta { flex-direction: column; align-items: center; gap: 12px; }
}

@media (max-width: 560px) {
  .sec-head { margin-bottom: 34px; }
  .sec-head__top { margin-bottom: 16px; }
  .intro__statement { max-width: 100%; }
  .logos__item { font-size: 20px; }
  .services-ov__grid { gap: 10px; }
  .svc { 
    min-height: 0;
    padding: 14px;
    border-radius: var(--r-md);
  }
  .svc__top { margin-bottom: 12px; }
  .svc__no { font-size: 11px; }
  .svc__tag { font-size: 9px; letter-spacing: 0.09em; padding: 4px 8px; }
  .svc__title { margin: 0 0 7px; font-size: 18px; line-height: 1.12; }
  .svc__blurb { font-size: 13px; line-height: 1.42; }
  .svc__foot { margin-top: 12px; }
  .svc__arrow { width: 32px; height: 32px; }
  .svc-support {
    margin-top: 10px;
    padding: 14px;
    gap: 10px;
    border-radius: var(--r-md);
  }
  .svc-support__l .mono { font-size: 10px; }
  .svc-support p { font-size: 13px; line-height: 1.42; }
  .work { padding: 10px; }
  .work__meta { padding: 14px 4px 4px; }
  .work__flag { top: 16px; right: 16px; }
  .faq__q { min-height: 64px; padding: 18px 0; }
  .faq__qn { font-size: 11px; padding-top: 2px; }
  .faq__qt { font-size: 15.5px; line-height: 1.3; }
  .faq__a-inner p { padding: 0 0 22px 34px; font-size: 14.5px; }
  .cta-band { padding-bottom: max(58px, calc(38px + var(--safe-bottom))); }
  .cta-band__actions .btn { min-height: 46px; }
}

/* CTA band */
.cta-band { position: relative; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cta-band__orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.cta-band__orb--1 { width: 380px; height: 380px; background: var(--accent); top: -120px; left: -60px; opacity: 0.18; }
.cta-band__orb--2 { width: 300px; height: 300px; background: var(--accent-2); bottom: -100px; right: -40px; opacity: 0.14; animation-delay: 2s; }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.cta-band__title { max-width: 16ch; line-height: 1.28; }
.cta-band__sub { max-width: 52ch; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-band__meta { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; font-size: 12px; color: var(--text-3); letter-spacing: 0.04em; margin-top: 8px; }
.cta-band__meta span { display: inline-flex; align-items: center; gap: 8px; }
.cta-band__meta svg { color: var(--accent); }
