/* ===========================================================
   Phoenix Woodrow — Website Redesign Services
   Design tokens
   =========================================================== */
:root {
  --bg: #000000;
  --surface: #0d0d0d;
  --surface-2: #161616;
  --border: #2c2c2c;
  --text: #ffffff;
  --text-muted: #9a9a9a;
  --text-faint: #6b6b6b;
  --accent: #d4af37;
  --accent-hover: #e8c766;
  --accent-soft: rgba(212, 175, 55, 0.14);
  --accent-dim: #a3831f;
  --gold-gradient: linear-gradient(90deg, #bf953f, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);

  --font-display: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius-sm: 0px;
  --radius: 0px;
  --radius-lg: 0px;

  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body::-webkit-scrollbar {
  display: none;
}

html {
  scroll-behavior: smooth;
}

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

main,
.site-footer {
  animation: pageFadeIn 0.6s ease both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

main.page-fade-out,
.site-footer.page-fade-out {
  opacity: 0 !important;
  transition: opacity 0.35s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===========================================================
   404 page
   =========================================================== */
.notfound {
  min-height: calc(100vh - 76px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.notfound-inner {
  text-align: center;
  max-width: 520px;
}

.notfound-code {
  font-size: clamp(90px, 18vw, 160px);
  line-height: 1;
  margin: 18px 0 8px;
}

.notfound-inner h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 14px;
}

.notfound-inner p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 32px;
}

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #000000;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

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

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

/* ===========================================================
   Cross-document view transitions — keeps the header static
   across page navigations in supporting browsers (Chrome/Edge).
   No-op elsewhere; the JS fade below still covers all browsers.
   =========================================================== */
@view-transition {
  navigation: auto;
}

/* ===========================================================
   Nav
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 15, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  view-transition-name: site-header;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: var(--gold-gradient);
  z-index: 101;
  transition: width 0.08s linear;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

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

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 0px solid var(--border);
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.22s ease,
              padding 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-panel a {
  padding: 12px 4px;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease;
}

.mobile-panel a:hover {
  color: var(--text);
}

.mobile-panel.open {
  max-height: 480px;
  opacity: 1;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  padding: 76px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.star-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.2s linear;
}

@media (max-width: 780px) {
  .star-field {
    height: 380px;
    opacity: 0.6;
  }
}

.hero-top {
  max-width: 720px;
  margin-bottom: 44px;
}

.hero-top h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.04;
  margin: 18px 0 20px;
}

.hero-top .accent-word {
  color: var(--accent);
}

.hero-top p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- compare / before-after signature element ---- */
.compare-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 10px;
}

.compare-caption {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 10px 8px 14px;
}

.compare {
  position: relative;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.compare-pane {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

.compare-after {
  left: 50%;
  right: 0;
  background: #ffffff;
}

.compare-before {
  left: 0;
  width: 50%;
  border-right: 2px solid #000000;
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  z-index: 5;
  touch-action: none;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-grip {
  width: 34px;
  height: 34px;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  transform: rotate(45deg) scale(1);
  border: 2px solid #000000;
  box-shadow: 0 0 0 1px #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.compare:hover .compare-grip {
  transform: rotate(45deg) scale(1.12);
  box-shadow: 0 0 0 1px #ffffff, 0 0 14px rgba(255, 255, 255, 0.25);
}

.compare-range:active ~ .compare-handle .compare-grip {
  transform: rotate(45deg) scale(1.22);
}

.compare-grip span {
  display: inline-block;
  transform: rotate(-45deg);
}

/* mini mockups inside the compare panes */
.mock {
  width: 100%;
  height: 100%;
  padding: 18px 22px;
}

/* ---- "before" mockup: generic default WordPress theme ---- */
.mock-before {
  padding: 0 !important;
  background: #f1f1f1;
  font-family: Georgia, "Times New Roman", serif;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #333;
}

.mock-before .mb-adminbar {
  background: #23282d;
  color: #eee;
  font-family: Arial, sans-serif;
  font-size: 10px;
  padding: 5px 12px;
  flex-shrink: 0;
}

.mock-before .mb-head {
  padding: 16px 16px 10px;
  border-bottom: 1px solid #ddd;
  background: #fff;
  flex-shrink: 0;
}

.mock-before .mb-head h5 {
  font-size: 19px;
  margin: 0 0 2px;
  color: #222;
  font-weight: 700;
}

.mock-before .mb-tagline {
  font-family: Arial, sans-serif;
  font-size: 10px;
  color: #777;
  font-style: italic;
}

.mock-before .mb-nav {
  display: flex;
  gap: 14px;
  font-family: Arial, sans-serif;
  font-size: 10.5px;
  padding: 8px 16px;
  background: #f7f7f7;
  border-bottom: 1px solid #ddd;
  flex-shrink: 0;
}

.mock-before .mb-nav span {
  color: #0073aa;
}

.mock-before .mb-body {
  display: flex;
  gap: 16px;
  padding: 14px 16px;
  flex: 1;
  overflow: hidden;
}

.mock-before .mb-main {
  flex: 2;
}

.mock-before .mb-post-title {
  font-size: 14px;
  color: #0073aa;
  margin: 0 0 4px;
}

.mock-before .mb-meta {
  font-family: Arial, sans-serif;
  font-size: 9.5px;
  color: #888;
  margin: 0 0 8px;
}

.mock-before .mb-main p {
  font-size: 11.5px;
  line-height: 1.5;
  color: #444;
  margin: 0 0 8px;
}

.mock-before .mb-readmore {
  font-family: Arial, sans-serif;
  font-size: 10px;
  color: #0073aa;
}

.mock-before .mb-side {
  flex: 1;
}

.mock-before .mb-widget {
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.mock-before .mb-widget h6 {
  font-family: Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #333;
  margin: 0 0 6px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.mock-before .mb-widget ul {
  margin: 0;
  padding: 0 0 0 14px;
  font-family: Arial, sans-serif;
  font-size: 10px;
  color: #0073aa;
}

.mock-before .mb-widget li {
  margin-bottom: 4px;
}

.mock-before .mb-footer {
  font-family: Arial, sans-serif;
  font-size: 9.5px;
  color: #999;
  text-align: center;
  padding: 8px;
  border-top: 1px solid #ddd;
  background: #f7f7f7;
  flex-shrink: 0;
}

/* ---- "after" mockup: clean light-mode redesign ---- */
.mock-after {
  padding: 0 !important;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  height: 100%;
  border-left: 1px solid #000000;
}

.mock-after .ma-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 22px;
  border-bottom: 1px solid #000000;
  flex-shrink: 0;
}

.mock-after .ma-body {
  padding: 30px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mock-after h5 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
  max-width: 280px;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #000000;
}

.mock-after p {
  font-size: 12.5px;
  color: #4d4d4d;
  max-width: 240px;
  margin: 0 0 18px;
}

.mock-after .ma-btn {
  display: inline-flex;
  width: fit-content;
  background: #000000;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 0;
}

@media (max-width: 640px) {
  .compare {
    height: 300px;
  }
  .mock {
    padding: 14px;
  }
  .mock-after h5 {
    font-size: 18px;
  }
}

/* ===========================================================
   Stats strip
   =========================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 56px 0;
}

.stat {
  background: var(--surface);
  padding: 26px 24px;
}

.stat .num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text);
}

.stat .label {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

@media (max-width: 700px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   Section shell
   =========================================================== */
.section {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 14px 0 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ===========================================================
   Services grid
   =========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
}

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

.service-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-card h3 {
  font-size: 19px;
  margin: 10px 0 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

.service-card.cta-card {
  background: var(--surface-2);
  border-color: var(--accent);
}

.service-card.cta-card p {
  margin-bottom: 20px;
}

.service-card.cta-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   Pricing page
   =========================================================== */
.pricing-hero {
  padding: 76px 0 40px;
}

.pricing-hero h1 {
  font-size: clamp(32px, 5.2vw, 48px);
  margin: 16px 0 16px;
  max-width: 680px;
}

.pricing-hero p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0;
}

.price-jump {
  position: sticky;
  top: 76px;
  z-index: 40;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.price-jump-wrap {
  position: relative;
}

.price-jump-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.price-jump-list a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 16px 14px;
  border-right: 1px solid var(--border);
  transition: color 0.15s ease, background 0.15s ease;
  text-align: center;
}

.price-jump-list a:last-child {
  border-right: none;
}

.price-jump-list a:hover {
  color: var(--text);
  background: var(--surface);
}

.price-jump-list.jump-2 {
  grid-template-columns: repeat(2, 1fr);
}

.price-jump-list a .n {
  color: var(--accent);
  margin-right: 6px;
}

@media (max-width: 700px) {
  .price-jump-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-jump-list a {
    font-size: 11.5px;
    padding: 13px 10px;
    border-bottom: 1px solid var(--border);
  }
  .price-jump-list a:nth-child(2n) {
    border-right: none;
  }
  .price-jump-list a:nth-child(5) {
    grid-column: 1 / -1;
    border-bottom: none;
  }
}

.price-section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 128px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.price-card {
  background: var(--surface);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: var(--surface-2);
  position: relative;
}

.price-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold-gradient);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 6px 12px;
}

.tier-name {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.tier-price {
  font-family: var(--font-display);
  font-size: 34px;
  margin: 12px 0 6px;
  color: var(--text);
}

.tier-price .unit {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}

.tier-for {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.price-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}

.price-features li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
}

.price-features li::before {
  content: "+";
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .pricing-hero {
    padding: 56px 0 28px;
  }
  .price-section {
    padding: 48px 0;
    scroll-margin-top: 230px;
  }
  .price-card {
    padding: 26px 22px;
  }
  .tier-price {
    font-size: 28px;
  }
  .price-jump-list a {
    padding: 14px 16px;
    font-size: 12px;
  }
}

.pricing-note {
  margin-top: 20px;
  color: var(--text-faint);
  font-size: 13px;
}

/* ===========================================================
   Case Studies page
   =========================================================== */
.case-study {
  padding: 88px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 128px;
}

.case-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.case-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 14px 0 10px;
}

.case-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.case-preview {
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  margin-bottom: 36px;
}

.case-block h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: var(--accent);
}

.case-block p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.case-testimonial {
  margin-bottom: 32px;
}

@media (max-width: 760px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
  .case-study {
    padding: 56px 0;
    scroll-margin-top: 210px;
  }
}

/* ===========================================================
   Process (numbered — real sequence)
   =========================================================== */
.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.process-step {
  background: var(--surface);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.15s ease;
}

.process-step:hover {
  background: var(--surface-2);
}

.process-step .idx {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.process-step h3 {
  font-size: 19px;
  margin: 0;
}

.process-step p {
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 420px;
  margin: 0;
}

@media (max-width: 700px) {
  .process-list {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   Recent Work
   =========================================================== */
.work-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--surface);
}

.work-preview {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.work-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.work-preview-bar span:not(.work-url) {
  width: 8px;
  height: 8px;
  background: var(--border);
  display: inline-block;
}

.work-url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}

.work-preview-body {
  flex: 1;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    var(--surface),
    var(--surface) 12px,
    var(--surface-2) 12px,
    var(--surface-2) 24px
  );
  overflow: hidden;
}

.work-preview-body a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.work-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: filter 0.2s ease;
}

.work-preview-body a:hover .work-preview-img {
  filter: brightness(1.08);
}

.work-preview-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 8px 14px;
}

.work-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.work-info .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-info h3 {
  font-size: 24px;
  margin: 10px 0 12px;
}

.work-info > p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0 0 22px;
}

.work-quote {
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

.work-quote p {
  font-size: 15px;
  color: var(--text);
  margin: 0 0 8px;
  font-style: italic;
}

.work-quote cite {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  font-style: normal;
}

.work-info .btn {
  align-self: flex-start;
  margin-top: auto;
}

.work-more {
  text-align: center;
  margin-top: 40px;
}

.work-more p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 16px;
}

@media (max-width: 860px) {
  .work-feature {
    grid-template-columns: 1fr;
  }
  .work-preview {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

/* ===========================================================
   Meta case-study banner
   =========================================================== */
.meta-case {
  background: var(--surface);
}

.meta-case-inner {
  text-align: center;
  max-width: 620px;
}

.meta-case-inner h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 14px 0 14px;
}

.meta-case-inner p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin: 0 0 22px;
}

/* ===========================================================
   Portfolio (legacy placeholder — kept for reference)
   =========================================================== */
.portfolio-placeholder {
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
  background: var(--surface);
}

.portfolio-placeholder .icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border-radius: 0;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}

.portfolio-placeholder h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.portfolio-placeholder p {
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 24px;
  font-size: 14.5px;
}

/* ===========================================================
   Contact
   =========================================================== */
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}

.contact-panel h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  margin: 14px 0 14px;
}

.contact-panel p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 420px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color 0.15s ease;
}

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

.contact-link .ico {
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  flex-shrink: 0;
}

.contact-link .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.contact-link .value {
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 780px) {
  .contact-panel {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-brand h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  max-width: 300px;
  margin: 0;
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0 0 14px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 13.5px;
  padding: 5px 0;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-faint);
  font-size: 12.5px;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

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

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ===========================================================
   About page — capability cards / focus panel
   =========================================================== */
.about-hero {
  padding-top: 76px;
  padding-bottom: 30px;
}

.about-hero h1 {
  font-size: clamp(34px, 5.4vw, 52px);
  margin: 16px 0 10px;
}

.about-hero .pill {
  margin-bottom: 18px;
}

.about-hero p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 580px;
}

.pill {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.cap-card h3 {
  font-size: 16.5px;
  margin: 12px 0 6px;
}

.cap-card p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 14px;
}

.cap-bar {
  height: 4px;
  border-radius: 0;
  background: var(--border);
  overflow: hidden;
}

.cap-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
}

.focus-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.focus-panel h3 {
  font-size: 18px;
  margin: 0 0 12px;
}

.focus-panel p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 640px;
  margin: 0;
}


