html { scroll-behavior: smooth; }
.la-guide {
  --la-accent: #f55768;
  --la-ink: #2a2220;
  --la-muted: #7a6a66;
  --la-line: #f0dcd6;
  --la-card: #ffffff;
  --la-soft: #fff7f4;
  --la-chip: #ffffff;
  --la-tint-2: #fff9f7;
  --la-tint-3: #fff5f2;
  padding: 8px 0 48px;
  width: calc(100% - 48px);
  overflow-x: hidden;
  color: var(--la-ink);
}
.la-guide--bucheon {
  --la-accent: #f55768;
  --la-ink: #2a2220;
  --la-muted: #7a6a66;
  --la-line: #f0dcd6;
  --la-soft: #fff4f1;
  --la-tint-2: #fff9f7;
  --la-tint-3: #fff5f2;
}
.la-guide--yeongjong {
  --la-accent: #2a9b8f;
  --la-ink: #16324a;
  --la-muted: #5b7383;
  --la-line: #cfe4df;
  --la-soft: #eef8f6;
  --la-card: rgba(255,255,255,.82);
  --la-chip: rgba(255,255,255,.9);
  --la-tint-2: #f4fbf9;
  --la-tint-3: #eef6fb;
}
.la-guide--siheung {
  --la-accent: #1b6b8a;
  --la-ink: #10233a;
  --la-muted: #5d6f7e;
  --la-line: #d5e0e6;
  --la-soft: #eef3f6;
  --la-tint-2: #f7fafb;
  --la-tint-3: #eef4f7;
}
.la-guide--ganghwa {
  --la-accent: #f55768;
  --la-ink: #2a2220;
  --la-muted: #7a6a66;
  --la-line: rgba(245, 87, 104, .18);
  --la-soft: #fff4f2;
  --la-tint-2: #fff9f7;
  --la-tint-3: #fff5f2;
}
.la-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 16px 24px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto 22px;
  padding: 22px 24px;
  min-height: 0;
  border: 1px solid var(--la-line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, var(--la-soft));
  box-shadow: 0 10px 24px rgba(20, 16, 24, .05);
}
.la-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--la-accent);
}
.la-summary-copy h2,
.la-summary h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -.03em;
  line-height: 1.25;
}
.la-summary-line { margin: 0 0 10px; color: var(--la-muted); font-size: 16px; }
.la-jump { margin: 0; }
.la-guide { max-width: 1360px; margin-left: auto; margin-right: auto; }
.la-stats {
  display: flex;
  gap: 18px;
  align-items: stretch;
}
.la-stats p {
  margin: 0;
  min-width: 84px;
  text-align: center;
}
.la-stats strong {
  display: block;
  font-size: 28px;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.la-stats span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--la-muted);
}
.la-jump-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--la-muted);
}
.la-jump-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.la-jump-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--la-line);
  background: var(--la-chip);
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 0 var(--la-soft);
}
.la-jump-chip:hover { border-color: var(--la-accent); }
.la-district {
  margin: 0 0 28px;
  scroll-margin-top: 84px;
}
.la-district-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--la-line);
}
.la-district-head h3 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -.03em;
}
.la-district-head p {
  margin: 0;
  color: var(--la-muted);
  font-size: 13px;
  font-weight: 700;
}
.container .la-guide,
.section .la-guide,
.bc-magazine .la-guide {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.la-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  grid-auto-rows: min-content;
}
.la-grid[data-count="1"],
.la-grid[data-count="2"],
.la-grid[data-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.la-card {
  position: relative;
  align-self: start;
  height: auto;
  padding: 22px 22px 20px;
  border: 1px solid var(--la-line);
  border-radius: 20px;
  background: var(--la-card);
  box-shadow: 0 12px 22px rgba(20, 16, 24, .05);
  overflow: hidden;
}
.la-card--2 { background: linear-gradient(180deg, var(--la-card), var(--la-tint-2)); }
.la-card--3 { background: linear-gradient(180deg, var(--la-card), var(--la-tint-3)); }
.la-card-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 46px;
  height: 46px;
  opacity: .9;
}
.la-card-icon .iso { width: 46px; height: 46px; }
.la-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--la-accent);
}
.la-card-title {
  margin: 0 48px 8px 0;
  font-size: 22px;
  letter-spacing: -.03em;
  line-height: 1.3;
}
.la-card-desc {
  margin: 0 0 12px;
  color: var(--la-muted);
  font-size: 15px;
  line-height: 1.65;
}
.la-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.la-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--la-line);
  background: var(--la-chip);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
}
.la-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 16px 24px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto 28px;
  padding: 24px 26px;
  min-height: 0;
  border-radius: 28px;
}
.la-district-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}
.la-district-eye {
  margin: 0;
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 800;
}
.la-stat {
  position: relative;
  overflow: hidden;
  min-width: 108px;
  padding: 14px 14px 12px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--la-line);
  box-shadow: 0 12px 24px rgba(20,16,24,.08), inset 0 1px 0 #fff;
}
.la-stat::after {
  content: "";
  position: absolute;
  right: -12px;
  top: -14px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--la-accent) 40%, white), transparent 72%);
  pointer-events: none;
}
.la-stat .iso { width: 40px; height: 40px; margin: 0 auto 4px; position: relative; z-index: 1; }
.la-stat strong, .la-stat span { position: relative; z-index: 1; }
.la-card {
  position: relative;
  align-self: start;
  height: auto;
  padding: 22px 22px 20px;
  border-radius: 26px;
  overflow: hidden;
}
.la-card:hover { transform: translateY(-3px); }
.la-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 4px 10px rgba(20,16,24,.05);
}
.la-guide--bucheon .la-summary,
.la-guide--bucheon .la-card {
  background: linear-gradient(180deg, #fff, #fff4f1);
  border: 1px solid rgba(245,87,104,.16);
  box-shadow: 0 18px 36px rgba(245,87,104,.12), inset 0 1px 0 #fff;
}
.la-guide--bucheon .la-district-head {
  background: linear-gradient(180deg, #fff, #ffe8e4);
  box-shadow: 0 8px 18px rgba(245,87,104,.12);
  color: #f55768;
}
.la-guide--bucheon .la-stat { background: #fff5f2; box-shadow: inset 0 1px 0 #fff; }
.la-guide--bucheon .la-chip { background: #fff7f4; border: 1px solid rgba(245,87,104,.18); }
.la-guide--yeongjong .la-summary,
.la-guide--yeongjong .la-card {
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(124,196,255,.4);
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(47,125,225,.12), inset 0 1px 0 #fff;
}
.la-guide--yeongjong .la-district-head {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(42,155,143,.3);
  color: #2a9b8f;
}
.la-guide--yeongjong .la-stat { background: rgba(255,255,255,.7); }
.la-guide--yeongjong .la-chip { background: rgba(255,255,255,.9); border: 1px solid #cfe8ff; }
.la-guide--siheung .la-summary,
.la-guide--siheung .la-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(18,164,196,.2);
  border-top: 3px solid #12a4c4;
  box-shadow: 0 16px 32px rgba(11,58,77,.1);
}
.la-guide--siheung .la-district-head {
  background: #0b3a4d;
  color: #9be7ff;
  border-radius: 14px;
}
.la-guide--siheung .la-district-head h3 { color: #fff; }
.la-guide--siheung .la-stat { background: #f4fbfd; border-top: 2px solid #12a4c4; }
.la-guide--siheung .la-chip { background: #f4fafc; border: 1px solid #cfe4ec; }
.la-guide--ganghwa .la-summary,
.la-guide--ganghwa .la-card {
  background: linear-gradient(180deg, #fff, #fff6f2);
  border: 1px solid rgba(245,87,104,.18);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(245,87,104,.1), inset 0 1px 0 #fff;
}
.la-guide--ganghwa .la-district-head {
  background: #fff4f0;
  border: 1px solid rgba(245,87,104,.2);
  color: #f55768;
  border-radius: 18px;
}
.la-guide--ganghwa .la-stat { background: #fff8f5; }
.la-guide--ganghwa .la-chip { background: #fff8f5; border: 1px solid rgba(245,87,104,.16); }
.la-board {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 22px 22px 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), var(--la-soft));
  border: 1px solid var(--la-line);
  box-shadow: 0 22px 40px rgba(20,16,24,.08), inset 0 1px 0 #fff;
}
.la-board::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--la-accent) 55%, white), rgba(255,255,255,.2), color-mix(in srgb, var(--la-accent) 28%, white));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.la-zones {
  display: grid;
  gap: 12px;
}
.la-zones--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.la-zones--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.la-zones--3, .la-zones-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.la-zones--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.la-zone {
  padding: 12px 12px 10px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--la-soft) 70%, white);
  border: 1px solid var(--la-line);
  box-shadow: 0 8px 16px rgba(20,16,24,.04), inset 0 1px 0 #fff;
  min-height: 0;
}
.la-zone-eye {
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--la-accent);
}
.la-zone h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -.03em;
}
.la-district-block { margin: 0 0 14px; }
.la-district-block:last-child { margin-bottom: 0; }
.la-adjacent {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--la-line);
}
.la-adjacent > span {
  font-size: 12px;
  font-weight: 800;
  color: var(--la-muted);
}
.la-guide--compact .la-chip {
  padding: 7px 11px;
  font-size: 13px;
}
.la-guide--compact { padding-bottom: 28px; }
.la-guide--bucheon .la-board,
.la-guide--ganghwa .la-board {
  background: linear-gradient(180deg, #fff, #fff4f1);
  box-shadow: 0 22px 40px rgba(245,87,104,.12), inset 0 1px 0 #fff;
}
.la-guide--yeongjong .la-board {
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(16px);
}
.la-guide--siheung .la-board {
  background: #fff;
  border-top: 3px solid #12a4c4;
}
.iso { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; }
.iso svg { width: 56px !important; height: 56px !important; max-width: 56px; max-height: 56px; display: block; }
.la-chip-sub {
  font-size: 13px;
  font-weight: 650;
  color: var(--la-muted);
  background: transparent;
}
.la-sub-label {
  margin: 12px 0 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--la-muted);
}
@media (min-width: 1100px) {
  .la-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .la-grid[data-count="1"],
  .la-grid[data-count="2"],
  .la-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .la-card { min-width: 0; }
}
@media (max-width: 1023px) {
  .la-guide { padding-left: 5vw; padding-right: 5vw; }
  .la-grid,
  .la-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .la-zones--5, .la-zones--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .la-guide { padding: 8px 5vw 36px; }
  .la-summary { grid-template-columns: 1fr; }
  .la-stats { justify-content: flex-start; }
  .la-grid,
  .la-grid[data-count="4"],
  .la-zones,
  .la-zones--5,
  .la-zones--4,
  .la-zones--3,
  .la-zones-3,
  .la-zones--2 { grid-template-columns: 1fr; }
  .la-card-title { margin-right: 44px; font-size: 18px; }
  .la-jump-chip, .la-chip { min-height: 36px; }
  .la-board { padding: 16px 14px; overflow-x: hidden; }
}

/* Preview-safe constraints: never let icons/SVG fill the viewport when a stylesheet is missing. */
.iso,
.iso svg,
.la-card-icon,
.la-card-icon svg,
.sh-usecase-visual svg,
.yj-sky-visual svg,
.bc-stack-visual svg,
.bc-cta-deco svg,
.yj-cta-deco svg,
.sh-cta-deco svg,
.bc-price-ico svg,
.yj-course-ico svg,
.sh-course-ico svg,
.bc-step-ico svg,
.yj-step-ico svg,
.sh-step-ico svg,
.bc-rail-ico svg,
.la-stat svg,
.gh-life-visual svg {
  max-width: 72px !important;
  max-height: 72px !important;
  width: 48px;
  height: 48px;
}
.iso { display: inline-flex !important; width: 56px; height: 56px; }
.iso svg { display: block; width: 56px !important; height: 56px !important; }
.la-card-icon { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; }
.la-card-icon .iso,
.la-card-icon svg { width: 44px !important; height: 44px !important; max-width: 44px !important; max-height: 44px !important; }
img.sh-hero-photo, img.yj-hero-visual, img.bc-bleed-img {
  max-width: 100%;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Shared HERO H1 Title Fit — all 4 MASTERs. Do not clip long keywords. */

.hero-copy,
.yj-hero-copy-col,
.sh-glass-panel,
#hero .hero-copy,
#hero .hero-content {
  min-width: 0;
  max-width: 100%;
}

.hero-title-fit,
.hero-title-fit .h1-brand {
  max-width: 100%;
  overflow: visible !important;
  white-space: normal !important;
  word-break: keep-all;
  overflow-wrap: normal;
  line-height: 1.12;
  box-sizing: border-box;
}

.hero-title-fit .h1-brand {
  display: block;
}

.yj-hero-split h1.hero-title-fit {
  display: block;
}

/* Bucheon: give the title column more of the hero than the photo. */
@media (min-width: 981px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }
}

/* Siheung desktop: text ~60%, image ~40%. */
@media (min-width: 901px) {
  .sh-hero-stage {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

/* Ganghwa left rail: long keywords need more than ~37vw. */
@media (min-width: 901px) {
  #hero .hero-content,
  #hero .hero-content.container,
  .hero-content {
    --hero-rail: clamp(28rem, 52vw, 46rem);
    width: min(100% - 2rem, var(--hero-rail));
    max-width: var(--hero-rail);
  }
}

/* Yeongjong copy can use the remaining row after the 40% photo. */
@media (min-width: 901px) {
  .yj-hero-copy-col {
    max-width: min(760px, 100%) !important;
  }
}

/* Length buckets — short keeps each MASTER's existing large size. */

.hero-copy h1.hero-title-fit--medium {
  font-size: clamp(2.15rem, 5.4vw, 3.85rem);
}
.hero-copy h1.hero-title-fit--long {
  font-size: clamp(1.9rem, 4.7vw, 3.15rem);
}
.hero-copy h1.hero-title-fit--xlong {
  font-size: clamp(1.65rem, 4.1vw, 2.65rem);
}

.yj-hero-split h1.hero-title-fit--medium {
  font-size: clamp(30px, 2.85vw, 48px);
}
.yj-hero-split h1.hero-title-fit--long {
  font-size: clamp(26px, 2.5vw, 40px);
}
.yj-hero-split h1.hero-title-fit--xlong {
  font-size: clamp(22px, 2.2vw, 34px);
}

.sh-hero-stage h1.hero-title-fit--medium {
  font-size: clamp(32px, 4.4vw, 46px);
}
.sh-hero-stage h1.hero-title-fit--long {
  font-size: clamp(28px, 3.8vw, 40px);
}
.sh-hero-stage h1.hero-title-fit--xlong {
  font-size: clamp(24px, 3.3vw, 34px);
}

@media (min-width: 901px) {
  .yj-hero-split h1.hero-title-fit--medium {
    font-size: clamp(36px, 2.7vw, 50px);
  }
  .yj-hero-split h1.hero-title-fit--long {
    font-size: clamp(30px, 2.35vw, 42px);
  }
  .yj-hero-split h1.hero-title-fit--xlong {
    font-size: clamp(26px, 2.1vw, 36px);
  }
  .sh-hero-stage h1.hero-title-fit--medium {
    font-size: clamp(40px, 2.9vw, 52px);
  }
  .sh-hero-stage h1.hero-title-fit--long {
    font-size: clamp(34px, 2.5vw, 44px);
  }
  .sh-hero-stage h1.hero-title-fit--xlong {
    font-size: clamp(28px, 2.2vw, 38px);
  }
}

#hero.hero h1.hero-title-fit--medium,
#hero.hero h1.hero-title-fit--medium .h1-brand {
  font-size: clamp(2rem, 3.1vw, 3rem) !important;
}
#hero.hero h1.hero-title-fit--long,
#hero.hero h1.hero-title-fit--long .h1-brand {
  font-size: clamp(1.75rem, 2.7vw, 2.55rem) !important;
}
#hero.hero h1.hero-title-fit--xlong,
#hero.hero h1.hero-title-fit--xlong .h1-brand {
  font-size: clamp(1.5rem, 2.35vw, 2.2rem) !important;
}

@media (max-width: 900px) {
  .hero-copy h1.hero-title-fit--medium {
    font-size: clamp(1.85rem, 9.5vw, 2.55rem);
  }
  .hero-copy h1.hero-title-fit--long,
  .hero-copy h1.hero-title-fit--xlong {
    font-size: clamp(1.55rem, 8.2vw, 2.2rem);
  }
  .yj-hero-split h1.hero-title-fit--medium,
  .sh-hero-stage h1.hero-title-fit--medium {
    font-size: clamp(1.7rem, 7.4vw, 2.3rem);
  }
  .yj-hero-split h1.hero-title-fit--long,
  .yj-hero-split h1.hero-title-fit--xlong,
  .sh-hero-stage h1.hero-title-fit--long,
  .sh-hero-stage h1.hero-title-fit--xlong {
    font-size: clamp(1.45rem, 6.6vw, 2rem);
  }
  #hero.hero h1.hero-title-fit--medium,
  #hero.hero h1.hero-title-fit--medium .h1-brand,
  #hero.hero h1.hero-title-fit--long,
  #hero.hero h1.hero-title-fit--long .h1-brand,
  #hero.hero h1.hero-title-fit--xlong,
  #hero.hero h1.hero-title-fit--xlong .h1-brand {
    font-size: clamp(1.55rem, 7.2vw, 2.15rem) !important;
  }
}

