/* ============================================
   FINESSE MEDIA — finessemedia.us  (v2)
   ============================================ */
:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --line: #232326;
  --text: #eae7e1;
  --muted: #a5a096;
  --accent: #c2a061;
  --accent-dim: #8f7648;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; touch-action: manipulation; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

::selection { background: var(--accent); color: #0b0b0c; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section { scroll-margin-top: var(--nav-h); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(11,11,12,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo img { height: 24px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); transition: color .25s; padding: 12px 0; cursor: pointer;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.btn-book {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text) !important;
  border: 1px solid var(--accent-dim); padding: 12px 22px !important;
  transition: background .25s, color .25s;
}
.btn-book:hover { background: var(--accent); color: #0b0b0c !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 26px; cursor: pointer; min-width: 44px; min-height: 44px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(11,11,12,.97); flex-direction: column; gap: 0;
    display: none; border-bottom: 1px solid var(--line); padding: 8px 0 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 13px 0; }
  .btn-book { border: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92svh;
  display: flex; align-items: flex-end;
  isolation: isolate; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,11,12,.5) 0%, rgba(11,11,12,.15) 45%, rgba(11,11,12,.94) 100%);
}
.hero-content { position: relative; width: 100%; padding-top: 110px; padding-bottom: 72px; text-shadow: 0 1px 24px rgba(0,0,0,.55); }
.eyebrow {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(42px, 7vw, 88px); line-height: 1.04;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { margin-top: 20px; max-width: 36em; color: #c8c4bb; font-size: 17px; }
.hero-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  padding: 15px 32px; border: 1px solid var(--accent-dim); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
  min-height: 44px;
}
.btn:hover { background: var(--accent); color: #0b0b0c; border-color: var(--accent); }
.btn.solid { background: var(--accent); color: #0b0b0c; border-color: var(--accent); }
.btn.solid:hover { background: #d4b276; border-color: #d4b276; }
.btn.ghost { border-color: rgba(255,255,255,.28); }
.btn.ghost:hover { background: var(--text); color: #0b0b0c; border-color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section-head { margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.1;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head p { color: var(--muted); margin-top: 12px; max-width: 42em; }

/* ---------- Category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat {
  position: relative; overflow: hidden; display: block;
  background: var(--bg-2); cursor: pointer;
}
.cat img {
  width: 100%; height: auto;
  transition: transform .7s cubic-bezier(.2,.6,.2,1), opacity .3s;
  opacity: .9;
}
.cat:hover img, .cat:focus-visible img { transform: scale(1.045); opacity: 1; }
.cat .cat-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 24px 20px;
  background: linear-gradient(180deg, transparent, rgba(11,11,12,.88));
}
.cat .cat-label .eyebrow { margin-bottom: 4px; font-size: 11px; }
.cat .cat-label h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.cat .cat-label p.count { color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 860px) { .cats { grid-template-columns: 1fr; } }

/* ---------- Galleries ---------- */
.page-head { padding: calc(var(--nav-h) + 72px) 0 56px; }
.page-head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 6vw, 72px); line-height: 1.05;
}
.page-head h1 em { font-style: italic; color: var(--accent); }
.page-head p { color: var(--muted); margin-top: 14px; max-width: 42em; }

.masonry { columns: 3 300px; column-gap: 18px; }
.masonry a { display: block; margin-bottom: 18px; break-inside: avoid; overflow: hidden; background: var(--bg-2); }
.masonry img { width: 100%; transition: transform .6s cubic-bezier(.2,.6,.2,1), opacity .3s; opacity: .92; }
.masonry a:hover img, .masonry a:focus-visible img { transform: scale(1.03); opacity: 1; }

.stack { display: grid; gap: 22px; }
.stack a { display: block; overflow: hidden; background: var(--bg-2); }
.stack img { width: 100%; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.stack a:hover img { transform: scale(1.02); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(8,8,9,.96); padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; width: auto; }
.lightbox .lb-close {
  position: absolute; top: 16px; right: 20px; font-size: 30px; color: var(--muted);
  background: none; border: none; cursor: pointer; min-width: 44px; min-height: 44px;
}
.lightbox .lb-close:hover { color: var(--text); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.split .split-img { overflow: hidden; background: var(--bg-2); }
.split h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
.split h2 em { font-style: italic; color: var(--accent); }
.split p { color: var(--muted); margin-top: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } }

.stats { display: flex; gap: 54px; flex-wrap: wrap; margin-top: 30px; }
.stat .n { font-family: var(--serif); font-size: 42px; color: var(--text); line-height: 1; }
.stat .l { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (max-width: 600px) { .stats { gap: 32px; } .stat .n { font-size: 34px; } }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  border: 1px solid var(--line); background: var(--bg-2);
  padding: 40px 30px 34px; display: flex; flex-direction: column; position: relative;
}
.tier.featured {
  border-color: var(--accent-dim); background: var(--bg-3);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.tier .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #0b0b0c;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  padding: 6px 16px; white-space: nowrap; font-weight: 600;
}
.tier h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.tier .tier-sub { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.tier .price { font-family: var(--serif); font-size: 50px; font-weight: 500; margin: 18px 0 2px; line-height: 1; }
.tier ul { list-style: none; margin: 20px 0 28px; flex: 1; }
.tier ul li {
  padding: 9px 0 9px 24px; border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 14.5px; color: #cfcbc2; position: relative;
}
.tier ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent-dim); }
.tier ul li strong { color: var(--text); font-weight: 600; }
.tier .btn { text-align: center; }
.pricing-note { margin-top: 30px; color: var(--muted); font-size: 14px; text-align: center; }
.pricing-note strong { color: var(--text); }
@media (max-width: 960px) {
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .tier.featured { order: -1; }
  .tier { padding: 34px 26px 28px; }
}

.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.addon { border: 1px solid var(--line); padding: 18px 18px 14px; background: var(--bg-2); }
.addon .a-name { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.addon .a-price { font-family: var(--serif); font-size: 26px; margin-top: 6px; }
@media (max-width: 960px) { .addons { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
input, select, textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text); padding: 13px 15px; font-family: var(--sans); font-size: 16px;
  transition: border-color .25s; border-radius: 0; appearance: none; -webkit-appearance: none;
  min-height: 48px;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0l5 6 5-6z' fill='%23a5a096'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-dim); }
textarea { min-height: 120px; resize: vertical; }
.form-actions { margin-top: 22px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--accent); }
button[type=submit] {
  font-family: var(--sans); background: var(--accent); border: 1px solid var(--accent); color: #0b0b0c;
  width: auto; min-height: 48px;
}
button[type=submit]:hover { background: #d4b276; border-color: #d4b276; }
button[type=submit][disabled] { opacity: .65; cursor: wait; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Band / CTA ---------- */
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band blockquote {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); font-style: italic;
  font-weight: 500; line-height: 1.35; max-width: 28em;
}
.band cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.cta { text-align: center; }
.cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.5vw, 54px); line-height: 1.1; }
.cta h2 em { font-style: italic; color: var(--accent); }
.cta p { color: var(--muted); margin: 14px auto 0; max-width: 38em; }
.cta .btn { margin-top: 30px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.foot .logo img { height: 18px; }
.foot .foot-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.foot .foot-links a:hover { color: var(--text); }
.foot address { font-style: normal; width: 100%; margin-top: 22px; font-size: 13px; color: #767268; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot address a { color: var(--muted); }
.foot address a:hover { color: var(--text); }

/* ---------- Mobile hero refinements ---------- */
@media (max-width: 700px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(11,11,12,.62) 0%, rgba(11,11,12,.38) 42%, rgba(11,11,12,.96) 100%);
  }
  .hero .eyebrow { font-size: 11px; letter-spacing: .2em; }
  .hero h1 { font-size: clamp(38px, 11vw, 46px); }
  .hero .lede { font-size: 16px; color: #d6d2c9; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-content { padding-bottom: 56px; }
}

/* ---------- Mobile sticky call bar ---------- */
.call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(11,11,12,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #0b0b0c;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  min-height: 50px; width: 100%;
}
.call-bar a:active { background: #d4b276; }
.call-bar svg { width: 17px; height: 17px; }
@media (max-width: 700px) {
  .call-bar { display: block; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .section { padding: 60px 0; }
  .section.tight { padding: 44px 0; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
