/* Product-stage component returned by OpenAI Sol; integrated and optically tuned by HAM MEDIA. */

  .home-product-figure {
    --home-product-paper: #faf8f3;
    --home-product-ink: #20221f;
    --home-product-green: #245745;
    --home-product-stage-height: clamp(320px, 46vh, 440px);

    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 20px 24px 16px;
    color: var(--home-product-ink);
    background: var(--home-product-paper);
    font-family: Pretendard, sans-serif;
  }

  .home-product-caption {
    box-sizing: border-box;
    width: min(100%, 1000px);
    min-width: 0;
    margin-inline: auto;
    text-align: center;
  }

  .home-product-title {
    margin: 0;
    font-size: clamp(60px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.055em;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .home-product-title-line {
    display: block;
  }

  .home-product-description {
    margin: 12px 0 0;
    font-size: 17px;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .home-product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 20px;
    min-width: 0;
    margin-top: 16px;
  }

  .home-product-action {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--home-product-green);
    border-radius: 999px;
    color: var(--home-product-paper);
    background: var(--home-product-green);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
  }

  .home-product-action-secondary {
    padding-inline: 4px;
    border-color: transparent;
    border-radius: 4px;
    color: var(--home-product-green);
    background: transparent;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }

  .home-product-stage {
    position: relative;
    isolation: isolate;
    display: block;
    box-sizing: border-box;
    width: min(100%, 1000px);
    height: var(--home-product-stage-height);
    min-width: 0;
    margin: 18px auto 0;
    overflow: hidden;
    border-radius: 20px;
    color: var(--home-product-ink);
    background:
      radial-gradient(
        ellipse at 50% 78%,
        rgba(36, 87, 69, 0.10),
        rgba(36, 87, 69, 0) 68%
      );
    text-decoration: none;
  }

  /*
   * 일반적인 화면 테두리만 사용한다.
   * 하드웨어 로고, 노치, 상태 표시줄, 조작 버튼은 만들지 않는다.
   */
  .home-product-screen {
    position: absolute;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    border: 5px solid var(--home-product-ink);
    background: var(--home-product-paper);
    box-shadow: 0 12px 28px rgba(32, 34, 31, 0.14);
  }

  .home-product-screen-desktop {
    z-index: 1;
    top: 3%;
    left: 50%;
    width: min(78%, calc(var(--home-product-stage-height) * 1.45));
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    transform: translateX(-50%);
  }

  .home-product-screen-phone {
    z-index: 2;
    right: 7%;
    bottom: 3%;
    height: 92%;
    aspect-ratio: 9 / 19.5;
    border-width: 4px;
    border-radius: 20px;
  }

  .home-product-image {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    object-position: center top;
    color: var(--home-product-ink);
    background: var(--home-product-paper);
    font-size: 13px;
    line-height: 1.5;
  }

  /*
   * 이미지 로딩 실패 시 브라우저의 alt 표시를 사용한다.
   * 화면 영역의 크기는 이미지 로딩 여부와 무관하게 유지된다.
   * 사례명은 아래에 항상 남겨 이미지에만 의존하지 않는다.
   */
  .home-product-label {
    display: block;
    margin: 6px 0 0;
    color: var(--home-product-green);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .home-product-action:focus-visible,
  .home-product-stage:focus-visible {
    outline: 3px solid var(--home-product-green);
    outline-offset: 4px;
  }

  @media (hover: hover) {
    .home-product-action:hover {
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    .home-product-stage:hover {
      outline: 1px solid rgba(36, 87, 69, 0.5);
      outline-offset: 2px;
    }
  }

  @media (max-width: 767px) {
    .home-product-figure {
      --home-product-stage-height: clamp(240px, 36vh, 320px);
      padding: 16px 16px 10px;
    }

    .home-product-title {
      font-size: clamp(38px, 10.25vw, 42px);
      line-height: 1.1;
    }

    .home-product-description {
      max-width: 30em;
      margin: 10px auto 0;
      font-size: 14px;
      line-height: 1.45;
    }

    .home-product-actions {
      gap: 8px 12px;
      margin-top: 12px;
    }

    .home-product-action {
      min-height: 44px;
      padding: 9px 13px;
      font-size: 13px;
    }

    .home-product-action-secondary {
      padding-inline: 2px;
    }

    .home-product-stage {
      margin-top: 12px;
      border-radius: 14px;
    }

    .home-product-screen-desktop {
      top: 24%;
      left: 1%;
      width: 72%;
      border-width: 3px;
      border-radius: 8px;
      transform: none;
      box-shadow: 0 6px 16px rgba(32, 34, 31, 0.10);
    }

    .home-product-screen-phone {
      top: 1%;
      right: auto;
      bottom: auto;
      left: 50%;
      height: 96%;
      border-width: 3px;
      border-radius: 16px;
      transform: translateX(-50%);
    }
  }

  /*
   * 320×568 같은 짧은 화면용 절충:
   * 제목 크기는 유지하고 무대를 줄인다.
   * 확대·사용자 글꼴 설정 시에는 잘라내지 않고 문서 스크롤을 허용한다.
   */
  @media (max-width: 767px) and (max-height: 640px) {
    .home-product-figure {
      --home-product-stage-height: clamp(148px, 28vh, 172px);
      padding-top: 8px;
      padding-bottom: 6px;
    }

    .home-product-title {
      font-size: 38px;
      line-height: 1.1;
    }

    .home-product-description {
      margin-top: 6px;
      font-size: 13px;
      line-height: 1.4;
    }

    .home-product-actions {
      gap: 6px 10px;
      margin-top: 8px;
    }

    .home-product-action {
      min-height: 36px;
      padding: 7px 10px;
      font-size: 13px;
    }

    .home-product-action-secondary {
      padding-inline: 2px;
    }

    .home-product-stage {
      margin-top: 8px;
    }

    .home-product-screen-phone {
      border-radius: 12px;
    }

    .home-product-label {
      margin-top: 4px;
      font-size: 11px;
      line-height: 1.4;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .home-product-action,
    .home-product-stage,
    .home-product-screen {
      animation: none;
      transition: none;
    }
  }

@font-face{font-family:HamHomeDisplay;src:url('/ham-media-archive/assets/fonts/Pretendard-Black-academy.woff2') format('woff2');font-weight:900;font-display:swap}
.home-result-first{--paper:#faf8f4;--green:#245745;--gutter:max(24px,calc((100% - 1160px)/2))}
.home-result-first .hub-header{height:60px;min-height:60px;max-height:60px;background:#faf8f4f5;border-bottom:1px solid #e9e5de;backdrop-filter:blur(12px)}
.home-result-first .brand-mark{font-weight:500;font-size:19px;letter-spacing:-.03em}
.home-featured{padding:30px 0 12px;overflow:hidden;background:var(--paper)}
.home-product-figure{background:transparent;font-family:inherit;padding:0 24px 16px;--home-product-stage-height:clamp(340px,48vh,470px)}
.home-product-caption{max-width:1040px}
.home-feature-eyebrow{font-size:13px;letter-spacing:.08em;color:#565b53;margin:0 0 14px}
.home-product-title{font-family:HamHomeDisplay,HamHome,sans-serif;font-weight:900;font-size:clamp(48px,4.5vw,66px);letter-spacing:-.045em;line-height:1.12}
.home-product-description{font-size:17px;line-height:1.6;margin-top:14px;color:#575b54}
.home-product-actions{margin-top:18px;gap:12px 22px}
.home-product-action{font:inherit;font-size:14px;min-height:46px;padding:10px 22px;white-space:nowrap}
.home-product-action-secondary{padding:10px 0;text-decoration:none;border-radius:0}
.home-product-stage{width:min(100%,1080px);border-radius:0;margin-top:28px;background:radial-gradient(ellipse at 50% 90%,#e3dfd5 0,transparent 65%);overflow:visible}
.home-product-screen{border-color:#292b28;box-shadow:0 18px 38px #2b251e24}
.home-product-screen-desktop{left:44%;top:0;width:min(80%,calc(var(--home-product-stage-height)*1.58));aspect-ratio:1425/900;border-width:6px;border-radius:14px}
.home-product-screen-phone{right:6%;bottom:0;height:94%;aspect-ratio:375/844;border-width:5px;border-radius:23px;box-shadow:0 16px 30px #2b251e30}
.home-product-image{object-fit:cover;object-position:top}
.home-product-label{font-size:12px;font-family:inherit;color:#62665f;margin-top:16px}
.home-work-heading{max-width:1160px;margin:0 auto 26px}
.home-work-heading h2,.home-latest h2,.home-company-film h2{font-family:HamHomeDisplay,HamHome,sans-serif;font-weight:900;font-size:clamp(30px,3vw,42px);line-height:1.2;letter-spacing:-.035em}
.home-work-heading p,.home-latest header p{color:#62665f;font-size:15px;margin-top:12px}
.home-result-first .home-showcase{padding-top:64px;border-top:1px solid #e4dfd7;margin-top:20px}
.home-result-first .showcase-intro{display:none}
.home-latest{padding:60px var(--gutter);background:#f0ede6;scroll-margin-top:80px}
.home-latest-list{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}
.home-latest-item{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;color:var(--ink);text-decoration:none;align-content:start;min-width:0}
.home-latest-item img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#111;border-radius:8px}
.home-latest-item h3{font-size:clamp(18px,1.5vw,22px);line-height:1.5;margin-bottom:8px;word-break:keep-all;overflow-wrap:anywhere}
.home-latest-item span{font-size:12px;color:#62665f}
.home-explore-links{display:flex;flex-wrap:wrap;gap:8px 28px;border-top:1px solid #d8d3c9;margin-top:30px;padding-top:16px}
.home-explore-links a{min-height:44px;display:inline-flex;align-items:center;font-size:14px;color:var(--green)}
.home-company-film{padding:64px var(--gutter);display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:center}
.home-company-copy p{font-size:16px;color:#62665f;margin:18px 0;max-width:30ch}
.home-company-copy>a{min-height:44px;display:inline-flex;align-items:center;font-size:14px}
.home-company-film .colleague-player{aspect-ratio:16/9}
.home-company-film figcaption{font-size:12px;color:#62665f;margin-top:10px}
.home-result-first .home-directory-link{margin-left:var(--gutter);margin-right:var(--gutter)}
@media(max-width:767px){
.home-result-first .hub-header{height:56px;min-height:56px;gap:12px;padding:0 20px}
.home-result-first .brand-mark{font-size:17px}
.home-result-first .home-header-nav{gap:15px}
.home-result-first .home-header-nav a{font-size:12px}
.home-featured{padding-top:30px}
.home-product-figure{--home-product-stage-height:clamp(280px,38vh,340px);padding:0 20px 18px}
.home-feature-eyebrow{font-size:11px;margin-bottom:12px}
.home-product-title{font-size:clamp(32px,9.6vw,42px);line-height:1.16;letter-spacing:-.05em}
.home-product-description{font-size:14px;max-width:23em;margin:13px auto 0}
.home-product-actions{gap:12px 18px;margin-top:18px}
.home-product-action{font-size:13px;min-height:44px;padding:10px 16px}
.home-product-action-secondary{padding-inline:0}
.home-product-stage{margin-top:26px;width:min(100%,500px)}
.home-product-screen-desktop{width:86%;top:22%;left:0;aspect-ratio:1425/900;border-width:4px;border-radius:9px;transform:none}
.home-product-screen-phone{left:auto;right:4%;top:0;height:97%;bottom:auto;transform:none;border-width:4px;border-radius:18px}
.home-product-label{font-size:10px;line-height:1.5;margin-top:12px}
.home-result-first .home-showcase{padding-top:44px;margin-top:16px}
.home-work-heading h2,.home-latest h2,.home-company-film h2{font-size:30px}
.home-latest{padding-top:42px;padding-bottom:32px}
.home-latest-list{grid-template-columns:1fr;gap:24px}
.home-latest-item{grid-template-columns:minmax(0,1fr);gap:14px}
.home-latest-item img{width:100%;height:auto}.home-latest-item h3{font-size:18px}
.home-explore-links{gap:2px 18px}
.home-company-film{grid-template-columns:1fr;gap:24px;padding-top:44px;padding-bottom:44px}
.home-company-copy p{max-width:36ch;font-size:15px;margin:14px 0}
}
@media(max-width:360px){.home-result-first .home-header-nav{gap:10px}.home-result-first .home-header-nav a{font-size:11px}.home-product-title{font-size:32px}.home-product-description{font-size:13px}.home-product-action{font-size:12px}.home-product-actions{gap:10px}.home-product-figure{padding-inline:16px}}
@media(max-width:767px) and (max-height:650px){.home-featured{padding-top:18px}.home-product-figure{--home-product-stage-height:200px}.home-product-stage{margin-top:18px}.home-product-title{font-size:32px}.home-product-description{margin-top:8px}.home-product-actions{margin-top:10px}.home-product-label{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.home-result-first{scroll-behavior:auto}.home-product-stage,.home-product-action{transition:none}}

/* Keep the mobile header inside its reserved row; the featured project already supplies Work. */
@media(max-width:767px){.home-result-first .hub-header{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between}.home-result-first .home-header-nav{width:auto;flex:0 1 auto;margin:0;padding:0;border:0;justify-content:flex-end;gap:12px}.home-result-first .home-header-nav a:first-child{display:none}.home-result-first .brand-mark{flex-shrink:0}.home-result-first .home-header-nav a{white-space:nowrap}}
@media(max-width:360px){.home-result-first .hub-header{padding-inline:16px;gap:8px}.home-result-first .brand-mark{font-size:15px}.home-result-first .home-header-nav{gap:9px}.home-result-first .home-header-nav a{font-size:11px}}

.home-result-first .hub-header{padding-top:0;padding-bottom:0}.home-result-first .home-header-nav{flex-wrap:nowrap}

@media(max-width:360px){.home-result-first:lang(ja) .home-product-title{font-size:30px}}
/* A short desktop viewport keeps the complete work and both actions together. */
@media(min-width:768px) and (max-height:740px){.home-featured{padding-top:24px;padding-bottom:8px}.home-feature-eyebrow{display:none}.home-product-title{font-size:52px}.home-product-description{font-size:15px;margin-top:10px}.home-product-actions{margin-top:12px}.home-product-figure{--home-product-stage-height:320px;padding-bottom:10px}.home-product-stage{margin-top:20px}.home-product-label{font-size:11px;margin-top:8px}}
.home-film-player{position:relative;aspect-ratio:16/9;background:#242521;overflow:hidden}.home-film-launch{display:block;width:100%;height:100%;position:relative}.home-film-launch img{width:100%;height:100%;object-fit:cover}

.home-mobile-menu{display:none}
@media(max-width:767px){.home-result-first .home-header-nav{display:none}.home-mobile-menu{display:block;position:static;margin-left:auto}.home-mobile-menu>summary{display:flex;gap:16px;align-items:center;min-height:44px;padding:6px 0 6px 14px;font-size:13px;cursor:pointer;list-style:none}.home-mobile-menu>summary::-webkit-details-marker{display:none}.home-mobile-menu>summary span{font-size:22px;line-height:1}.home-mobile-menu[open]>summary span{transform:rotate(45deg)}.home-mobile-menu nav{position:absolute;top:100%;left:0;right:0;padding:12px 24px 18px;background:#faf8f4;border-bottom:1px solid #d8d3c9;box-shadow:0 10px 18px #25251e0c;display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}.home-mobile-menu nav a{display:flex;align-items:center;min-height:46px;text-decoration:none;color:var(--ink);font-size:15px;word-break:keep-all}}

.home-mobile-menu>summary{gap:10px;padding-left:8px}.home-mobile-menu>summary span{font-size:1.3em}@media(max-width:360px){.home-mobile-menu>summary span{display:none}}
/* Independent visual review: one legible subject on phones and explicit secondary action. */
.home-product-action-secondary{border:1px solid #779084;border-radius:999px;padding:10px 22px;text-decoration:none}
.home-product-screen-phone{right:14%}
@media(max-width:767px){.home-product-figure{--home-product-stage-height:min(420px,50vh);padding-bottom:32px}.home-product-screen-desktop{display:none}.home-product-screen-phone{left:50%;right:auto;top:0;bottom:auto;height:100%;transform:translateX(-50%)}.home-product-action-secondary{padding:10px 16px}}
@media(max-width:767px) and (max-height:650px){.home-product-figure{--home-product-stage-height:230px;padding-bottom:18px}.home-product-action-secondary{padding:10px 12px}}
