/* 79 Pixels — site styles */
:root {
  --bg: #0b0e13;
  --bg-raise: #11151d;
  --bg-card: #151a24;
  --line: #232a37;
  --text: #eef0f4;
  --muted: #9aa3b2;
  --accent: #e0b15e;
  --accent-deep: #c2913d;
  --radius: 14px;
  --maxw: 1180px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #f0c87e; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
p  { color: var(--muted); }
p strong { color: var(--text); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.lede { font-size: 1.18rem; max-width: 46em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; transition: background 0.25s ease, padding 0.25s ease;
}
.nav.scrolled {
  background: rgba(11, 14, 19, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 12px 28px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.nav-logo:hover { color: var(--text); }
.nav-logo svg { width: 30px; height: 30px; }
.nav-logo em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text); font-size: 0.95rem; font-weight: 500; opacity: 0.85; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-links a.active { color: var(--accent); opacity: 1; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  background: var(--accent); color: #14110a; font-weight: 700; font-size: 0.98rem;
  border: 1px solid var(--accent); transition: 0.18s; cursor: pointer;
}
.btn:hover { background: #f0c87e; border-color: #f0c87e; color: #14110a; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }
.btn-small { padding: 9px 20px; font-size: 0.88rem; }

/* ---------- hero ---------- */
/* svh declarations override vh where supported (mobile browser UI chrome) */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero.hero-short { min-height: 62vh; min-height: 62svh; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,14,19,0.35) 0%, rgba(11,14,19,0.15) 40%, rgba(11,14,19,0.92) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 72px; }
.hero h1 { max-width: 14em; text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.hero .lede { color: #d5dae2; margin-top: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* photo credit chip */
.credit {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  font-size: 0.72rem; color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.45); padding: 5px 12px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.credit:hover { color: #fff; background: rgba(0,0,0,0.65); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
}
.card h3 { color: var(--text); }
.card .num {
  font-family: var(--font-display); font-size: 2rem; color: var(--accent);
  display: block; margin-bottom: 10px;
}

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery figure.wide { grid-column: span 2; aspect-ratio: 8 / 3.05; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px;
  font-size: 0.8rem; color: #e8e8e8;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
}
.gallery figcaption small { display: block; font-size: 0.66rem; opacity: 0.78; letter-spacing: 0.02em; }

/* ---------- split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .pic { position: relative; border-radius: var(--radius); overflow: hidden; }
.split .pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1;
}
.step h3 { margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-card); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px;
  font-weight: 600; font-size: 1.04rem; position: relative; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 24px 22px; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- banded CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(9,11,16,0.72); }
.cta-band .inner { position: relative; z-index: 2; padding: 72px 48px; text-align: center; }
.cta-band p { color: #cfd5de; max-width: 40em; margin: 0 auto 26px; }

/* ---------- pay page ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pay-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 24px; text-align: center; transition: 0.18s;
}
.pay-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.pay-card .cur { font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); display: block; }
.pay-card .label { color: var(--muted); font-size: 0.92rem; display: block; margin: 6px 0 20px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card .flag { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p { font-size: 0.95rem; }
.bigline { font-size: clamp(1.3rem, 3vw, 2rem); font-family: var(--font-display); }

/* ---------- tables ---------- */
table.credits { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
table.credits th, table.credits td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.credits th { color: var(--accent); font-weight: 600; }
table.credits td { color: var(--muted); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--bg-raise); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-grid h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 14px; }
.foot-grid p, .foot-grid a { font-size: 0.92rem; color: var(--muted); display: block; }
.foot-grid a { margin-bottom: 8px; }
.foot-grid a:hover { color: var(--accent); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: #6b7384; }
.foot-bottom a { color: #8b94a6; }
.foot-credits { border-top: 1px solid var(--line); padding: 16px 0 18px; font-size: 0.76rem; color: #5e6678; line-height: 2; }
.foot-credits strong { color: #8b94a6; font-weight: 600; }
.foot-credits a { color: #8b94a6; }
.foot-credits a:hover { color: var(--accent); }

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

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .contact-grid { grid-template-columns: 1fr 1fr; }
  .pay-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure.wide { aspect-ratio: 4 / 3; grid-column: span 1; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  section { padding: 60px 0; }
  .grid-3, .grid-2, .contact-grid, .pay-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(11,14,19,0.97); border-bottom: 1px solid var(--line); padding: 10px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-links .btn { text-align: center; padding: 12px; margin-top: 10px; }
  .nav-burger { display: block; }
  .nav { background: rgba(11,14,19,0.9); }
  .step { grid-template-columns: 56px 1fr; }
  .hero { min-height: 78vh; min-height: 78svh; }
  .hero-inner { padding-top: 130px; padding-bottom: 48px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .cta-band .inner { padding: 52px 24px; }
  .cta-band .btn { max-width: 100%; overflow-wrap: anywhere; }

  /* credits table → stacked cards */
  table.credits, table.credits tbody, table.credits tr, table.credits td { display: block; width: 100%; }
  table.credits thead { display: none; }
  table.credits tr {
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--bg-card); margin-bottom: 12px; padding: 16px 18px;
  }
  table.credits td { border: 0; padding: 2px 0; }
  table.credits td:first-child { color: var(--text); font-weight: 600; padding-bottom: 6px; }
}
