/* === WEBSITES SECTION: BRUTALIST TERMINAL === */
/* Matches home.css dark aesthetic - dark, dense, unapologetic */

body.work-websites {
  --websites-accent: var(--green);
  --websites-bg: #0a0a0a;
  --websites-surface: #111111;
  --websites-text: #e8e8e8;
  --websites-muted: #888888;
  --websites-dim: #333333;
  font-family: var(--font-mono);
  background: var(--websites-bg);
  color: var(--websites-text);
}

/* Override base colors for dark mode */
body.work-websites main {
  background: var(--websites-bg);
}

body.work-websites .container {
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

/* Scanline overlay */
body.work-websites::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 1000;
}

/* Noise texture */
body.work-websites::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 999;
}

/* === ANIMATIONS === */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes terminalBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* === GALLERY HERO === */
.gallery-hero {
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(2rem, 6vw, 4rem);
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--websites-dim);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(3rem, 8vw, 5rem);
  align-items: start;
}

.hero-text {
  max-width: 580px;
}

/* Atelier mark becomes terminal marker */
.atelier-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.mark-line {
  width: 8px;
  height: 8px;
  background: var(--websites-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--websites-accent);
}

.mark-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--websites-muted);
  font-style: normal;
}

.gallery-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: var(--websites-text);
  text-transform: uppercase;
  opacity: 0;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.gallery-hero h1 em {
  font-style: normal;
  color: var(--websites-accent);
}

.hero-intro {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--websites-muted);
  margin: 0 0 2rem;
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.35s;
}

.hero-intro::before {
  content: '> ';
  color: var(--websites-accent);
}

/* Hero Stats - Terminal Style */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--font-mono);
  border: 1px solid var(--websites-dim);
  background: var(--websites-surface);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--websites-dim);
  position: relative;
  transition: background 0.15s ease;
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.stat-item:hover::before {
  background: var(--websites-accent);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--websites-text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--websites-muted);
  line-height: 1.4;
}

.stat-label::before {
  content: '// ';
  color: var(--websites-muted);
}

/* Hero Showcase - Terminal Browser Frame */
.hero-showcase {
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
  position: relative;
}

.browser-frame {
  background: var(--websites-surface);
  border: 1px solid var(--websites-dim);
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  transition: border-color 0.15s ease;
}

.browser-frame:hover {
  border-color: var(--websites-accent);
}

.browser-bar {
  background: var(--websites-bg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--websites-dim);
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--websites-dim);
}

.browser-dot:first-child { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }

.browser-url {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--websites-muted);
  background: var(--websites-surface);
  padding: 4px 10px;
  border: 1px solid var(--websites-dim);
}

.browser-content {
  aspect-ratio: 16/10;
  background: var(--websites-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.content-mockup {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-header {
  height: 10px;
  width: 40%;
  background: var(--websites-accent);
  opacity: 0;
  animation: mockupReveal 0.4s ease forwards;
  animation-delay: 0.9s;
}

@keyframes mockupReveal {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 0.8;
    transform: translateX(0);
  }
}

.mockup-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-line {
  height: 6px;
  background: var(--websites-dim);
  opacity: 0;
  animation: mockupReveal 0.4s ease forwards;
}

.mockup-line:nth-child(1) { width: 100%; animation-delay: 1.0s; }
.mockup-line:nth-child(2) { width: 90%; animation-delay: 1.1s; }
.mockup-line:nth-child(3) { width: 75%; animation-delay: 1.2s; }

.mockup-cta {
  width: 100px;
  height: 24px;
  background: var(--websites-text);
  margin-top: 8px;
  opacity: 0;
  animation: mockupReveal 0.4s ease forwards;
  animation-delay: 1.3s;
}

.showcase-accent {
  display: none;
}

/* === AWARDS BANNER - LOG STYLE === */
.awards-banner {
  background: var(--websites-surface);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--websites-dim);
  border-top: none;
  font-family: var(--font-mono);
  position: relative;
  z-index: 1;
}

.award-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--websites-dim);
  transition: background 0.15s ease;
  position: relative;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.award-badge:last-child {
  border-bottom: none;
}

.award-badge:nth-child(1) { animation-delay: 0.6s; }
.award-badge:nth-child(2) { animation-delay: 0.7s; }
.award-badge:nth-child(3) { animation-delay: 0.8s; }

.award-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
}

.award-badge:hover {
  background: rgba(255, 255, 255, 0.02);
}

.award-badge:hover::before {
  background: var(--websites-accent);
}

.award-icon {
  color: var(--websites-accent);
  flex-shrink: 0;
}

.award-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.award-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.award-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--websites-text);
}

.award-category {
  font-size: 0.75rem;
  color: var(--websites-muted);
}

.award-category::before {
  content: '// ';
  color: var(--websites-muted);
}

/* === SECTION HEADERS === */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

.section-header::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--websites-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--websites-accent);
}

.section-header h2 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--websites-muted);
  margin: 0;
}

body.work-websites h2::after {
  display: none;
}

.section-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--websites-accent);
  letter-spacing: 0.1em;
  margin-left: auto;
}

.section-count::before {
  content: '[ ';
  color: var(--websites-muted);
}

.section-count::after {
  content: ' ]';
  color: var(--websites-muted);
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--websites-dim);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--websites-dim);
  border: 1px solid var(--websites-dim);
}

.portfolio-item {
  background: var(--websites-surface);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
  z-index: 10;
}

.portfolio-item:hover::before {
  background: var(--websites-accent);
}

.portfolio-item:hover {
  transform: none;
  box-shadow: none;
  z-index: 5;
}

.portfolio-item.large {
  grid-column: span 7;
}

.portfolio-item.medium {
  grid-column: span 5;
}

.portfolio-item.small {
  grid-column: span 4;
}

.item-visual {
  aspect-ratio: 16/10;
  background-color: var(--websites-bg);
  background-size: cover;
  background-position: center top;
  position: relative;
  overflow: hidden;
}

/* Terminal frame overlay on images */
.item-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    transparent 30%,
    transparent 70%,
    rgba(10, 10, 10, 0.5) 100%
  );
  z-index: 1;
}

.item-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 4px
  );
  z-index: 2;
  pointer-events: none;
}

.portfolio-item:hover .item-visual::before {
  background: linear-gradient(
    180deg,
    rgba(4, 113, 1, 0.2) 0%,
    transparent 30%,
    transparent 70%,
    rgba(10, 10, 10, 0.6) 100%
  );
}

.item-type {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--websites-accent);
  background: var(--websites-bg);
  padding: 4px 8px;
  border: 1px solid var(--websites-dim);
  border-radius: 0;
  z-index: 5;
}

.item-type::before {
  content: '> ';
  color: var(--websites-muted);
}

.item-info {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--websites-dim);
}

.item-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--websites-text);
  margin-bottom: 0.35rem;
}

.item-desc {
  font-size: 0.8rem;
  color: var(--websites-muted);
  line-height: 1.5;
}

/* === CAPABILITIES SECTION === */
.capabilities-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--websites-dim);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.7s;
}

.capability-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  font-family: var(--font-mono);
  border: 1px solid var(--websites-dim);
  background: var(--websites-surface);
}

.capability-column {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--websites-dim);
  border-top: none;
  transition: background 0.15s ease;
  position: relative;
}

.capability-column:last-child {
  border-right: none;
}

.capability-column::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
}

.capability-column:hover {
  background: rgba(255, 255, 255, 0.02);
}

.capability-column:hover::before {
  background: var(--websites-accent);
}

.cap-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--websites-accent);
  margin-bottom: 0.75rem;
}

.cap-number::before {
  content: '// ';
  color: var(--websites-muted);
}

.capability-column h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--websites-text);
  margin-bottom: 0.5rem;
}

.capability-column p {
  font-size: 0.8rem;
  color: var(--websites-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cap-list li {
  font-size: 0.75rem;
  color: var(--websites-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--websites-dim);
  transition: color 0.15s ease;
}

.cap-list li:last-child {
  border-bottom: none;
}

.cap-list li::before {
  content: '- ';
  color: var(--websites-muted);
}

.cap-list li:hover {
  color: var(--websites-text);
}

/* === PROCESS SECTION - LOG STYLE === */
.process-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--websites-bg);
  margin: 0;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--websites-dim);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.8s;
}

.process-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--font-mono);
  border: 1px solid var(--websites-dim);
  background: var(--websites-surface);
}

.process-flow::before {
  display: none;
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--websites-dim);
  text-align: left;
  max-width: none;
  transition: background 0.15s ease;
  position: relative;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.02);
}

.process-step:hover::before {
  background: var(--websites-accent);
}

.step-marker {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--websites-muted);
  padding-top: 0.15rem;
  transition: color 0.15s ease;
}

.step-marker::before {
  content: '0';
}

.process-step:hover .step-marker {
  color: var(--websites-accent);
  background: transparent;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.step-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--websites-text);
  margin-bottom: 0;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--websites-muted);
  line-height: 1.5;
}

/* === SERVICES SECTION - NUMBERED TERMINAL MODULES === */
.services-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--websites-dim);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.9s;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--font-mono);
  border: 1px solid var(--websites-dim);
  background: var(--websites-surface);
}

.service-row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--websites-dim);
  align-items: baseline;
  transition: background 0.15s ease;
  position: relative;
  margin: 0;
}

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

.service-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
}

.service-row:hover {
  background: rgba(255, 255, 255, 0.02);
  margin: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.service-row:hover::before {
  background: var(--websites-accent);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--websites-muted);
  transition: color 0.15s ease;
}

.service-row:hover .service-num {
  color: var(--websites-accent);
}

.service-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--websites-text);
}

.service-desc {
  font-size: 0.85rem;
  color: var(--websites-muted);
  line-height: 1.5;
}

/* === TOOLKIT SECTION - TAG DISPLAY === */
.toolkit-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--websites-dim);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.0s;
}

.toolkit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.toolkit-tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--websites-muted);
  white-space: nowrap;
  text-transform: lowercase;
  transition: color 0.15s ease;
}

.toolkit-tags span::before {
  content: '#';
  color: var(--websites-muted);
}

.toolkit-tags span:hover {
  color: var(--websites-text);
}

/* === PROOF SECTION - TERMINAL NOTE STYLE === */
.proof-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--websites-dim);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.1s;
}

.proof-marker {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--websites-accent);
  line-height: 1.7;
  flex-shrink: 0;
}

.proof-content {
  flex: 1;
  max-width: 600px;
  background: var(--websites-surface);
  border: 1px solid var(--websites-dim);
  border-left: 3px solid var(--websites-accent);
  padding: 1.25rem 1.5rem;
}

.proof-content h2 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--websites-text);
  margin-bottom: 0.75rem;
}

.proof-content p {
  font-size: 0.85rem;
  color: var(--websites-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.proof-content p:last-child {
  margin-bottom: 0;
}

/* === CTA SECTION - TERMINAL BOX === */
.web-cta {
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.2s;
}

.web-cta .cta-inner {
  position: relative;
  max-width: 600px;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: var(--websites-surface);
  border: 1px solid var(--websites-dim);
  border-left: 3px solid var(--websites-accent);
}

.web-cta h2 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--websites-text);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.web-cta p {
  font-size: 0.9rem;
  color: var(--websites-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.web-cta .cta-btn,
.web-cta button.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--websites-text);
  color: var(--websites-bg);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.web-cta .cta-btn:hover,
.web-cta button.cta-btn:hover {
  background: var(--websites-accent);
  text-decoration: none;
}

/* === RESPONSIVE === */
@media (max-width: 1000px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-showcase {
    justify-content: flex-start;
  }

  .browser-frame {
    max-width: none;
  }

  .portfolio-item.large,
  .portfolio-item.medium {
    grid-column: span 6;
  }

  .portfolio-item.small {
    grid-column: span 6;
  }

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

  .capability-column {
    border-bottom: 1px solid var(--websites-dim);
  }

  .capability-column:nth-child(2n) {
    border-right: none;
  }

  .capability-column:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .gallery-hero {
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  }

  .gallery-hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 0;
  }

  .stat-item {
    flex-direction: row;
    justify-content: flex-start;
  }

  .portfolio-item.large,
  .portfolio-item.medium,
  .portfolio-item.small {
    grid-column: span 12;
  }

  .capability-columns {
    grid-template-columns: 1fr;
  }

  .capability-column {
    border-right: none;
    border-bottom: 1px solid var(--websites-dim);
  }

  .capability-column:last-child {
    border-bottom: none;
  }

  .process-step {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .service-num {
    margin-bottom: 0.25rem;
  }

  .proof-section {
    flex-direction: column;
    gap: 0;
  }

  .proof-marker {
    display: none;
  }
}

@media (max-width: 600px) {
  .awards-banner {
    flex-direction: column;
    gap: 0;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .step-marker {
    font-size: 0.65rem;
  }

  .web-cta {
    padding: clamp(2rem, 6vw, 3rem) 0;
  }
}

@media (max-width: 500px) {
  .gallery-hero {
    padding: 4rem 0 1.5rem;
  }

  .gallery-hero h1 {
    font-size: 2rem;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

/* === UNIVERSAL TEXT-DECORATION: NONE FOR ALL LINKS === */
body.work-websites a,
body.work-websites a:hover,
body.work-websites a:focus,
body.work-websites a:active,
body.work-websites button {
  text-decoration: none;
}
