/* ============================================================
   MOOD BY · MARCH-INSPIRED PC EDITORIAL
   흰 캔버스, 작은 중앙 워드마크, 비대칭 2장 키비주얼.
   기존 콘텐츠와 모바일 경험은 유지하고 PC 외형을 전면 재구성한다.
   ============================================================ */

:root {
  --march-paper: #f8f8f6;
  --march-white: #fdfdfc;
  --march-ink: #102c26;
  --march-muted: #6c7772;
  --march-line: rgba(16, 44, 38, .13);
  --march-accent: #b98d82;
}

@media (min-width: 761px) {
  html {
    background: var(--march-paper);
  }

  body {
    color: var(--march-ink);
    background: var(--march-paper);
  }

  /* ---------- March형 2단 헤더 ---------- */
  .site-header,
  .site-header.scrolled {
    position: fixed;
    z-index: 500;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid transparent !important;
    background: rgba(248, 248, 246, .96) !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px);
  }

  .site-header .header-inner,
  .site-header.scrolled .header-inner {
    display: grid;
    min-height: 0 !important;
    grid-template-columns: 1fr;
    grid-template-rows: 76px 58px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .site-header .logo,
  .site-header.scrolled .logo {
    align-self: center;
    justify-self: center;
    padding: 0 !important;
    color: var(--march-ink);
    font-family: "Marcellus", Georgia, serif;
    font-size: 31px;
    font-weight: 500;
    letter-spacing: -.9px;
    line-height: 1;
    text-transform: none;
    transition: font-size .35s ease;
  }

  .site-header .logo::after {
    content: ".";
  }

  .site-header .nav,
  .site-header.scrolled .nav {
    display: flex;
    width: min(100%, 900px);
    height: 58px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    gap: clamp(34px, 4.1vw, 72px);
    border: 0;
    background: transparent;
  }

  .site-header .nav a,
  .site-header.scrolled .nav a {
    padding: 0;
    color: var(--march-ink);
    background: transparent;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 720;
    letter-spacing: .15px;
    line-height: 58px;
    text-transform: uppercase;
  }

  .site-header .nav a::after {
    display: none;
  }

  .site-header .nav a:hover,
  .site-header .nav a.active,
  .site-header.scrolled .nav a:hover,
  .site-header.scrolled .nav a.active {
    color: var(--march-accent);
    background: transparent;
  }

  .header-utility {
    top: 25px;
    right: clamp(28px, 3.5vw, 66px);
    gap: 15px;
  }

  .header-instagram {
    color: var(--march-ink);
  }

  .header-inquiry {
    min-height: 28px;
    padding: 0 13px;
    color: #fff;
    background: var(--march-ink);
    font-size: 10px;
  }

  .header-inquiry:hover {
    color: #fff;
    background: #274a42;
  }

  .site-header.scrolled {
    border-bottom-color: var(--march-line) !important;
  }

  .site-header.scrolled .header-inner {
    grid-template-rows: 40px 38px;
  }

  .site-header.scrolled .logo {
    font-size: 19px;
  }

  .site-header.scrolled .nav {
    height: 38px;
  }

  .site-header.scrolled .nav a {
    font-size: 9px;
    line-height: 38px;
  }

  .site-header.scrolled .header-utility {
    top: 6px;
  }

  /* ---------- 첫 화면: 비대칭 2장 에디토리얼 캔버스 ---------- */
  .hero,
  .hero.has-scenes {
    display: block;
    height: max(780px, 100svh);
    min-height: 780px;
    padding: 134px 0 0 !important;
    overflow: hidden;
    color: var(--march-ink);
    background: var(--march-paper) !important;
    text-align: left;
  }

  .hero-film {
    position: absolute;
    inset: 134px 0 0;
    overflow: hidden;
    background: transparent;
  }

  .hero-bg,
  .hero-overlay,
  .hero.has-scenes::after,
  .hero::after,
  .hero-copy::before,
  .hero-mood-stage {
    display: none !important;
  }

  .hero-scene {
    position: absolute;
    inset: auto;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    background: #e8e9e5;
    transition:
      opacity .9s cubic-bezier(.2, .68, .2, 1),
      transform 1.1s cubic-bezier(.2, .68, .2, 1),
      visibility .9s;
  }

  .hero-scene.active {
    top: clamp(54px, 6.4vh, 82px);
    left: 0;
    width: 49.6vw;
    height: clamp(470px, 61vh, 620px);
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }

  .hero-scene.secondary {
    top: clamp(145px, 17vh, 190px);
    right: 0;
    width: 33.5vw;
    height: clamp(330px, 42vh, 430px);
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }

  .hero-scene.was-active:not(.secondary) {
    opacity: 0;
    visibility: visible;
    transform: translate3d(-3vw, 0, 0);
  }

  .hero-scene img,
  .hero-scene.active img,
  .hero-scene.secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.8) contrast(1.02) brightness(.98);
    animation: none;
    transform: scale(1.018);
    transition: transform 5.6s cubic-bezier(.2, .68, .2, 1), filter .5s ease;
  }

  .hero-scene.active img {
    transform: scale(1.045);
  }

  .hero-scene.secondary img {
    filter: saturate(.7) contrast(1.02) brightness(1.03);
  }

  .hero-scene figcaption {
    display: none;
  }

  .hero-copy,
  .hero.has-scenes .hero-copy {
    position: absolute;
    right: clamp(60px, 7vw, 138px);
    bottom: clamp(52px, 7vh, 86px);
    z-index: 5;
    width: min(35vw, 520px);
    margin: 0;
    padding: 0;
    color: var(--march-ink) !important;
    text-align: left;
    animation: none;
    transform: none;
  }

  .hero-copy *,
  .hero.has-scenes .hero-copy * {
    color: var(--march-ink) !important;
  }

  .hero-kicker {
    margin-bottom: 15px;
    color: var(--march-muted) !important;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2.5px;
  }

  .hero-logo,
  .hero.has-scenes .hero-logo {
    max-width: none;
    color: var(--march-ink) !important;
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.2px;
    line-height: 1;
  }

  .hero-word,
  .hero.has-scenes .hero-word {
    display: block;
    max-width: 500px;
    min-height: 0;
    margin-top: 13px;
    color: var(--march-ink) !important;
    font-family: var(--sans);
    font-size: clamp(28px, 2.65vw, 43px);
    font-weight: 540;
    letter-spacing: -.055em;
    line-height: 1.16;
    text-shadow: none;
    word-break: keep-all;
  }

  .hero-tagline {
    margin-top: 15px;
    color: var(--march-ink) !important;
    font-family: "Marcellus", Georgia, serif;
    font-size: 15px;
    letter-spacing: .1px;
  }

  .hero-sub,
  .hero.has-scenes .hero-sub {
    max-width: 420px;
    margin-top: 10px;
    color: var(--march-muted) !important;
    font-size: 12px;
    line-height: 1.72;
  }

  .hero-actions {
    display: flex;
    gap: 25px;
    margin-top: 20px;
  }

  .hero-cta,
  .hero .hero-cta.primary,
  .hero .hero-cta.secondary {
    min-width: 0;
    min-height: 0;
    padding: 0 0 5px;
    border: 0 !important;
    border-bottom: 1px solid var(--march-ink) !important;
    color: var(--march-ink) !important;
    background: transparent !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2px;
    transform: none;
  }

  .hero-cta::after {
    display: none;
  }

  .hero-cta:hover,
  .hero .hero-cta.primary:hover,
  .hero .hero-cta.secondary:hover {
    color: var(--march-accent) !important;
    border-bottom-color: var(--march-accent) !important;
    background: transparent !important;
  }

  .hero-proof {
    display: none;
  }

  .hero-scene-nav {
    right: auto;
    bottom: clamp(48px, 6.5vh, 80px);
    left: clamp(28px, 3vw, 58px);
    color: var(--march-ink);
  }

  .hero-scene-arrow {
    width: 32px;
    height: 32px;
    border-color: var(--march-line);
    color: var(--march-ink);
    background: rgba(248, 248, 246, .76);
    font-size: 13px;
  }

  .hero-scene-arrow:hover,
  .hero-scene-arrow:focus-visible {
    border-color: var(--march-ink);
    color: #fff;
    background: var(--march-ink);
  }

  .hero-scene-count {
    color: var(--march-ink);
  }

  .hero-scene-count strong {
    color: var(--march-ink);
  }

  .hero-scene-count > span:last-child {
    color: var(--march-muted);
  }

  .hero-scene-progress {
    background: var(--march-line);
  }

  .hero-scene-progress i {
    background: var(--march-ink);
  }

  .scroll-hint {
    display: none;
  }

  /* ---------- 홈 본문도 카드보다 이미지와 여백 중심 ---------- */
  .mood-palette-section {
    padding: clamp(130px, 12vw, 210px) 0;
    background: var(--march-white);
  }

  .mood-palette-section::before,
  .mood-palette-section::after {
    display: none;
  }

  .mood-palette-inner {
    width: 100%;
    grid-template-columns: minmax(0, 49.6vw) minmax(360px, 1fr);
    gap: clamp(72px, 9vw, 168px);
  }

  .mood-palette-visual {
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .mood-palette-visual img {
    aspect-ratio: 1.55 / 1;
    filter: saturate(.72) contrast(1.02);
  }

  .mood-palette-copy {
    max-width: 440px;
    padding-right: clamp(28px, 5vw, 88px);
  }

  .section-label {
    color: var(--march-muted);
    font-size: 9px;
    font-weight: 720;
    letter-spacing: 2.4px;
  }

  .palette-title,
  .home-title,
  .section-title {
    color: var(--march-ink);
    font-size: clamp(32px, 3.1vw, 48px);
    font-weight: 540;
    letter-spacing: -.045em;
    line-height: 1.18;
  }

  .palette-text,
  .home-text,
  .section-lead {
    color: var(--march-muted);
    font-size: 13px;
    line-height: 1.9;
  }

  .palette-signatures {
    gap: 0;
    border-top: 1px solid var(--march-line);
  }

  .palette-signature {
    min-height: 54px;
    padding: 10px 4px;
    border: 0 !important;
    border-bottom: 1px solid var(--march-line) !important;
    border-radius: 0;
    background: transparent !important;
  }

  .palette-signature:hover {
    color: var(--march-accent);
    transform: translateX(4px);
  }

  .home-editorial {
    padding: clamp(135px, 13vw, 220px) 28px;
    background: var(--march-paper);
  }

  .home-editorial-inner {
    display: block;
    width: min(1440px, 100%);
  }

  .home-editorial-copy {
    position: relative;
    top: auto;
    width: min(600px, 100%);
    margin: 0 0 clamp(86px, 9vw, 140px) clamp(0px, 5vw, 72px);
    padding: 0;
  }

  .home-accent {
    color: var(--march-ink);
    font-size: clamp(34px, 4.5vw, 64px);
    opacity: .1;
  }

  .home-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 34px 22px;
  }

  .home-gallery .editorial-card,
  .home-gallery .editorial-card:nth-child(1),
  .home-gallery .editorial-card:nth-child(2),
  .home-gallery .editorial-card:nth-child(3),
  .home-gallery .editorial-card:nth-child(4),
  .home-gallery .editorial-card:nth-child(5) {
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .home-gallery .editorial-card img {
    filter: saturate(.72) contrast(1.02) brightness(1);
  }

  .home-gallery .editorial-card:nth-child(1) {
    grid-column: 1 / span 7;
    min-height: 520px;
    margin-top: 0;
  }

  .home-gallery .editorial-card:nth-child(2) {
    grid-column: 8 / span 5;
    min-height: 360px;
    margin-top: 126px;
  }

  .home-gallery .editorial-card:nth-child(3) {
    grid-column: 2 / span 4;
    min-height: 430px;
    margin-top: 10px;
  }

  .home-gallery .editorial-card:nth-child(4) {
    grid-column: 6 / span 7;
    min-height: 520px;
    margin-top: 74px;
  }

  .home-gallery .editorial-card:nth-child(5) {
    grid-column: 1 / span 6;
    min-height: 390px;
    margin-top: 32px;
  }

  .home-gallery .editorial-card:nth-child(6) {
    grid-column: 8 / span 5;
    min-height: 490px;
    margin-top: -26px;
  }

  .home-gallery .editorial-card:nth-child(7) {
    grid-column: 2 / span 7;
    min-height: 520px;
    margin-top: 42px;
  }

  .home-gallery .editorial-card:nth-child(8) {
    grid-column: 9 / span 4;
    min-height: 350px;
    margin-top: 130px;
  }

  .home-gallery .editorial-card:nth-child(9) {
    grid-column: 1 / span 5;
    min-height: 470px;
    margin-top: 24px;
  }

  .home-gallery .editorial-card:nth-child(10) {
    grid-column: 6 / span 7;
    min-height: 410px;
    margin-top: 82px;
  }

  .home-gallery .editorial-card:nth-child(11) {
    grid-column: 3 / span 8;
    min-height: 520px;
    margin-top: 36px;
  }

  .editorial-card-copy {
    padding: 42px 18px 18px !important;
  }

  .home-visual-note {
    width: min(1440px, 100%);
    margin: 34px auto 0;
    color: rgba(16, 44, 38, .48);
    font-size: 9px;
    line-height: 1.7;
    letter-spacing: .2px;
    text-align: right;
  }

  .mood-marquee {
    padding: 0 28px;
    border-color: var(--march-line);
    background: var(--march-white);
  }

  .mood-marquee-track {
    border-color: var(--march-line);
  }

  .mood-marquee-track span {
    color: var(--march-ink);
  }

  .home-preview {
    padding: 100px 28px 150px;
    background: var(--march-white);
  }

  .home-preview-inner {
    display: grid;
    width: min(1180px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--march-line);
  }

  .preview-card {
    min-height: 150px;
    padding: 30px 18px;
    border: 0 !important;
    border-bottom: 1px solid var(--march-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .preview-card:nth-child(odd) {
    border-right: 1px solid var(--march-line) !important;
  }

  .preview-card:hover {
    color: var(--march-accent);
    background: rgba(16, 44, 38, .025) !important;
  }

  .preview-label {
    color: var(--march-muted);
    font-size: 9px;
    letter-spacing: 1.7px;
  }

  .preview-card strong {
    max-width: 390px;
    margin-top: 30px;
    color: inherit;
    font-size: 18px;
    font-weight: 540;
    line-height: 1.55;
  }

  /* ---------- 내부 페이지: 같은 종이·라인 언어 유지 ---------- */
  .content-panel.active {
    min-height: 100vh;
    padding-top: clamp(150px, 13vw, 210px);
    padding-bottom: clamp(130px, 12vw, 190px);
    scroll-margin-top: 78px;
    background: var(--march-white);
  }

  .content-panel.active:nth-of-type(even) {
    background: var(--march-paper);
  }

  .section-head {
    margin-bottom: 72px;
  }

  .trust-card,
  .mc-card,
  .contact-card,
  .vision-col,
  .pricing-card,
  .portfolio-card,
  .faq-item {
    border-color: var(--march-line);
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .scroll-status {
    border-color: var(--march-line);
    color: var(--march-ink);
    background: rgba(248, 248, 246, .9);
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .site-header .nav,
  .site-header.scrolled .nav {
    gap: 26px;
  }

  .header-utility {
    right: 20px;
  }

  .hero-scene.active {
    width: 53vw;
  }

  .hero-scene.secondary {
    width: 35vw;
  }

  .hero-copy,
  .hero.has-scenes .hero-copy {
    right: 4vw;
    width: 37vw;
  }

  .mood-palette-inner {
    grid-template-columns: 53vw minmax(300px, 1fr);
    gap: 60px;
  }

  .home-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .home-gallery .editorial-card:nth-child(n) {
    grid-column: auto;
    min-height: 390px;
    margin-top: 0;
  }

  .home-gallery .editorial-card:nth-child(3n + 2) {
    min-height: 320px;
    margin-top: 74px;
  }
}

@media (max-width: 760px) {
  .site-header .logo,
  .site-header.scrolled .logo {
    font-family: "Marcellus", Georgia, serif;
    letter-spacing: -.5px;
    text-transform: none;
  }

  .home-gallery .editorial-card:nth-child(n + 6) {
    width: min(78vw, 310px);
    min-width: min(78vw, 310px);
    height: 390px;
    min-height: 390px;
    margin: 0;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .home-visual-note {
    margin-top: 18px;
    color: rgba(42, 37, 33, .5);
    font-size: 9px;
    line-height: 1.6;
  }

  /* 모바일에서는 데스크톱용 장면 이동값이 콘텐츠 흐름을 침범하지 않게 한다. */
  html.motion-ready .home-editorial-copy,
  html.motion-ready .home-gallery,
  html.motion-ready .content-panel.scene-active .section-head {
    transform: none !important;
  }

  /* Scene: 카피 → 지표 → 사진이 반드시 순서대로 쌓이도록 고정 */
  .home-editorial {
    overflow: hidden;
  }

  .home-editorial-inner {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-direction: column;
    gap: 0 !important;
  }

  .home-editorial-copy {
    position: relative !important;
    z-index: 2;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .home-title,
  .home-text {
    width: 100% !important;
    max-width: 100% !important;
  }

  .home-stats {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 28px 0 0;
    padding: 15px 0;
    border: 0;
    border-top: 1px solid rgba(16, 44, 38, .14);
    border-bottom: 1px solid rgba(16, 44, 38, .14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-stat {
    position: relative;
    min-width: 0;
    min-height: 64px;
    padding: 6px 4px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .home-stat + .home-stat {
    border-left: 1px solid rgba(16, 44, 38, .11) !important;
  }

  .home-stat strong {
    font-size: clamp(18px, 5.4vw, 23px);
  }

  .home-stat .stat-suffix {
    font-size: 12px;
  }

  .home-stat p {
    margin-top: 7px;
    font-size: 9px;
    line-height: 1.35;
  }

  .home-gallery,
  .home-gallery[style] {
    position: relative !important;
    z-index: 1;
    clear: both;
    margin-top: 42px !important;
    transform: none !important;
  }

  /* About: 모든 글 영역에 실제 모바일 가로폭을 보장 */
  .about.content-panel.active {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    padding-right: 18px;
    padding-left: 18px;
    overflow-x: clip;
  }

  .about .section-head,
  .about .palette-row,
  .about .about-body,
  .about .about-fit,
  .about .ceo-grid,
  .about .vision-wrap,
  .about .panel-chapter,
  .about .chapter-layout,
  .about .chapter-intro,
  .about .chapter-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: auto;
    margin-left: auto;
  }

  .about .section-title,
  .about .block-title,
  .about .section-lead,
  .about .about-body,
  .about .about-body p,
  .about .about-fit,
  .about .check-list,
  .about .check-list li,
  .about .ceo-copy,
  .about .ceo-body,
  .about .ceo-body p,
  .about .vision-col,
  .about .vision-col p,
  .about .vision-col li,
  .about .trust-card,
  .about .trust-card h3,
  .about .trust-card p {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: keep-all;
  }

  .about .section-title {
    font-size: 29px;
    line-height: 1.25;
  }

  .about .about-body p,
  .about .ceo-body p {
    display: block;
    width: 100%;
    line-height: 1.85;
    text-align: left;
  }

  .about .ceo-grid,
  .about .vision-wrap,
  .about .chapter-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .about .ceo-grid {
    padding-right: 0;
    padding-left: 0;
  }

  .about .crew-chapter .trust-card {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  /* Scene 통계와 사진을 시각적으로도 완전히 다른 높이/배경으로 분리 */
  .home-editorial-copy::after {
    content: "MOOD JOURNAL";
    display: block;
    margin-top: 54px;
    padding-top: 17px;
    border-top: 1px solid rgba(16, 44, 38, .14);
    color: rgba(16, 44, 38, .5);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
  }

  .home-stats {
    min-height: 78px;
    margin-bottom: 0;
    padding: 8px 10px;
    overflow: hidden;
    border: 1px solid rgba(16, 44, 38, .12);
    background: var(--march-white);
    box-shadow: 0 8px 24px rgba(16, 44, 38, .04);
    isolation: isolate;
  }

  .home-stat {
    min-height: 58px;
  }

  .home-gallery,
  .home-gallery[style] {
    margin-top: 22px !important;
    padding-top: 0;
  }

  .home-gallery .editorial-card:nth-child(n) {
    width: min(84vw, 340px);
    min-width: min(84vw, 340px);
    height: min(94vw, 380px);
    min-height: min(94vw, 380px);
    margin-top: 0;
  }
}
