/* =============================================================
   Hair#426 Luxe — editorial luxury stylesheet
   Palette: espresso ink · warm ivory · champagne gold
   ============================================================= */

:root {
	--ink: #1a1613;
	--ink-soft: #2c2520;
	--cream: #f6f0e7;
	--cream-2: #efe7da;
	--paper: #fbf8f2;
	--gold: #b08d57;
	--gold-bright: #cdab73;
	--stone: #8a7f72;
	--stone-light: #b7ac9d;
	--line: rgba(26, 22, 19, .12);
	--line-light: rgba(246, 240, 231, .16);

	--sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	/* Unified clean sans-serif — headings & accents reuse Pretendard. */
	--serif: var(--sans);
	--accent: var(--sans);

	--maxw: 1240px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--sans);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.7;
	font-weight: 400;
	letter-spacing: .01em;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; line-height: 1.18; margin: 0; letter-spacing: -.02em; }
.serif-italic { font-style: normal; font-weight: 600; color: var(--gold); }

::selection { background: var(--gold); color: #fff; }

/* ---------- layout helpers ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 12vw, 160px) 24px; }
/* First section sits below the fixed header (no hero), so give it clearance. */
main#top > .section:first-of-type { padding-top: clamp(120px, 16vw, 190px); }
.kicker {
	display: inline-block;
	font-family: var(--sans);
	font-size: 12px;
	letter-spacing: .42em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 600;
	margin-bottom: 22px;
}
.section-head { text-align: center; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head h2 { font-size: clamp(34px, 5.5vw, 64px); }
.section-head p { color: var(--stone); margin: 20px auto 0; max-width: 540px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--sans); font-size: 14px; font-weight: 600;
	letter-spacing: .06em; padding: 16px 34px; border-radius: 2px;
	transition: all .45s var(--ease); cursor: pointer; border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--ink); color: var(--cream); }
.btn-line { border-color: rgba(246,240,231,.5); color: var(--cream); }
.btn-line:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-line.dark { border-color: var(--line); color: var(--ink); }
.btn-line.dark:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* =============================================================
   HEADER / NAV
   ============================================================= */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	padding: 26px 0; transition: all .5s var(--ease);
}
.site-header.scrolled {
	background: rgba(251, 248, 242, .92);
	backdrop-filter: saturate(140%) blur(14px);
	padding: 14px 0; box-shadow: 0 1px 0 var(--line);
}
.header-inner {
	max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1; color: var(--ink); transition: color .5s var(--ease); }
.scrolled .brand, .scrolled .primary-nav a { color: var(--ink); }
.brand-mark { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .02em; }
.brand-mark em { color: var(--gold); font-style: normal; }
.brand-sub { font-size: 9.5px; letter-spacing: .34em; margin-top: 5px; opacity: .7; font-weight: 500; }

.primary-nav { display: flex; gap: 38px; }
.primary-nav a {
	color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: .04em;
	position: relative; padding: 4px 0; transition: color .4s var(--ease);
}
.primary-nav a::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
	background: var(--gold); transition: width .4s var(--ease);
}
.primary-nav a:hover { color: var(--gold); }
.primary-nav a:hover::after { width: 100%; }

.nav-cta {
	border: 1px solid var(--gold); color: var(--gold);
	font-size: 13px; font-weight: 600; letter-spacing: .05em;
	padding: 11px 24px; border-radius: 2px; transition: all .4s var(--ease);
}
.scrolled .nav-cta { border-color: var(--gold); color: var(--gold); }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; width: 30px; height: 22px; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 0; height: 2px; width: 100%; background: var(--ink); transition: all .4s var(--ease); }
.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 10px; transform: rotate(45deg); background: var(--cream); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 10px; transform: rotate(-45deg); background: var(--cream); }

/* mobile menu */
.mobile-menu {
	position: fixed; inset: 0; z-index: 99; background: var(--ink);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.mobile-menu a { color: var(--cream); font-family: var(--serif); font-size: 30px; }
.mobile-menu .mobile-cta { font-family: var(--sans); font-size: 15px; color: var(--gold); border: 1px solid var(--gold); padding: 12px 30px; border-radius: 2px; margin-top: 10px; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center; justify-content: center;
	text-align: center; overflow: hidden; background: var(--ink);
}
.hero-media {
	position: absolute; inset: 0;
	background-color: #221c17;
	background-image:
		linear-gradient(180deg, rgba(20,16,13,.34), rgba(20,16,13,.62)),
		url("../img/space-main.jpg");
	background-size: cover; background-position: center 35%;
	transform: scale(1.08); animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-veil {
	position: absolute; inset: 0;
	background:
		radial-gradient(120% 80% at 50% 20%, transparent 30%, rgba(20,16,13,.5) 100%),
		linear-gradient(180deg, rgba(20,16,13,.35), rgba(20,16,13,.7));
}
.hero-inner { position: relative; z-index: 2; color: var(--cream); padding: 0 24px; max-width: 900px; }
.hero-eyebrow { display: block; font-size: 12px; letter-spacing: .5em; color: var(--gold-bright); margin-bottom: 30px; font-weight: 600; }
.hero-title { font-size: clamp(42px, 9vw, 104px); line-height: 1.04; }
.hero-title span { display: block; }
.hero-lede { margin: 34px auto 0; font-size: clamp(15px, 1.8vw, 18px); color: rgba(246,240,231,.82); font-weight: 300; line-height: 1.8; }
.hero-lede strong { color: var(--gold-bright); font-weight: 500; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }

.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--cream); }
.scroll-cue-line { width: 1px; height: 50px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold-bright); animation: scrollDrop 2s var(--ease) infinite; }
@keyframes scrollDrop { 0% { top: -50%; } 60%,100% { top: 100%; } }
.scroll-cue-text { font-size: 9px; letter-spacing: .35em; opacity: .7; }

/* =============================================================
   MARQUEE
   ============================================================= */
.marquee { background: var(--ink); color: var(--cream); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 40px; animation: marquee 22s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); font-style: italic; letter-spacing: .04em; }
.marquee-track i { color: var(--gold); font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   ABOUT
   ============================================================= */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-visual { position: relative; }
.about-img {
	aspect-ratio: 4/5; background-color: var(--cream-2); background-size: cover; background-position: center;
	border-radius: 2px; box-shadow: 0 40px 80px -40px rgba(26,22,19,.45);
}
.about-badge {
	position: absolute; bottom: -28px; right: -10px; width: 130px; height: 130px; border-radius: 50%;
	background: var(--ink); color: var(--cream); display: flex; flex-direction: column;
	align-items: center; justify-content: center; font-size: 11px; letter-spacing: .3em; line-height: 1.6;
	box-shadow: 0 20px 50px -20px rgba(26,22,19,.6); text-align: center;
}
.about-badge em { font-family: var(--serif); font-style: normal; font-size: 30px; color: var(--gold-bright); letter-spacing: 0; }
.about-copy h2 { font-size: clamp(30px, 4.5vw, 52px); margin-bottom: 26px; }
.about-copy p { color: var(--stone); font-size: 16px; max-width: 480px; }
.about-points { list-style: none; padding: 0; margin: 38px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.about-points li { flex: 1 1 120px; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; }
.about-points strong { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.about-points span { font-size: 13px; color: var(--stone); margin-top: 4px; }

/* =============================================================
   STYLE / PRICE MENU
   ============================================================= */
.style { background: var(--cream); }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.menu-card { background: var(--paper); padding: clamp(30px, 4vw, 50px); transition: background .5s var(--ease); }
.menu-card:hover { background: #fff; }
.menu-card-top { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 18px; }
.menu-index { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 20px; color: var(--gold); padding-top: 4px; }
.menu-card h3 { font-size: 26px; letter-spacing: .08em; }
.menu-kr { font-size: 13px; color: var(--stone); letter-spacing: .12em; }
.menu-note { color: var(--stone); font-size: 14.5px; margin: 0 0 24px; min-height: 44px; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; border-top: 1px dashed var(--line); }
.mi-name { font-size: 15px; font-weight: 500; }
.mi-dot { flex: 1; border-bottom: 1px dotted var(--stone-light); transform: translateY(-3px); }
.mi-price { font-family: var(--serif); font-size: 18px; }
.mi-price em { font-family: var(--sans); font-style: normal; font-size: 12px; color: var(--stone); margin-left: 3px; }
.menu-foot { text-align: center; color: var(--stone); font-size: 13px; margin-top: 30px; }

/* =============================================================
   COLLECTION / LOOKBOOK
   ============================================================= */
.collection { background: var(--paper); }
.look-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.look-card { margin: 0; position: relative; overflow: hidden; border-radius: 2px; cursor: pointer; }
.look-img { aspect-ratio: 3/4; background-color: var(--cream-2); background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.look-card:hover .look-img { transform: scale(1.07); }
.look-card figcaption {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
	padding: 20px; color: var(--cream);
	background: linear-gradient(0deg, rgba(20,16,13,.78) 0%, rgba(20,16,13,.1) 50%, transparent 100%);
	opacity: 0; transform: translateY(10px); transition: all .5s var(--ease);
}
.look-card:hover figcaption { opacity: 1; transform: translateY(0); }
.look-kr { font-family: var(--serif); font-size: 19px; }
.look-en { font-size: 11px; letter-spacing: .2em; color: var(--gold-bright); margin-top: 4px; text-transform: uppercase; }
.collection-cta { text-align: center; margin-top: 48px; }

/* =============================================================
   SPACE (real interior photos)
   ============================================================= */
.space { background: var(--cream); }
.space-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.space-card { margin: 0; position: relative; overflow: hidden; border-radius: 2px; box-shadow: 0 30px 60px -40px rgba(26,22,19,.4); }
.space-img { aspect-ratio: 4/5; background-color: var(--cream-2); background-size: cover; background-position: center; transition: transform .9s var(--ease); }
.space-card:hover .space-img { transform: scale(1.06); }
.space-card figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 22px;
	display: flex; flex-direction: column; color: var(--cream);
	background: linear-gradient(0deg, rgba(20,16,13,.82), transparent);
}
.space-kr { font-family: var(--serif); font-size: 20px; }
.space-en { font-size: 11px; letter-spacing: .2em; color: var(--gold-bright); margin-top: 3px; text-transform: uppercase; }
.space-note { text-align: center; color: var(--stone); font-size: 13px; margin-top: 30px; }

/* =============================================================
   DESIGNERS
   ============================================================= */
.designers { background: var(--ink); color: var(--cream); max-width: none; }
.designers .section-head h2, .designers .kicker { color: var(--cream); }
.designers .kicker { color: var(--gold-bright); }
.designers > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.person { background: var(--ink); padding: clamp(34px, 4vw, 56px) 30px; text-align: center; transition: background .5s var(--ease); }
.person:hover { background: var(--ink-soft); }
.person-en { font-size: 11px; letter-spacing: .35em; color: var(--gold-bright); }
.person-kr { font-size: 40px; margin: 14px 0 8px; }
.person-role { font-size: 13px; color: var(--stone-light); letter-spacing: .1em; }
.person-note { color: rgba(246,240,231,.6); font-size: 14px; margin: 18px 0 0; }

/* =============================================================
   LOCATION
   ============================================================= */
.location { background: var(--cream); }
.location-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.location-copy h2 { font-size: clamp(30px, 4.5vw, 52px); margin-bottom: 36px; }
.info-list { margin: 0 0 36px; }
.info-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.info-list dt { font-size: 13px; letter-spacing: .2em; color: var(--gold); font-weight: 600; text-transform: uppercase; }
.info-list dd { margin: 0; font-size: 15.5px; }
.info-list .muted { color: var(--stone); font-size: 13.5px; }
.info-list a { border-bottom: 1px solid var(--gold); }
.location-map { aspect-ratio: 4/3; border-radius: 2px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(26,22,19,.4); background: var(--cream-2); }
.location-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.02); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(60px,8vw,100px) 24px 40px; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer-brand .brand-mark { font-family: var(--serif); font-size: 32px; color: var(--cream); }
.footer-brand .brand-mark em { color: var(--gold); font-style: normal; }
.footer-tag { font-family: var(--serif); font-style: italic; color: var(--stone-light); margin-top: 14px; font-size: 18px; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .3em; color: var(--gold-bright); text-transform: uppercase; margin-bottom: 22px; font-weight: 600; }
.qa-list, .contact-list { list-style: none; padding: 0; margin: 0; }
.qa-list li { margin-bottom: 18px; }
.qa-list .q { display: block; font-size: 14.5px; font-weight: 500; }
.qa-list .a { display: block; font-size: 13px; color: var(--stone-light); margin-top: 4px; }
.contact-list li { margin-bottom: 12px; font-size: 14.5px; color: var(--stone-light); }
.contact-list a:hover { color: var(--gold-bright); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--stone-light); letter-spacing: .02em; }
.to-top:hover { color: var(--gold-bright); }

.fallback-main { padding-top: 120px; }
.fallback-content { max-width: 700px; margin: 0 auto; }

/* =============================================================
   REVEAL ANIMATION
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
	.hero-media { animation: none; transform: scale(1); }
	html { scroll-behavior: auto; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
	.look-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.primary-nav, .nav-cta { display: none; }
	.nav-toggle { display: block; }
	.about-grid, .location-grid { grid-template-columns: 1fr; }
	.about-visual { max-width: 440px; margin: 0 auto; }
	.menu-grid { grid-template-columns: 1fr; }
	.people-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.about-badge { width: 100px; height: 100px; right: 10px; }
}
@media (max-width: 520px) {
	.look-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
	.menu-note { min-height: 0; }
	.hero-actions .btn { flex: 1; }
}
