/* MeStyleNiche — stylenichefashion.com */
:root {
  --ink: #0d0b09;
  --ink-2: #16130f;
  --ink-3: #201b15;
  --line: rgba(212, 175, 106, .22);
  --gold: #d4af6a;
  --gold-2: #f0d9a4;
  --gold-deep: #9c7a3c;
  --cream: #f4ece0;
  --muted: #b7ab99;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font: 300 17px/1.7 var(--sans); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; color: #fff; }
h1 { font-size: clamp(3rem, 9vw, 6.5rem); letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
em { font-family: var(--serif); font-size: 1.15em; color: var(--gold-2); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); margin-top: 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }

.eyebrow {
  font: 500 .78rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.lede { font: 500 clamp(1.5rem, 3vw, 2.1rem)/1.35 var(--serif); color: #fff; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 500 .82rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  padding: 1.05rem 1.8rem; border-radius: var(--radius); border: 1px solid transparent;
  transition: .25s ease; cursor: pointer;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--gold-deep)); color: var(--ink); }
.btn-gold:hover { color: var(--ink); filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: #fff; }
.btn-sm { padding: .75rem 1.1rem; font-size: .72rem; }

/* header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(13, 11, 9, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: .3s;
}
.site-header.scrolled { background: rgba(13, 11, 9, .92); border-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; font: 600 1.35rem/1 var(--serif); color: #fff; letter-spacing: .02em; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { color: var(--cream); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; }
.nav a:not(.btn):hover { color: var(--gold-2); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 1.5px; background: var(--cream); margin: 6px 0; transition: .3s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* hero */
.hero { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 110px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(212, 175, 106, .18), transparent 70%),
    radial-gradient(40% 40% at 85% 90%, rgba(156, 122, 60, .12), transparent 70%);
}
.hero-inner { position: relative; }
.hero-logo { width: clamp(150px, 26vw, 240px); margin: 0 auto 1.8rem; filter: drop-shadow(0 10px 40px rgba(212,175,106,.25)); animation: rise 1.2s ease both; }
.hero h1 {
  background: linear-gradient(180deg, #fff 20%, var(--gold-2) 70%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1.2s .15s ease both;
}
.hero-sub { font: italic 500 clamp(1.25rem, 2.6vw, 1.7rem)/1.4 var(--serif); color: var(--gold-2); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted);
  padding-bottom: 46px;
}
.scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: drip 2s infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.intro { background: var(--ink-2); border-block: 1px solid var(--line); }

/* for her */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.ticks li { position: relative; padding: .85rem 0 .85rem 2.2rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.ticks li::before { content: "♛"; position: absolute; left: 0; top: .8rem; color: var(--gold); font-size: 1rem; }
.kicker { font: italic 500 1.5rem/1.3 var(--serif); color: var(--gold-2); }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }

/* story */
.story { background: radial-gradient(70% 60% at 50% 0%, rgba(212,175,106,.1), transparent 70%), var(--ink-2); border-block: 1px solid var(--line); }
.display { font-size: clamp(2.4rem, 7vw, 4.8rem); letter-spacing: .06em; }
.rule { width: 80px; height: 1px; background: var(--gold); margin: 1.5rem auto 2.5rem; }
.poem { font: italic 500 clamp(1.2rem, 2.3vw, 1.5rem)/1.75 var(--serif); color: var(--cream); }
.statements { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.statements .big { font: 500 clamp(1.7rem, 3.5vw, 2.4rem)/1.2 var(--serif); color: var(--gold-2); margin: 2rem 0 .8rem; }
.statements .big:first-child { margin-top: 0; }

/* crowns */
.crown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.crown { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: .3s; }
.crown:hover { border-color: var(--gold); transform: translateY(-4px); }
.crown-img { aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 1.5rem; background: radial-gradient(circle, rgba(212,175,106,.12), transparent 70%); }
.crown-img img { max-height: 100%; object-fit: contain; }
.crown h3 { color: var(--gold-2); }
.crown p { color: var(--muted); font-size: .98rem; }

/* work rail */
.work { background: var(--ink-2); border-block: 1px solid var(--line); }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.5rem; }
.arrows { display: flex; gap: .5rem; }
.arr { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--gold-2); font-size: 1.6rem; cursor: pointer; transition: .2s; }
.arr:hover { border-color: var(--gold); background: rgba(212,175,106,.1); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 28vw, 330px); gap: 1.2rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(16px, (100% - 1180px) / 2) 2.5rem;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }

.card { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--ink-3); }
.card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .7s ease; }
.card figcaption {
  position: absolute; inset: auto 0 0; padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(13,11,9,.88));
  font: italic 500 1.25rem/1.2 var(--serif); color: #fff;
}
.card:hover img, .card:focus-visible img { transform: scale(1.05); }
.card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* gallery page */
.page-hero { padding: 150px 0 3rem; }
.page-hero.tall { min-height: 80svh; display: grid; place-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.gallery-sec { padding-top: 1rem; }
.masonry { columns: 3 280px; column-gap: 1.2rem; }
.masonry .card { break-inside: avoid; margin-bottom: 1.2rem; }
.masonry .card img { aspect-ratio: auto; }
.contact.slim { background: var(--ink-2); border-top: 1px solid var(--line); }

/* values */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3rem; border-top: 1px solid var(--line); }
.value { padding: 2.5rem 2rem; border-bottom: 1px solid var(--line); }
.value + .value { border-left: 1px solid var(--line); }
.num { font: 500 .8rem/1 var(--sans); letter-spacing: .3em; color: var(--gold); display: block; margin-bottom: 1.5rem; }
.value p { color: var(--muted); }

/* contact */
.contact { background: radial-gradient(60% 60% at 0% 100%, rgba(212,175,106,.1), transparent 70%); }
.form { display: grid; gap: 1.1rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form label { display: grid; gap: .4rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  width: 100%; font: 400 1rem/1.5 var(--sans); color: #fff; background: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; letter-spacing: 0; text-transform: none;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .hp { position: absolute; left: -9999px; }
.form-note { margin: 0; font-size: .95rem; color: var(--gold-2); min-height: 1.5em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 3rem; text-align: center; }
.foot-logo { width: 72px; margin: 0 auto 1rem; opacity: .9; }
.foot-tag { font: italic 500 1.3rem var(--serif); color: var(--gold-2); }
.foot-links { font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; }
.foot-small { font-size: .8rem; color: var(--muted); margin: 0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,7,5,.96); display: grid; place-items: center; padding: 60px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 80svh; max-width: min(1000px, 100%); width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox figcaption { margin-top: 1rem; font: italic 500 1.4rem var(--serif); color: var(--gold-2); }
.lightbox button { position: absolute; background: none; border: 0; color: var(--cream); font-size: 2.6rem; cursor: pointer; width: 56px; height: 56px; }
.lightbox button:hover { color: var(--gold-2); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; padding: 1rem 16px 2rem;
    background: rgba(13,11,9,.98); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); visibility: hidden; transition: .35s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 1rem 0; width: 100%; text-align: center; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1.2rem; }
  .split, .crown-grid, .value-grid { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; }
  .portrait { max-width: 460px; margin-inline: auto; }
  .portrait::before { inset: 12px -12px -12px 12px; }
  .work-head { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* slogan: Me:Style:Niche */
.slogan {
  font: 500 clamp(.95rem, 2vw, 1.15rem)/1 var(--sans); letter-spacing: .45em; text-transform: uppercase;
  color: #fff; margin: .4rem 0 1.1rem; padding-left: .45em;
}
.slogan i { font-style: normal; color: var(--gold); margin: 0 .05em; }
.small-slogan { font-size: .85rem; margin-bottom: .6rem; }
