/* 공개 홈 전용. 회원 업무 화면에는 적용하지 않는다. */
.home-page {
  background: #faf9f6;
  color: #182521;
  --main: #243e35;
  --muted: #67736e;
  --line: #e2e6df;
}
.home-page .wrap { max-width: 1180px; }
.home-page header.site { background: #faf9f6; }
.home-page header.site .wrap { padding-top: 22px; padding-bottom: 22px; }
.home-page .brand-name { font-size: 22px; letter-spacing: -.06em; }
.home-page header.site nav { align-items: center; gap: 26px; }
.home-page header.site nav a:last-child {
  background: #203b32; color: #fff; border-radius: 8px; padding: 9px 16px;
}
.home-page .btn-add { font-size: 12px; background: transparent; color: #68736c; border-color: #d8ded6; }
.home-page main.wrap { padding-top: 0; }
.home { --ink: #182d26; --muted: #65746b; --accent: #ad4a25; --line: #dfe5dc; }
.home a { text-underline-offset: 4px; }
.home a:focus-visible { outline: 3px solid #ad4a25; outline-offset: 5px; }
.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 590px; margin: 28px 0 40px; padding: 68px 56px 116px;
  border-radius: 22px; color: #fff; background: #142b27;
}
.hero-photos, .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photos { z-index: -2; }
.hero-photo { object-fit: cover; object-position: center; opacity: 0; transition: opacity 1s ease; }
.hero-photo.is-active { opacity: 1; }
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(9, 25, 24, .9), rgba(9, 25, 24, .65) 48%, rgba(9, 25, 24, .16)),
    linear-gradient(0deg, rgba(9, 25, 24, .65), transparent 35%);
}
.home-hero-copy { max-width: 590px; }
.home-mark { color: #f6cba7; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.home-hero h1 {
  margin: 22px 0; font-size: clamp(32px, 3.7vw, 46px);
  font-weight: 750; line-height: 1.35; letter-spacing: -.065em; word-break: keep-all;
}
.home-hero h1 em { font-style: normal; color: #f6cba7; }
.home-lead { max-width: 480px; color: #e2e8e3; font-size: 15px; line-height: 1.9; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home .btn-solid, .home .btn-line {
  display: inline-flex; justify-content: center; align-items: center; gap: 16px;
  padding: 13px 19px; border-radius: 8px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: background .18s ease, transform .18s ease;
}
.home .btn-solid { background: #203b32; color: #fff; border: 1px solid #203b32; }
.home .btn-solid:hover { background: #315647; transform: translateY(-2px); }
.home .btn-line { border: 1px solid #d3dcd2; color: var(--ink); background: transparent; }
.home .btn-line:hover { background: #edf0e9; }
.home-hero .btn-solid { background: #f4ede3; border-color: #f4ede3; color: #203b32; }
.home-hero .btn-solid:hover { background: #fff; }
.home-hero .btn-line { border-color: #a3b1a8; color: #fff; background: #152b2466; }
.home-hero .btn-line:hover { background: #315647; }
.home-note { margin: 21px 0 0; font-size: 12px; color: #c9d3cc; }
.hero-controls {
  position: absolute; left: 56px; right: 56px; bottom: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.hero-controls[hidden] { display: none; }
.hero-navigation { display: flex; align-items: center; gap: 8px; }
.hero-counter { white-space: nowrap; font-size: 12px; letter-spacing: .1em; margin-right: 10px; }
.hero-controls button {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid #ffffff80; border-radius: 50%; background: #10271fcc;
  color: #fff; font-family: inherit; font-size: 17px; cursor: pointer;
}
.hero-controls button:hover { background: #426050; }
.home-hero :is(a, button):focus-visible { outline: 3px solid #f6cba7; outline-offset: 4px; }
.hero-controls .hero-play { width: auto; padding: 0 12px; border-radius: 24px; font-size: 11px; white-space: nowrap; }
.hero-thumbnails { display: flex; gap: 7px; }
.hero-thumbnails button { width: 50px; height: 40px; border-radius: 6px; overflow: hidden; border: 2px solid #ffffff60; }
.hero-thumbnails button[aria-current="true"] { border-color: #f6cba7; box-shadow: 0 0 0 2px #142b27; }
.hero-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-section { margin-top: 88px; scroll-margin-top: 24px; }
.home-eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.home-section h2 { margin: 0 0 13px; color: var(--ink); font-size: 29px; line-height: 1.45; letter-spacing: -.045em; word-break: keep-all; }
.home-sub { margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.home-audience {
  display: grid; grid-template-columns: .85fr 1.4fr; gap: 40px; align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 40px 0; margin-top: 10px;
}
.home-audience h2 { font-size: 23px; }
.home-audience .home-sub { margin-bottom: 0; font-size: 13px; }
.home-card { padding: 27px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.home-card b { display: block; font-size: 16px; margin-bottom: 10px; letter-spacing: -.03em; }
.home-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; word-break: keep-all; }
.home-audience .home-card { padding: 0 0 0 22px; border: 0; border-left: 2px solid #d7dece; border-radius: 0; background: transparent; }
.home-services { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.home-services .home-card { grid-column: span 2; }
.home-services .home-card:nth-child(n+4) { grid-column: span 3; }
.home-card .mark {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 23px;
  background: #f0f3e9; color: #415d38; border: 1px solid #e1e7d8; border-radius: 12px; font-size: 16px;
}
.home-services .home-card:nth-child(2) .mark,
.home-services .home-card:nth-child(4) .mark { background: #faf0e9; color: #a35c34; border-color: #f0e1d5; }
.home-principles { background: #edf0e8; padding: 38px; border-radius: 20px; }
.home-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 34px; }
.home-step .num { display: block; color: #6b7e5e; font-size: 12px; margin-bottom: 16px; }
.home-step b { font-size: 15px; }
.home-step p { font-size: 13px; line-height: 1.85; color: #596951; margin: 10px 0 0; }
.home-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; }
.home-panel { padding-left: 24px; border-left: 2px solid #a8b79b; }
.home-panel b { font-size: 18px; letter-spacing: -.03em; }
.home-panel p { font-size: 14px; color: var(--muted); margin: 10px 0; }
.home-panel code { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: 5px 10px; color: #405635; background: #edf0e8; font-size: 12px; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.home-text-link { color: var(--ink); font-weight: 600; font-size: 13px; white-space: nowrap; }
.home-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.home-posts a {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none;
  background: #fff; color: var(--ink); transition: box-shadow .18s ease;
}
.home-posts a:not(:has(.home-post-image)) { grid-template-columns: 1fr; }
.home-posts a:hover { box-shadow: 0 12px 30px -20px #203b3266; }
.home-post-image { display: block; width: 100%; height: 100%; min-height: 280px; aspect-ratio: 40/21; object-fit: cover; }
.home-post-copy { display: block; padding: 32px; min-width: 0; }
.home-post-category { display: flex; flex-wrap: wrap; gap: 14px; color: #a4542c; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.home-post-category span { color: var(--muted); font-weight: 400; letter-spacing: 0; }
.home-posts .t { display: block; font-size: 23px; line-height: 1.5; font-weight: 700; letter-spacing: -.035em; margin: 15px 0 12px; word-break: keep-all; overflow-wrap: anywhere; }
.home-posts .m { display: block; font-size: 13px; color: var(--muted); line-height: 1.8; }
.home-post-read { display: block; margin-top: 24px; font-size: 12px; font-weight: 700; }
.home-start { background: #203b32; padding: 48px; border-radius: 20px; text-align: center; }
.home-start .home-eyebrow { color: #e8b698; }
.home-start h2 { font-size: 32px; color: #fff; }
.home-start > p:not(.home-eyebrow) { max-width: 580px; margin: 20px auto 0; color: #c8d4cb; font-size: 14px; line-height: 1.9; }
.home-start .home-actions { justify-content: center; }
.home-start .btn-solid { background: #f4ede3; border-color: #f4ede3; color: #203b32; }
.home-start .btn-solid:hover { background: #fff; }
.home-start .btn-line { color: #fff; border-color: #6e8277; }
.home-start .btn-line:hover { background: #315647; }
.home-foot { text-align: center; font-size: 12px; color: var(--muted); margin: 30px 0 0; }
@media (max-width: 900px) {
  .home-hero { padding: 48px 36px 152px; }
  .hero-controls { left: 36px; right: 36px; flex-wrap: wrap; gap: 14px; }
  .home-audience { grid-template-columns: 1fr; gap: 28px; }
  .home-post-copy { padding: 24px; }
  .home-posts .t { font-size: 20px; }
}
@media (max-width: 640px) {
  .home-page header.site .wrap { padding: 16px 14px; }
  .home-page header.site nav { gap: 14px; }
  .home-hero {
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 650px; margin-top: 14px; padding: 36px 24px 24px; border-radius: 16px;
  }
  .home-hero h1 { font-size: 34px; }
  .home-lead { font-size: 14px; }
  .home-actions { align-items: stretch; }
  .home-hero .home-actions { flex-direction: column; }
  .home-hero::before { background: linear-gradient(90deg, #091918db, #09191899), linear-gradient(0deg, #091918bb, transparent); }
  .hero-photo { object-position: 60% center; }
  .hero-controls { position: static; width: 100%; margin-top: 36px; }
  .hero-navigation { flex-wrap: wrap; gap: 6px; }
  .hero-counter { margin-right: 5px; }
  .hero-controls .hero-play { padding: 0 8px; font-size: 10px; }
  .hero-thumbnails { width: 100%; gap: 6px; }
  .hero-thumbnails button { width: calc((100% - 30px) / 6); max-width: 60px; height: 38px; }
  .home-section { margin-top: 56px; }
  .home-audience { margin-top: 0; padding: 32px 0; }
  .home-grid, .home-panels, .home-steps { grid-template-columns: 1fr; }
  .home-audience .home-grid { gap: 25px; }
  .home-services .home-card, .home-services .home-card:nth-child(n+4) { grid-column: auto; }
  .home-services .home-card { padding: 24px; }
  .home-card .mark { margin-bottom: 16px; }
  .home-section h2 { font-size: 24px; }
  .home-principles { padding: 26px 22px; }
  .home-steps { gap: 24px; }
  .home-step { display: grid; grid-template-columns: 25px 1fr; gap: 12px; }
  .home-step .num { padding-top: 2px; margin: 0; }
  .home-section-heading { display: block; }
  .home-text-link { display: inline-block; margin: -8px 0 24px; }
  .home-posts a { grid-template-columns: 1fr; }
  .home-post-image { height: auto; min-height: 0; }
  .home-post-copy { padding: 24px; }
  .home-start { padding: 34px 23px; }
  .home-start .home-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .home a, .hero-photo { transition: none; }
  .home .btn-solid:hover { transform: none; }
}
