/* ============================================
   CopyBlotter - Modern Portfolio Website
   Design System & Global Styles
   ============================================ */

/* ---- CSS Variables (Design Tokens) ---- */
:root {
  --deep-navy: #0F1D32;
  --brand-navy: #1B2A4A;
  --brand-orange: #E8913A;
  --light-orange: #F5A623;
  --off-white: #F7F7F7;
  --pure-white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-light: #E2E8F0;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --container-max: 1200px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--pure-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* ---- Typography ---- */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.leading-tight { line-height: 1.2; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.6; }
.leading-relaxed { line-height: 1.75; }

/* ---- Color Utilities ---- */
.text-navy { color: var(--brand-navy); }
.text-navy-deep { color: var(--deep-navy); }
.text-orange { color: var(--brand-orange); }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-white { color: var(--pure-white); }
.text-dark { color: var(--text-dark); }

.bg-navy { background: var(--brand-navy); }
.bg-navy-deep { background: var(--deep-navy); }
.bg-orange { background: var(--brand-orange); }
.bg-light-orange { background: var(--light-orange); }
.bg-off-white { background: var(--off-white); }
.bg-white { background: var(--pure-white); }

/* ---- Layout Utilities ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-lg {
  padding: 7rem 0;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

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

.text-center { text-align: center; }
.text-left { text-align: left; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ---- Spacing ---- */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--brand-orange);
  color: var(--pure-white);
  box-shadow: 0 4px 14px rgba(232, 145, 58, 0.35);
}

.btn-primary:hover {
  background: var(--light-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 145, 58, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--pure-white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  background: rgba(232, 145, 58, 0.08);
}

.btn-navy {
  background: var(--brand-navy);
  color: var(--pure-white);
}

.btn-navy:hover {
  background: var(--deep-navy);
  transform: translateY(-2px);
}

/* ---- Cards ---- */
.card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-body {
  padding: 1.5rem;
}

/* ---- Navigation ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand-navy);
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo span {
  color: var(--brand-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-orange);
  transition: width var(--transition-base);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-navy);
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--pure-white);
  z-index: 999;
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-navy);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* ---- Footer ---- */
.footer {
  background: var(--deep-navy);
  color: var(--pure-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--brand-orange);
}

.footer-desc {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--pure-white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-orange);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--brand-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  background: url('../images/CopyBlotter_header.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 6rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 29, 50, 0.68);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--pure-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  min-height: 5rem;
}

.hero-title .cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--brand-orange);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-line {
  width: 80px;
  height: 3px;
  background: var(--brand-orange);
  margin: 0 auto 2rem;
  border-radius: 2px;
  animation: drawLine 1s ease-out forwards;
}

@keyframes drawLine {
  from { width: 0; }
  to { width: 80px; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ---- Ticker/Marquee ---- */
.ticker {
  background: var(--brand-navy);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
  margin-top: -1px;
}

.ticker-wrap {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.ticker-item svg {
  color: var(--brand-orange);
  flex-shrink: 0;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Testimonial Cards ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.testimonial-quote-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--light-orange);
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--brand-navy);
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-orange);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 145, 58, 0.1);
  border-radius: var(--radius-md);
  color: var(--brand-orange);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Process Section ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
}

.process-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Portfolio Cards ---- */
.portfolio-filter {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--off-white);
  border-radius: 100px;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-btn:hover {
  background: var(--border-light);
  color: var(--text-dark);
}

.filter-btn.active {
  background: var(--brand-orange);
  color: var(--pure-white);
  box-shadow: 0 4px 12px rgba(232, 145, 58, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-image {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--off-white);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: rgba(232, 145, 58, 0.1);
  color: var(--brand-orange);
}

.tag.placeholder {
  background: var(--off-white);
  color: var(--text-muted);
}

.portfolio-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.portfolio-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-orange);
  transition: gap var(--transition-fast);
}

.portfolio-link:hover {
  gap: 0.75rem;
}

.portfolio-link svg {
  width: 16px;
  height: 16px;
}

.coming-soon-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: var(--off-white);
  color: var(--text-muted);
  margin-top: 0.75rem;
  align-self: flex-start;
}

/* ---- Contact Page ---- */
.contact-hero {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--brand-navy) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  color: var(--pure-white);
}

.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto;
}

.contact-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.contact-path-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.contact-path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.contact-path-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 145, 58, 0.1);
  border-radius: 50%;
  color: var(--brand-orange);
}

.contact-path-icon svg {
  width: 28px;
  height: 28px;
}

.contact-path-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.contact-path-info {
  font-size: 1rem;
  color: var(--brand-orange);
  font-weight: 600;
}

.contact-path-info a {
  color: var(--brand-orange);
}

.contact-path-info a:hover {
  text-decoration: underline;
}

/* ---- Form ---- */
.form-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-input,
.form-textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--pure-white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(232, 145, 58, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  color: var(--brand-navy);
}

.form-success.active {
  display: block;
}

.form-success svg {
  width: 64px;
  height: 64px;
  color: #22c55e;
  margin-bottom: 1rem;
}

/* ---- Timeline ---- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border-light);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2rem);
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2rem);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-orange);
  border: 4px solid var(--pure-white);
  box-shadow: 0 0 0 3px var(--brand-orange);
  z-index: 2;
}

.timeline-content {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  max-width: 320px;
}

.timeline-year {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Skills Badges ---- */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.skill-badge {
  padding: 0.625rem 1.25rem;
  background: var(--pure-white);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.skill-badge:hover {
  background: var(--brand-orange);
  color: var(--pure-white);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}

/* ---- Split Section (Who I Am) ---- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image {
  position: relative;
}

.split-image img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
}

.split-content .section-label {
  text-align: left;
}

.split-content .section-title {
  text-align: left;
}

/* ---- CTA Band ---- */
.cta-band {
  background: var(--brand-navy);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 1.5rem;
}

/* ---- Office Info ---- */
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.office-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.office-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.office-info-item svg {
  flex-shrink: 0;
  color: var(--brand-orange);
  margin-top: 0.25rem;
}

.office-info-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.25rem;
}

.office-info-item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---- Privacy Policy ---- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 2rem 0 1rem;
}

.policy-content p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.policy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content ul li {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* ---- Utility Classes ---- */
.orange-line {
  width: 60px;
  height: 3px;
  background: var(--brand-orange);
  border-radius: 2px;
}

.mt-section {
  margin-top: 5rem;
}

.hidden {
  display: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-grid,
  .portfolio-grid,
  .testimonial-grid,
  .contact-paths,
  .office-grid {
    grid-template-columns: 1fr;
  }
  
  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .split-content .section-label,
  .split-content .section-title,
  .split-content .section-subtitle {
    text-align: center;
  }
  
  .timeline::before {
    left: 1rem;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 3rem;
    padding-right: 0;
    justify-content: flex-start;
  }
  
  .timeline-dot {
    left: 1rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .section,
  .section-lg {
    padding: 3rem 0;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-paths {
    margin-top: -2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .service-card,
  .contact-path-card {
    padding: 1.5rem;
  }
}

/* ---- Portfolio card hidden state for filtering ---- */
.portfolio-card.hidden-card {
  display: none;
}

/* Smooth page transitions */
.page-content {
  animation: pageFadeIn 0.4s ease;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
