/* Infinite Equity Management — one-page site */

@font-face {
  font-family: Cinzel;
  src: url("assets/fonts/cinzel.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --bg-alt: #0b0a08;
  --bg-card: #0e0d0a;
  --gold: #d4b06a;
  --gold-bright: #e6cc95;
  --gold-deep: #b8893a;
  --gold-btn: #d7b56c;
  --silver: #cfcbc4;
  --text: #ece7db;
  --muted: #b4ad9c;
  --line: rgba(212, 176, 106, 0.28);
  --line-strong: rgba(212, 176, 106, 0.5);
  --heading: Cinzel, "Times New Roman", Times, serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --content: 70rem;
  --pad: 1.25rem;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

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

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

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #f3e2b4;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 100;
  background: var(--gold-btn);
  color: #111;
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0.7rem var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.55rem 1rem;
}

.brand {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--gold-bright);
}

.brand img {
  width: 5.4rem;
  height: auto;
}

.brand-name {
  font-family: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
}

.site-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.05rem;
}

.site-nav a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--gold-bright);
}

.header-cta {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  font-family: var(--heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(180deg, #f0d9a0 0%, #d4b06a 48%, #b8893a 100%);
  color: #14110b;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.btn-gold:hover {
  color: #14110b;
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  color: #f3e2b4;
  border-color: var(--gold-bright);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem var(--pad) 3rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(42rem, 90vw);
  height: min(28rem, 70vw);
  transform: translate(-50%, -55%);
  background: radial-gradient(ellipse at center, rgba(184, 137, 58, 0.2), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  width: min(40rem, 100%);
}

.hero h1 {
  margin: 0;
}

.hero-logo {
  width: min(36rem, 92vw);
  margin: 0 auto;
}

.tagline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 0.7rem;
  row-gap: 0.35rem;
  margin: 1.05rem 0 0;
  font-family: var(--heading);
  font-size: clamp(0.64rem, 2.2vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  line-height: 1.4;
}

.tag-item {
  white-space: nowrap;
}

.tag-item:not(:last-child)::after {
  content: none;
}

@media (min-width: 640px) {
  .tag-item:not(:last-child)::after {
    content: "|";
    margin-left: 0.7rem;
    color: var(--gold-deep);
    letter-spacing: 0;
  }
}

.hero-lead {
  margin: 1.35rem auto 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.85rem;
}

/* Shared sections */

.section {
  padding: 3.75rem var(--pad);
}

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

.section-inner {
  max-width: var(--content);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.55rem;
  font-family: var(--heading);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--heading);
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--text);
}

.lede {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.45rem 1.25rem 1.5rem;
}

.service-card svg {
  width: 1.85rem;
  height: 1.85rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.service-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  line-height: 1.3;
}

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

/* About */

.about-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.about-inner .lede,
.about-inner .kicker,
.about-inner h2 {
  margin-left: auto;
  margin-right: auto;
}

.about-inner p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.about-inner p:last-child {
  margin-bottom: 0;
}

/* Contact */

.contact {
  text-align: center;
}

.contact-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.contact p {
  margin: 0 0 1.35rem;
  color: var(--muted);
}

.contact-email {
  display: block;
  margin: 0 0 1.5rem;
  font-family: var(--body);
  font-size: clamp(1.15rem, 4.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold-bright);
  text-decoration: none;
  word-break: break-word;
}

.contact-email:hover {
  color: #f3e2b4;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--pad) 2rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: #8d8778;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

/* Breakpoints */

@media (min-width: 640px) {
  :root {
    --pad: 1.75rem;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .service-card {
    padding: 1.65rem 1.45rem 1.7rem;
  }
}

@media (min-width: 800px) {
  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.65rem 1.25rem;
  }

  .site-nav {
    grid-column: auto;
    justify-content: flex-end;
  }

  .header-cta {
    margin-left: 0;
  }

  .brand img {
    width: 6.75rem;
  }
}

@media (min-width: 960px) {
  :root {
    --pad: 2rem;
    --header-h: 4.5rem;
  }

  .section {
    padding: 5rem var(--pad);
  }

  .hero {
    padding: 3rem var(--pad) 3.75rem;
  }
}
