/*
Theme Name: Foundry Seven Ventures
Theme URI: https://foundry7ventures.com/
Author: Foundry Seven Ventures
Description: A custom, cinematic venture-studio WordPress theme built for Foundry Seven Ventures.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: f7v
*/

:root {
  --f7-bg: #05090d;
  --f7-bg-soft: #091016;
  --f7-panel: rgba(8, 14, 19, .88);
  --f7-panel-strong: rgba(4, 9, 13, .95);
  --f7-orange: #ff6a00;
  --f7-orange-2: #ff8a22;
  --f7-cream: #f4efe7;
  --f7-text: #f6f7f8;
  --f7-muted: #aab0b7;
  --f7-line: rgba(255, 106, 0, .28);
  --f7-border: rgba(255, 106, 0, .36);
  --f7-green: #87e35a;
  --f7-blue: #66b6ff;
  --f7-max: 1440px;
  --f7-radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--f7-text);
  background:
    radial-gradient(circle at 78% 12%, rgba(255,106,0,.055), transparent 28%),
    linear-gradient(180deg, #05090d 0%, #03070a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,106,0,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,106,0,.025) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.f7-shell { width: min(calc(100% - 40px), var(--f7-max)); margin-inline: auto; }
.f7-section { position: relative; padding: 72px 0; }
.f7-kicker {
  color: var(--f7-orange);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.f7-section-title {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.f7-muted { color: var(--f7-muted); }
.f7-accent { color: var(--f7-orange); }

/* Header */
.f7-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(3, 7, 10, .86);
  backdrop-filter: blur(18px);
}
.f7-header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
}
.f7-brand { display: inline-flex; align-items: center; text-decoration: none; }
.f7-brand img { width: 210px; max-height: 60px; object-fit: contain; object-position: left center; }
.f7-nav ul { display: flex; align-items: center; gap: 34px; list-style: none; padding: 0; margin: 0; }
.f7-nav a { position: relative; color: #f1f1f1; text-decoration: none; font-weight: 650; font-size: .96rem; }
.f7-nav a::after { content:""; position:absolute; left:50%; right:50%; bottom:-16px; height:2px; background:var(--f7-orange); transition:.22s ease; }
.f7-nav a:hover::after, .f7-nav .current-menu-item > a::after { left:0; right:0; }
.f7-header-domain { justify-self: end; color: #9ca2a8; text-decoration:none; font-size:.9rem; }
.f7-header-domain::before { content:"◉"; color:var(--f7-orange); margin-right:10px; font-size:.72rem; }
.f7-menu-toggle { display:none; background:transparent; border:1px solid var(--f7-border); color:#fff; border-radius:6px; padding:8px 10px; }

/* Hero */
.f7-hero { position:relative; overflow:hidden; min-height: 575px; border-bottom:1px solid rgba(255,255,255,.10); }
.f7-hero-slide { position:absolute; inset:0; opacity:0; transition:opacity .7s ease; background-size:cover; background-position:center; }
.f7-hero-slide.is-active { opacity:1; z-index:2; }
.f7-hero-slide::after {
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(2,6,9,.95) 0%, rgba(2,6,9,.83) 30%, rgba(2,6,9,.20) 57%, rgba(2,6,9,.02) 100%);
}
.f7-hero-content { position:relative; z-index:3; width:min(610px, 48vw); padding:112px 0 90px; }
.f7-hero h1 { margin:0 0 18px; font-size:3rem; line-height:.98; letter-spacing:-.055em; }
.f7-hero h1 .accent, .f7-hero-title .accent { color: var(--f7-orange); }
.f7-hero p { max-width:620px; margin:0 0 26px; color:#b6bbc0; font-size:clamp(1rem, 1.3vw, 1.28rem); }
.f7-button {
  display:inline-flex; align-items:center; gap:18px; min-height:48px; padding:0 24px;
  border:1px solid rgba(255,106,0,.9); color:#fff; text-decoration:none; font-weight:750;
  box-shadow: inset 0 0 0 1px rgba(255,106,0,.15), 0 0 28px rgba(255,106,0,.10);
  transition:.2s ease;
}
.f7-button::after { content:"→"; color:var(--f7-orange); font-size:1.35rem; }
.f7-button:hover { background:rgba(255,106,0,.10); transform:translateY(-1px); }
.f7-hero-dots { position:absolute; z-index:5; left:50%; transform:translateX(-50%); bottom:22px; display:flex; gap:8px; }
.f7-hero-dot { width:8px; height:8px; border-radius:50%; border:0; padding:0; background:rgba(255,255,255,.25); cursor:pointer; }
.f7-hero-dot.is-active { background:var(--f7-orange); box-shadow:0 0 12px rgba(255,106,0,.7); }

/* Process */
.f7-process { border-bottom:1px solid rgba(255,255,255,.08); }
.f7-process-head { text-align:center; margin-bottom:22px; }
.f7-process-head p { margin:5px auto 0; color:#b1b5ba; }
.f7-process-grid { display:grid; grid-template-columns:repeat(var(--f7-step-count, 3), minmax(0,1fr)); border:1px solid rgba(255,255,255,.10); background:rgba(5,10,14,.56); }
.f7-step { min-height:130px; position:relative; display:grid; grid-template-columns:86px 1fr; gap:18px; align-items:center; padding:22px 28px; }
.f7-step:not(:last-child) { border-right:1px solid rgba(255,255,255,.11); }
.f7-step:not(:last-child)::after { content:"›"; position:absolute; right:15px; z-index:3; color:var(--f7-orange); font-size:3rem; top:50%; transform:translateY(-52%); text-shadow:0 0 18px rgba(255,106,0,.35); }
.f7-step img { width:70px; height:78px; object-fit:contain; }
.f7-step-number { color:var(--f7-orange); font-size:.78rem; letter-spacing:.12em; font-weight:800; }
.f7-step h3 { margin:2px 0 7px; font-size:1.06rem; letter-spacing:.15em; text-transform:uppercase; }
.f7-step p { margin:0; color:#aaaeb3; font-size:.92rem; }

/* Ventures */
.f7-ventures { padding-top:28px; }
.f7-ventures-heading { text-align:center; margin-bottom:24px; }
.f7-ventures-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; }
.f7-venture-card {
  display:flex; flex-direction:column; min-height:300px; padding:28px 26px 22px;
  border:1px solid rgba(255,255,255,.11); background:linear-gradient(180deg, rgba(10,16,22,.86), rgba(6,11,15,.92));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02); transition:.25s ease;
}
.f7-venture-card:hover { transform:translateY(-4px); border-color:rgba(255,106,0,.45); box-shadow:0 18px 40px rgba(0,0,0,.28); }
.f7-venture-logo { height:92px; display:flex; align-items:center; margin-bottom:14px; }
.f7-venture-logo img { max-width:105px; max-height:86px; object-fit:contain; object-position:left center; }
.f7-venture-card h3 { margin:0 0 8px; font-size:1.12rem; text-transform:uppercase; letter-spacing:.25em; }
.f7-venture-card p { margin:0; color:#b1b5b9; font-size:.92rem; }
.f7-venture-status { margin-top:auto; padding-top:15px; font-size:.72rem; text-transform:uppercase; letter-spacing:.18em; font-weight:800; }
.f7-venture-status::before { content:""; display:inline-block; width:7px; height:7px; border-radius:50%; margin-right:8px; background:currentColor; box-shadow:0 0 9px currentColor; }
.f7-status-live, .f7-status-live-expanding { color:var(--f7-green); }
.f7-status-in-development { color:var(--f7-blue); }
.f7-venture-link { margin-top:14px; align-self:flex-start; }

/* Philosophy */
.f7-philosophy {
  position:relative;
  padding:44px 0 54px;
  background-color:#060a0e;
  background-image:url('assets/images/footer-bg.png');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  border-top:1px solid rgba(255,106,0,.26);
  border-bottom:1px solid rgba(255,106,0,.36);
}
.f7-philosophy-grid { display:grid; grid-template-columns:240px 1fr 1fr; gap:42px; align-items:center; }
.f7-philosophy-logo img { width:205px; max-height:180px; object-fit:contain; }
.f7-philosophy h2 { margin:0; font-size:2rem; line-height:1.02; letter-spacing:.08em; text-transform:uppercase; }
.f7-philosophy-copy { border-left:1px solid var(--f7-orange); padding-left:34px; color:#d0d3d5; font-size:1.04rem; }
.f7-final-line { text-align:center; padding-top:28px; color:var(--f7-orange); letter-spacing:.42em; text-transform:uppercase; font-size:.76rem; font-weight:800; }

/* Footer */
.f7-footer { padding:22px 0 30px; text-align:center; background:#03070a; }
.f7-footer img { width:345px; }
.f7-footer p { color:#808890; font-size:.82rem; }

/* Inner pages */
.f7-content { padding:70px 0 100px; }
.f7-content article { width:min(850px, 100%); }
.f7-content h1 { font-size:clamp(2.6rem,5vw,5rem); }

@media (max-width: 1120px) {
  .f7-header-inner { grid-template-columns:1fr auto; }
  .f7-header-domain { display:none; }
  .f7-ventures-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .f7-process-grid { grid-template-columns:1fr; }
  .f7-step:not(:last-child) { border-right:0; border-bottom:1px solid rgba(255,255,255,.1); }
  .f7-step:not(:last-child)::after { display:none; }
  .f7-philosophy-grid { grid-template-columns:180px 1fr; }
  .f7-philosophy-copy { grid-column:1/-1; border-left:0; border-top:1px solid var(--f7-orange); padding:24px 0 0; }
}

@media (max-width: 760px) {
  .f7-shell { width:min(calc(100% - 28px), var(--f7-max)); }
  .f7-header-inner { min-height:66px; }
  .f7-brand img { width:175px; }
  .f7-menu-toggle { display:inline-flex; justify-self:end; }
  .f7-nav { display:none; grid-column:1/-1; width:100%; padding-bottom:18px; }
  .f7-nav.is-open { display:block; }
  .f7-nav ul { flex-direction:column; align-items:flex-start; gap:16px; }
  .f7-nav a::after { display:none; }
  .f7-hero { min-height:650px; }
  .f7-hero-slide { background-position:68% center; }
  .f7-hero-slide::after { background:linear-gradient(180deg, rgba(2,6,9,.25) 0%, rgba(2,6,9,.78) 45%, rgba(2,6,9,.97) 72%, rgba(2,6,9,1) 100%); }
  .f7-hero-content { width:100%; padding:360px 0 68px; }
  .f7-hero h1 { font-size:clamp(2.5rem, 11vw, 4.2rem); }
  .f7-section { padding:50px 0; }
  .f7-ventures-grid { grid-template-columns:1fr; }
  .f7-philosophy { background-image:none; }
  .f7-philosophy-grid { grid-template-columns:1fr; text-align:center; }
  .f7-philosophy-logo { display:flex; justify-content:center; }
  .f7-philosophy h2 { font-size:2rem; }
  .f7-philosophy-copy { text-align:left; }
  .f7-final-line { letter-spacing:.2em; line-height:1.8; }
}
