/* ===================== TOKENS ===================== */
:root {
  --navy: #1b2240;
  --navy-deep: #141a33;
  --navy-soft: #283354;
  --gold: #c9a86a;
  --gold-deep: #b08f4e;
  --cream: #f6f3ee;
  --ink: #1d2230;
  --muted: #5c6478;
  --line: #e4e0d8;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px -22px rgba(20, 26, 51, 0.45);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; }

/* ===================== TYPE ===================== */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); }
h3 { font-size: 1.4rem; }

.kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.kicker.light { color: var(--gold); }

.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 15px 30px; border-radius: 50px; cursor: pointer;
  border: 1.5px solid transparent; transition: all 0.35s var(--ease);
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(176,143,78,0.7); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-block { width: 100%; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0; transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(20, 26, 51, 0.96);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 8px 30px -16px rgba(0,0,0,0.6);
}
.nav-inner { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo { height: 46px; width: auto; transition: height 0.4s var(--ease); }
.site-header.scrolled .brand-logo { height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; color: #fff; }
.brand-text strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.02em; }
.brand-text small { font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: rgba(255,255,255,0.88); font-weight: 500; font-size: 0.92rem; position: relative; transition: color 0.25s; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav a:not(.nav-cta):hover { color: #fff; }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--gold); color: var(--navy-deep) !important; padding: 9px 20px;
  border-radius: 50px; font-weight: 600; transition: all 0.3s var(--ease);
}
.nav-cta:hover { background: #fff; transform: translateY(-1px); }

.nav-phone { color: #fff; font-weight: 600; font-size: 0.92rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.nav-phone .phone-icon { width: 15px; height: 15px; color: var(--gold); }
.nav-phone:hover { color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,26,51,0.92) 0%, rgba(20,26,51,0.7) 45%, rgba(20,26,51,0.35) 100%);
}
.hero-content { max-width: 720px; padding-top: 80px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.78rem; color: var(--gold); font-weight: 600; margin-bottom: 22px; }
.hero-title { font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: 1; margin-bottom: 24px; }
.hero-title span { display: block; color: var(--gold); font-style: italic; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); }
.hero-scroll span {
  display: block; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.5);
  border-radius: 20px; position: relative;
}
.hero-scroll span::after {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 4px; background: var(--gold);
  animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ===================== TRUST ===================== */
.trust { background: var(--navy); color: #fff; padding: 40px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.trust-item span {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-weight: 700;
}
.trust-item p { font-weight: 500; font-size: 0.98rem; }

/* ===================== SERVICES (expanding panels) ===================== */
.services { background: var(--cream); }
.panels { display: flex; gap: 14px; height: 540px; }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  border-radius: var(--radius); background-size: cover; background-position: center;
  cursor: pointer; transition: flex-grow 0.65s var(--ease);
}
.panel.active { flex-grow: 4.2; }
.panel-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,21,42,0.94) 0%, rgba(16,21,42,0.45) 48%, rgba(16,21,42,0.12) 100%);
  transition: background 0.5s var(--ease);
}
.panel.active .panel-shade {
  background: linear-gradient(to top, rgba(16,21,42,0.92) 0%, rgba(16,21,42,0.3) 60%, rgba(16,21,42,0.05) 100%);
}
.panel-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 28px; color: #fff; }
.panel-no { display: block; font-family: var(--serif); color: var(--gold); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.panel-body h3 { color: #fff; font-size: 1.55rem; line-height: 1.1; }
.panel-body p {
  color: rgba(255,255,255,0.88); font-size: 0.98rem; margin-top: 12px; max-width: 420px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease) 0.12s, transform 0.5s var(--ease) 0.12s;
}
.panel.active .panel-body p { opacity: 1; transform: none; }

/* ===================== WORK / SHOWCASE ===================== */
.showcase { display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px; align-items: stretch; }
.sc-feature {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); height: clamp(440px, 42vw, 580px); background: var(--navy); cursor: zoom-in;
}
.sc-feature img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s var(--ease), transform 6s var(--ease); }
.sc-feature:hover img { transform: scale(1.05); }
.sc-feature.fading img { opacity: 0; }
.sc-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,21,42,0.85) 0%, rgba(16,21,42,0.1) 55%); pointer-events: none; }
.sc-feature figcaption { position: absolute; left: 0; bottom: 0; padding: 30px 34px; color: #fff; }
.sc-cat { display: block; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; color: var(--gold); margin-bottom: 8px; }
.sc-feature figcaption h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.sc-count {
  position: absolute; top: 20px; left: 22px; z-index: 2; color: #fff; font-size: 0.82rem;
  letter-spacing: 0.14em; background: rgba(16,21,42,0.5); padding: 5px 14px; border-radius: 50px; backdrop-filter: blur(4px);
}
.sc-zoom {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 44px; height: 44px; border: 0;
  border-radius: 50%; background: rgba(255,255,255,0.18); color: #fff; font-size: 1.15rem;
  cursor: pointer; backdrop-filter: blur(4px); transition: background 0.25s, transform 0.25s;
}
.sc-zoom:hover { background: rgba(255,255,255,0.38); transform: scale(1.08); }
.sc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px;
  border: 0; border-radius: 50%; background: rgba(16,21,42,0.55); color: #fff; font-size: 1.7rem;
  line-height: 1; cursor: pointer; backdrop-filter: blur(4px); transition: background 0.25s, color 0.25s;
  display: grid; place-items: center;
}
.sc-arrow:hover { background: var(--gold); color: var(--navy-deep); }
.sc-prev { left: 16px; } .sc-next { right: 16px; }

.sc-list {
  list-style: none; display: flex; flex-direction: column;
  min-height: 0; max-height: clamp(440px, 42vw, 580px); overflow-y: auto;
}
.sc-list li {
  display: flex; align-items: center; gap: 16px; padding: 17px 14px;
  border-bottom: 1px solid var(--line); cursor: pointer; color: var(--muted);
  transition: color 0.3s var(--ease), padding 0.3s var(--ease), background 0.3s var(--ease);
}
.sc-list li:first-child { border-top: 1px solid var(--line); }
.sc-list li:hover { color: var(--navy); padding-left: 20px; }
.sc-list li.active { color: var(--navy); background: linear-gradient(90deg, rgba(201,168,106,0.12), transparent); padding-left: 20px; }
.sc-li-no { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--gold-deep); min-width: 26px; }
.sc-list li.active .sc-li-no { color: var(--gold-deep); }
.sc-li-title { flex: 1; font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1.15; }
.sc-li-cat { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); white-space: nowrap; }

/* ===================== ABOUT ===================== */
.about-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 70px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); position: relative; z-index: 2; box-shadow: var(--shadow); }
.about-photo-accent { position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: 1; }
.about-text p { color: var(--muted); margin-bottom: 18px; font-size: 1.04rem; }
.about-text strong { color: var(--ink); }
.about-text blockquote {
  font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--navy);
  border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; margin: 26px 0;
}
.about-text blockquote cite { display: block; font-size: 0.95rem; font-style: normal; color: var(--gold-deep); font-family: var(--sans); margin-top: 8px; letter-spacing: 0.04em; }
.about-text .btn { margin-top: 12px; }

/* ===================== PROCESS (box grid) ===================== */
.process { background: var(--navy); color: #fff; }
.process h2 { color: #fff; }
.process .section-lead { color: rgba(255,255,255,0.75); }

.process-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  max-width: 1180px; margin: 0 auto; align-items: stretch;
}
.proc-box {
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius);
  background: rgba(255,255,255,0.04); padding: 24px 20px;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}
.proc-box:hover { border-color: rgba(201,168,106,0.5); background: rgba(255,255,255,0.06); transform: translateY(-4px); }

.proc-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.proc-step {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gold); color: var(--navy-deep);
  font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
}
.proc-box h3 { color: #fff; font-size: 1.15rem; line-height: 1.2; }
.proc-box ul { list-style: none; display: grid; gap: 9px; padding-left: 0; }
.proc-box li { position: relative; padding-left: 18px; color: rgba(255,255,255,0.82); font-size: 0.9rem; line-height: 1.35; }
.proc-box li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold);
}
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ===================== CONTACT ===================== */
.contact { background: var(--navy); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { color: #fff; }
.contact-lead { color: rgba(255,255,255,0.8); margin: 18px 0 36px; font-size: 1.08rem; }
.contact-list { list-style: none; display: grid; gap: 8px; }
.contact-list li {
  display: flex; align-items: center; gap: 18px; padding: 14px 16px; border-radius: 12px;
  transition: background 0.3s var(--ease);
}
.contact-list li:hover { background: rgba(255,255,255,0.05); }
.contact-list .ci-icon {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; color: var(--gold);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,106,0.45);
}
.contact-list .ci-icon svg { width: 21px; height: 21px; }
.ci-text { display: flex; flex-direction: column; gap: 2px; }
.ci-text small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); }
.ci-text a, .ci-text > span { font-size: 1.08rem; color: #fff; transition: color 0.25s; }
.contact-list a:hover { color: var(--gold); }

.contact-form { background: #fff; border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; letter-spacing: 0.03em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink); background: #fcfbf9;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,106,0.18);
}
.field textarea { resize: vertical; }
.form-note { margin-top: 16px; color: var(--gold-deep); font-weight: 600; text-align: center; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.78); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 64px 24px 44px; }
.footer-logo { height: 64px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.97rem; max-width: 320px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bar p { font-size: 0.85rem; color: rgba(255,255,255,0.55); text-align: center; }

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,13,26,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 85vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lightbox-close { position: absolute; top: 24px; right: 30px; font-size: 2.6rem; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); font-size: 3rem; color: #fff;
  background: rgba(255,255,255,0.08); border: 0; cursor: pointer; width: 60px; height: 60px;
  border-radius: 50%; transition: background 0.25s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ===================== REVEAL ANIM ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .showcase { grid-template-columns: 1fr; gap: 22px; }
  .sc-feature { height: auto; aspect-ratio: 3 / 2; }
  .sc-list { max-height: none; overflow: visible; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-photo-accent { inset: 16px -16px -16px 16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 26px; padding: 40px;
    background: var(--navy-deep); transform: translateX(100%); transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 50px -20px rgba(0,0,0,0.6);
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.1rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .review-quote { font-size: 1.3rem; }

  /* panels stack into cards */
  .panels { flex-direction: column; height: auto; gap: 12px; }
  .panel { flex: none; height: 220px; }
  .panel.active { flex: none; }
  .panel-body p { opacity: 1; transform: none; }

  /* showcase: feature on top, scrollable index below */
  .sc-feature figcaption { padding: 22px 22px; }
  .sc-li-title { font-size: 1.12rem; }
}

@media (max-width: 460px) {
  .brand-text small { display: none; }
  .sc-li-cat { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}
