/* === work.css — /work portfolio page styles === */
:root {
  --bg: #F8F5F0;
  --bg-alt: #EEE9E0;
  --navy: #0C1B2E;
  --navy-mid: #1A2D45;
  --amber: #E8A838;
  --text: #1A1A2E;
  --text-muted: #6B6B7B;
  --white: #FFFFFF;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

/* === NAV === */
.work-nav {
  background: var(--navy);
  padding: 0 60px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.work-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.work-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.work-logo-accent {
  color: var(--amber);
}

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

.work-nav-link {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}

.work-nav-link:hover,
.work-nav-link--active {
  color: var(--white);
}

.work-nav-cta {
  background: var(--amber);
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 5px;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
}

.work-nav-cta:hover {
  background: #D4942A;
  transform: translateY(-1px);
}

/* === PAGE HEADER === */
.work-header {
  background: var(--navy);
  padding: 72px 60px 80px;
  text-align: center;
}

.work-container {
  max-width: 1200px;
  margin: 0 auto;
}

.work-pill {
  display: inline-block;
  background: rgba(232, 168, 56, 0.15);
  border: 1px solid rgba(232, 168, 56, 0.35);
  color: var(--amber);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.work-headline {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.work-subhead {
  font-size: 17px;
  color: rgba(255,255,255,0.62);
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
}

/* === DEMO GRID === */
.work-grid-section {
  padding: 72px 60px 80px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* === CARD === */
.work-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #E2DDD5;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.work-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.12);
}

/* Card browser chrome */
.work-card-preview {
  border-bottom: 1px solid #E2DDD5;
  overflow: hidden;
}

.work-card-browser-bar {
  background: #F0EDE8;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #E0DBD3;
}

.work-card-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.work-card-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.work-card-dots span:nth-child(1) { background: #FF5F57; }
.work-card-dots span:nth-child(2) { background: #FFBD2E; }
.work-card-dots span:nth-child(3) { background: #28C840; }

.work-card-url {
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
  font-size: 10px;
  color: #888;
  padding: 2px 9px;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* Card screen previews */
.work-card-screen {
  padding: 24px 24px 0;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Trades — navy bg */
.work-card-screen--trades {
  background: linear-gradient(135deg, #0C1B2E 0%, #1A2D45 100%);
}

/* Restaurant — warm navy */
.work-card-screen--restaurant {
  background: linear-gradient(135deg, #1C1408 0%, #2E1F0A 100%);
}

/* Eats — terracotta/green */
.work-card-screen--eats {
  background: linear-gradient(135deg, #2C1A0E 0%, #3B2514 100%);
}

/* Ink — deep charcoal */
.work-card-screen--ink {
  background: linear-gradient(135deg, #111111 0%, #1C1C1C 100%);
}

/* Salon — warm cream/dusty rose */
.work-card-screen--salon {
  background: linear-gradient(135deg, #3D2A1E 0%, #5C3D2E 100%);
}

/* Eyebrows */
.work-card-mockup-eyebrow {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

.work-card-mockup-eyebrow--orange { color: #F97316; }
.work-card-mockup-eyebrow--amber  { color: #E8A838; }
.work-card-mockup-eyebrow--terra  { color: #D4724A; }
.work-card-mockup-eyebrow--gold   { color: #C8A84B; }
.work-card-mockup-eyebrow--rose   { color: #C9A0A0; }

/* Titles */
.work-card-mockup-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.work-card-mockup-title--light { color: var(--white); }

/* Subtitles */
.work-card-mockup-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}

.work-card-mockup-sub--cream { color: rgba(255,245,230,0.7); }
.work-card-mockup-sub--light { color: rgba(255,255,255,0.6); }

/* Mockup buttons */
.work-card-mockup-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.work-card-btn {
  font-size: 10px;
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: default;
}

.work-card-btn--orange        { background: #F97316; color: #fff; }
.work-card-btn--outline       { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.work-card-btn--amber         { background: #E8A838; color: #1C1408; }
.work-card-btn--outline-amber { border: 1px solid rgba(232,168,56,0.5); color: #E8A838; }
.work-card-btn--terra         { background: #D4724A; color: #fff; }
.work-card-btn--outline-cream { border: 1px solid rgba(255,245,230,0.4); color: rgba(255,245,230,0.85); }
.work-card-btn--gold          { background: #C8A84B; color: #111; }
.work-card-btn--outline-gold  { border: 1px solid rgba(200,168,75,0.5); color: #C8A84B; }
.work-card-btn--rose          { background: #C27D7D; color: #fff; }
.work-card-btn--outline-rose  { border: 1px solid rgba(194,125,125,0.5); color: #C27D7D; }

/* Bottom strip */
.work-card-mockup-strip {
  margin-top: auto;
  display: flex;
  align-items: center;
  padding: 12px 0 16px;
  gap: 0;
}

.work-card-strip-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: center;
}

.work-card-strip-stat strong {
  font-size: 10px;
  color: var(--white);
  font-weight: 600;
}

.work-card-strip-stat span {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
}

/* Colored stat variants */
.work-card-strip-stat--green strong { color: #C8E6C9; }
.work-card-strip-stat--green span   { color: rgba(200,230,201,0.65); }
.work-card-strip-stat--dark strong  { color: rgba(255,255,255,0.9); }
.work-card-strip-stat--dark span    { color: rgba(255,255,255,0.45); }

.work-card-strip-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  margin: 0 8px;
}

.work-card-strip-divider--green { background: rgba(200,230,201,0.2); }
.work-card-strip-divider--dark  { background: rgba(255,255,255,0.08); }

/* Strip backgrounds */
.work-card-strip--navy       { background: rgba(255,255,255,0.03); border-radius: 0 0 0 0; }
.work-card-strip--restaurant { background: rgba(255,255,255,0.04); }
.work-card-strip--green      { background: rgba(30,50,35,0.6); }
.work-card-strip--dark       { background: rgba(255,255,255,0.03); }
.work-card-strip--salon      { background: rgba(255,255,255,0.04); }

/* Card body */
.work-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Industry badges */
.work-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}

.work-card-badge--trades     { background: #E3EEF8; color: #0C4A8A; }
.work-card-badge--restaurant { background: #FDF3E0; color: #7A4800; }
.work-card-badge--eats       { background: #FBE9E2; color: #8B3D20; }
.work-card-badge--ink        { background: #1C1C1C; color: #C8A84B; border: 1px solid #333; }
.work-card-badge--salon      { background: #FAF0F0; color: #8B4040; }

.work-card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.work-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.work-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s;
}

.work-card-link:hover {
  color: var(--amber);
}

/* === CTA BAND === */
.work-cta-band {
  background: var(--navy);
  padding: 72px 60px;
  text-align: center;
}

.work-cta-headline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.work-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  font-weight: 300;
}

.work-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.work-cta-btn {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
}

.work-cta-btn:hover {
  background: #D4942A;
  transform: translateY(-1px);
}

.work-cta-secondary {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}

.work-cta-secondary:hover {
  color: rgba(255,255,255,0.85);
}

/* Footer inherited from theme */
.footer {
  background: var(--navy-mid);
  padding: 32px 60px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

.footer-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.stripe-badge {
  width: 36px;
  height: auto;
  opacity: 0.5;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--amber);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .work-nav { padding: 0 24px; }

  .work-header {
    padding: 52px 24px 60px;
  }

  .work-grid-section { padding: 48px 24px 60px; }
  .work-container { padding: 0; }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .work-cta-band { padding: 56px 24px; }

  .footer {
    padding: 32px 24px;
    flex-direction: column;
    gap: 20px;
  }

  .footer-right { text-align: left; }
}

@media (max-width: 600px) {
  .work-nav-links {
    gap: 16px;
  }

  .work-nav-link { display: none; }
  .work-nav-link--active { display: inline; }

  .work-headline { font-size: 30px; }

  .work-card-mockup-title { font-size: 18px; }

  .work-cta-actions { flex-direction: column; gap: 16px; }
}
