:root {
  --ink: #0a0b0c;
  --surface: #15171a;
  --surface-soft: #24272b;
  --ivory: #f4f3ef;
  --muted: #8a8f96;
  --gold: #b9965a;
  --gold-light: #d4b078;
  --gold-deep: #735b34;
  --border: color-mix(in srgb, var(--ivory) 12%, transparent);
  --max: 1120px;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover { text-decoration: underline; text-underline-offset: 4px; }

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  padding: .85rem 1.4rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 0.35rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.button:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  text-decoration: none;
}

.button-secondary {
  background: transparent;
  color: var(--ivory);
  border-color: var(--border);
}

.button-secondary:hover {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Hero */
.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: 6rem;
}

.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: var(--ivory);
}

.hero-subhead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-credit {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.hero-policy {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  opacity: 0.8;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: min(100%, 560px);
  border-radius: 0.5rem;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.15),
    0 24px 60px rgba(0,0,0,0.45);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Page hero (secondary pages) */
.page-hero {
  padding-block: 6rem 5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.page-hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: var(--ivory);
}

.page-hero-subhead {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
  line-height: 1.55;
}

.page-hero-media {
  display: flex;
  justify-content: center;
}

.page-hero-image {
  width: min(100%, 560px);
  border-radius: 0.5rem;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.15),
    0 24px 60px rgba(0,0,0,0.45);
}

/* About content */
.about-content {
  padding-block: 5rem;
  background: var(--ink);
}

.about-content h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 2.5rem;
  color: var(--ivory);
}

.about-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.about-details {
  display: grid;
  gap: 1.25rem;
}

.about-detail-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-detail-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.3),
    0 0 0 1px var(--gold);
}

.about-detail-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--gold);
}

.about-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Privacy content */
.privacy-content {
  padding-block: 5rem;
  background: var(--ink);
}

.privacy-content h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 2rem;
  color: var(--ivory);
}

.privacy-content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 70ch;
  margin: 0 0 1.25rem;
}

/* Consultation section with image */
.consultation-section {
  padding-block: 5rem;
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 100%);
}

.consultation-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.consultation-copy h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--ivory);
}

.consultation-lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 56ch;
}

.consultation-media {
  display: flex;
  justify-content: center;
}

.consultation-image {
  width: min(100%, 560px);
  border-radius: 0.5rem;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.15),
    0 24px 60px rgba(0,0,0,0.45);
}

@media (min-width: 768px) {
  .page-hero-inner {
    grid-template-columns: 1fr 1fr;
  }
  .consultation-inner {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Services */
.services {
  padding-block: 5rem;
  background: var(--ink);
}

.services h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 2.5rem;
  color: var(--ivory);
}

.service-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.35),
    0 0 0 1px var(--gold);
  border-color: var(--gold);
}

.service-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--ivory);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Process */
.process {
  padding-block: 5rem;
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 100%);
}

.process h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 2.5rem;
  color: var(--ivory);
}

.process-list {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-item {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: rgba(10,11,12,0.5);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.process-item h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  color: var(--ivory);
}

.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Credibility */
.credibility {
  padding-block: 5rem;
  background: var(--ink);
}

.credibility h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 2.5rem;
  color: var(--ivory);
}

.credibility-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  color: var(--muted);
}

.credibility-list li {
  min-width: 220px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  color: var(--ivory);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.credibility-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.supplier-disclosure {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 70ch;
  margin: 0;
  line-height: 1.6;
}

/* Contact */
.contact {
  padding-block: 5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.contact h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: var(--ivory);
}

.contact-privacy-note {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 70ch;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 640px;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ivory);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--ink);
  color: var(--ivory);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 150, 90, 0.15);
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.contact-fallback-note {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-status {
  margin: 0.75rem 0 0;
  color: var(--gold);
  font-size: 0.95rem;
}

.contact-status[hidden] {
  display: none;
}

/* Review carousel */
.review-carousel {
  padding-block: 5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.review-carousel-controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.review-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.review-card,
.project-card {
  flex: 0 0 85vw;
  scroll-snap-align: start;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink) 100%);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .review-card,
  .project-card {
    flex: 0 0 400px;
  }
}

.review-card blockquote {
  margin: 0 0 1.25rem;
  color: var(--ivory);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 400;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.review-source {
  color: var(--gold);
  text-decoration: none;
}

.review-source:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-media img {
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.project-disclosure {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.review-carousel-status {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Projects & Reviews page */
.projects-reviews-page {
  padding-block: 5rem;
}

.projects-reviews-page h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.aggregate {
  color: var(--muted);
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

.project-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 4rem;
}

.review-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.review-list-item blockquote {
  margin: 0 0 0.75rem;
  color: var(--ivory);
  font-size: 1.1rem;
  line-height: 1.6;
}

.review-list-item footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Header / Footer */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(10,11,12,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}

.logo {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo:hover {
  color: var(--gold);
  text-decoration: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--ivory);
}

.nav-cta {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.menu-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory);
  border-radius: 1px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding-block: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ivory);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.footer-contact p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.footer-contact a {
  color: var(--ivory);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 767px) {
  .menu-toggle {
    display: flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.75rem;
  }

  .primary-nav.open {
    display: flex;
  }

  .hero-inner {
    padding-block: 4rem;
    gap: 2.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .page-hero {
    padding-block: 4rem 3rem;
  }
}
