/* ============================================================
   CEO 인사말 page-specific styles
   Uses tokens from styles.css; spec colors layered on top where called for
   ============================================================ */

.ceo-badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #2563EB;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ====================== Section 1: Hero ====================== */
.ceo-hero {
  background: #F0F7FF;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.ceo-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, transparent 60%);
  pointer-events: none;
}
.ceo-hero .shell { position: relative; }
.ceo-hero-title {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin: 20px 0 18px;
}
.ceo-hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: #475569;
  font-weight: 400;
  margin: 0;
  max-width: 580px;
}
@media (max-width: 720px) {
  .ceo-hero { padding: 64px 0 56px; }
  .ceo-hero-title { font-size: 36px; }
  .ceo-hero-sub { font-size: 16px; }
}

/* ====================== Section 2: Quote band ====================== */
.ceo-quote-band {
  background: #F0F7FF;
  padding: 96px 0;
}
.ceo-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 20px;
}
.ceo-quote-mark {
  display: block;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 96px;
  line-height: 0.7;
  color: #2563EB;
  opacity: 0.18;
  margin-bottom: 12px;
  font-weight: 700;
}
.ceo-quote-text {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin: 0 0 24px;
}
.ceo-quote-caption {
  display: inline-block;
  font-size: 14px;
  color: #64748B;
  letter-spacing: 0.02em;
}
.ceo-quote-caption::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: #94A3B8;
  vertical-align: middle;
  margin-right: 10px;
}
@media (max-width: 720px) {
  .ceo-quote-band { padding: 64px 0; }
  .ceo-quote-text { font-size: 28px; }
  .ceo-quote-mark { font-size: 64px; }
}

/* ====================== Section 3: Message + photo ====================== */
.ceo-message {
  background: #FFFFFF;
  padding: 120px 0;
}
.ceo-message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 960px) {
  .ceo-message { padding: 80px 0; }
  .ceo-message-grid { grid-template-columns: 1fr; gap: 48px; }
  .ceo-message-side { order: -1; }
}

.ceo-message-body p {
  font-size: 16.5px;
  line-height: 1.85;
  color: #334155;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.ceo-message-body p em {
  font-style: normal;
  color: #2563EB;
  font-weight: 600;
}
.ceo-message-body .ceo-thanks {
  margin-top: 12px;
  font-weight: 500;
  color: #1E293B;
}

.ceo-sign {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ceo-sign-line {
  display: block;
  width: 56px;
  height: 1px;
  background: #CBD5E1;
  margin-bottom: 16px;
}
.ceo-sign-role {
  font-size: 14px;
  color: #64748B;
  letter-spacing: -0.01em;
}
.ceo-sign-name {
  font-size: 22px;
  font-weight: 600;
  color: #0F172A;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Right column — photo + card */
.ceo-message-side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 960px) {
  .ceo-message-side { position: static; }
}
.ceo-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #F1F5F9;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10);
}
.ceo-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ceo-photo-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.ceo-photo-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #0F172A;
  letter-spacing: -0.01em;
}
.ceo-photo-card-addr {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
}
.ceo-photo-card-en {
  font-size: 12.5px;
  color: #94A3B8;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
}

/* ====================== Section 4: Certifications ====================== */
.ceo-certs {
  background: #F0F7FF;
  padding: 120px 0;
}
.ceo-certs-head {
  text-align: center;
  margin-bottom: 56px;
}
.ceo-certs-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin: 16px 0 12px;
}
.ceo-certs-sub {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 520px;
}
.ceo-cert-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .ceo-cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ceo-cert-grid { grid-template-columns: 1fr; }
}
.ceo-cert-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ceo-cert-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.ceo-cert-logo {
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.ceo-cert-logo img {
  max-height: 64px;
  max-width: 80px;
  width: auto; height: auto;
  object-fit: contain;
}
.ceo-cert-logo-fallback {
  width: 80px;
  height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #2563EB;
  color: #2563EB;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  border-radius: 8px;
  background: #EFF6FF;
}
.ceo-cert-name {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
}
.ceo-cert-en {
  font-size: 11.5px;
  color: #94A3B8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}
.ceo-cert-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.55;
  margin: 8px 0 0;
}

/* ====================== Section 5: CTA ====================== */
.ceo-cta {
  background: #0F172A;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ceo-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.ceo-cta .shell { position: relative; }
.ceo-cta-title {
  font-size: 34px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.ceo-cta-sub {
  font-size: 17px;
  color: #CBD5E1;
  line-height: 1.6;
  margin: 0 0 36px;
}
.ceo-cta-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.ceo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  border: 1px solid transparent;
}
.ceo-btn:hover { transform: translateY(-1px); }
.ceo-btn-primary {
  background: #2563EB;
  color: #FFFFFF;
}
.ceo-btn-primary:hover {
  background: #1D4ED8;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.ceo-btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}
.ceo-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 720px) {
  .ceo-cta { padding: 72px 0; }
  .ceo-cta-title { font-size: 26px; }
  .ceo-cta-sub { font-size: 15px; }
  .ceo-cta-actions { flex-direction: column; width: 100%; }
  .ceo-btn { justify-content: center; width: 100%; }
}


/* ===== CEO sidebar — portrait dominant + compact HQ card ===== */
.ceo-message-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 96px;
}
@media (max-width: 960px) { .ceo-message-side { position: static; } }

/* Big CEO portrait — primary visual */
.ceo-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: #F1F5F9;
  box-shadow:
    0 30px 60px -18px rgba(15, 23, 42, 0.30),
    0 8px 20px -4px rgba(15, 23, 42, 0.10);
}
.ceo-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.ceo-portrait-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
}
.ceo-portrait-tag-role {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}
.ceo-portrait-tag-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

/* Compact HQ card — thumbnail + inline address */
.ceo-hq-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.ceo-hq-thumb {
  width: 96px; height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: #F1F5F9;
}
.ceo-hq-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ceo-hq-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}
.ceo-hq-title {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
}
.ceo-hq-addr {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}
.ceo-hq-en {
  font-size: 11.5px;
  color: #94A3B8;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-top: 2px;
}


/* CEO portrait — smaller, less imposing */
.ceo-portrait {
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.ceo-portrait img { object-position: center 25%; }
.ceo-portrait-tag {
  left: 14px;
  bottom: 14px;
  padding: 8px 14px;
}
.ceo-portrait-tag-role { font-size: 10.5px; }
.ceo-portrait-tag-name { font-size: 14px; }


/* HQ card — bigger HQ photo (revertable: remove this block to restore compact 96px) */
.ceo-hq-card {
  grid-template-columns: 1fr !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  gap: 14px !important;
}
.ceo-hq-thumb {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  border-radius: 16px !important;
  box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.18);
}
.ceo-hq-info {
  padding: 16px 18px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}


/* Match CEO portrait width to HQ image width */
.ceo-portrait {
  max-width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  margin: 0 !important;
}


/* Show CEO portrait in original aspect ratio, no crop */
.ceo-portrait {
  aspect-ratio: 4 / 3 !important;
}
.ceo-portrait img {
  object-fit: contain !important;
  object-position: center !important;
  background: #F1F5F9;
}


/* HQ thumb — address overlay (matches the CEO portrait tag style) */
.ceo-hq-thumb { position: relative; }
.ceo-hq-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
}
.ceo-hq-tag-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.ceo-hq-tag-addr {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.005em;
}
.ceo-hq-info { display: none !important; }
