/* Home only: preserve the shared blog, policy and support surfaces. */
.home-page .hero {
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr);
  min-height: 440px;
  padding-top: 38px;
}
.home-page .hero h1 { font-size: clamp(62px, 6.4vw, 88px); }
.home-page .eyebrow { margin-bottom: 22px; }
.home-page .hero-intro { max-width: 510px; margin: 24px 0 20px; line-height: 1.85; }
.home-page .hero-art { width: min(100%, 310px); justify-self: end; transform: none; }
.home-page .hero-footnote { margin-top: 30px; }
.home-page .work-section { padding-block: 64px 88px; }
.home-page .section-heading { grid-template-columns: 120px minmax(0, 1fr) auto; gap: 24px; padding-bottom: 32px; }
.home-page .section-heading h2 { font-size: clamp(54px, 5vw, 70px); }
.home-page .section-heading p { max-width: 310px; }
.home-page #work, .home-page #about, .home-page #contact { scroll-margin-top: 24px; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1.5px solid var(--ink);
  border-radius: var(--sketch-radius);
  background: var(--sheet);
  box-shadow: 3px 4px 0 #ded6c7;
}
.service-card:nth-child(even) { border-radius: 13px 5px 12px 6px / 5px 14px 7px 13px; }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.service-icon { width: 72px; height: 72px; object-fit: contain; border-radius: 16px; outline: 1px solid rgb(0 0 0 / 10%); }
.service-followback .service-icon { padding: 8px; background: #f6ecd8; image-rendering: pixelated; }
.service-platform { color: var(--muted); font: 500 12px "DM Sans", "Noto Sans KR", sans-serif; }
.service-card h3 { margin: 24px 0 10px; font: 700 36px/1.4 "Gaegu", "Noto Sans KR", sans-serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.service-card h3 small { display: inline-block; margin-inline-start: 6px; color: var(--muted); font: 400 13px "Noto Sans KR", sans-serif; letter-spacing: 0; }
.service-description { margin: 0 0 28px; color: var(--muted); font-size: 15px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.service-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.service-action {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 11px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 7px 12px 6px 10px / 10px 5px 12px 6px;
  background: var(--paper);
  font: 600 14px/1.4 "DM Sans", "Noto Sans KR", sans-serif;
}
.service-action span { font-size: 18px; font-weight: 400; }
@media (hover: hover) {
  .service-action:hover { background: var(--ink); color: var(--sheet); }
}
.service-action:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.service-unreleased { border-style: dashed; box-shadow: none; background: transparent; }
.service-pending { margin: auto 0 0; padding-block: 13px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.home-page .about-section { padding-block: 88px 96px; }
.home-page .contact-section { padding-block: 88px 100px; }

@media (max-width: 1120px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .section-heading { grid-template-columns: 100px minmax(0, 1fr); }
  .home-page .section-heading p { grid-column: 2; max-width: none; }
}
@media (max-width: 720px) {
  .home-page .hero { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 44px; }
  .home-page .hero-copy { padding-bottom: 0; }
  .home-page .hero h1 { font-size: clamp(42px, 10vw, 68px); }
  .home-page .hero-intro { margin-block: 22px 18px; }
  .home-page .hero-art { display: none; }
  .home-page .hero-footnote { margin-top: 32px; }
  .home-page .work-section { padding-block: 48px 64px; }
  .home-page .section-heading { display: block; padding-bottom: 26px; }
  .home-page .section-heading h2 { margin-top: 16px; font-size: 54px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .service-card { padding: 24px; }
  .service-card h3 { margin-top: 20px; }
  .service-description { font-size: 1rem; margin-bottom: 24px; }
  .home-page .about-section { padding-block: 64px 72px; }
  .home-page .contact-section { padding-block: 64px 80px; }
}
@media (max-width: 360px) {
  .service-card { padding: 20px; }
  .service-actions { gap: 10px; }
  .service-action { padding-inline: 11px; }
  .service-description br { display: none; }
}
/* Keep navigation, long addresses and headlines readable at 200% text size. */
.home-page .header-inner, .home-page .site-nav { flex-wrap: wrap; }
.home-page .hero h1 { overflow-wrap: anywhere; }
.home-page .contact-link { max-width: 100%; flex-wrap: wrap; overflow-wrap: anywhere; }
/* Native language links work without JavaScript on Pages Functions. */
.home-page .header-inner { gap: 16px; }
.home-page .language-switch { display: flex; gap: 4px; margin-inline-start: auto; }
.language-switch a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; font-size: 13px; }
.language-switch [aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.home-page:lang(en) .hero h1 { font-size: clamp(60px, 6.4vw, 88px); }
@media (max-width: 900px) {
 .home-page .site-header .header-inner { flex-direction: row; }
 .home-page .site-nav { order: 2; flex-basis: 100%; justify-content: space-between; }
}
@media (max-width: 620px) {
 .home-page .site-logo { width: 160px; }
 .home-page .header-inner { gap: 0 8px; }
 .home-page:lang(en) .site-nav a { font-size: 19px; }
 .home-page:lang(en) .hero h1 { font-size: clamp(46px, 11vw, 72px); }
}

/* Release refinement: one-line work title at normal text size; wraps when enlarged. */
.home-page .section-heading h2 { font-size: clamp(48px, 4.6vw, 66px); }
.home-page:lang(en) .section-heading h2 { font-size: clamp(34px, 3.6vw, 54px); }
.service-keyphony { position: relative; overflow: hidden; background: var(--ink); border-style: solid; }
.unreleased-preview { filter: blur(6px); user-select: none; pointer-events: none; }
.service-preview-title { display: block; margin: 24px 0 10px; font: 700 36px/1.4 "Gaegu", "Noto Sans KR", sans-serif; }
.unreleased-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: rgb(24 23 21 / 78%); color: var(--sheet); text-align: center; }
.unreleased-cover h3 { margin: 0 0 10px; }
.unreleased-cover .service-pending { margin: 0; padding: 0; color: var(--sheet); }
@media (max-width: 720px) {
 .home-page .section-heading h2 { font-size: clamp(28px, 7.8vw, 54px); }
 .home-page:lang(en) .section-heading h2 { font-size: clamp(22px, 5.5vw, 40px); }
}

/* Long headings and addresses must reflow with platform fallback fonts at 200% text. */
.home-page h1, .home-page h2 { overflow-wrap: anywhere; }
.home-page .contact-link .contact-address { min-width: 0; font-family: inherit; font-size: 1em; overflow-wrap: anywhere; }
