/* NASARI FOUR PLA — main.css */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

/* Paperlogy — 헤드라인 전용 (눈누 jsdelivr 미러) */
@font-face {
  font-family: 'Paperlogy';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2406-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Paperlogy';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2406-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Paperlogy';
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2406-3@1.0/Paperlogy-9Black.woff2') format('woff2');
}
@font-face {
  font-family: 'Paperlogy';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2406-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
}

:root {
  --ocean-deep: #0E2A3B;
  --ocean: #1E4F6E;
  --ocean-light: #4A8FB5;
  --sand: #F5EFE3;
  --sand-warm: #EAD9B8;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --line: #E5E0D5;
  --bg: #FAF7F1;
  --white: #FFFFFF;
  --accent: #C9743D; /* 화덕 불씨 */
  --max-w: 1200px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(14,42,59,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* 헤드라인 = Paperlogy, 본문 = Pretendard */
h1, h2, h3,
.nav-brand,
.sec-title,
.hero-eyebrow,
.sec-eyebrow,
.store-cat,
.store-hero h1,
.store-hero .cat {
  font-family: 'Paperlogy', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
h1, h2, .hero h1, .sec-title, .store-hero h1 { font-weight: 800; }
h3, .store-body h3, .concept-card h3 { font-weight: 600; }

/* === Layout === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* === Nav === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,241,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-brand { font-weight: 800; font-size: 18px; letter-spacing: .04em; color: var(--ocean-deep); }
.nav-brand small { font-weight: 500; color: var(--ink-soft); font-size: 12px; margin-left: 6px; }
.nav-menu { display: flex; gap: 28px; list-style: none; }
.nav-menu a { font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--ocean-deep); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }
@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--white); padding: 16px 24px; gap: 16px; border-bottom: 1px solid var(--line); }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
}

/* === Hero === */
.hero {
  position: relative;
  width: 100%;
  height: 72vh;
  height: 72svh;
  min-height: 560px;
  display: flex; align-items: center;
  background: #000;
  color: var(--white);
  overflow: hidden;
}
.hero picture,
.hero-bg {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  display: block;
  margin: 0; padding: 0;
}
.hero picture img,
.hero-bg img {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.38) 38%, rgba(0,0,0,.12) 68%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.22) 45%, rgba(0,0,0,.58) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 80px 24px; width: 100%; }
@media (max-width: 768px) {
  .hero { height: 68vh; height: 68svh; min-height: 480px; }
  .hero-inner { padding: 64px 24px; }
  .hero p { max-width: 100%; }
}
.hero h1, .hero p, .hero-eyebrow { text-shadow: 0 2px 4px rgba(0,0,0,.55), 0 4px 22px rgba(0,0,0,.55); }
.hero-eyebrow {
  display: inline-block; font-size: clamp(14px, 1.3vw, 17px); font-weight: 700; letter-spacing: .22em;
  color: var(--sand-warm); margin-bottom: 26px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(48px, 7.2vw, 88px); font-weight: 800; line-height: 1.06;
  letter-spacing: -.02em; margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--sand-warm); }
.hero p { font-size: clamp(16px, 1.7vw, 21px); max-width: 640px; color: rgba(255,255,255,.92); margin-bottom: 40px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .15s, box-shadow .15s; cursor: pointer; border: 0;
}
.btn-primary { background: var(--sand-warm); color: var(--ocean-deep); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* === Section heading === */
.sec-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--ocean-light); text-transform: uppercase; margin-bottom: 12px; }
.sec-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; color: var(--ocean-deep); margin-bottom: 16px; }
.sec-lead { font-size: 17px; color: var(--ink-soft); max-width: 720px; margin-bottom: 56px; }

/* === Concept === */
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .concept-grid { grid-template-columns: 1fr; } }
.concept-card {
  background: var(--white); padding: 36px 28px; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .concept-card { padding: 28px 24px; }
}
.concept-card .num { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.concept-card h3 { font-size: 22px; font-weight: 700; margin: 12px 0 12px; color: var(--ocean-deep); }
.concept-card p { color: var(--ink-soft); font-size: 15px; }

/* === Stores preview === */
.stores-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 768px) { .stores-grid { grid-template-columns: 1fr; } }
.store-card {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.store-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14,42,59,.12); }
.store-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--ocean-light), var(--ocean));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-size: 14px; letter-spacing: .15em;
}
.store-body { padding: 28px; }
.store-cat { font-size: 12px; font-weight: 700; letter-spacing: .15em; color: var(--accent); text-transform: uppercase; }
.store-body h3 { font-size: 22px; font-weight: 800; color: var(--ocean-deep); margin: 8px 0 10px; }
.store-body p { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; }
.store-link { font-size: 13px; font-weight: 600; color: var(--ocean); }
.store-link::after { content: ' →'; }

/* === Location === */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 768px) { .location-grid { grid-template-columns: 1fr; gap: 32px; } }
.location-info dl { display: grid; grid-template-columns: 110px 1fr; gap: 16px 24px; font-size: 15px; }
.location-info dt { font-weight: 700; color: var(--ocean-deep); }
.location-info dd { color: var(--ink-soft); }
.location-map {
  aspect-ratio: 4/3; background: var(--sand); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* === Footer === */
.footer { background: var(--ocean-deep); color: rgba(255,255,255,.7); padding: 56px 0 32px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h4 { color: var(--white); font-size: 15px; margin-bottom: 12px; }
.footer a { color: rgba(255,255,255,.82); }
.footer p { color: rgba(255,255,255,.78); }
/* a11y: focus 가시화 */
a:focus-visible, button:focus-visible { outline: 2px solid var(--ocean-light); outline-offset: 2px; border-radius: 4px; }
.footer a:hover { color: var(--sand-warm); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; font-size: 12px; color: rgba(255,255,255,.5); }

/* === Store detail === */
.store-hero {
  min-height: 56vh; display: flex; align-items: flex-end; color: var(--white);
  background: linear-gradient(180deg, rgba(14,42,59,.2), rgba(14,42,59,.85)), linear-gradient(135deg, var(--ocean), var(--ocean-deep));
  padding: 80px 0 56px;
}
.store-hero .cat { font-size: 13px; letter-spacing: .2em; color: var(--sand-warm); margin-bottom: 12px; }
.store-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -.02em; }
.store-hero p { color: rgba(255,255,255,.85); max-width: 640px; margin-top: 16px; font-size: 17px; }
.store-section { padding: 72px 0; }
.store-section + .store-section { border-top: 1px solid var(--line); }
.info-grid { display: grid; grid-template-columns: 200px 1fr; gap: 16px 32px; font-size: 15px; }
.info-grid dt { font-weight: 700; color: var(--ocean-deep); }
.info-grid dd { color: var(--ink-soft); }
@media (max-width: 768px) { .info-grid { grid-template-columns: 1fr; gap: 8px; } .info-grid dd { margin-bottom: 12px; } }

/* === Contact form === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ocean-deep); }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 15px; background: var(--white);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--ocean-light); border-color: transparent; }
