/* ═══════════════════════════════════════════
   StefansWeb 4.1 — Main Stylesheet
   ═══════════════════════════════════════════ */

/* PODIUMSharp via CDN fallback stack */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  --black:        #080808;
  --white:        #FFFFFF;
  --off-white:    #FAFAF8;
  --gray1:        #F5F4F1;
  --gray2:        #EBEBEB;
  --gray3:        #D4D4D4;
  --gray4:        #9A9A9A;
  --gray5:        #555555;
  --gray6:        #1A1A1A;
  --orange:       #FF4D00;
  --orange2:      #E04300;
  --orange-light: #FFF3EE;
  --border:       #E8E8E8;
  --border2:      #D0D0D0;
  --shadow:       0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  --shadow-lg:    0 4px 24px rgba(0,0,0,.09), 0 1px 4px rgba(0,0,0,.04);
  --font-head:    'PODIUMSharp', 'Bebas Neue', 'Franklin Gothic Heavy', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
  background: var(--white);
  color: var(--gray6);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── PODIUM SHARP fallback — load from CDN if available ── */
@font-face {
  font-family: 'PODIUMSharp';
  src: url('https://use.typekit.net/af/podiumsharp.woff2') format('woff2');
  font-display: swap;
}

h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--black);
}

/* ── NAV ── */
.sw-nav {
  position: fixed; top:0; left:0; right:0; z-index:500;
  height: 64px;
  display: flex; align-items:center; justify-content:space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.sw-nav.scrolled { box-shadow: var(--shadow); }

.nav-logo {
  font-family: var(--font-head);
  font-weight: 900; font-size: 20px;
  color: var(--black); text-decoration: none;
  letter-spacing: -.02em;
}
.nav-logo em { font-style:normal; color:var(--orange); }

.nav-links { display:flex; align-items:center; gap:28px; list-style:none; }
.nav-links a {
  color: var(--gray4); text-decoration:none;
  font-size: 14px; font-weight:400;
  font-family: var(--font-body);
  transition: color .15s;
}
.nav-links a:hover { color: var(--black); }
.nav-cta-link {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500 !important;
  transition: background .2s !important;
}
.nav-cta-link:hover { background: var(--orange2) !important; }

.nav-hamburger {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; background:none; border:none; padding:4px;
}
.nav-hamburger span {
  width:22px; height:2px;
  background: var(--black); border-radius:2px;
  transition: all .25s;
}

/* ── LAYOUT ── */
.sw-wrap { max-width:1100px; margin:0 auto; padding:0 48px; }
.sw-section { padding:100px 0; }
.sw-section + .sw-section { border-top:1px solid var(--border); }

.sw-label {
  font-size:11px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--orange); display:block; margin-bottom:14px;
  font-family: var(--font-body);
}
.sw-h2 {
  font-family: var(--font-head);
  font-size: clamp(34px,4.5vw,56px);
  font-weight:900; margin-bottom:16px;
  color:var(--black); letter-spacing:-.01em;
}
.sw-sub {
  font-size:16px; color:var(--gray4);
  font-weight:300; max-width:520px;
  line-height:1.7; margin-bottom:52px;
}

/* ── BUTTONS ── */
.btn {
  display:inline-flex; align-items:center; gap:9px;
  font-family: var(--font-body);
  font-size:14px; font-weight:500;
  padding:13px 28px; border-radius:7px;
  text-decoration:none; border:none; cursor:pointer;
  transition: all .18s; line-height:1;
}
.btn-orange { background:var(--orange); color:#fff; }
.btn-orange:hover { background:var(--orange2); transform:translateY(-1px); box-shadow:0 4px 18px rgba(255,77,0,.3); }
.btn-outline { background:transparent; color:var(--gray6); border:1.5px solid var(--border2); }
.btn-outline:hover { border-color:var(--gray5); transform:translateY(-1px); }

/* section CTA strip */
.section-cta {
  margin-top:52px; padding:28px 34px;
  background:var(--gray1); border:1px solid var(--border);
  border-radius:12px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.section-cta-text h3 {
  font-family: var(--font-head);
  font-size:20px; font-weight:900;
  letter-spacing:-.01em; margin-bottom:4px;
}
.section-cta-text p { font-size:14px; color:var(--gray4); font-weight:300; }

/* fade-in */
.fi { opacity:0; transform:translateY(16px); transition:opacity .5s ease,transform .5s ease; }
.fi.vis { opacity:1; transform:translateY(0); }

/* ═══════════════════════════════════════
   HERO — BLACK BACKGROUND
═══════════════════════════════════════ */
#hero {
  min-height:100vh;
  display:flex; align-items:center;
  padding-top:64px;
  background: var(--black);
  position:relative; overflow:hidden;
}

/* subtle grid on dark bg */
#hero::before {
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,77,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,77,0,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events:none;
}
/* orange glow */
#hero::after {
  content:'';
  position:absolute; right:-200px; top:40%; transform:translateY(-50%);
  width:700px; height:700px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,77,0,.1) 0%, transparent 65%);
  pointer-events:none;
}
#hero .fi {
  opacity: 1;
  transform: none;
  transition: none;
}
.hero-inner {
  display:grid; grid-template-columns:1fr 340px;
  gap:80px; align-items:center;
  position:relative; z-index:1;
}

.hero-available {
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:400; color:rgba(255,255,255,1);
  border:1px solid rgba(255,255,255,.12);
  padding:5px 14px; border-radius:20px;
  margin-bottom:26px; background:rgba(255,255,255,.04);
  margin-top: 20px;
}
.live-dot {
  width:7px; height:7px; border-radius:50%;
  background:var(--orange); animation:blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.2} }

.hero-h1 {
  font-family: var(--font-head);
  font-size:clamp(48px,6vw,80px);
  font-weight:900; letter-spacing:-.01em;
  line-height:1; margin-bottom:24px;
  color:#fff;
}
.hero-h1 .hl  { color:var(--orange); }
.hero-h1 .dim { color:rgba(255,255,255,.22); }

.hero-body {
  font-size:17px; color:rgba(255,255,255, 1);
  font-weight:300; line-height:1.7;
  max-width:480px; margin-bottom:40px;
}

.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.btn-hero-ghost {
  background:transparent; color:rgba(255,255,255,1);
  border:1.5px solid rgba(255,255,255,.15);
  font-size:14px; font-weight:400;
}
.btn-hero-ghost:hover { border-color:rgba(255,255,255,.35); color:#fff; }

/* stat card — dark variant */
.stat-card {
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px; padding:28px 26px;
  backdrop-filter: blur(4px);
}
.stat-row {
  padding:15px 0; border-bottom:1px solid rgba(255,255,255,.08);
}
.stat-row:first-child { padding-top:0; }
.stat-row:last-child  { border-bottom:none; padding-bottom:0; }
.stat-n {
  font-family: var(--font-head);
  font-size:36px; font-weight:900;
  color:#fff; letter-spacing:-.01em;
  line-height:1; margin-bottom:3px;
}
.stat-n em { font-style:normal; color:var(--orange); }
.stat-d { font-size:12px; color:rgba(255,255,255,.8); line-height:1.45; }

/* ═══════════════════════════════════════
   LOGOS STRIP
═══════════════════════════════════════ */
#logos {
  padding:48px 0;
  background:var(--gray1);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.logos-label {
  text-align:center; font-size:11px;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--gray4); margin-bottom:28px;
  font-family: var(--font-body);
}
.logos-row {
  display:flex; flex-wrap:wrap;
  justify-content:center; align-items:center;
  gap:12px 14px;
}

/* Each logo tile */
.brand-logo-tile {
  position:relative;
  width:140px; height:60px;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:8px;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .2s, box-shadow .2s, transform .15s;
}
.brand-logo-tile:hover {
  border-color:var(--gray3);
  box-shadow:var(--shadow);
  transform:translateY(-1px);
}
.brand-logo-tile img {
  width:100%; height:100%;
  object-fit:contain;
  object-position:center;
  padding:10px 14px;
  /* normalise all logos to mid-gray so mixed b/w logos look uniform */
  filter: grayscale(100%) contrast(1) brightness(1);
  transition:filter .2s;
}
.brand-logo-tile img[alt="Gaudium"] {
  filter: grayscale(100%) contrast(0.75) brightness(0.4);
}

.brand-logo-tile:hover img {
  filter: grayscale(100%) contrast(0.55) brightness(0.4);
}

/* dark-background logos need inversion first then darken */
.brand-logo-tile.dark-logo img {
  filter: invert(1) grayscale(100%) contrast(0.6) brightness(0.55);
}
.brand-logo-tile.dark-logo:hover img {
  filter: invert(1) grayscale(100%) contrast(0.75) brightness(0.4);
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
#services { background:var(--white); }
.svc-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
}
.svc-card {
  background:var(--off-white);
  border:1px solid var(--border);
  border-radius:14px; padding:36px 30px;
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
.svc-card:hover { border-color:var(--gray3); box-shadow:var(--shadow-lg); transform:translateY(-2px); }
.svc-num {
  font-size:11px; font-weight:700;
  letter-spacing:.14em; color:var(--orange);
  margin-bottom:16px; font-family:var(--font-body);
}
.svc-title {
  font-family:var(--font-head);
  font-size:22px; font-weight:900;
  letter-spacing:-.01em; margin-bottom:12px;
}
.svc-body { font-size:14px; color:var(--gray4); font-weight:300; line-height:1.7; }
.svc-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:20px; }
.svc-tag {
  font-size:11px; color:var(--orange);
  background:var(--orange-light);
  padding:3px 10px; border-radius:4px; font-weight:500;
  font-family:var(--font-body);
}

/* ═══════════════════════════════════════
   CASE STUDIES
═══════════════════════════════════════ */
#work { background:var(--gray1); }

/* Grid layout for cases */
.case-list { display:flex; flex-direction:column; gap:12px; }

/* Standard horizontal card */
.case-card {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:14px; padding:28px 32px;
  display:grid; grid-template-columns:1fr auto;
  gap:40px; align-items:center;
  transition:border-color .2s,box-shadow .2s;
}
.case-card:hover { border-color:rgba(255,77,0,.2); box-shadow:var(--shadow); }
.case-co {
  font-size:11px; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--orange); margin-bottom:6px;
  font-family:var(--font-body);
}
.case-title {
  font-family:var(--font-head);
  font-size:20px; font-weight:900;
  letter-spacing:-.01em; margin-bottom:8px;
}
.case-body {
  font-size:13px; color:var(--gray4);
  font-weight:300; line-height:1.65; max-width:560px;
}

/* Shopify dev cards — slightly different bg */
.case-card.dev-card { background:#fafaf8; }

.case-nums { display:flex; gap:22px; flex-shrink:0; }
.cn { text-align:center; min-width:86px; }
.cn-n {
  font-family:var(--font-head);
  font-size:28px; font-weight:900;
  color:var(--black); letter-spacing:-.01em;
  line-height:1; margin-bottom:3px;
}
.cn-n em { font-style:normal; color:var(--orange); }
.cn-l { font-size:11px; color:var(--gray4); line-height:1.3; font-family:var(--font-body); }

/* Section divider between CRO and Dev cases */
.case-section-divider {
  display:flex; align-items:center; gap:14px;
  margin:28px 0 16px;
}
.case-section-divider span {
  font-size:11px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--gray4); white-space:nowrap;
  font-family:var(--font-body);
}
.case-section-divider::before,
.case-section-divider::after {
  content:''; flex:1; height:1px; background:var(--border2);
}

.portfolio-banner {
  margin-top:32px; background:var(--black);
  border-radius:14px; padding:28px 32px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.portfolio-banner-text h3 {
  font-family:var(--font-head);
  font-size:20px; font-weight:900;
  color:var(--white); letter-spacing:-.01em; margin-bottom:4px;
}
.portfolio-banner-text p { font-size:13px; color:#777; font-weight:300; }

/* ═══════════════════════════════════════
   EXPERIENCE
═══════════════════════════════════════ */
#experience { background:var(--white); }
.exp-list { display:flex; flex-direction:column; }
.exp-item {
  display:grid; grid-template-columns:200px 1fr;
  gap:40px; padding:36px 0;
  border-bottom:1px solid var(--border);
}
.exp-item:last-child { border-bottom:none; }
.exp-date { font-size:13px; color:var(--gray4); padding-top:3px; line-height:1.5; }
.exp-co {
  font-size:11px; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--orange); margin-bottom:5px; font-family:var(--font-body);
}
.exp-role {
  font-family:var(--font-head);
  font-size:22px; font-weight:900;
  letter-spacing:-.01em; margin-bottom:14px;
}
.exp-pts { list-style:none; display:flex; flex-direction:column; gap:8px; }
.exp-pts li {
  font-size:14px; color:var(--gray4);
  font-weight:300; padding-left:18px;
  position:relative; line-height:1.6;
}
.exp-pts li::before {
  content:''; position:absolute; left:0; top:9px;
  width:5px; height:5px; border-radius:50%; background:var(--orange);
}
.exp-pts li strong { color:var(--black); font-weight:500; }

/* ═══════════════════════════════════════
   TOOLS
═══════════════════════════════════════ */
#tools { background:var(--gray1); }
.tools-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.tool-group {
  background:var(--white); border:1px solid var(--border);
  border-radius:12px; padding:24px 22px;
}
.tool-cat {
  font-size:11px; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--orange); margin-bottom:14px; font-family:var(--font-body);
}
.tool-chips { display:flex; flex-wrap:wrap; gap:6px; }
.tool-chip {
  font-size:12px; color:var(--gray5);
  background:var(--gray1); border:1px solid var(--border);
  padding:4px 10px; border-radius:4px; font-family:var(--font-body);
}

/* ═══════════════════════════════════════
   FOOTER — "OPEN TO OPPORTUNITY" + CALENDLY
═══════════════════════════════════════ */
.sw-footer {
  background: var(--black);
  color:#fff;
}

/* Opportunity section inside footer */
.footer-opportunity {
  padding:80px 0 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.opportunity-inner {
  display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start;
}
.opp-label {
  font-size:11px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--orange); display:block; margin-bottom:14px;
  font-family:var(--font-body);
}
.opp-h2 {
  font-family:var(--font-head);
  font-size:clamp(30px,4vw,50px);
  font-weight:900; color:#fff;
  letter-spacing:-.01em; margin-bottom:16px;
}
.opp-sub {
  font-size:16px; color:rgba(255,255,255,.45);
  font-weight:300; line-height:1.7; margin-bottom:0;
}

.avail-cards { display:flex; flex-direction:column; gap:12px; margin-top:32px; }
.avail-card {
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px; padding:18px 22px;
  display:flex; justify-content:space-between; align-items:center;
  transition:border-color .2s;
}
.avail-card.hot { border-color:rgba(255,77,0,.3); background:rgba(255,77,0,.05); }
.avail-card:hover { border-color:rgba(255,77,0,.25); }
.avail-type-lbl {
  font-size:11px; font-weight:600;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--orange); margin-bottom:4px; font-family:var(--font-body);
}
.avail-title-lbl {
  font-family:var(--font-head);
  font-size:16px; font-weight:900; color:#fff; letter-spacing:-.01em;
}
.avail-status {
  font-size:11px; font-weight:500;
  color:rgba(255,255,255,.4);
  background:rgba(255,255,255,.06);
  padding:4px 12px; border-radius:20px;
  border:1px solid rgba(255,255,255,.1);
  font-family:var(--font-body);
}

.social-links { display:flex; gap:4px; margin-top:24px; flex-wrap:wrap; }
.social-link {
  display:flex; align-items:center; gap:7px;
  font-size:13px; color:rgba(255,255,255,.5);
  text-decoration:none; padding:8px 16px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:6px; transition:all .15s;
  font-family:var(--font-body);
}
.social-link:hover { border-color:rgba(255,255,255,.2); color:#fff; }

/* Calendly on right side of footer */
.footer-cal-card {
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px; overflow:hidden;
}
.footer-cal-header {
  padding:24px 28px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-cal-header h3 {
  font-family:var(--font-head);
  font-size:22px; font-weight:900;
  color:#fff; letter-spacing:-.01em; margin-bottom:5px;
}
.footer-cal-header p { font-size:13px; color:rgba(255,255,255,.4); font-weight:300; }
.cal-badges { display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.cal-badge {
  display:flex; align-items:center; gap:5px;
  font-size:11px; color:rgba(255,255,255,.5);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  padding:3px 10px; border-radius:20px;
  font-family:var(--font-body);
}
.cal-badge::before { content:'✓'; color:var(--orange); font-size:10px; font-weight:700; }

/* Calendly footer strip (full-width, like stefansweb.com) */
.footer-calendly-strip {
  padding:48px 0 56px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-calendly-strip h3 {
  font-family:var(--font-head);
  font-size:28px; font-weight:900;
  color:#fff; letter-spacing:-.01em; margin-bottom:8px;
}
.footer-calendly-strip p { font-size:15px; color:rgba(255,255,255,.4); font-weight:300; margin-bottom:28px; }

/* Footer bottom links */
.footer-bottom-grid {
  display:grid; grid-template-columns:260px 1fr; gap:60px;
  padding:48px 0 32px;
  border-top:1px solid rgba(255,255,255,.06);
}
.footer-brand .nav-logo { color:#fff; font-size:20px; }
.footer-brand p {
  font-size:13px; color:rgba(255,255,255,.35);
  font-weight:300; margin-top:10px; line-height:1.6;
}
.footer-links-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:32px;
}
.footer-col-title {
  font-size:11px; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--orange); margin-bottom:14px; font-family:var(--font-body);
}
.footer-col a {
  display:block; font-size:13px;
  color:rgba(255,255,255,.35); text-decoration:none;
  margin-bottom:9px; transition:color .15s;
}
.footer-col a:hover { color:#fff; }
.footer-copy {
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:10px;
  padding:20px 0;
  border-top:1px solid rgba(255,255,255,.06);
  font-size:12px; color:rgba(255,255,255,.25);
}
.footer-copy a { color:rgba(255,255,255,.25); text-decoration:none; transition:color .15s; }
.footer-copy a:hover { color:#fff; }

/* ── RESPONSIVE ── */
@media(max-width:960px) {
  .sw-nav { padding:0 20px; }
  .nav-links {
    display:none; flex-direction:column;
    position:fixed; top:64px; left:0; right:0;
    background:#fff; border-bottom:1px solid var(--border);
    padding:20px; gap:16px;
  }
  .nav-links.open { display:flex; }
  .nav-hamburger { display:flex; }
  .sw-wrap { padding:0 20px; }
  .sw-section { padding:72px 0; }
  .hero-inner { grid-template-columns:1fr; gap:44px; }
  .stat-card { display:grid; grid-template-columns:1fr 1fr; }
  .stat-row { border-bottom:none; border-right:1px solid rgba(255,255,255,.08); padding:14px; }
  .stat-row:nth-child(2n) { border-right:none; }
  .svc-grid { grid-template-columns:1fr; }
  .case-card { grid-template-columns:1fr; gap:20px; }
  .case-nums { justify-content:flex-start; }
  .exp-item { grid-template-columns:1fr; gap:8px; }
  .tools-grid { grid-template-columns:1fr 1fr; }
  .opportunity-inner { grid-template-columns:1fr; gap:48px; }
  .footer-bottom-grid { grid-template-columns:1fr; gap:36px; }
  .footer-links-grid { grid-template-columns:1fr 1fr; }
  .section-cta { flex-direction:column; align-items:flex-start; }
  .portfolio-banner { flex-direction:column; align-items:flex-start; }
  .brand-logo-tile { width:120px; height:52px; }
}
@media(max-width:560px) {
  .tools-grid { grid-template-columns:1fr; }
  .footer-links-grid { grid-template-columns:1fr; }
  .hero-actions { flex-direction:column; }
  .social-links { flex-direction:column; }
  .brand-logo-tile { width:110px; }
}
