/* ═══════════════════════════════════════════════════════════
   FORTITUDE — Bespoke Solutions & Risk Management
   Design System — Dark Luxury
   ═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --bg-primary:      #0c1022;
  --bg-secondary:    #0f1520;
  --bg-surface:      #141b2d;
  --bg-card:         #111827;

  --gold:            #c9a84c;
  --gold-muted:      rgba(201, 168, 76, 0.08);
  --gold-border:     rgba(201, 168, 76, 0.18);
  --gold-border-mid: rgba(201, 168, 76, 0.3);

  --text-primary:    #ede9df;
  --text-secondary:  #8d919e;
  --text-muted:      #505568;

  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w:        1100px;
  --nav-h:        78px;
  --section-pad:  7rem 2rem;
  --ease:         0.25s ease;
}

/* ─── SPLASH SCREEN ──────────────────────────────────────── */
#splash {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 200;
  background: #0c1022;
  overflow: hidden;
  animation: splashFadeIn 0.8s ease forwards;
}
#splash video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@keyframes splashFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#splash.hiding {
  animation: splashFadeOut 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}
@keyframes splashFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.splash-active {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}
img { max-width: 100%; display: block; }
ul  { list-style: none; }
a   { color: var(--gold); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--text-primary); }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-primary);
}
h1 { font-size: clamp(3rem, 5.5vw, 5.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.5rem; font-weight: 400; }

p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 1.75rem 0;
}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: var(--section-pad); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--gold-border-mid);
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
}
.btn-filled {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
}
.btn-filled:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-primary);
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(12, 16, 34, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  justify-content: space-between;
}
.nav-logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.35)) brightness(1.1);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.nav-links a:hover { color: var(--gold); }
.nav-enquire {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border-mid);
  padding: 0.5rem 1.3rem;
  transition: background var(--ease), color var(--ease);
}
.nav-enquire:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

/* ─── MOBILE NAV ─────────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold-border-mid);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(12, 16, 34, 0.99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  flex-direction: column;
  z-index: 99;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--gold-border);
  transition: color var(--ease), background var(--ease);
}
.nav-mobile-menu a:last-child { border-bottom: none; color: var(--gold); }
.nav-mobile-menu a:hover { color: var(--gold); background: var(--gold-muted); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 45%, rgba(201, 168, 76, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(15, 21, 56, 0.6) 0%, transparent 45%);
  pointer-events: none;
}
.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 5rem 4rem 3rem;
}
.hero-content {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-watermark {
  position: absolute;
  right: 25%;
  top: 42%;
  transform: translate(50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.hero-watermark img {
  width: 840px;
  opacity: 0.12;
  filter: grayscale(20%);
}
.hero h1 {
  max-width: 680px;
  margin-bottom: 2rem;
  line-height: 1.1;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  max-width: 480px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 3rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-footer {
  border-top: 1px solid var(--gold-border);
  padding: 2rem;
  position: relative;
  z-index: 1;
}
.hero-credentials {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  align-items: center;
}
.credential { padding: 0 3rem 0 0; flex-shrink: 0; }
.credential:first-child { padding-left: 0; }
.credential-value {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.credential-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.credential-sep {
  width: 1px;
  height: 38px;
  background: var(--gold-border);
  margin-right: 3rem;
  flex-shrink: 0;
}

/* ─── PHILOSOPHY ─────────────────────────────────────────── */
.philosophy {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 6rem 2rem;
}
.philosophy-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.philosophy-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 2rem;
}
.philosophy-quote em { font-style: normal; color: var(--gold); }
.philosophy-attr {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
  margin-top: 4rem;
}
.about-bio p { font-size: 1rem; }
.about-bio p + p { margin-top: 1.25rem; }

.credentials-panel { border: 1px solid var(--gold-border); }
.credentials-panel-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gold-border);
  background: var(--gold-muted);
}
.credentials-panel-header span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.cred-row {
  padding: 1.4rem 2rem;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cred-row:last-child { border-bottom: none; }
.cred-row-content { flex: 1; }
.cred-row-logo {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.75;
  flex-shrink: 0;
  transition: opacity var(--ease);
}
.cred-row-logo:hover { opacity: 1; }
.cred-row-title {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.cred-row-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ─── SERVICES ───────────────────────────────────────────── */
.services { background: var(--bg-secondary); }
.services-list { margin-top: 4rem; border-top: 1px solid var(--gold-border); }
.service-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 5rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--gold-border);
}
.service-index {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold-border);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.service-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.service-title {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.service-desc { font-size: 0.95rem; margin-bottom: 1.5rem; max-width: 520px; }
.service-points { display: flex; flex-direction: column; gap: 0.45rem; }
.service-points li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}
.service-points li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
  top: 0.05em;
}

/* ─── APPROACH ───────────────────────────────────────────── */
.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}
.approach-step { padding-top: 2rem; border-top: 1px solid var(--gold-border); }
.approach-step-num {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.approach-step h3 { font-size: 1.45rem; font-weight: 300; margin-bottom: 0.75rem; }

/* ─── CONTACT ────────────────────────────────────────────── */
#website { display: none; }
.section-intro      { max-width: 520px; margin-top: 0.5rem; }
.section-intro-sm   { max-width: 500px; margin-top: 0.5rem; }
.about-footnote     { font-size: 0.88rem; color: var(--text-muted); }
.cred-logo-sira     { transform: rotate(-90deg); }
#form-success .rule { margin: 0 auto 1.5rem; }
.form-success-meta  { font-size: 0.8rem; color: var(--text-muted); }
.contact { background: var(--bg-secondary); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 7rem;
  margin-top: 4rem;
  align-items: start;
}
.form-group { display: flex; flex-direction: column; margin-bottom: 2rem; }
.form-group label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gold-border);
  padding: 0.65rem 0;
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: max(16px, 0.95rem);
  outline: none;
  transition: border-color var(--ease);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--gold); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); font-size: 0.88rem; }
.form-group textarea { height: 110px; resize: none; }
.form-group select { cursor: pointer; color: var(--text-secondary); }
.form-group select option { background: var(--bg-surface); color: var(--text-primary); }
.form-notice { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7; }
#form-success { display: none; padding: 3rem 2rem; border: 1px solid var(--gold-border); text-align: center; }
#form-success.visible { display: block; }
#form-success h3 { font-size: 1.6rem; font-weight: 300; margin-bottom: 1rem; }

.contact-info-item { padding: 1.5rem 0; border-bottom: 1px solid var(--gold-border); }
.contact-info-item:first-child { border-top: 1px solid var(--gold-border); }
.contact-info-item label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contact-info-item p { font-size: 0.92rem; color: var(--text-secondary); margin: 0; line-height: 1.7; }
.contact-info-item a { color: var(--text-secondary); transition: color var(--ease); }
.contact-info-item a:hover { color: var(--gold); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--gold-border);
  padding: 3rem 2.5rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-left { display: flex; align-items: center; gap: 1.5rem; }
.footer-logo img {
  height: 38px;
  width: auto;
  opacity: 0.75;
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.25)) brightness(1.1);
  transition: opacity var(--ease);
}
.footer-logo img:hover { opacity: 1; }
.footer-certs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold-border);
}
.footer-certs img {
  height: 36px;
  width: 36px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.75;
  transition: opacity var(--ease);
}
.footer-certs img:last-child {
  transform: rotate(-90deg);
}
.footer-certs img:hover { opacity: 1; }
.footer-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.footer-copy { font-size: 0.75rem; color: var(--text-muted); text-align: right; }

/* ─── RESPONSIVE — TABLET ────────────────────────────────── */
@media (max-width: 960px) {
  :root { --section-pad: 5rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-item { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-index { display: none; }
  .approach-steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .footer-tagline { text-align: left; }
  .footer-copy { text-align: left; }
}

/* ─── RESPONSIVE — MOBILE ────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 4rem 1.25rem; --nav-h: 64px; }
  .nav { padding: 0 1.25rem; }
  .nav-links   { display: none; }
  .nav-enquire { display: none; }
  .nav-toggle  { display: flex; }
  .hero { min-height: auto; }
  .hero-main { padding: 3rem 1.25rem 2rem; }
  .hero-sub { max-width: 100%; }
  .hero-watermark { display: none; }
  .hero-footer { padding: 1.25rem; }
  .hero-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .credential-sep { display: none; }
  .credential { padding: 0; }
  .approach-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-left { flex-wrap: wrap; gap: 1rem; }
  .footer-certs {
    padding-left: 0;
    border-left: none;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gold-border);
    width: 100%;
  }
}

/* ─── RESPONSIVE — SMALL MOBILE ─────────────────────────── */
@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  .container { padding: 0 1.25rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .nav-logo img { height: 40px; }
}
