.consultation-hero {
  background: var(--paper-dim);
  border-radius: 18px;
}
.consultation-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
#hero { border-bottom: 1px solid var(--paper-line); }
.consultation-topics { list-style: none; padding: 0; margin: clamp(26px, 4vw, 42px) 0 0; border-top: 1px solid var(--ink-soft); }
.consultation-topics li { display: grid; grid-template-columns: minmax(85px, .24fr) 1fr; gap: 20px; padding: clamp(20px, 2.5vw, 32px) 0; border-bottom: 1px solid var(--paper-line); }
.consultation-topics strong { font-size: 14px; color: var(--ink-mute); line-height: 1.7; }
.consultation-topics blockquote { margin: 0; color: var(--ink); font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; line-height: 1.45; letter-spacing: -.035em; }
.consultation-topics p { margin: 7px 0 0; color: var(--ink-soft); line-height: 1.65; }
@media (max-width: 600px) {
  .consultation-topics li { grid-template-columns: 1fr; gap: 6px; }
}
.consultation-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.consultation-cards li { border-radius: 0; background: transparent; }
.consultation-cards figure { aspect-ratio: 3 / 2; border-radius: 14px; }
.consultation-cards h3 { margin-inline: 0; }
.consultation-cards p { margin-inline: 0; margin-bottom: 0; }
@media (max-width: 760px) { .consultation-cards { gap: 32px; } }
#apply .contact-form { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--ink-soft); }
#apply .check { display: flex; align-items: baseline; gap: 9px; font-size: 15px; color: var(--ink); }
#apply .consultation-submit { align-self: start; border: 0; font-family: inherit; cursor: pointer; }
#apply .consultation-submit:disabled { background: #e5e8eb; color: #4e5968; cursor: default; }
#status { color: var(--ink-soft); margin-top: 16px; }
@media (max-width: 760px) { .consultation-cards { grid-template-columns: 1fr; } }
.survey-group,.survey-details { min-inline-size: 0; padding: 0; border: 0; margin: 0; }
.survey-group legend { margin-bottom: 10px; color: var(--ink); font-weight: 700; }
.survey-details { display: grid; gap: 28px; }
.survey-details > legend { margin-bottom: 24px; }
.survey-choice { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px 16px; background: #f2f4f6; border: 1px solid transparent; border-radius: 12px; cursor: pointer; color: #333d4b; }
.survey-choice input { accent-color: #3182f6; flex-shrink: 0; }
.survey-choice:has(:checked) { border-color: #3182f6; background: #eef5ff; }
.survey-choice:has(:disabled) { color: #6b7684; cursor: default; }
#apply [hidden] { display: none; }
.segment-picker { position: relative; min-width: 0; }
.segment-trigger { position: relative; display: block; width: 100%; min-height: 52px; padding: 14px 46px 14px 16px; border: 0; border-radius: 12px; background: #f2f4f6; color: #586574; font: 500 16px/1.5 var(--f-sans); text-align: left; cursor: pointer; }
.segment-trigger.has-value { color: var(--ink); }
.segment-trigger::after { content: ''; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border: solid #6b7684; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); }
.segment-trigger[aria-expanded="true"]::after { transform: translateY(-25%) rotate(225deg); }
.segment-trigger:focus-visible,.segment-trigger[aria-expanded="true"] { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.segment-trigger[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #d14343; }
.segment-menu { position: absolute; z-index: 5; inset: calc(100% + 6px) 0 auto; max-height: min(280px, 40dvh); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--paper-line); padding: 6px; border-radius: 16px; box-shadow: 0 6px 24px rgba(25,31,40,.12); }
.segment-menu.opens-up { inset: auto 0 calc(100% + 6px); }
.segment-menu [role="option"] { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font: 500 16px/1.5 var(--f-sans); cursor: pointer; }
.segment-menu [role="option"]:hover,.segment-menu .is-active { background: #f2f4f6; }
.segment-menu [aria-selected="true"] { color: var(--blue-focus); font-weight: 700; background: #eef5ff; }
.segment-menu [aria-selected="true"]::after { content: ''; width: 7px; height: 13px; margin-right: 5px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Korean copy wraps at word boundaries; related terms stay on the same line. */
#main-content :is(h1, h2, h3, blockquote, legend, p, .form-help, .survey-choice, .check, .segment-menu, textarea) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
#main-content :is(h1, h2, h3, blockquote, legend, .copy-sentence) { text-wrap: balance; }
.copy-sentence { display: block; }
.copy-sentence + .copy-sentence { margin-top: .3em; }
.copy-phrase { display: inline-block; }

/* Keep the consultation action in view on wide and short screens. */
@media (min-width: 901px), (min-width: 600px) and (max-height: 540px) {
  #hero .bz-wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 72px); align-content: center; }
  #hero .bz-cat, #hero .bz-h1, #hero .bz-head-bar { grid-column: 1; }
  #hero .bz-h1 { margin-bottom: 0; }
  #hero .consultation-hero { grid-column: 2; grid-row: 1 / 4; align-self: center; width: 100%; aspect-ratio: 4 / 3; }
}
@media (min-width: 600px) and (max-height: 540px) {
  #hero { padding-block: 18px; }
  #hero .bz-h1 { font-size: 32px; }
  #hero .bz-head-bar { margin-top: 12px; gap: 10px; }
}
@media (max-width: 420px) and (max-height: 680px) {
  #hero .bz-wrap { display: flex; flex-direction: column; }
  #hero .bz-head-bar { margin-top: 0; }
  #hero .consultation-hero { order: 1; margin-top: 22px; }
}
@media (max-width: 900px) {
  .masthead .nav-toggle { width: 44px; height: 44px; }
  .nav-toggle span { left: 11px; }
  .nav-toggle span:nth-child(1) { top: 18px; }
  .nav-toggle span:nth-child(2) { top: 25px; }
}
@media (pointer: coarse) {
  #apply .form-field :is(input, textarea) { font-size: 16px; }
}

@media (min-width: 680px) {
  #topic-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
}
