/* Fortress Capital — static site
   Deep navy + single accent; modern grotesk; FO gravitas */

:root {
  --bg: #0b1220;
  --bg-elevated: #111a2e;
  --bg-alt: #0e1628;
  --surface: #152038;
  --border: rgba(232, 236, 245, 0.08);
  --text: #e8ecf5;
  --text-muted: #9aa6bf;
  --text-soft: #6f7c96;
  --accent: #c4a35a;
  --accent-hover: #d4b56e;
  --accent-subtle: rgba(196, 163, 90, 0.12);
  --header-h: 4rem;
  --radius: 10px;
  --max: 1100px;
  --narrow: 680px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Instrument Sans", "Inter", system-ui, sans-serif;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-ring,
  .hero-skyline {
    animation: none !important;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

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

.top-anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

/* —— Header / sticky nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  gap: 1.5rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(201, 169, 98, 0.35);
}

.nav-brand:hover {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-menu a:hover,
.nav-menu a[aria-current="true"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(4.5rem, 12vw, 8.5rem) 0 clamp(5.5rem, 12vw, 8.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-motif {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(196, 163, 90, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(80, 120, 200, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

.hero-motif::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(232, 236, 245, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 236, 245, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%);
}

/* Concentric rings — subtle FO geometry with slow motion */
.hero-ring {
  position: absolute;
  right: -4%;
  top: 8%;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-ring-a {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  border: 1.5px solid rgba(196, 163, 90, 0.55);
  box-shadow:
    0 0 0 40px rgba(196, 163, 90, 0.06),
    0 0 24px rgba(196, 163, 90, 0.18),
    inset 0 0 0 1px rgba(196, 163, 90, 0.12);
  animation: hero-ring-pulse 5s ease-in-out infinite;
}

.hero-ring-b {
  width: min(300px, 40vw);
  height: min(300px, 40vw);
  right: 4%;
  top: 16%;
  border: 1.5px dashed rgba(196, 163, 90, 0.5);
  border-top-color: rgba(196, 163, 90, 0.9);
  animation: hero-ring-rotate 22s linear infinite;
}

.hero-ring-c {
  width: min(180px, 24vw);
  height: min(180px, 24vw);
  right: 12%;
  top: 24%;
  border: 1.5px dashed rgba(196, 163, 90, 0.55);
  animation: hero-ring-pulse 4.5s ease-in-out infinite reverse;
}

@keyframes hero-ring-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.92); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

@keyframes hero-ring-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hero-skyline-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.95; }
}

/* Hero skyline — subtle silhouette at bottom of hero */
.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(56px, 10vw, 110px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  animation: hero-skyline-pulse 7s ease-in-out infinite;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.hero-skyline img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-inner {
  z-index: 2;
}

/* Section divider skyline (after Approach) */
.skyline-divider {
  position: relative;
  height: clamp(64px, 11vw, 120px);
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, #080e1a 100%);
  border-top: 1px solid var(--border);
}

.skyline-divider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.9;
}

/* Scroll reveal — only hides content when JS is running (html.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-inner {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-sub {
  margin: 0 0 2.25rem;
  max-width: 36em;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #0b1220;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #0b1220;
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 0;
}

.section p {
  color: var(--text-muted);
}

.section p + p {
  margin-top: 1rem;
}

/* Focus cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* Approach steps */
.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.6rem 1.75rem;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 0.2rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.step p {
  margin: 0;
  max-width: 40em;
}

/* Contact */
.section-contact {
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, var(--accent-subtle), transparent 70%),
    var(--bg);
  border-top: none;
}

.contact-card {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.form-row .req {
  color: var(--accent);
}

.form-row .optional {
  font-weight: 400;
  color: var(--text-soft);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-soft);
}

.form-row input:hover,
.form-row textarea:hover {
  border-color: rgba(232, 236, 245, 0.16);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-row textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
  border: none;
}

.contact-fallback {
  margin: 1.5rem 0 0 !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.contact-fallback a {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.contact-fallback a:hover {
  color: var(--accent);
}

.todo-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-style: italic;
}

.contact-linkedin {
  margin-top: 1rem !important;
  font-size: 0.98rem;
}

.contact-linkedin a {
  color: var(--text-muted);
}

.contact-linkedin a:hover {
  color: var(--accent);
}

.contact-address {
  margin: 1rem 0 0 !important;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  background: #080e1a;
}

.footer-brand {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-logo {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 98, 0.35);
  display: block;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.footer-address {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.footer-social {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
}

.footer-social a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-social a:hover {
  color: var(--accent);
  border-bottom-color: currentColor;
}

.disclaimer {
  margin: 0 0 1.25rem;
  max-width: 52em;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.footer-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    background: rgba(11, 18, 32, 0.97);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    display: block;
    padding: 0.9rem 1.25rem;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container,
  .container.narrow,
  .nav {
    width: min(100% - 1.75rem, var(--max));
  }

  .hero {
    padding-top: 3.5rem;
  }
}

/* Skyline + rings on small screens */
@media (max-width: 760px) {
  .hero-ring-b,
  .hero-ring-c {
    opacity: 0.65;
  }

  .hero-skyline {
    height: 64px;
    opacity: 0.7;
  }

  .skyline-divider {
    height: 72px;
  }
}

@media (max-width: 480px) {
  .hero-ring-a {
    right: -18%;
    top: 4%;
  }

  .hero-skyline {
    height: 52px;
  }
}
.footer-address a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; opacity: .85; }
.footer-address a:hover { opacity: 1; }
