/* Marine public site components — sample HOME design system */

@layer components {
  /* ── Layout ── */
  .wrap,
  .container {
    max-width: var(--marine-wrap);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--marine-pad-x);
  }

  .sec {
    padding: var(--sec-py) 0;
  }

  .sec--tint {
    background: var(--color-surface-50);
  }

  /* ── Reveal on scroll ── */
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.7s var(--marine-ease),
      transform 0.7s var(--marine-ease);
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .reveal[data-delay="1"] {
    transition-delay: 0.08s;
  }

  .reveal[data-delay="2"] {
    transition-delay: 0.16s;
  }

  .reveal[data-delay="3"] {
    transition-delay: 0.24s;
  }

  /* ── Section head ── */
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-eyebrow);
    line-height: var(--text-eyebrow--line-height);
    font-weight: 700;
    color: var(--color-brand-accent);
  }

  .eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--color-brand-accent);
  }

  .sec-head {
    max-width: 760px;
  }

  .sec-head__title {
    font-size: clamp(30px, 3.4vw, var(--text-h2));
    line-height: var(--text-h2--line-height);
    margin-top: 18px;
    font-weight: 800;
    color: var(--color-ink-900);
  }

  .sec-head__desc {
    margin-top: 20px;
    font-size: var(--text-body-lg);
    line-height: var(--text-body-lg--line-height);
    color: var(--color-ink-500);
  }

  /* ── Buttons ── */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 26px;
    border-radius: 9999px;
    border: 1px solid transparent;
    transition:
      transform 0.2s var(--marine-ease),
      background 0.2s var(--marine-ease),
      box-shadow 0.2s var(--marine-ease),
      color 0.2s var(--marine-ease);
    white-space: nowrap;
  }

  .btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .btn--primary {
    background: var(--color-neutral-1);
    color: var(--color-brand);
  }

  .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  }

  .btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
  }

  .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
  }

  .btn--navy {
    background: var(--color-brand);
    color: #fff;
  }

  .btn--navy:hover {
    background: var(--color-brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(11, 44, 77, 0.28);
  }

  .btn--outline {
    background: transparent;
    color: var(--color-brand);
    border-color: var(--color-brand-line);
  }

  .btn--outline:hover {
    background: var(--color-brand-tint);
  }

  /* ── Image placeholder (admin upload) ── */
  .media-ph {
    position: relative;
    overflow: hidden;
    background: var(--color-neutral-10);
  }

  .media-ph__img,
  .media-ph img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ── Navigation ── */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 60;
    display: flex;
    align-items: center;
    transition:
      background 0.3s var(--marine-ease),
      border-color 0.3s var(--marine-ease),
      box-shadow 0.3s var(--marine-ease);
    background: transparent;
    border-bottom: 1px solid transparent;
  }

  .nav__inner {
    max-width: var(--marine-wrap);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--marine-pad-x);
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .brand-lock {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-lock__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
  }

  .brand-lock__kr {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s var(--marine-ease);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-lock__en {
    font-size: 10.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s var(--marine-ease);
  }

  .nav__menu {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav__link {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    padding: 9px 14px;
    border-radius: 8px;
    transition:
      color 0.2s var(--marine-ease),
      background 0.2s var(--marine-ease);
    white-space: nowrap;
  }

  .nav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }

  .nav__right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
  }

  .lang {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
  }

  .lang__btn {
    border: none;
    background: transparent;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 11px;
    border-radius: 9999px;
    transition: all 0.2s var(--marine-ease);
    cursor: pointer;
    text-decoration: none;
  }

  .lang__btn:hover {
    color: #fff;
  }

  .lang__btn.is-active {
    background: #fff;
    color: var(--color-brand);
  }

  .nav__call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--color-brand);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 9999px;
    border: 1px solid transparent;
    transition:
      transform 0.2s var(--marine-ease),
      box-shadow 0.2s var(--marine-ease),
      background 0.2s var(--marine-ease);
    white-space: nowrap;
  }

  .nav__call svg {
    width: 15px;
    height: 15px;
  }

  .nav__call:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(11, 44, 77, 0.25);
  }

  .nav.is-solid {
    background: #fff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--color-line-200);
  }

  .nav.is-solid .brand-lock__kr {
    color: var(--color-ink-900);
  }

  .nav.is-solid .brand-lock__en {
    color: var(--color-ink-400);
  }

  .nav.is-solid .nav__link {
    color: var(--color-ink-700);
  }

  .nav.is-solid .nav__link:hover {
    color: var(--color-brand);
    background: var(--color-brand-tint);
  }

  .nav.is-solid .lang {
    border-color: var(--color-line-300);
  }

  .nav.is-solid .lang__btn {
    color: var(--color-ink-500);
  }

  .nav.is-solid .lang__btn.is-active {
    background: var(--color-brand);
    color: #fff;
  }

  .nav.is-solid .nav__call {
    background: var(--color-brand);
    color: #fff;
  }

  .nav.is-solid .nav__call:hover {
    background: var(--color-brand-hover);
  }

  /* Subpages: always solid header */
  .nav--sub {
    background: #fff;
    border-bottom-color: var(--color-line-200);
  }

  .nav--sub .brand-lock__kr {
    color: var(--color-ink-900);
  }

  .nav--sub .brand-lock__en {
    color: var(--color-ink-400);
  }

  .nav--sub .nav__link {
    color: var(--color-ink-700);
  }

  .nav--sub .nav__link:hover {
    color: var(--color-brand);
    background: var(--color-brand-tint);
  }

  .nav--sub .lang {
    border-color: var(--color-line-300);
  }

  .nav--sub .lang__btn {
    color: var(--color-ink-500);
  }

  .nav--sub .lang__btn.is-active {
    background: var(--color-brand);
    color: #fff;
  }

  .nav--sub .nav__call {
    background: var(--color-brand);
    color: #fff;
  }

  /* ── Hero ── */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 660px;
    width: 100%;
    overflow: hidden;
  }

  .hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-neutral-10);
  }

  .hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(
        180deg,
        rgba(7, 18, 32, 0.62) 0%,
        rgba(7, 18, 32, 0.28) 32%,
        rgba(7, 18, 32, 0.42) 70%,
        rgba(6, 15, 27, 0.86) 100%
      ),
      linear-gradient(90deg, rgba(7, 18, 32, 0.55) 0%, rgba(7, 18, 32, 0) 55%);
  }

  .hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }

  .hero__overlay a,
  .hero__overlay button {
    pointer-events: auto;
  }

  .hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: var(--marine-wrap);
    margin: 0 auto;
    padding: 0 var(--marine-pad-x);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 26px;
  }

  .hero__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--color-brand-accent);
    display: inline-block;
  }

  .hero__title {
    color: #fff;
    font-size: clamp(40px, 5.6vw, var(--text-display));
    line-height: var(--text-display--line-height);
    font-weight: 800;
    max-width: 16ch;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
  }

  .hero__sub {
    margin-top: 26px;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.86);
    max-width: 46ch;
    line-height: 1.6;
  }

  .hero__actions {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero__rail {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    z-index: 3;
  }

  .hero__rail-inner {
    max-width: var(--marine-wrap);
    margin: 0 auto;
    padding: 0 var(--marine-pad-x);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
  }

  .scroll-cue {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
  }

  .scroll-cue__line {
    width: 1px;
    height: 34px;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.8));
    position: relative;
    overflow: hidden;
  }

  .scroll-cue__line::after {
    content: "";
    position: absolute;
    top: -34px;
    left: 0;
    width: 1px;
    height: 34px;
    background: #fff;
    animation: scrollDot 2s var(--marine-ease) infinite;
  }

  @keyframes scrollDot {
    to {
      top: 34px;
    }
  }

  @keyframes heroPan {
    from {
      transform: scale(1.06);
    }
    to {
      transform: scale(1);
    }
  }

  .hero__media .media-ph,
  .hero__media picture,
  .hero__media img,
  .hero__media video,
  .hero__media .hero__video,
  .hero__media .media-ph__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    animation: heroPan 18s var(--marine-ease) forwards;
  }

  .hero__media .media-ph,
  .hero__media picture {
    display: block;
  }

  /* ── Service cards ── */
  .svc-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .svc {
    background: var(--color-surface-0);
    border: 1px solid var(--color-line-300);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
      transform 0.3s var(--marine-ease),
      box-shadow 0.3s var(--marine-ease),
      border-color 0.3s var(--marine-ease);
  }

  .svc:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(11, 44, 77, 0.14);
    border-color: var(--color-brand-line);
  }

  .svc__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
  }

  .svc__media .media-ph {
    position: absolute;
    inset: 0;
  }

  .svc__media .media-ph,
  .svc__media img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--marine-ease);
  }

  .svc:hover .svc__media img,
  .svc:hover .svc__media .media-ph__img {
    transform: scale(1.06);
  }

  .svc__no {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: rgba(11, 44, 77, 0.78);
    padding: 5px 11px;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
  }

  .svc__body {
    padding: 26px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
  }

  .svc__title {
    font-size: var(--text-h3);
    line-height: var(--text-h3--line-height);
    font-weight: 700;
    color: var(--color-ink-900);
  }

  .svc__desc {
    font-size: var(--text-body);
    line-height: var(--text-body--line-height);
    color: var(--color-ink-500);
  }

  .svc__tags {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tag {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-brand-soft);
    background: var(--color-brand-tint);
    border: 1px solid var(--color-brand-line);
    padding: 5px 11px;
    border-radius: 9999px;
  }

  /* ── Stats ── */
  .stats {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid var(--color-line-300);
    padding-top: 44px;
  }

  .stat__num {
    font-size: clamp(34px, 3.6vw, 46px);
    font-weight: 800;
    color: var(--color-brand);
    line-height: 1;
  }

  .stat__num span {
    font-size: 0.5em;
    font-weight: 700;
    color: var(--color-brand-accent);
    margin-left: 2px;
  }

  .stat__label {
    margin-top: 12px;
    font-size: 14.5px;
    color: var(--color-ink-500);
    font-weight: 500;
  }

  /* ── Group companies ── */
  .group-grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .group {
    background: var(--color-surface-0);
    border: 1px solid var(--color-line-300);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition:
      border-color 0.3s var(--marine-ease),
      transform 0.3s var(--marine-ease);
  }

  .group:hover {
    border-color: var(--color-brand-line);
    transform: translateY(-4px);
  }

  .group__badge {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--color-brand-tint);
    color: var(--color-brand);
    font-weight: 800;
    font-size: 16px;
    border: 1px solid var(--color-brand-line);
  }

  .group__name {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-ink-900);
  }

  .group__role {
    font-size: 14.5px;
    color: var(--color-ink-500);
    line-height: 1.6;
  }

  .group__tag {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-brand-accent);
  }

  /* ── Home group / affiliates ── */
  .home-group__quote {
    margin-top: 28px;
    max-width: 820px;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-ink-700);
    line-height: 1.75;
    padding-left: 22px;
    border-left: 4px solid var(--color-brand-accent);
  }

  .home-aff-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .home-aff {
    background: var(--color-surface-0);
    border: 1px solid var(--color-line-300);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition:
      border-color 0.3s var(--marine-ease),
      transform 0.3s var(--marine-ease),
      box-shadow 0.3s var(--marine-ease);
  }

  .home-aff:hover {
    border-color: var(--color-brand-line);
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(11, 44, 77, 0.1);
  }

  .home-aff__logo {
    min-height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 4px;
  }

  .home-aff__logo .logo-img,
  .home-aff__logo .media-ph__img {
    max-height: 42px;
  }

  .home-aff__eyebrow {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid var(--color-brand-line);
    background: var(--color-brand-tint);
    padding: 3px 9px;
    border-radius: 9999px;
  }

  .home-aff__name {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-ink-900);
    line-height: 1.35;
  }

  .home-aff__en {
    font-size: 11.5px;
    color: var(--color-ink-400);
    font-weight: 500;
    letter-spacing: 0.02em;
  }

  .home-aff__desc {
    margin-top: 4px;
    font-size: 14.5px;
    color: var(--color-ink-500);
    line-height: 1.68;
    flex: 1;
  }

  .home-aff__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }

  .home-group__cta {
    margin-top: 44px;
    text-align: center;
  }

  /* ── Portfolio gallery ── */
  .gallery {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 16px;
  }

  .gcell {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: var(--color-neutral-10);
  }

  a.gcell {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .gcell .media-ph {
    position: absolute;
    inset: 0;
  }

  .gcell .media-ph,
  .gcell img,
  .gcell .media-ph__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--marine-ease);
  }

  .gcell:hover img,
  .gcell:hover .media-ph__img {
    transform: scale(1.07);
  }

  .gcell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 18, 32, 0.55));
    opacity: 0;
    transition: opacity 0.3s var(--marine-ease);
    pointer-events: none;
  }

  .gcell:hover::after {
    opacity: 1;
  }

  .gcell__cap {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s var(--marine-ease);
  }

  .gcell:hover .gcell__cap {
    opacity: 1;
    transform: none;
  }

  .gcell--wide {
    grid-column: span 2;
  }

  .gcell--tall {
    grid-row: span 2;
  }

  button.gcell {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    margin: 0;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: zoom-in;
    appearance: none;
    -webkit-appearance: none;
  }

  button.gcell:focus-visible {
    outline: 2px solid var(--color-brand-accent, #1a6bb5);
    outline-offset: 3px;
  }

  .gallery--fac {
    margin-top: 28px;
  }

  /* Board-style gallery (2-col, title under image) */
  .gallery--board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 28px 24px;
  }

  a.gcell--board {
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: transparent;
    border-radius: 0;
  }

  .gcell--board::after {
    display: none;
  }

  .gcell--board .gcell__media,
  .gcell--board .media-ph {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    background: var(--color-neutral-10);
  }

  .gcell--board .gcell__title {
    display: block;
    margin-top: 12px;
    padding: 0 2px;
    color: var(--color-neutral-90, #1a1a1a);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
  }

  @media (hover: none) {
    .gallery--fac .gcell::after {
      opacity: 1;
    }

    .gallery--fac .gcell__cap {
      opacity: 1;
      transform: none;
    }
  }

  /* ── Lightbox ── */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 18, 32, 0.88);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--marine-ease), visibility 0.25s var(--marine-ease);
  }

  .lightbox.is-open {
    opacity: 1;
    visibility: visible;
  }

  .lightbox__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(1120px, 100%);
    max-height: calc(100vh - 48px);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.3s var(--marine-ease);
  }

  .lightbox.is-open .lightbox__panel {
    transform: none;
  }

  .lightbox__img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 110px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.04);
  }

  .lightbox__cap {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
  }

  .lightbox__cap:empty {
    display: none;
  }

  .lightbox__close,
  .lightbox__nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.2s var(--marine-ease), transform 0.2s var(--marine-ease);
  }

  .lightbox__close:hover,
  .lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.22);
  }

  .lightbox__close:focus-visible,
  .lightbox__nav:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  .lightbox__close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    z-index: 2;
  }

  .lightbox__close svg,
  .lightbox__nav svg {
    width: 20px;
    height: 20px;
  }

  .lightbox__nav {
    top: 50%;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    transform: translateY(-50%);
    z-index: 2;
  }

  .lightbox__nav:hover {
    transform: translateY(-50%);
  }

  .lightbox__nav--prev {
    left: 18px;
  }

  .lightbox__nav--next {
    right: 18px;
  }

  .lightbox__nav[hidden] {
    display: none;
  }

  body.is-lightbox-open {
    overflow: hidden;
  }

  /* ── Market ── */
  .market {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }

  .market__media {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    box-shadow: 0 30px 60px rgba(11, 44, 77, 0.16);
    background: var(--color-neutral-10);
  }

  .market__media .media-ph {
    position: absolute;
    inset: 0;
  }

  .market__media .media-ph,
  .market__media img {
    width: 100%;
    height: 100%;
  }

  .market__chip {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-brand);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 9999px;
    backdrop-filter: blur(6px);
  }

  .market__list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .market__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }

  .market__ic {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--color-brand-tint);
    color: var(--color-brand);
    border: 1px solid var(--color-brand-line);
  }

  .market__ic svg {
    width: 19px;
    height: 19px;
  }

  .market__it-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-ink-900);
  }

  .market__it-desc {
    font-size: 14.5px;
    color: var(--color-ink-500);
    line-height: 1.6;
    margin-top: 2px;
  }

  .market__cta {
    margin-top: 34px;
  }

  /* ── Location ── */
  .loc {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
    align-items: stretch;
  }

  .loc__info {
    display: flex;
    flex-direction: column;
  }

  .loc__rows {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
  }

  .loc__row {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--color-line-300);
  }

  .loc__row:last-child {
    border-bottom: 1px solid var(--color-line-300);
  }

  .loc__ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--color-brand);
    color: #fff;
  }

  .loc__ic svg {
    width: 19px;
    height: 19px;
  }

  .loc__k {
    font-size: 13px;
    color: var(--color-ink-400);
    font-weight: 600;
  }

  .loc__v {
    font-size: 16.5px;
    font-weight: 600;
    margin-top: 3px;
    color: var(--color-ink-900);
  }

  .loc__v small {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-ink-400);
    margin-top: 4px;
  }

  /* ── Map ── */
  .map {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--color-line-300);
    min-height: 420px;
  }

  .map__embed {
    display: block;
    width: 100%;
    min-height: 420px;
    height: 100%;
    border: 0;
  }

  .map__scene {
    position: absolute;
    inset: 0;
    transition: transform 0.35s var(--marine-ease);
    transform-origin: 38% 44%;
  }

  .map__grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--color-line-200) 1px, transparent 1px),
      linear-gradient(90deg, var(--color-line-200) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.8;
  }

  .map__water {
    position: absolute;
    right: -8%;
    bottom: -12%;
    width: 62%;
    height: 70%;
    background: linear-gradient(160deg, #bcd4e8, #9bbdd9);
    border-radius: 46% 54% 60% 40% / 50% 40% 60% 50%;
    opacity: 0.5;
    filter: blur(2px);
  }

  .map__road {
    position: absolute;
    background: #fff;
    box-shadow: 0 0 0 1px var(--color-line-300);
  }

  .map__road--1 {
    left: -5%;
    top: 38%;
    width: 80%;
    height: 16px;
    transform: rotate(-7deg);
  }

  .map__road--2 {
    left: 30%;
    top: -5%;
    width: 14px;
    height: 70%;
    transform: rotate(6deg);
  }

  .map__pin {
    position: absolute;
    left: 38%;
    top: 44%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -100%);
  }

  .map__pin-dot {
    width: 22px;
    height: 22px;
    border-radius: 9999px;
    background: var(--color-brand);
    border: 4px solid #fff;
    box-shadow: 0 6px 16px rgba(11, 44, 77, 0.4);
  }

  .map__pin-stem {
    width: 2px;
    height: 14px;
    background: var(--color-brand);
  }

  .map__pin-label {
    margin-top: 8px;
    background: var(--color-brand);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 9999px;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(11, 44, 77, 0.3);
  }

  .map__badge {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 4;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-line-300);
    border-radius: 12px;
    padding: 12px 16px;
    backdrop-filter: blur(6px);
  }

  .map__badge-k {
    font-size: 11.5px;
    color: var(--color-ink-400);
    font-weight: 600;
  }

  .map__badge-v {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-brand);
    margin-top: 2px;
  }

  .map__zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    border-radius: 11px;
    overflow: hidden;
    border: 1px solid var(--color-line-300);
    background: #fff;
    box-shadow:
      0 2px 4px 0 rgba(12, 12, 13, 0.08),
      0 1px 2px 0 rgba(12, 12, 13, 0.05);
  }

  .map__zoom button {
    width: 42px;
    height: 42px;
    border: none;
    background: #fff;
    color: var(--color-ink-700);
    font-size: 20px;
    font-weight: 600;
    display: grid;
    place-items: center;
    transition: background 0.2s var(--marine-ease);
    cursor: pointer;
  }

  .map__zoom button:first-child {
    border-bottom: 1px solid var(--color-line-200);
  }

  .map__zoom button:hover {
    background: var(--color-surface-50);
  }

  .map__note {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 4;
    font-size: 12px;
    color: var(--color-ink-400);
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid var(--color-line-200);
  }

  /* ── CTA band ── */
  .cta-band {
    background: var(--color-brand);
    color: #fff;
    padding: 88px 0;
    position: relative;
    overflow: hidden;
  }

  .cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 120% at 85% 0%, rgba(47, 109, 168, 0.5), transparent 55%);
    pointer-events: none;
  }

  .cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }

  .cta-band__title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
  }

  .cta-band__desc {
    margin-top: 16px;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.78);
    max-width: 42ch;
    line-height: 1.65;
  }

  .cta-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .cta-phone__big {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    color: var(--color-brand);
    padding: 22px 32px;
    border-radius: 18px;
    transition:
      transform 0.2s var(--marine-ease),
      box-shadow 0.2s var(--marine-ease);
  }

  .cta-phone__big:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
  }

  .cta-phone__ic {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: var(--color-brand-tint);
    display: grid;
    place-items: center;
  }

  .cta-phone__ic svg {
    width: 24px;
    height: 24px;
    color: var(--color-brand);
  }

  .cta-phone__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-brand-accent);
  }

  .cta-phone__num {
    display: block;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-brand);
  }

  .cta-phone__hours {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
  }

  /* ── Footer ── */
  .footer {
    background: var(--color-footer-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 40px;
  }

  .footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
  }

  .footer__brand-kr {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
  }

  .footer__brand-en {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
  }

  .footer__note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .biz {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 22px;
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 560px;
  }

  .biz dt {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    white-space: nowrap;
  }

  .biz dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
  }

  .footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
  }

  .footer__langs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .footer__langs button,
  .footer__langs a {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 9999px;
    transition: all 0.2s var(--marine-ease);
    cursor: pointer;
    text-decoration: none;
  }

  .footer__langs button:hover,
  .footer__langs a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
  }

  .footer__langs .is-active {
    background: #fff;
    color: var(--color-brand) !important;
    border-color: #fff;
  }

  .footer__bottom {
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.4);
  }

  .footer__bottom-links {
    display: flex;
    gap: 20px;
  }

  .footer__bottom-links a:hover {
    color: rgba(255, 255, 255, 0.8);
  }

  .footer--maintenance .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer--maintenance .biz {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: none;
  }

  .footer--maintenance .biz__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .footer--maintenance .biz__row dt {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
  }

  .footer--maintenance .biz__row dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
  }

  .footer--maintenance .footer__bottom {
    justify-content: center;
    width: 100%;
  }

  /* Subpage offset for fixed nav */
  .page-offset {
    padding-top: var(--nav-h);
  }

  /* ── Gallery post detail ── */
  .post-head {
    max-width: 940px;
  }

  .post-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-ink-400);
    text-decoration: none;
    transition: color 0.2s var(--marine-ease);
  }

  .post-back:hover {
    color: var(--color-brand);
  }

  .post-head__title {
    margin-top: 16px;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.22;
    color: var(--color-ink-900);
  }

  .post-meta {
    display: block;
    margin-top: 14px;
    font-size: 14px;
    color: var(--color-ink-400);
  }

  .post-body {
    margin-top: 48px;
    max-width: 800px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-ink-700);
  }

  .post-body.prose img {
    border-radius: 14px;
  }

  /* Shared post image (cover + gallery body) */
  .post-photo {
    margin: 28px 0 0;
  }

  .post-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(11, 44, 77, 0.14);
  }

  .post-photo + .post-body {
    margin-top: 32px;
  }

  .post-body--gallery.prose {
    max-width: none;
    width: 100%;
  }

  .post-body--gallery.prose img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(11, 44, 77, 0.14);
  }

  .post-body--gallery.prose > *:first-child {
    margin-top: 0;
  }

  .post-body--gallery.prose p:has(> img) {
    margin-top: 32px;
    margin-bottom: 0;
  }

  .post-body--gallery.prose p:has(> img) + p:has(> img),
  .post-body--gallery.prose figure + figure,
  .post-body--gallery.prose p:has(> img) + figure,
  .post-body--gallery.prose figure + p:has(> img) {
    margin-top: 32px;
  }

  .post-body--gallery.prose img + img {
    margin-top: 32px;
  }

  .post-body--gallery.prose figure {
    margin: 32px 0 0;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }

  .post-body--gallery.prose figure img {
    margin: 0;
  }

  .post-attachments {
    margin-top: 48px;
    max-width: 800px;
    padding-top: 32px;
    border-top: 1px solid var(--color-line-200);
  }

  .post-attachments__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-ink-900);
  }

  .post-attachments__list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .post-attachments__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-ink-700);
    text-decoration: none;
    transition: color 0.2s var(--marine-ease);
  }

  .post-attachments__link:hover {
    color: var(--color-brand);
  }

  .post-attachments__label {
    display: inline-flex;
    min-width: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--color-surface-50);
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-ink-500);
  }

  /* ── Default board (notice) list ── */
  .post-list {
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--color-line-200);
  }

  .post-list__item {
    border-bottom: 1px solid var(--color-line-200);
  }

  .post-list__link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 4px;
    text-decoration: none;
    transition: background-color 0.2s var(--marine-ease);
  }

  .post-list__link:hover .post-list__title {
    color: var(--color-brand);
  }

  .post-list__title {
    flex: 1;
    min-width: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-ink-900);
    transition: color 0.2s var(--marine-ease);
  }

  .post-list__item.is-pinned .post-list__title {
    font-weight: 700;
  }

  .post-list__pin {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 8px;
    border: 1px solid var(--color-line-200);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-brand);
    vertical-align: middle;
  }

  .post-list__date {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--color-ink-400);
  }

  /* ── Custom board (market) list & detail ── */
  .post-empty {
    margin-top: 40px;
    padding: 40px 24px;
    text-align: center;
    font-size: 15px;
    line-height: 24px;
    color: var(--color-ink-500);
    border: 1px dashed var(--color-line-200);
    border-radius: 14px;
    background: var(--color-surface-50, #f8fafc);
  }

  .post-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
  }

  .post-sort__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--color-line-200);
    background: var(--color-surface-0);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-ink-600);
    text-decoration: none;
    transition:
      border-color 0.2s var(--marine-ease),
      color 0.2s var(--marine-ease),
      background 0.2s var(--marine-ease);
  }

  .post-sort__link:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
  }

  .post-sort__link--active {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: #fff;
  }

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

  .post-custom-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-line-200);
    border-radius: 16px;
    background: var(--color-surface-0);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition:
      border-color 0.2s var(--marine-ease),
      box-shadow 0.2s var(--marine-ease),
      transform 0.2s var(--marine-ease);
  }

  .post-custom-card:hover {
    border-color: var(--color-brand);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
  }

  .post-custom-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--color-surface-50);
    overflow: hidden;
  }

  .post-custom-card__media .media-ph {
    width: 100%;
    height: 100%;
  }

  .post-custom-card__media .media-ph,
  .post-custom-card__media img,
  .post-custom-card__media .media-ph__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s var(--marine-ease);
  }

  .post-custom-card:hover .media-ph__img,
  .post-custom-card:hover img {
    transform: scale(1.04);
  }

  .post-custom-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 22px;
  }

  .post-custom-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--color-ink-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }

  .post-custom-card__meta {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .post-custom-card__price {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-brand);
  }

  .post-spec {
    margin-top: 32px;
    max-width: 800px;
  }

  .post-spec__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-ink-900);
  }

  .post-spec__table {
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
    border: 1px solid var(--color-line-200);
    border-radius: 14px;
    overflow: hidden;
  }

  .post-spec__table th,
  .post-spec__table td {
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid var(--color-line-200);
    text-align: left;
    vertical-align: top;
  }

  .post-spec__table tr:last-child th,
  .post-spec__table tr:last-child td {
    border-bottom: none;
  }

  .post-spec__table th {
    width: 30%;
    min-width: 120px;
    background: var(--color-surface-50);
    font-weight: 600;
    color: var(--color-ink-500);
  }

  .post-spec__table td {
    color: var(--color-ink-800);
    font-weight: 500;
  }

  @media (max-width: 767px) {
    .post-custom-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .post-custom-card__title {
      font-size: 18px;
    }

    .post-spec__table {
      border-radius: 12px;
    }

    .post-spec__table tr {
      display: flex;
      align-items: baseline;
    }

    .post-spec__table th,
    .post-spec__table td {
      display: block;
      padding: 12px 14px;
      font-size: 14px;
      border-bottom: 1px solid var(--color-line-200);
    }

    .post-spec__table th {
      flex: 0 0 72px;
      width: auto;
      min-width: 0;
      background: transparent;
      color: var(--color-ink-400);
      font-weight: 600;
      font-size: 13px;
    }

    .post-spec__table td {
      flex: 1;
      min-width: 0;
      text-align: right;
      font-weight: 600;
      color: var(--color-ink-900);
    }

    .post-spec__table tr:last-child th,
    .post-spec__table tr:last-child td {
      border-bottom: none;
    }
  }

  .post-foot {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--color-line-200);
  }

  /* ── About page ── */
  .sec--brand {
    background: var(--color-brand);
    color: #fff;
  }

  .sec--brand .eyebrow {
    color: #fff;
  }

  .sec--brand .eyebrow::before {
    background: rgba(255, 255, 255, 0.5);
  }

  .sec--brand .block__title {
    color: #fff;
  }

  .sec--brand .block__body {
    color: rgba(255, 255, 255, 0.82);
  }

  .subhero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 70px;
  }

  .subhero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .subhero__media .media-ph,
  .subhero__media img,
  .subhero__media .media-ph__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroPan 18s var(--marine-ease) forwards;
    transform: scale(1.06);
  }

  .subhero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(7, 18, 32, 0.42) 0%, rgba(7, 18, 32, 0.2) 42%, rgba(6, 15, 27, 0.65) 100%),
      linear-gradient(90deg, rgba(7, 18, 32, 0.35) 0%, rgba(7, 18, 32, 0) 58%);
  }

  .subhero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--marine-wrap);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--marine-pad-x);
  }

  .subhero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 22px;
  }

  .subhero__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--color-brand-accent);
    display: inline-block;
  }

  .subhero__title {
    color: #fff;
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.12;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
  }

  .subhero__en {
    display: block;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(13px, 1.5vw, 17px);
    font-weight: 600;
  }

  .subhero__lead {
    margin-top: 26px;
    color: #fff;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.34;
  }

  .intro {
    max-width: 1000px;
  }

  .intro__p {
    font-size: clamp(18px, 1.65vw, 22px);
    color: var(--color-ink-700);
    line-height: 1.78;
    font-weight: 500;
  }

  .intro__p + .intro__p {
    margin-top: 24px;
  }

  .block {
    max-width: 940px;
  }

  .block--wide {
    max-width: 1000px;
  }

  .block + .block {
    margin-top: 64px;
  }

  .block__title {
    font-size: clamp(25px, 2.9vw, 36px);
    font-weight: 800;
    margin-top: 16px;
    line-height: 1.22;
    color: var(--color-ink-900);
  }

  .block__quote {
    margin-top: 24px;
    font-size: clamp(19px, 2vw, 26px);
    font-weight: 700;
    color: var(--color-brand);
    line-height: 1.42;
    padding-left: 22px;
    border-left: 4px solid var(--color-brand-accent);
  }

  .block__body {
    margin-top: 22px;
    font-size: 17px;
    color: var(--color-ink-500);
    line-height: 1.8;
  }

  .block__body--strong {
    font-weight: 600;
    color: var(--color-ink-700);
  }

  .block__quote--accent {
    border-left-color: var(--color-brand-accent);
  }

  /* legacy alias — same as .post-photo */
  .fac-photo {
    margin: 28px 0 0;
  }

  .fac-photo .media-ph {
    background: transparent;
  }

  .fac-photo img,
  .fac-photo .media-ph__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(11, 44, 77, 0.14);
  }

  .fac-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .fac {
    background: var(--color-surface-0);
    border: 1px solid var(--color-line-300);
    border-radius: 16px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition:
      border-color 0.3s var(--marine-ease),
      transform 0.3s var(--marine-ease),
      box-shadow 0.3s var(--marine-ease);
  }

  .fac:hover {
    border-color: var(--color-brand-line);
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(11, 44, 77, 0.1);
  }

  .fac__ic {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--color-brand-tint);
    color: var(--color-brand);
    border: 1px solid var(--color-brand-line);
  }

  .fac__ic svg {
    width: 22px;
    height: 22px;
  }

  .fac__title {
    font-size: 18.5px;
    font-weight: 700;
    color: var(--color-ink-900);
  }

  .fac__body {
    font-size: 15px;
    color: var(--color-ink-500);
    line-height: 1.68;
  }

  .spec-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .spec-grid--spaced {
    margin-top: 96px;
  }

  .spec {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    transition:
      transform 0.3s var(--marine-ease),
      background 0.3s var(--marine-ease),
      border-color 0.3s var(--marine-ease);
  }

  .spec:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.3);
  }

  .spec__num {
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    word-break: keep-all;
  }

  .spec__name {
    margin-top: 14px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
  }

  .spec__desc {
    margin-top: 12px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.68;
  }

  .emph {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .emph__line {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
  }

  .emph__ic {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    background: rgba(47, 109, 168, 0.35);
    margin-top: 1px;
  }

  .emph__ic svg {
    width: 15px;
    height: 15px;
    color: #fff;
  }

  .logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .media-ph--logo {
    display: grid;
    place-items: center;
  }

  .media-ph--logo .media-ph__img,
  .media-ph--logo img {
    object-fit: contain;
    width: auto;
    height: auto;
    max-width: 100%;
  }

  .org {
    margin-top: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .org__parent {
    width: 100%;
    max-width: 480px;
    text-align: center;
    background: var(--color-surface-0);
    color: var(--color-ink-900);
    border: 1px solid var(--color-brand-line);
    border-radius: 16px;
    padding: 28px 28px 24px;
    box-shadow: 0 24px 50px rgba(11, 44, 77, 0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .org__parent-logo {
    min-height: 64px;
    display: grid;
    place-items: center;
  }

  .org__parent-logo .logo-img,
  .org__parent-logo .media-ph__img {
    max-height: 58px;
  }

  .org__parent-role {
    font-size: 13px;
    color: var(--color-ink-500);
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--color-line-200);
  }

  .org__line {
    width: 2px;
    height: 38px;
    background: var(--color-brand-line);
  }

  .org__label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-brand-accent);
    margin-bottom: 18px;
  }

  .org__children {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .org-node {
    background: var(--color-surface-0);
    border: 1px solid var(--color-line-300);
    border-radius: 14px;
    padding: 26px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition:
      border-color 0.3s var(--marine-ease),
      transform 0.3s var(--marine-ease),
      box-shadow 0.3s var(--marine-ease);
  }

  .org-node:hover {
    border-color: var(--color-brand-line);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(11, 44, 77, 0.1);
  }

  .org-node__tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--color-brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid var(--color-brand-line);
    background: var(--color-brand-tint);
    padding: 3px 9px;
    border-radius: 9999px;
    margin-bottom: 6px;
  }

  .org-node__logo {
    min-height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
    width: 100%;
  }

  .org-node__logo .logo-img,
  .org-node__logo .media-ph__img {
    max-height: 40px;
  }

  .org-node__kr {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-ink-900);
  }

  .org-node__en {
    font-size: 11px;
    color: var(--color-ink-400);
    font-weight: 500;
  }

  .aff {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 56px;
    align-items: start;
  }

  .aff__aside {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .aff__logo {
    background: var(--color-surface-0);
    border: 1px solid var(--color-line-300);
    border-radius: 18px;
    min-height: 200px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .aff__logo-img {
    min-height: 86px;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
    width: 100%;
  }

  .aff__logo-img .logo-img,
  .aff__logo-img .media-ph__img {
    max-height: 76px;
  }

  .aff__slogan {
    font-size: clamp(18px, 1.9vw, 23px);
    font-weight: 700;
    color: var(--color-brand);
    line-height: 1.4;
  }

  .aff__body {
    margin-top: 22px;
    font-size: 16.5px;
    color: var(--color-ink-500);
    line-height: 1.8;
  }

  .aff__body + .aff__body {
    margin-top: 18px;
  }

  .svc-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .svc-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--color-surface-0);
    border: 1px solid var(--color-line-300);
    border-radius: 14px;
    padding: 20px 22px;
    transition:
      border-color 0.3s var(--marine-ease),
      transform 0.3s var(--marine-ease);
  }

  .svc-item:hover {
    border-color: var(--color-brand-line);
    transform: translateX(3px);
  }

  .svc-item__ic {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--color-brand-tint);
    color: var(--color-brand);
    border: 1px solid var(--color-brand-line);
  }

  .svc-item__ic svg {
    width: 20px;
    height: 20px;
  }

  .svc-item__title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--color-ink-900);
  }

  .svc-item__desc {
    font-size: 14.5px;
    color: var(--color-ink-500);
    line-height: 1.65;
    margin-top: 4px;
  }

  .block--spaced {
    margin-bottom: 44px;
  }

  /* ── Responsive ── */
  @media all and (max-width: 1080px) {
    .svc-grid,
    .group-grid,
    .home-aff-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .post-custom-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    .gallery {
      grid-template-columns: repeat(2, 1fr);
    }

    .market,
    .loc {
      grid-template-columns: 1fr;
      gap: 36px;
    }

    .stats {
      grid-template-columns: repeat(3, 1fr);
    }

    .footer__top {
      grid-template-columns: 1fr;
    }

    .fac-grid,
    .spec-grid,
    .org__children,
    .home-aff-grid {
      grid-template-columns: repeat(2, 1fr);
    }

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

    .aff__aside {
      position: static;
    }
  }

  @media all and (max-width: 880px) {
    .nav__menu {
      display: none;
    }

    .nav__inner {
      gap: 16px;
    }
  }

  @media all and (max-width: 767px) {
    .nav__inner {
      gap: 10px;
    }

    .brand-lock__en {
      display: none;
    }

    .brand-lock__kr {
      font-size: 14px;
    }

    .nav__right {
      gap: 8px;
    }

    .lang__btn {
      font-size: 11px;
      padding: 4px 8px;
    }

    .nav__call {
      padding: 10px;
    }

    .nav__call span {
      display: none;
    }

    .svc-grid,
    .group-grid,
    .home-aff-grid,
    .gallery,
    .gallery--board {
      grid-template-columns: 1fr;
    }

    .gallery--board {
      gap: 22px;
    }

    .gcell--wide,
    .gcell--tall {
      grid-column: auto;
      grid-row: auto;
    }

    .gallery--fac {
      grid-auto-rows: 220px;
    }

    .gallery--fac .gcell--tall {
      grid-row: span 2;
    }

    .lightbox {
      padding: 16px;
    }

    .lightbox__close {
      top: 12px;
      right: 12px;
      width: 40px;
      height: 40px;
    }

    .lightbox__nav {
      width: 40px;
      height: 40px;
    }

    .lightbox__nav--prev {
      left: 8px;
    }

    .lightbox__nav--next {
      right: 8px;
    }

    .lightbox__img {
      max-height: calc(100vh - 120px);
    }

    .stats {
      grid-template-columns: 1fr 1fr;
    }

    .hero__rail {
      display: none;
    }

    .cta-inner {
      flex-direction: column;
      align-items: flex-start;
    }

    .subhero {
      min-height: 78vh;
      padding-bottom: 48px;
    }

    .fac-grid,
    .spec-grid,
    .org__children {
      grid-template-columns: 1fr;
    }

    .org__parent {
      max-width: 100%;
    }
  }
}
