/* ==========================================================
   LNT OVERLAND — 공통 스타일
   색상은 아래 :root 에서 한 번에 바꿀 수 있습니다.
   ========================================================== */
:root {
  --ink: #1c1d1b;          /* 블랙 (헤더·브랜드·오시는 길·푸터) */
  --ground: #3a3b38;       /* 다크그레이 (제품·인스타 섹션) */
  --tile: #4d4e4a;         /* 사진 자리 배경 */
  --green: #314239;        /* 버튼·상담 섹션 */
  --green-light: #8fb3a0;  /* 어두운 배경 위 라벨 글자 */
  --paper: #f3f0ea;        /* 기본 글자 */
  --muted: #c4c4bf;        /* 보조 글자 */
  --soft: #d9d4c9;         /* 브랜드 본문 */
  --line: #45463f;

  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  --pad-x: clamp(20px, 5.5vw, 80px);
  --section-y: clamp(72px, 9vw, 120px);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--ground);
  color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green-light); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x); }
.label { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 3px; color: var(--green-light); }
.h2 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; line-height: 1.3; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 6px;
  font-size: 16px; font-weight: 700; border: 1.5px solid transparent;
  transition: filter .15s, background-color .15s;
}
.btn:hover { filter: brightness(1.15); }
.btn-green { background: var(--green); color: #fff; }
.btn-ghost { border-color: var(--paper); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 22px; font-size: 15px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); height: var(--header-h);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 40px; font-size: 16px; font-weight: 500; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-light); border-bottom-color: var(--green-light); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; align-items: center; justify-content: center; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative; min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex; align-items: flex-end;
  background: var(--ink) url('../images/main.jpg') center 62% / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,18,.88) 0%, rgba(20,20,18,.45) 50%, rgba(20,20,18,.08) 100%);
}
.hero .wrap { position: relative; padding-bottom: clamp(48px, 7vw, 96px); padding-top: 120px; }
.hero-copy { max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(64px, 8vw, 112px); line-height: .95; }
.hero p { margin: 0; font-size: clamp(16px, 1.4vw, 20px); color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- 섹션 공통 ---------- */
.section { padding: var(--section-y) 0; }
.section-ink { background: var(--ink); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; }
.link-underline { font-size: 16px; font-weight: 500; border-bottom: 1.5px solid var(--paper); padding-bottom: 4px; white-space: nowrap; }

/* ---------- 제품 카드 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card-media { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 10px; background: var(--tile); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-hover {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(20,20,18,.72); color: #fff; font-size: 17px; font-weight: 700;
  opacity: 0; transition: opacity .2s;
}
@media (hover: hover) { .card:hover .card-hover, .card:focus-visible .card-hover { opacity: 1; } }
.card-name { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 700; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; color: var(--muted); }
.card-price { font-weight: 700; color: var(--paper); white-space: nowrap; }
.card-mobile-cta { display: none; font-size: 13px; font-weight: 700; color: var(--green-light); }
.card.is-skeleton .card-media { animation: pulse 1.4s ease-in-out infinite; }
.card.is-skeleton .card-name, .card.is-skeleton .card-meta { height: 18px; border-radius: 4px; background: var(--tile); }
@keyframes pulse { 50% { opacity: .55; } }
.grid-message { grid-column: 1 / -1; padding: 48px 0; text-align: center; color: var(--muted); }

/* ---------- 브랜드 ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.brand-photo { width: 100%; height: auto; aspect-ratio: 1000 / 563; object-fit: cover; border-radius: 10px; }
.brand-copy { display: flex; flex-direction: column; gap: 28px; }
.brand-body { display: flex; flex-direction: column; gap: 16px; }
.brand-body p { margin: 0; font-size: 17px; line-height: 1.85; color: var(--soft); max-width: 36em; }
.brand-body .mission { padding-top: 8px; font-size: 20px; line-height: 1.6; font-weight: 700; color: var(--paper); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.pillars h3 { margin: 0 0 6px; font-size: 17px; }
.pillars p { margin: 0; font-size: 14px; color: #bdb8ad; }

/* ---------- 인스타그램 ---------- */
.insta-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 48px; }
.insta-head p { margin: 0; font-size: 17px; color: var(--muted); }
.insta-fallback { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.insta-fallback a { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--tile); }
.insta-fallback img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.insta-fallback a:hover img { opacity: .8; }
.insta-follow { display: flex; justify-content: center; margin-top: 48px; }
.insta-follow .btn { border-radius: 26px; }

/* ---------- 오시는 길 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 48px; }
.contact-info { grid-column: span 2; display: flex; flex-direction: column; gap: 32px; }
.contact-info dl { margin: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-info dt { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.contact-info dd { margin: 0; font-size: 18px; }
.contact-info .tel { font-size: 30px; font-weight: 700; }
.map-box { grid-column: span 3; display: flex; flex-direction: column; gap: 12px; }
.map-box iframe { width: 100%; height: 420px; border: 0; border-radius: 10px; background: var(--tile); }

/* ---------- 상담 링크 ---------- */
.links { background: var(--green); padding: 72px 0; }
.links h2 { margin: 0 0 32px; font-size: 32px; color: #fff; }
.link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.link-grid a {
  min-height: 88px; border-radius: 10px; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 18px; font-weight: 700;
  transition: background-color .15s;
}
.link-grid a:hover { background: #2a2b28; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--ink); color: #bdb8ad; padding: 48px 0; font-size: 14px; line-height: 1.8; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.site-footer img { height: 44px; width: auto; margin-bottom: 12px; }
.site-footer p { margin: 0; }

/* ---------- 제품 페이지 ---------- */
.page-title { background: var(--ink); padding: 96px 0 48px; }
.page-title .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-title h1 { margin: 0; font-size: clamp(36px, 4vw, 56px); font-weight: 700; }
.page-title p { margin: 0; font-size: 18px; color: var(--muted); }
.catalog { padding: 40px 0 120px; }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab {
  min-height: 46px; padding: 0 20px; border-radius: 23px; border: 1.5px solid #6b6c66; background: transparent;
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700;
}
.tab .count { font-size: 13px; font-weight: 500; opacity: .7; }
.tab[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.result-count { font-size: 15px; color: var(--muted); white-space: nowrap; }
.catalog-foot { display: flex; justify-content: center; padding-top: 56px; }

.mobile-only { display: none !important; }
.nav .nav-kakao { display: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-grid { gap: 48px; }
  .nav { gap: 28px; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand-logo img { height: 38px; }
  .menu-btn { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px var(--pad-x) 24px; border-top: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .nav-kakao { display: flex; margin-top: 16px; border: 0; }

  .hero { min-height: 560px; background-position: 40% center; }
  .hero-actions .btn-ghost { display: none; }
  .hero-actions .btn { width: 100%; }

  .label { font-size: 13px; }
  .section-head { flex-direction: column; align-items: stretch; margin-bottom: 32px; }
  .section-head .link-underline { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .card { gap: 8px; }
  .card-media { border-radius: 8px; }
  .card-name { font-size: 15px; }
  .card-meta { flex-direction: column; gap: 2px; font-size: 13px; }
  .card-price { font-size: 15px; }
  .card-mobile-cta { display: block; }
  .mobile-only { display: flex !important; }

  .brand-grid { grid-template-columns: 1fr; gap: 24px; }
  .brand-body p { font-size: 15px; }
  .brand-body .mission { font-size: 17px; }
  .pillars { grid-template-columns: 1fr; gap: 16px; }

  .insta-head { margin-bottom: 28px; }
  .insta-head p { font-size: 14px; }
  .insta-fallback { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .insta-follow { margin-top: 28px; }
  .insta-follow .btn { width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-info, .map-box { grid-column: auto; }
  .contact-info .tel { font-size: 26px; }
  .map-box iframe { height: 260px; }

  .links { padding: 48px 0; }
  .links h2 { font-size: 24px; margin-bottom: 24px; }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .link-grid a { min-height: 72px; font-size: 15px; gap: 8px; }

  .site-footer .wrap { flex-direction: column; gap: 12px; }
  .site-footer { font-size: 13px; }
  .site-footer img { height: 36px; }

  .page-title { padding: 56px 0 32px; }
  .page-title p { font-size: 15px; }
  .catalog { padding: 24px 0 72px; }
  .catalog-bar { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 24px; }
  .tab { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .tab .count { display: none; }
  .catalog-foot .btn { width: 100%; }
}

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