:root {
  --gm-ink: #151515;
  --gm-muted: #656762;
  --gm-line: #e5e5e1;
  --gm-soft: #f6f6f3;
  --gm-gold: #9b7d20;
  --gm-max: 1280px;
}

.homepage-v2 { background: #fff; color: var(--gm-ink); }
.homepage-v2 .site-header { background: rgba(255,255,255,.9); border-bottom-color: rgba(21,21,21,.08); }
.homepage-v2 .nav-wrap, .gm-container { width: min(calc(100% - 48px), var(--gm-max)); }
.homepage-v2 .logo-b3 { width: 84px; }
.homepage-v2 .btn { min-height: 44px; border-radius: 10px; font-weight: 650; }
.homepage-v2 .btn:hover { transform: translateY(-1px); }
.homepage-v2 .home-help-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.homepage-v2 .nav-wrap:has(.help-trigger:focus) .help-menu,
.homepage-v2 .nav-wrap:has(.help-trigger:hover) .help-menu,
.homepage-v2 .help-menu:hover { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.gm-container { margin: 0 auto; }
.gm-kicker { margin: 0 0 18px; color: #826a1c; font-size: 12px; font-weight: 750; letter-spacing: .14em; }

.gm-hero { padding: 72px 0 88px; }
.gm-hero-grid { min-height: 650px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 72px; }
.gm-hero-copy h1 { margin: 0; font-size: clamp(54px,5.4vw,78px); font-weight: 590; line-height: 1.02; letter-spacing: -.063em; }
.gm-hero-copy h1 em { color: var(--gm-gold); font-style: normal; }
.gm-lead { max-width: 590px; margin: 30px 0 0; color: var(--gm-muted); font-size: 18px; line-height: 1.78; }
.gm-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.gm-hero-copy .system-note { margin-top: 17px; color: #93948f; }
.gm-scene-hero { height: 580px; margin: 0; position: relative; overflow: hidden; border-radius: 24px; background: #eee; }
.gm-scene-hero > img, .gm-scene-hero > video { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.gm-scene-hero > video { opacity: 0; transition: opacity .3s ease; }
.gm-scene-hero > video.is-ready { opacity: 1; }
.gm-scene-hero::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent,rgba(12,12,11,.92)); }
.gm-scene-hero figcaption { max-width: 540px; position: absolute; z-index: 2; left: 42px; right: 42px; bottom: 38px; color: #fff; }
.gm-scene-hero figcaption span { color: #d3b957; font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.gm-scene-hero figcaption strong { display: block; margin-top: 13px; font-size: 31px; font-weight: 600; line-height: 1.16; letter-spacing: -.035em; }
.gm-scene-hero figcaption p { max-width: 490px; margin: 16px 0 0; color: #d4d5d1; font-size: 14px; line-height: 1.65; }
.gm-value-strip { border-top: 1px solid var(--gm-line); border-bottom: 1px solid var(--gm-line); }
.gm-value-strip .gm-container { height: 74px; display: flex; align-items: center; justify-content: center; gap: 34px; color: #5e605c; font-size: 13px; }
.gm-value-strip i { width: 3px; height: 3px; border-radius: 50%; background: #b49532; }

.gm-section { padding: 126px 0; }
.gm-section-head { max-width: 820px; margin-bottom: 52px; }
.gm-section-head--split { max-width: none; display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: 90px; }
.gm-section-head--split > p { margin-bottom: 6px; }
.gm-section-head--compact { max-width: 760px; }
.gm-section h2 { margin: 0; font-size: clamp(40px,4vw,60px); font-weight: 590; line-height: 1.08; letter-spacing: -.05em; }
.gm-section-head > p:last-child { margin-top: 24px; color: var(--gm-muted); font-size: 16px; line-height: 1.8; }
.gm-section-head--split > p:last-child { margin-top: 0; }

.gm-product-section { background: var(--gm-soft); }
.gm-product-frame { width: min(100%,960px); margin: 0 auto; overflow: hidden; border: 1px solid #dcded9; border-radius: 16px; background: #fff; box-shadow: 0 22px 55px -42px rgba(23,24,21,.32); }
.gm-frame-bar { height: 44px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--gm-line); color: #646660; font-size: 11px; font-weight: 650; }
.gm-product-shot { height: 440px; overflow: hidden; position: relative; background: #f4f6f8; }
.gm-product-shot img { width: 112.5%; max-width: none; height: auto; position: absolute; left: -12.5%; top: -55px; transform: none; }
.gm-production-steps { width: min(100%,960px); margin: 30px auto 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #d8dad5; }
.gm-production-steps article { min-height: 195px; padding: 30px 32px 0 0; border-right: 1px solid #d8dad5; }
.gm-production-steps article + article { padding-left: 32px; }
.gm-production-steps article:last-child { border-right: 0; }
.gm-production-steps span, .gm-extension-grid > article > span { color: #91751f; font-size: 12px; font-weight: 750; }
.gm-production-steps h3 { margin: 34px 0 10px; font-size: 21px; font-weight: 620; letter-spacing: -.02em; }
.gm-production-steps p { margin: 0; color: var(--gm-muted); font-size: 14px; line-height: 1.7; }

.gm-extension-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--gm-line); border-bottom: 1px solid var(--gm-line); }
.gm-extension-grid article { min-height: 390px; padding: 34px 34px 32px 0; border-right: 1px solid var(--gm-line); }
.gm-extension-grid article + article { padding-left: 34px; }
.gm-extension-grid article:last-child { border-right: 0; }
.gm-extension-grid h3 { margin: 78px 0 16px; font-size: 27px; font-weight: 600; line-height: 1.2; letter-spacing: -.032em; }
.gm-extension-grid p { color: var(--gm-muted); line-height: 1.75; }
.gm-extension-grid ul { margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--gm-line); list-style: none; }
.gm-extension-grid li { padding: 6px 0; color: #5c5e59; font-size: 13px; }

.gm-stories { background: #181918; color: #fff; }
.gm-stories .gm-kicker { color: #cdb153; }
.gm-stories .gm-section-head > p { color: #b2b4ae; }
.gm-story-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.gm-story-card { overflow: hidden; border: 1px solid #32332f; border-radius: 20px; background: #212220; }
.gm-story-media { height: 330px; position: relative; overflow: hidden; }
.gm-story-media img, .gm-story-media video { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.gm-story-media video { opacity: 0; transition: opacity .3s ease; }
.gm-story-media video.is-ready { opacity: 1; }
.gm-story-card > div:last-child { min-height: 255px; padding: 28px; }
.gm-story-card span { color: #d0b34e; font-size: 12px; font-weight: 750; }
.gm-story-card h3 { margin: 32px 0 13px; font-size: 24px; font-weight: 590; line-height: 1.25; letter-spacing: -.025em; }
.gm-story-card p { margin: 0; color: #b8bab5; font-size: 14px; line-height: 1.7; }
.gm-story-note { margin: 24px 0 0; color: #777a73; font-size: 12px; }

.gm-case { padding-top: 110px; }
.gm-case-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.gm-case-flow { border-top: 1px solid var(--gm-line); }
.gm-case-flow article { padding: 24px 0; display: grid; grid-template-columns: 90px 1fr; gap: 25px; border-bottom: 1px solid var(--gm-line); }
.gm-case-flow span { color: #8b8d87; font-size: 12px; }
.gm-case-flow strong { font-size: 17px; font-weight: 570; line-height: 1.5; }

.gm-guides { background: #f5f5f1; }
.gm-guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gm-guide-card { min-height: 390px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--gm-line); border-radius: 18px; background: #fff; }
.gm-guide-card > span { color: #8b741d; font-size: 12px; font-weight: 720; letter-spacing: .02em; }
.gm-guide-card h3 { margin: 34px 0 12px; font-size: 25px; font-weight: 590; line-height: 1.28; letter-spacing: -.025em; }
.gm-guide-card > p { min-height: 48px; margin: 0; color: var(--gm-muted); font-size: 14px; line-height: 1.7; }
.gm-guide-card ol { margin: 28px 0; padding: 0; list-style: none; counter-reset: guide-step; border-top: 1px solid var(--gm-line); }
.gm-guide-card li { padding: 12px 0; display: grid; grid-template-columns: 30px 1fr; align-items: center; border-bottom: 1px solid var(--gm-line); color: #454640; font-size: 13px; counter-increment: guide-step; }
.gm-guide-card li::before { content: "0" counter(guide-step); color: #a4a69f; font-size: 11px; }
.gm-guide-card a { margin-top: auto; color: #806718; font-size: 14px; font-weight: 650; }
.gm-guide-card a:hover, .gm-guides-all:hover { color: #111; }
.gm-guides-all { display: inline-block; margin-top: 28px; color: #806718; font-size: 14px; font-weight: 650; }

.gm-updates { background: var(--gm-soft); }
.gm-section-head--compact > a { display: inline-block; margin-top: 22px; color: #806718; font-size: 14px; font-weight: 650; }
.gm-update-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gm-update-grid article { min-height: 280px; padding: 30px; border: 1px solid #dddfda; border-radius: 18px; background: #fff; }
.gm-update-grid span { color: #8a701c; font-size: 12px; font-weight: 750; }
.gm-update-grid h3 { margin: 72px 0 13px; font-size: 23px; font-weight: 600; letter-spacing: -.025em; }
.gm-update-grid p { margin: 0; color: var(--gm-muted); font-size: 14px; line-height: 1.72; }
.gm-faq { padding-top: 105px; }

.gm-cta { padding-top: 70px; }
.gm-cta-card { padding: 92px; border-radius: 24px; text-align: center; background: #181918; color: #fff; }
.gm-cta-card .gm-kicker { color: #cdb153; }
.gm-cta-card h2 { max-width: 920px; margin: 0 auto; }
.gm-cta-card > p:not(.gm-kicker) { margin: 24px auto 0; color: #afb1ac; font-size: 16px; }
.gm-cta-card .gm-actions { justify-content: center; }
.gm-cta-card .btn { background: #fff; color: #171817; border-color: #fff; }
.gm-cta-card .btn--light { background: transparent; color: #fff; border-color: #4c4e49; }
.homepage-v2 .site-footer { margin-top: 20px; }

@media (max-width: 1000px) {
  .gm-hero-grid, .gm-section-head--split, .gm-case-grid { grid-template-columns: 1fr; }
  .gm-hero-grid { gap: 48px; }
  .gm-section-head--split, .gm-case-grid { gap: 24px; }
  .gm-scene-hero { height: 520px; }
  .gm-product-shot { height: 420px; }
  .gm-story-grid, .gm-guide-grid { grid-template-columns: 1fr 1fr; }
  .gm-story-card:last-child { grid-column: 1 / 3; }
  .gm-guide-card:last-child { grid-column: 1 / 3; }
}

@media (max-width: 680px) {
  .homepage-v2 .nav-wrap, .gm-container { width: calc(100% - 28px); }
  .homepage-v2 .nav-actions .btn--small { min-height: 38px; padding: 0 13px; font-size: 12px; }
  .gm-hero { padding: 64px 0 62px; }
  .gm-hero-grid { min-height: 0; }
  .gm-hero-copy h1 { font-size: clamp(43px,13vw,57px); }
  .gm-lead { font-size: 16px; }
  .gm-scene-hero { height: 430px; border-radius: 18px; }
  .gm-scene-hero figcaption { left: 24px; right: 24px; bottom: 24px; }
  .gm-scene-hero figcaption strong { font-size: 26px; }
  .gm-value-strip .gm-container { height: auto; padding: 18px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
  .gm-value-strip i { display: none; }
  .gm-section { padding: 88px 0; }
  .gm-section h2 { font-size: 39px; }
  .gm-section-head { margin-bottom: 36px; }
  .gm-product-frame { width: 100%; border-radius: 13px; }
  .gm-frame-bar { height: 40px; padding: 0 14px; }
  .gm-product-shot { height: 280px; }
  .gm-product-shot img { width: 180%; left: -45%; top: -18px; }
  .gm-production-steps, .gm-extension-grid, .gm-story-grid, .gm-guide-grid, .gm-update-grid { grid-template-columns: 1fr; }
  .gm-production-steps article, .gm-production-steps article + article, .gm-extension-grid article, .gm-extension-grid article + article { min-height: 0; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--gm-line); }
  .gm-production-steps h3, .gm-extension-grid h3 { margin-top: 20px; }
  .gm-story-grid { gap: 14px; }
  .gm-story-card:last-child { grid-column: auto; }
  .gm-guide-card:last-child { grid-column: auto; }
  .gm-story-media { height: 300px; }
  .gm-case-flow article { grid-template-columns: 62px 1fr; }
  .gm-cta-card { padding: 56px 22px; border-radius: 18px; }
  .gm-cta-card h2 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
