/* ===== WROUGHT WEB — BASE STYLESHEET ===== */
/* WCAG 2.1 AA compliant. Mobile-first. */

:root {
  --slate: #1e293b;
  --slate-dark: #0f172a;
  --slate-mid: #334155;
  --copper: #c2703e;
  --copper-light: #d4915f;
  --copper-dark: #a85a2a;
  --warm-white: #faf8f5;
  --off-white: #f1ede8;
  --text: #1e293b;
  --text-light: #64748b;
  --text-on-dark: #e2e8f0;
  --text-muted-on-dark: #94a3b8;
  --border: #e2ddd6;
  --border-dark: rgba(255,255,255,0.1);
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --radius: 6px;
  --max-width: 1120px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--copper); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--copper-dark); }
a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate);
}

/* ===== LAYOUT ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--slate);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--copper); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--slate); }
.nav-links a.nav-cta {
  background: var(--copper);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-links a.nav-cta:hover { background: var(--copper-dark); color: white; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--copper);
  color: white;
}
.btn-primary:hover { background: var(--copper-dark); color: white; }
.btn-secondary {
  background: transparent;
  color: var(--copper);
  border: 2px solid var(--copper);
}
.btn-secondary:hover { background: var(--copper); color: white; }
.btn-dark {
  background: var(--slate);
  color: white;
}
.btn-dark:hover { background: var(--slate-dark); color: white; }
.btn:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

/* ===== HERO ===== */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  background: var(--warm-white);
}
.hero-content {
  max-width: 680px;
}
.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--copper);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== SECTION HEADERS ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--copper);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--off-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--copper);
}
.feature-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-section {
  background: var(--slate-dark);
  color: var(--text-on-dark);
}
.pricing-section .section-label { color: var(--copper-light); }
.pricing-section .section-title { color: white; }
.pricing-section .section-desc { color: var(--text-muted-on-dark); }
.pricing-card {
  background: var(--slate);
  border-radius: var(--radius);
  padding: 3rem;
  max-width: 560px;
  margin-top: 3rem;
  border: 1px solid var(--border-dark);
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-label {
  font-size: 0.95rem;
  color: var(--text-muted-on-dark);
}
.pricing-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.pricing-value small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted-on-dark);
}
.pricing-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted-on-dark);
}

/* ===== PROCESS / STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.step {
  text-align: center;
}
.step-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--copper);
  opacity: 0.5;
  margin-bottom: 0.75rem;
}
.step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== PORTFOLIO / WORK ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.work-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.work-card:hover { box-shadow: var(--shadow-md); }
.work-card-image {
  aspect-ratio: 16/10;
  background: var(--off-white);
  overflow: hidden;
  position: relative;
}
.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card-body {
  padding: 1.75rem;
}
.work-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.work-card-body .work-type {
  font-size: 0.8rem;
  color: var(--copper);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.work-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== ABOUT / SPLIT LAYOUT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-text h2 { margin-bottom: 1.25rem; }
.split-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
}
.split-text p:last-child { margin-bottom: 0; }
.split-image {
  aspect-ratio: 4/3;
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}
.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.contact-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  stroke: var(--copper);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: -0.5rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(194,112,62,0.12);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a1a1aa;
}
.contact-form textarea { resize: vertical; min-height: 130px; }

/* ===== CHECKLIST (services page) ===== */
.checklist {
  list-style: none;
  margin-top: 1.5rem;
}
.checklist li {
  padding: 0.6rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 16px;
  height: 16px;
  background: var(--copper);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* Not-included list */
.not-included li::before {
  background: var(--text-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  font-weight: 600;
  color: var(--slate);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.comparison-table td { color: var(--text-light); }
.comparison-table .highlight-col {
  background: rgba(194,112,62,0.06);
  color: var(--text);
  font-weight: 500;
}
.comparison-table thead th.highlight-col {
  color: var(--copper);
}

/* ===== DARK SECTION ===== */
.dark-section {
  background: var(--slate-dark);
  color: var(--text-on-dark);
}
.dark-section h2, .dark-section h3 { color: white; }
.dark-section p { color: var(--text-muted-on-dark); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--copper);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.cta-banner .btn {
  background: white;
  color: var(--copper-dark);
  font-weight: 700;
}
.cta-banner .btn:hover {
  background: var(--off-white);
  color: var(--copper-dark);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--slate-dark);
  padding: 3rem 0;
  text-align: center;
}
.footer-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-on-dark);
  margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--copper-light); }
.site-footer p {
  color: var(--text-muted-on-dark);
  font-size: 0.8rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-top: 1rem;
}
.footer-links a {
  color: var(--text-muted-on-dark);
  font-size: 0.8rem;
}
.footer-links a:hover { color: var(--copper-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: block; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero { padding-top: 7rem; padding-bottom: 4rem; }
  section { padding: 3.5rem 0; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th,
  .comparison-table td { padding: 0.7rem 0.5rem; }
}

/* ===== SKIP LINK (accessibility) ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--copper);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 200;
  font-weight: 600;
  font-size: 0.9rem;
}
.skip-link:focus {
  top: 0.5rem;
}
