/* FlamEL Website — mobile-first layout */
:root {
  /* Ink + FlamEL brand red (#e1002a) for accents/buttons */
  --kit-navy: #111111;
  --kit-blue: #e1002a;
  --kit-sky: #e85a55;
  --kit-gold: #c41e3a;
  --color-ink: #111111;
  --color-body: #3F3F46;
  --color-muted: #71717A;
  --font-ko: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
  --font-emphasis: 'Montserrat', 'Pretendard', system-ui, sans-serif;
}

body {
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  color: var(--color-body);
}

/* Responsive base font: rem-based Tailwind scales up on larger screens */
html { font-size: 16px; }
@media (min-width: 1024px) { html { font-size: 16.5px; } }   /* laptop */
@media (min-width: 1440px) { html { font-size: 16.5px; } }   /* FHD (1920) — slightly smaller */
@media (min-width: 2400px) { html { font-size: 18px; } }     /* QHD (2560) — keep preferred size */

/* English emphasis typeface (Montserrat) across all pages.
   Korean glyphs fall back to Pretendard via the font stack. */
.font-emphasis,
.portfolio-card__concept,
.about2-intro__title,
.about2-values__section-title,
.about2-values__card-title,
.about2-contact__section-title,
.about2-statement__title {
  font-family: var(--font-emphasis);
}

/* ── Footer bottom-nav: floating pill (main + sub) ── */
.bottom-nav {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: 1rem;
  width: 92%;
  max-width: 64rem;
  background-color: var(--kit-blue);
  border-top: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(225, 0, 42, .28);
}
.bottom-nav__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  text-align: center;
}
.bottom-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease;
}
.bottom-nav__item:hover {
  color: rgba(255, 255, 255, 0.95);
}
.bottom-nav__item.is-active {
  color: #fff;
  font-weight: 800;
  background-color: transparent;
  box-shadow: inset 0 -2px 0 #fff;
}

/* ── Sub-page body: white background ── */
body:not(.is-landing) {
  background: #ffffff;
}

/* ── About page sections (light surface) — scoped to win over dark base rules ── */
.page-about-light .about2-intro__title,
.page-about-light .about2-values__section-title,
.page-about-light .about2-contact__section-title {
  color: var(--kit-navy);
}
.page-about-light .about2-intro__text {
  color: #334155;
}
.page-about-light .about2-intro__lead b {
  color: var(--kit-blue, #e1002a);
  font-weight: 700;
}
.page-about-light .about2-intro__sources {
  border-top-color: #e5e7eb;
  color: #94a3b8;
}
.page-about-light .about2-intro__media {
  background: #f1f5f9;
  border-radius: 16px;
}
.page-about-light .about2-values__card,
.page-about-light .about2-contact__form-card {
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(61, 10, 18, .06);
}
.page-about-light .about2-values__card-title {
  color: var(--kit-navy);
}
.page-about-light .about2-values__card-text {
  color: #334155;
}
.page-about-light .about2-contact__desc,
.page-about-light .about2-contact__desc--lead {
  color: #334155;
}
.page-about-light .about2-wechat-panel {
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(61, 10, 18, .06);
}
.page-about-light .about2-contact__block-title {
  color: var(--kit-navy);
}
.page-about-light .about2-contact__list {
  color: #334155;
}
.page-about-light .about2-contact__label {
  color: #475569;
}
.page-about-light .about2-contact__info {
  color: #334155;
}
.page-about-light .about2-contact__info a {
  color: var(--kit-blue);
}
.about2-company {
  border-top-color: #e2e8f0;
}
.page-about-light .about2-company__text,
.page-about-light .about2-company__office {
  color: #475569;
}
.page-about-light .about2-company__name {
  color: #0f172a;
}
.page-about-light .about2-company__email a {
  color: #334155;
}

/* ── Header background spans full viewport width ── */
.site-header {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.site-header > div {
  width: 100%;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

/* ── Sub-page header: translucent frosted on scroll ── */
body:not(.is-landing) .site-header {
  transition: background-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
}
body:not(.is-landing) .site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-bottom-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 12px rgba(61, 10, 18, .06);
}
.site-logo__img { transition: filter .25s ease; }
.site-logo__sub { transition: color .25s ease, border-color .25s ease; }
.nav-toggle span { transition: background-color .25s ease; }

/* Side drawer menu */
.side-menu {
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.side-menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0s linear;
}
.side-menu__backdrop {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.side-menu__panel {
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  background-color: #fff;
  box-shadow: -12px 0 40px rgba(0, 0, 0, .12);
  color: var(--color-ink);
}
.side-menu__panel a,
.side-menu__panel button {
  color: var(--color-ink);
  font-weight: 600;
}
.side-menu__panel a:hover,
.side-menu__panel button:hover { color: var(--kit-blue); }
.side-menu__panel hr { border-color: #e5e7eb; }
.side-menu__panel .text-gray-500 { color: var(--color-muted); }
.side-menu.is-open .side-menu__panel {
  transform: translateX(0);
}
.side-menu__group { display: flex; flex-direction: column; gap: .55rem; }
.side-menu__parent { display: block; }
.side-menu__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0 .15rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.side-menu__sub a {
  display: block;
  font-size: .9rem;
  font-weight: 560;
  color: #475569 !important;
  line-height: 1.35;
  padding: .15rem 0 .15rem .85rem;
  border-left: 2px solid #fecaca;
  white-space: normal;
  word-break: break-word;
}
.side-menu__sub a:hover { color: var(--kit-blue) !important; border-left-color: #e1002a; }

/* ── Hero slider (full-bleed, always fills the visible viewport) ── */
.hero-slider {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* Fallbacks first, then dynamic viewport, then JS-measured height. */
  height: 100vh;
  height: 100dvh;
  height: var(--app-height, 100dvh);
  overflow: hidden;
  background: #3d0a12;
  touch-action: pan-y;
}

.hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform .85s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.hero-slider__track.is-dragging { transition: none; }

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Background image layer (separate so it can zoom independently) */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--slide-bg-current, none);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transform-origin: center;
  transition: opacity .9s ease, transform 6s ease-out;
  will-change: transform;
}
.hero-slide.is-bg-ready::before { opacity: 1; }

/* Slow zoom-in (Ken Burns) while the slide is active */
.hero-slide.is-active::before { transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide::before { transition: none; }
  .hero-slide.is-active::before { transform: scale(1); }
}

/* Text vertical position (mobile defaults, overridden by PC at lg) */
.hero-slide.pos-m-top { justify-content: flex-start; }
.hero-slide.pos-m-middle { justify-content: center; }
.hero-slide.pos-m-bottom { justify-content: flex-end; }
@media (min-width: 1024px) {
  .hero-slide.pos-pc-top { justify-content: flex-start; }
  .hero-slide.pos-pc-middle { justify-content: center; }
  .hero-slide.pos-pc-bottom { justify-content: flex-end; }
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61, 10, 18,.35) 0%, rgba(61, 10, 18,.15) 38%, rgba(61, 10, 18,.72) 100%);
}

.hero-slide__inner {
  position: relative;
  z-index: 1;
  color: #fff;
  width: 100%;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
}
.hero-slide.pos-m-bottom .hero-slide__inner { padding-top: 2rem; padding-bottom: 7rem; }
.hero-slide.pos-m-top .hero-slide__inner { padding-top: 5.5rem; padding-bottom: 2rem; }
.hero-slide.pos-m-middle .hero-slide__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (max-width: 1023px) {
  .hero-slide__inner {
    padding-left: calc(1rem + 4%);
    padding-right: calc(1rem + 4%);
    transform: translateY(2em);
  }
}
@media (min-width: 1024px) {
  .hero-slide.pos-pc-bottom .hero-slide__inner { padding-top: 2rem; padding-bottom: 8rem; }
  .hero-slide.pos-pc-top .hero-slide__inner { padding-top: 7rem; padding-bottom: 2rem; }
  .hero-slide.pos-pc-middle .hero-slide__inner { padding-top: 4rem; padding-bottom: 4rem; }
}
.hero-slide__title {
  margin: 0 0 .9rem;
  font-size: clamp(1.7rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
}
.hero-slide__desc {
  margin: 0 0 1.6rem;
  font-size: clamp(.95rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  opacity: .95;
}
.hero-slide__title--pc, .hero-slide__desc--pc { display: none; }
.hero-slide__title--mobile, .hero-slide__desc--mobile { display: block; }
@media (min-width: 1024px) {
  .hero-slide__title--pc, .hero-slide__desc--pc { display: block; }
  .hero-slide__title--mobile, .hero-slide__desc--mobile { display: none; }
}
.hero-slide__btn {
  display: inline-block;
  background: #fff;
  color: var(--kit-navy);
  font-weight: 700;
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  padding: .8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.hero-slide__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.25); }

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .15s;
}
.hero-arrow:hover { background: rgba(255,255,255,.34); }
.hero-arrow--prev { left: .6rem; }
.hero-arrow--next { right: .6rem; }

/* Dots */
.slide-dots {
  position: absolute;
  bottom: 6rem;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .5rem;
}
.slide-dots button {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .2s, background .2s;
}
.slide-dots button.is-active { background: #fff; width: 22px; }

@media (min-width: 1024px) {
  .hero-slide__inner { padding: 0 2rem 8rem; }
  .hero-arrow { width: 52px; height: 52px; }
  .hero-arrow--prev { left: 1.5rem; }
  .hero-arrow--next { right: 1.5rem; }
  .slide-dots { bottom: 5rem; }
}

/* Landing: transparent header overlay over the full-screen slider */
body.is-landing .site-shell {
  position: relative;
  max-width: none;
  width: 100%;
}
body.is-landing .site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}
body.is-landing .site-header > div {
  max-width: 64rem;
}
body.is-landing .site-logo__img { filter: brightness(0) invert(1); }
body.is-landing .site-logo__sub { color: #fff; border-color: rgba(255,255,255,.5); }
body.is-landing .nav-toggle span { background: #fff; }

.board-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.board-card__image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  object-fit: cover;
  width: 100%;
}
.board-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kit-sky);
  font-size: 13px;
  font-weight: 600;
}

.filter-pill {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  text-decoration: none;
}
.filter-pill.is-active {
  background: var(--kit-blue);
  border-color: var(--kit-blue);
  color: #fff;
}

.tag-hash {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--kit-blue);
  background: #eff6ff;
  border-radius: 999px;
  padding: 4px 10px;
  text-decoration: none;
}
.tag-hash:hover { background: #dbeafe; }

.concept-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--kit-gold);
}

.btn-sample {
  background: var(--kit-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

.about-section { scroll-margin-top: 1rem; }

/* ===== About page (AthenaTov-style layout) ===== */
/* Row 1: intro */
.about2-intro__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.about2-intro__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-ko);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: #fff;
  word-break: keep-all;
}
.about2-intro__text {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  font-family: var(--font-ko);
  font-size: clamp(.88rem, 1.35vw, 1rem);
  line-height: 1.75;
  color: #cbd5e1;
  word-break: keep-all;
}
.about2-intro__lead {
  margin: 0 0 .15rem;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.55;
  color: inherit;
}
.about2-intro__sources {
  margin-top: 1.35rem;
  padding-top: .85rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-family: var(--font-ko);
  font-size: .72rem;
  line-height: 1.55;
  color: #94a3b8;
  word-break: keep-all;
}
.about2-intro__sources p { margin: 0; }
.about2-intro__media {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
  border-radius: 16px;
  padding: 1rem;
  overflow: hidden;
}
.about2-intro__media--photo {
  padding: 0;
  background: #eef1f4;
}
.about2-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.about2-intro__media--photo img {
  border-radius: 16px;
}
.about2-intro__media lottie-player {
  width: 60%;
  height: 60%;
}
@media (min-width: 1024px) {
  .about2-intro__grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 3.5rem;
  }
}

/* Row 2: core values 2x2 */
.about2-values__section-title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
}
.about2-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.about2-values__card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(61, 10, 18, .18);
}
.about2-values__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}
.about2-values__icon img { width: 100%; height: 100%; object-fit: contain; }
.about2-values__icon lottie-player { width: 100%; height: 100%; }
.about2-values__card-title {
  margin: 0 0 .75rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--kit-navy);
}
.about2-values__card-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
  color: #475569;
}
@media (min-width: 768px) {
  .about2-values__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .about2-values__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* Row 3: statement with bg image */
.about2-statement {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.about2-statement__bg-image {
  position: absolute;
  inset: 0;
  background-image: var(--about-statement-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.about2-statement__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,28,40,.7) 0%, rgba(20,28,40,.82) 100%);
}
.about2-statement__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding-top: 5em;
  padding-bottom: 5em;
}
.about2-statement__lead {
  margin: 0 0 1.25rem;
  font-size: clamp(.85rem, 1.3vw, 1rem);
  line-height: 1.7;
  color: rgba(255,255,255,.88);
  max-width: 62ch;
  word-break: keep-all;
}
.about2-statement__title {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--kit-blue, #e1002a);
  max-width: 62ch;
  word-break: keep-all;
}

/* Row 4: contact */
.about2-contact__section-title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
}
.about2-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.about2-contact__desc {
  margin: 0 0 1.5rem;
  font-size: .95rem;
  line-height: 1.7;
  color: #cbd5e1;
}
.about2-contact__desc--lead {
  margin: -.5rem 0 1.5rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: #334155;
}
.about2-contact__grid--split {
  align-items: stretch;
}
.about2-wechat-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(61, 10, 18, .12);
  border: 1px solid #e5e7eb;
  text-align: center;
}
.about2-wechat-panel__intro {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  color: #64748b;
  word-break: keep-all;
}
.about2-wechat-panel__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--kit-navy);
}
.about2-wechat-panel__qr {
  width: min(220px, 70%);
  height: auto;
  border-radius: 12px;
  background: #f8fafc;
}
.about2-wechat-panel__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  text-align: left;
}
.about2-wechat-panel__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem .75rem;
  padding: .55rem .7rem;
  border-radius: 10px;
  background: #f8fafc;
  font-size: .88rem;
}
.about2-wechat-panel__item strong {
  color: var(--kit-navy);
  font-weight: 700;
}
.about2-wechat-panel__item a {
  color: var(--kit-blue);
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
}
.about2-wechat-panel__item a:hover { text-decoration: underline; }
.about2-contact__block { margin-bottom: 1.25rem; }
.about2-contact__block-title {
  margin: 0 0 .5rem;
  font-weight: 700;
  color: #fff;
}
.about2-contact__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  line-height: 1.7;
  color: #cbd5e1;
}
.about2-contact__label {
  margin: 0 0 .25rem;
  font-weight: 700;
  color: #94a3b8;
}
.about2-contact__info a { color: var(--kit-sky); text-decoration: none; }
.about2-contact__info a:hover { text-decoration: underline; }

.about2-contact__form-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(61, 10, 18, .2);
}
.about2-contact__form { display: flex; flex-direction: column; gap: .85rem; }
.about2-contact__field-label {
  display: block;
  margin-bottom: .3rem;
  font-size: .8rem;
  font-weight: 600;
  color: #475569;
}
.about2-contact__input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: .6rem .75rem;
  font-size: .9rem;
  color: var(--kit-navy);
  background: #fff;
}
.about2-contact__input:focus {
  outline: none;
  border-color: var(--kit-blue);
  box-shadow: 0 0 0 3px rgba(227, 24, 55, .12);
}
.about2-contact__submit {
  margin-top: .25rem;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--kit-blue);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  padding: .8rem;
  cursor: pointer;
  transition: background-color .18s ease;
}
.about2-contact__submit:hover { background: var(--kit-navy); }
.about2-contact__msg { margin: .25rem 0 0; text-align: center; font-size: .85rem; }
.about2-contact__msg.is-ok { color: #16a34a; }
.about2-contact__msg.is-error { color: #dc2626; }
@media (min-width: 1024px) {
  .about2-contact__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* Row 5: company info */
.about2-company {
  border-top: 1px solid rgba(255,255,255,.1);
}
.about2-company__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.about2-company__text {
  margin: 0;
  font-size: .85rem;
  line-height: 1.8;
  color: #94a3b8;
}
.about2-company__offices {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 40rem;
}
.about2-company__office {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin: 0;
  font-style: normal;
  font-size: .85rem;
  line-height: 1.65;
  color: #94a3b8;
}
.about2-company__name {
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: .01em;
}
.about2-company__email {
  margin: .15rem 0 0;
  font-size: .85rem;
  line-height: 1.65;
}
.about2-company__email a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
}
.about2-company__email a:hover {
  text-decoration: underline;
}
.about2-company__logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  opacity: .85;
}
.about2-company__logo {
  display: block;
  width: 98px;
  height: auto;
}
@media (min-width: 768px) {
  .about2-company__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .about2-company__logos { align-items: flex-end; }
}

/* Detail (view) content panel */
.detail-panel {
  background: #fff;
  color: var(--kit-navy);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}
@media (min-width: 1024px) {
  .detail-panel { padding: 2rem; }
}
.detail-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: .875rem;
  color: var(--kit-blue);
}
.detail-back:hover { color: var(--kit-navy); }

/* Detail hero: text left / image right (mobile 70/5/25) */
.detail-hero {
  display: flex;
  align-items: flex-start;
  gap: 5%;
  margin-bottom: 1.5rem;
}
.detail-hero__text {
  flex: 0 0 70%;
  max-width: 70%;
  min-width: 0;
}
.detail-hero__media {
  flex: 0 0 25%;
  max-width: 25%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}
.detail-hero__img {
  display: block;
  width: 92%;
  height: auto;
  max-width: 92%;
  object-fit: contain;
  border-radius: 12px;
}
/* Detail logo = 2x list-card logo */
.detail-hero__logo-wrap { margin: 0 0 .75rem; }
.detail-hero__logo {
  display: block;
  height: 4.5rem;
  width: auto;
  max-width: min(440px, 90%);
  object-fit: contain;
}
.detail-hero--no-media .detail-hero__text {
  flex: 1 1 auto;
  max-width: 100%;
}
@media (min-width: 768px) {
  .detail-hero {
    gap: 1.5rem;
  }
  .detail-hero__text {
    flex: 1 1 0;
    max-width: none;
  }
  .detail-hero__media {
    flex: 0 0 38%;
    max-width: 38%;
  }
}
@media (min-width: 1024px) {
  .detail-hero__media {
    flex: 0 0 34%;
    max-width: 34%;
  }
}

.prose-kit img { max-width: 100%; height: auto; border-radius: 12px; }
.prose-kit ul { list-style: disc; padding-left: 1.25rem; }
.prose-kit p { margin-bottom: .75rem; line-height: 1.65; }

.contact-modal.is-open { display: block; }
.contact-modal__backdrop {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* ── Scroll to top + floating contact ── */
.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: calc(8.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--kit-navy);
  box-shadow: 0 4px 16px rgba(15, 28, 48, .12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}
.scroll-top:hover { background: #fff; box-shadow: 0 6px 20px rgba(15, 28, 48, .16); }
@media (min-width: 1024px) {
  .scroll-top {
    right: 1.5rem;
    bottom: calc(9rem + env(safe-area-inset-bottom, 0px));
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* ── Floating contact button ── */
.contact-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--kit-blue), var(--kit-navy));
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 21, 37, .35);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(139, 21, 37, .45);
}
.contact-fab:active { transform: scale(.97); }
.contact-fab__icon { display: block; }
@media (min-width: 1024px) {
  .contact-fab {
    right: 1.5rem;
    bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* ── Sub-page hero: text row above image ── */
.page-hero {
  margin-bottom: 3em;
}
.page-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  margin-bottom: .85rem;
  padding: .4rem .85rem;
  font-size: .8rem;
  color: #64748b;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
}
.page-hero__breadcrumb a {
  color: #64748b;
  text-decoration: none;
}
.page-hero__breadcrumb a:hover { color: var(--kit-blue); }
.page-hero__breadcrumb-sep { margin: 0 .4rem; color: #cbd5e1; }
.page-hero__breadcrumb-current { color: var(--kit-navy); font-weight: 700; }

.page-hero__copy {
  margin-bottom: 1.25rem;
}
.page-hero__title--logo {
  margin: 0 0 .75rem;
  line-height: 1;
}
.page-hero__logo {
  display: block;
  width: auto;
  height: clamp(2.4rem, 6vw, 3.6rem);
}
.page-hero__title {
  margin: 0 0 .75rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--kit-navy);
}
/* Blue highlighter underline behind the title text */
.page-hero__title-line {
  background-image: linear-gradient(transparent 62%, rgba(240, 75, 98, .45) 62%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 .1em;
}
.page-hero__body {
  position: relative;
  margin: 0;
  font-size: clamp(.9rem, 2vw, 1.05rem);
  line-height: 1.6;
  color: #475569;
  /* Fade/rise — keep text readable even if animation is interrupted */
  opacity: 1;
  transform: none;
  animation: page-hero-body-in .55s cubic-bezier(.5, 0, .2, 1) both;
}
@keyframes page-hero-body-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__body { animation: none; opacity: 1; transform: none; }
}

.page-hero__card {
  position: relative;
  min-height: 12rem;
  border-radius: 16px;
  overflow: hidden;
  background-color: #f7fafc;
  background-image: var(--page-hero-mobile);
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 24px rgba(15, 28, 48, .12), 0 2px 8px rgba(15, 28, 48, .07);
  animation: page-hero-card-rise .9s cubic-bezier(.4, 0, .2, 1) forwards .1s;
}
@keyframes page-hero-card-rise {
  from { transform: translateY(-16px); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__card { animation: none; transform: none; }
}
@media (min-width: 1024px) {
  .page-hero__card {
    background-image: var(--page-hero-desktop);
    min-height: 15rem;
  }
}
.page-hero__card--plain {
  background-color: var(--kit-navy);
  background-image: none;
}

/* ── List header (title + filter) ── */
.list-head {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.list-head__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--kit-navy);
}
.list-head__filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.list-head__filter--portfolio {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: .65rem;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: nowrap;
}
/* Mobile: row1 (concept) and row2 (field+form) share the same full width */
.filter-row--concept { width: 100%; }
.filter-row--field-form {
  width: 100%;
  gap: .65rem;
}
.filter-row--field-form > div { flex: 1 1 0; min-width: 0; }
@media (max-width: 1023px) {
  .list-head__filter--portfolio .filter-label {
    flex: 0 0 2.75rem;
    width: 2.75rem;
    min-width: 2.75rem;
  }
}

@media (min-width: 640px) {
  .list-head:not(.list-head--portfolio) {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .list-head__filter:not(.list-head__filter--portfolio) { flex-wrap: nowrap; }
}

/* PC: title on left, all filters in one row on the right */
@media (min-width: 1024px) {
  .list-head--portfolio {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }
  .list-head--portfolio .list-head__title { white-space: nowrap; }
  .list-head__filter--portfolio {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    justify-content: flex-end;
    gap: 1rem;
  }
  .list-head__filter--portfolio .filter-row--concept,
  .list-head__filter--portfolio .filter-row--field-form {
    width: auto;
  }
  .list-head__filter--portfolio .filter-row--field-form > div { flex: 0 0 auto; }
}

.filter-form-wrap {
  position: relative;
}
.filter-form-wrap.is-locked {
  cursor: not-allowed;
}
.filter-form-wrap.is-locked label {
  color: #94a3b8;
}
.filter-form-wrap.is-locked #filter-form {
  pointer-events: none;
  background-color: #f1f5f9;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 1;
}
.filter-form-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + .5rem);
  transform: translateX(-50%) translateY(4px);
  padding: .45rem .75rem;
  border-radius: 8px;
  background: var(--kit-navy);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 20;
}
.filter-form-tooltip::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--kit-navy);
}
.filter-form-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}

/* ── Scroll reveal (fade/slide in) ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Portfolio grid & cards ── */
.portfolio-grid {
  display: grid;
  gap: 1.75rem;
}
.portfolio-grid > .portfolio-grid__empty {
  grid-column: 1 / -1;
}
@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .portfolio-grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portfolio-card {
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: #fff;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(61, 10, 18, .05), 0 1px 3px rgba(61, 10, 18, .03);
  transition: transform .22s ease, box-shadow .22s ease;
}
@media (min-width: 1024px) {
  .portfolio-card { padding: 2.25rem; }
}

/* Masonry (Pinterest-style) — concept list */
.masonry {
  column-count: 1;
  column-gap: 1.5rem;
}
@media (min-width: 640px) {
  .masonry { column-count: 2; }
}
@media (min-width: 1280px) {
  .masonry { column-count: 3; }
}
.masonry__item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  width: 100%;
}

/* Masonry card: image on top with varied heights for rhythm */
.portfolio-card--masonry {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.portfolio-card--masonry .portfolio-card__body {
  padding: 1.5rem 1.5rem 1.6rem;
}
.portfolio-card__media--top {
  width: 100%;
}
.portfolio-card__media--top .portfolio-card__media-img,
.portfolio-card__media--top .portfolio-card__media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Cyclic heights → Pinterest rhythm */
.media-h-0 { height: 180px; }
.media-h-1 { height: 260px; }
.media-h-2 { height: 220px; }
@media (min-width: 1024px) {
  .media-h-0 { height: 200px; }
  .media-h-1 { height: 300px; }
  .media-h-2 { height: 240px; }
}

/* Concept list — mobile: image on top (original spec); PC: one row each, text left + image right (1/4 of box), width fits bullet text */
.concept-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Concept card: full-width box; row1 (text + right image), row2 (portfolio) */
.concept-card {
  width: 100%;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(15, 28, 48, .06);
  padding: 1.5rem;
  overflow: hidden;
}
.concept-card__main {
  display: flex;
  flex-direction: column-reverse; /* image on top for mobile */
  gap: 1.25rem;
}
.concept-card__text {
  min-width: 0;
  flex: 1;
}
.concept-card__media {
  flex-shrink: 0;
}
.concept-card__media-img,
.concept-card__media-placeholder {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.concept-card__media-img {
  object-fit: cover;
}
.concept-card__media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: .85rem;
}

/* Row 2: portfolio list with a gray divider line above */
.concept-card__portfolio {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}
.concept-card .portfolio-card__bullets {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

@media (min-width: 1024px) {
  .concept-card {
    padding: 2em;
  }
  .concept-card__main {
    flex-direction: row;       /* text left, image right */
    align-items: flex-start;
    gap: 2em;
  }
  .concept-card__media {
    width: 25%;                /* image ≈ 1/4 of card width */
  }
  .concept-card__media-img,
  .concept-card__media-placeholder {
    height: auto;              /* keep aspect ratio (세로 Auto) */
  }
}

/* Card with image on the right (concept list) */
.portfolio-card--media {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.portfolio-card--media .portfolio-card__body {
  padding: 1.75rem 1.6rem;
}
.portfolio-card__media {
  width: 100%;
}
.portfolio-card__media-img,
.portfolio-card__media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}
.portfolio-card__media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: var(--kit-sky);
  font-size: 13px;
  font-weight: 600;
}
@media (min-width: 1024px) {
  .portfolio-card--media {
    flex-direction: row;
    align-items: stretch;
  }
  .portfolio-card--media .portfolio-card__body {
    flex: 1 1 0;
    min-width: 0;
  }
  .portfolio-card--media .portfolio-card__media {
    flex: 1 1 0;
    min-width: 0;
  }
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(61, 10, 18, .1), 0 3px 8px rgba(61, 10, 18, .05);
}
.portfolio-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.portfolio-card__head--actions {
  justify-content: flex-end;
  margin-bottom: .85rem;
}
.portfolio-card__logo-wrap {
  margin: 0 0 .75rem;
}
.portfolio-card__logo-link {
  display: inline-block;
  max-width: 100%;
  cursor: pointer;
}
.portfolio-card__logo {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: min(220px, 70%);
  object-fit: contain;
}
.portfolio-card__concept {
  display: inline-block;
  padding: .35rem .85rem;
  border: 1px solid #8b1525;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: #8b1525;
  background: #fff;
}
.portfolio-card__title {
  margin: 0 0 1.25rem;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--kit-navy);
}
.portfolio-card__title a { color: inherit; text-decoration: none; }
.portfolio-card__ingredient-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: .35rem;
  row-gap: .2rem;
  margin: -.75rem 0 1.25rem;
}
.portfolio-card__ingredient-pill {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: .8rem;
  font-weight: 700;
}
.portfolio-card__bullets {
  margin: 0 0 1.5rem;
  padding: 0 0 1.5rem;
  list-style: none;
  font-size: .9rem;
  line-height: 1.7;
  color: #334155;
  border-bottom: 1px solid #eef2f7;
}
.portfolio-card__bullets li {
  position: relative;
  padding-left: .85rem;
  margin-bottom: .5rem;
}
.portfolio-card__bullets li:last-child { margin-bottom: 0; }
.portfolio-card__bullets li::before {
  content: '·';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--kit-navy);
}
.portfolio-card__section { margin-top: 1.5rem; }
.portfolio-card__section + .portfolio-card__section {
  padding-top: 1.5rem;
  border-top: 1px solid #eef2f7;
}
.portfolio-card__section-title {
  margin: 0 0 .75rem;
  font-size: .95rem;
  font-weight: 800;
  color: var(--kit-navy);
}
.portfolio-card__field-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}
.portfolio-card__field-row:last-child { margin-bottom: 0; }
.portfolio-card__field-name {
  font-size: .9rem;
  font-weight: 600;
  color: #334155;
  min-width: 4.5rem;
}
.portfolio-card__concept-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: .35rem;
  row-gap: .2rem;
}
.portfolio-card__tags--inline { margin-top: .35rem; }
.portfolio-card__applies {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: .4rem;
  row-gap: .35rem;
  margin-top: .85rem;
}
.portfolio-card__applies-title {
  display: inline-block;
  margin: 0;
  font-size: .875rem;
  font-weight: 800;
  color: var(--kit-navy);
  white-space: nowrap;
  line-height: 1.6;
}
.portfolio-card__applies-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: .4rem;
  row-gap: .2rem;
}
.portfolio-card__applies-row + .portfolio-card__applies-row { margin-top: .6rem; }
.detail-desc-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: .4rem;
  row-gap: .35rem;
  margin-top: .85rem;
}
.detail-desc-pill {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.45;
}
.portfolio-card__field-pill,
.portfolio-card__form-pill,
.portfolio-card__tag {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #b8142c;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}
/* 적용분야(1단계) — 제형과 구분되는 색상 */
.portfolio-card__field-pill {
  background: #d1fae5;
  color: #065f46;
}
.portfolio-card__tags {
  display: flex;
  flex-wrap: wrap;
  column-gap: .4rem;
  row-gap: .2rem;
}
.portfolio-card__tag:hover { background: #bfdbfe; }

/* ── Solution detail (PPT content) ── */
.sol-detail {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  color: var(--kit-navy, #0f1c30);
  line-height: 1.65;
}
.sol-sec { min-width: 0; }
.sol-h {
  margin: 0 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid #e1002a;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--kit-navy, #0f1c30);
}
.sol-h3 {
  margin: 1.1rem 0 .45rem;
  font-size: .95rem;
  font-weight: 700;
  color: #1e293b;
}
.sol-detail p { margin: 0 0 .65rem; }
.sol-detail ul {
  margin: 0 0 .75rem;
  padding-left: 1.15rem;
  list-style: disc;
}
.sol-detail li { margin-bottom: .35rem; }
.sol-note {
  font-size: .8rem;
  color: #64748b;
}
.sol-hl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
  margin: .85rem 0 0;
}
@media (min-width: 640px) {
  .sol-hl-grid { grid-template-columns: 1fr 1fr; }
}
.sol-hl {
  padding: .7rem .85rem;
  background: #f8fafc;
  border-left: 3px solid #e1002a;
  font-size: .875rem;
  font-weight: 600;
}
.sol-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 768px) {
  .sol-feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .sol-feature-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.sol-feature {
  padding: .85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.sol-feature-en {
  margin: -.15rem 0 .4rem !important;
  font-size: .75rem;
  color: #64748b;
}
.sol-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: .5rem 0 1rem;
  border: 1px solid #e2e8f0;
}
.sol-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .78rem;
  table-layout: auto;
}
.sol-table caption {
  caption-side: top;
  padding: .5rem .65rem;
  text-align: left;
  font-weight: 700;
  background: #f1f5f9;
}
.sol-table th,
.sol-table td {
  padding: .45rem .55rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}
.sol-table thead th {
  background: #0f1c30;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.sol-table tbody tr:nth-child(even) td { background: #f8fafc; }
.sol-video-frame {
  position: relative;
  width: 100%;
  background: #0f1c30;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.sol-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.sol-video-title {
  margin-bottom: .5rem !important;
  font-weight: 600;
}
.sol-video-link a {
  color: #e1002a;
  font-weight: 600;
  text-decoration: underline;
}
.prose-kit .sol-detail img { border-radius: 0; }
.sol-fig {
  margin: .85rem 0 1.1rem;
  min-width: 0;
}
.sol-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.sol-fig figcaption {
  margin-top: .4rem;
  font-size: .78rem;
  color: #64748b;
  line-height: 1.4;
}
.sol-fig--slide img {
  border-radius: 4px;
}
.sol-fig-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin: .75rem 0 1rem;
}
@media (min-width: 640px) {
  .sol-fig-grid { grid-template-columns: 1fr 1fr; }
}
