/* =========================================================
   Foothaven Limited - styles.css
   ========================================================= */

:root {
  --bg: #0b0b0d;
  --bg-elev: #111114;
  --bg-soft: #15151a;
  --bg-muted: #0f0f12;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ececef;
  --text-dim: #a7a7b0;
  --text-mute: #6d6d75;
  --accent: #c8a96a;
  --accent-soft: rgba(200, 169, 106, 0.12);
  --accent-strong: #d8b574;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 60px -30px rgba(0,0,0,0.6);
  --container: 1180px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

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

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.75);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  /* logo art is black; invert to white for dark theme */
  filter: brightness(0) invert(1);
  transition: filter .2s ease, opacity .2s ease;
}

.brand:hover .brand-logo { opacity: 0.85; }

/* nav: just the wing mark beside the wordmark */
.brand-logo-mark {
  height: 40px;
  margin-right: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* footer: full stacked logo */
.brand-logo-footer {
  height: 72px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--text); }

.nav-cta { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #1a1408;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
  color: #1a1408;
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(200,169,106,0.10), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(120,90,40,0.10), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--accent-soft);
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}

.lede {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 56ch;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-meta {
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.hero-meta li {
  display: flex;
  flex-direction: column;
}

.hero-meta strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-meta span {
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 4px;
}

/* hero card */
.hero-card {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.hero-card-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 12px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.card-row:last-child { border-bottom: none; }

.card-row:first-child {
  color: var(--text-mute);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dot {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  color: var(--text-dim);
}

.dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 10px rgba(46,204,113,0.55);
}

.dot-live { color: #6fe2a4; }

/* ---------- Generic section ---------- */
.section {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}

.section-muted { background: var(--bg-muted); }

.section-dark {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(200,169,106,0.08), transparent 60%),
    #08080a;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}

p { margin: 0 0 14px; }

.section-sub {
  color: var(--text-dim);
  font-size: 17px;
}

.lead {
  font-size: 19px;
  color: var(--text);
}

/* Split layout (about, global, contact) */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.split-head h2 { margin-bottom: 0; }

.split-body p { color: var(--text-dim); }

.split-body .lead { color: var(--text); margin-bottom: 18px; }

/* ---------- Cards (What we do) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.card-accent {
  background: linear-gradient(180deg, rgba(200,169,106,0.08), var(--bg-elev) 60%);
  border-color: rgba(200,169,106,0.25);
}

.card-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.card p {
  color: var(--text-dim);
  font-size: 15px;
}

.ticks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 14px;
  color: var(--text);
  border-top: 1px solid var(--line);
}

.ticks li:first-child { border-top: none; }

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ---------- Platforms ---------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.platform {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .2s ease, transform .2s ease;
}

.platform:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.platform h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.platform p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
}

.platform-soft {
  background: linear-gradient(180deg, rgba(200,169,106,0.06), var(--bg-elev));
  border-color: rgba(200,169,106,0.22);
}

.platform-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.platform-link h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.platform-arrow {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  transform: translateX(0);
  transition: transform .2s ease;
}

.platform-link:hover { color: inherit; }
.platform-link:hover .platform-arrow { transform: translateX(4px); }

.platform-visit {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Global stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

.stat span {
  color: var(--text-mute);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease;
}

.contact-card:hover { border-color: var(--accent); }

.contact-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.contact-value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  word-break: break-word;
}

.contact-value-static { font-family: var(--font-sans); font-size: 15px; line-height: 1.55; color: var(--text-dim); }

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

/* ---------- Footer ---------- */
.site-footer {
  background: #060608;
  padding: 70px 0 30px;
  color: var(--text-dim);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.brand-footer { margin-bottom: 12px; }

.footer-tag {
  color: var(--text-mute);
  font-size: 13px;
  max-width: 28ch;
}

.footer-col h4 {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a { color: var(--text-dim); }
.footer-col a:hover { color: var(--accent); }

.footer-meta li { color: var(--text-dim); }
.footer-meta strong { color: var(--text); }

address {
  font-style: normal;
  color: var(--text-dim);
  margin-bottom: 14px;
  line-height: 1.6;
}

.footer-contact a { color: var(--text-dim); }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  color: var(--text-mute);
  font-size: 12.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 72px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav { height: 64px; }
  .nav-cta { display: none; }
  .platforms { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-meta { gap: 24px; flex-wrap: wrap; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Focus / accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: #1a1408;
}
