/* SeaStar Photography — redesign (dev). Dark, photo-first; gold "starlight" accent. */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0b1220;
  --ink-2: #111a2c;
  --ink-3: #18233a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f2ede4;
  --muted: #a8b0c0;
  --gold: #e2a04a;
  --gold-soft: rgba(226, 160, 74, 0.14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 0.4em; letter-spacing: -0.01em; font-variation-settings: "SOFT" 60, "opsz" 96; }
h1 { font-size: clamp(40px, 6.4vw, 84px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: 24px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 46ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1a1206; }
.btn-gold:hover { background: #ecb05f; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--text); background: rgba(11, 18, 32, 0.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--text); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.solid, body:not(.has-hero) .site-header { background: rgba(11, 18, 32, 0.86); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font: 600 25px/1 var(--serif); letter-spacing: -0.01em; font-variation-settings: "SOFT" 100, "opsz" 72; }
.brand-name small { font: 600 9.5px/1 var(--sans); letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font: 500 15px/1 var(--sans); padding: 10px 14px; border-radius: 999px; color: rgba(242, 237, 228, 0.85); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a.nav-cta { border: 1px solid rgba(226, 160, 74, 0.6); color: var(--gold); margin-left: 8px; }
.nav a.nav-cta:hover { background: var(--gold); color: #1a1206; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 18, 32, 0.97); backdrop-filter: blur(12px); padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 20px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a.nav-cta { margin: 16px 0 0; text-align: center; justify-content: center; border-radius: 999px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transform: scale(1.06); transition: opacity 1.6s ease, transform 8s ease-out;
}
.hero-slides img.on { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0) 28%, rgba(11, 18, 32, 0.15) 55%, rgba(11, 18, 32, 0.92) 100%);
}
.hero .wrap { width: 100%; padding-bottom: clamp(48px, 10vh, 110px); }
.hero h1 { max-width: 15ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero .lede { color: rgba(242, 237, 228, 0.88); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-dots { position: absolute; right: var(--gutter); bottom: clamp(48px, 10vh, 110px); display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.3); cursor: pointer; border-radius: 2px; }
.hero-dots button.on { background: var(--gold); }
@media (max-width: 860px) { .hero-dots { display: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 44ch; }
.link-arrow { color: var(--gold); text-decoration: none; font-weight: 600; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* collection cards */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; min-height: 340px; display: flex; align-items: flex-end; isolation: isolate; background: var(--ink-2); }
.card:nth-child(1), .card:nth-child(2) { grid-column: span 3; min-height: 460px; }
.card:nth-child(n+3) { grid-column: span 2; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(11, 18, 32, 0.88)); }
.card:hover img { transform: scale(1.05); }
.card-body { padding: 26px; width: 100%; }
.card-body h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 4px; }
.card-body p { margin: 0; color: rgba(242, 237, 228, 0.8); font-size: 15px; }
.card-count { position: absolute; top: 18px; right: 18px; font: 600 12px/1 var(--sans); letter-spacing: 0.08em; background: rgba(11, 18, 32, 0.6); backdrop-filter: blur(6px); padding: 7px 11px; border-radius: 999px; }
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card:nth-child(n) { grid-column: span 1; min-height: 300px; }
  .card:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(n) { grid-column: span 1; min-height: 280px; }
}

/* statement */
.statement { background: radial-gradient(1200px 500px at 80% 0%, var(--gold-soft), transparent 60%), var(--ink-2); border-block: 1px solid var(--line); }
.statement .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.statement blockquote { margin: 0; font: italic 400 clamp(28px, 3.4vw, 44px)/1.2 var(--serif); font-variation-settings: "SOFT" 100, "opsz" 72; }
.statement blockquote::before { content: "\201C"; color: var(--gold); display: block; font-size: 1.8em; line-height: 0.6; margin-bottom: 8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; }
.fact { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: rgba(255, 255, 255, 0.02); }
.fact b { display: block; font: 500 34px/1 var(--serif); color: var(--gold); margin-bottom: 6px; }
.fact span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .statement .wrap { grid-template-columns: 1fr; } }

/* page head */
.page-head { padding: calc(76px + clamp(48px, 8vw, 96px)) 0 clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(42px, 6vw, 76px); }
.page-head .lede { margin: 0; }
.page-meta { margin-top: 18px; color: var(--muted); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.page-meta a { color: var(--gold); text-decoration: none; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; display: inline-block; text-decoration: none; }
.crumb:hover { color: var(--gold); }

/* justified photo grid */
.grid { display: flex; flex-wrap: wrap; gap: 6px; user-select: none; -webkit-user-select: none; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--ink-3); flex: 0 0 auto; width: 300px; height: 220px; cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .5s ease; }
.tile:hover img { transform: scale(1.035); }
.tile-label { position: absolute; left: 10px; bottom: 10px; font: 600 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; background: rgba(11, 18, 32, 0.65); backdrop-filter: blur(6px); padding: 6px 9px; border-radius: 999px; opacity: 0; transform: translateY(4px); transition: .3s ease; }
.tile:hover .tile-label, .tile:focus-visible .tile-label { opacity: 1; transform: none; }

/* travel place cards */
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.place { text-decoration: none; display: block; }
.place-img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.place-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.place:hover .place-img img { transform: scale(1.05); }
.place h3 { margin: 14px 0 2px; }
.place span { color: var(--muted); font-size: 14px; }

/* prev/next */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pager a { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; transition: border-color .2s, background .2s; }
.pager a:hover { border-color: rgba(226, 160, 74, 0.6); background: rgba(255, 255, 255, 0.02); }
.pager small { display: block; color: var(--muted); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.pager b { font: 500 26px/1.1 var(--serif); }
.pager .next { text-align: right; grid-column: 2; }

/* about */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.about-text { font-size: 19px; }
.about-text p:first-child { font: 400 clamp(26px, 2.8vw, 36px)/1.25 var(--serif); color: var(--text); margin-bottom: 0.8em; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
.about-photos img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); padding: 28px; position: sticky; top: 100px; }
.panel h3 { margin-bottom: 14px; }
.offer { padding: 14px 0; border-top: 1px solid var(--line); }
.offer b { display: block; font-weight: 600; }
.offer span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .panel { position: static; } }

/* connect band */
.connect { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.connect img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.connect::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 18, 32, 0.74); }
.connect h2 { max-width: 18ch; margin-inline: auto; }
.connect .lede { margin: 0 auto 30px; }
.connect .hero-actions { justify-content: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { font: 600 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text); margin: 6px 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot .brand { margin-bottom: 16px; color: var(--text); }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6, 10, 18, 0.97); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; transition: opacity .25s ease; }
.lb.open { opacity: 1; }
.lb[hidden] { display: none; }
html.lb-lock, html.lb-lock body { overflow: hidden; }
.lb-top, .lb-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter); }
.lb-count { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 64px; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); transition: opacity .25s ease; }
.lb-img.loading { opacity: 0.25; }
.lb-caption { color: var(--muted); font-size: 14px; }
.lb-caption b { color: var(--text); font-weight: 600; }
.lb-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.lb .btn { padding: 10px 16px; font-size: 14px; }
.icon-btn { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--text); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.icon-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--gold); color: #1a1206; font-weight: 600; padding: 11px 18px; border-radius: 999px; z-index: 120; opacity: 0; transition: .3s ease; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 700px) {
  .lb-stage { padding: 0 6px; }
  .lb-prev, .lb-next { top: auto; bottom: -58px; transform: none; }
  .lb-prev { left: var(--gutter); }
  .lb-next { left: calc(var(--gutter) + 56px); right: auto; }
  .lb-bottom { flex-direction: column; align-items: stretch; padding-top: 70px; }
  .lb-actions { justify-content: stretch; }
  .lb-actions .btn { flex: 1; justify-content: center; }
}

/* copy protection: no drag, no long-press save, photo not directly clickable */
.grid img, .card img, .place img, .lb-img, .hero-slides img, .connect img, .about-photos img {
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; pointer-events: none;
}

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