:root {
  --bg: #0e0e10;
  --panel: #17171a;
  --panel-alt: #1f2025;
  --text: #f4f2eb;
  --muted: #c9c3b6;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #d9a441;
  --accent-strong: #f0bd5f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(180deg, #0b0b0d 0%, #121318 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: white;
  color: black;
  padding: 0.75rem 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 12, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #8f6624 100%);
  color: #111;
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a,
.nav-toggle {
  font: inherit;
  color: var(--text);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
}

.hero,
.section {
  padding: 5rem 0;
}

.hero-grid,
.about-grid,
.contact-grid,
.footer-wrap {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.25fr 0.85fr;
  align-items: center;
  min-height: calc(100vh - 5rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

p,
ul {
  margin-top: 0;
}

.hero-copy,
.section-heading p,
.about-grid p,
.contact-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #a87524 100%);
  color: #111;
  box-shadow: var(--shadow);
}

.button-secondary {
  border: 1px solid rgba(240, 189, 95, 0.35);
  background: rgba(255, 255, 255, 0.02);
}

.hero-points {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.hero-points li,
.note-box li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
}

.hero-points li::before,
.note-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-strong);
}

.hero-card,
.info-card,
.note-box,
.contact-card,
.placeholder-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
}

.hero-card img {
  /* Image is a 704x805 crop showing both business card faces.
     Display at full natural width; no cropping needed. */
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-copy,
.info-card,
.note-box,
.contact-card,
.placeholder-card {
  padding: 1.5rem;
}

.section-alt {
  background: rgba(255, 255, 255, 0.025);
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card p,
.placeholder-card p,
.testimonial-placeholder p {
  color: var(--muted);
}

.about-grid,
.contact-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.note-box ul {
  padding: 0;
  list-style: none;
  margin-bottom: 0;
}

.placeholders .placeholder-card span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(240, 189, 95, 0.12);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


.gallery-layout {
  display: grid;
  gap: 1.25rem;
}

.featured-work-card,
.gallery-thumb {
  color: inherit;
  text-decoration: none;
}

.featured-work-card {
  display: block;
  max-width: 58rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.featured-work-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.gallery-thumb {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(240, 189, 95, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-thumb span {
  display: block;
  padding: 0.7rem 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.testimonial-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--text);
}

.stars {
  color: var(--accent-strong);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.reviewer {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-section {
  padding-bottom: 6rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-wrap,
  .three-up,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-grid {
    min-height: auto;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 1rem;
    background: rgba(18, 19, 24, 0.98);
    border: 1px solid var(--line);
  }

  /* Touch-friendly nav links in mobile dropdown */
  .site-nav a {
    padding: 0.75rem 0.75rem;
    border-radius: 0.5rem;
    transition: background 0.15s ease;
  }

  .site-nav a:hover,
  .site-nav a:focus {
    background: rgba(255, 255, 255, 0.06);
  }

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

  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
  }

  /* Center footer text on tablet/mobile */
  .footer-wrap {
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  .hero,
  .section {
    padding: 3rem 0;
  }

  .contact-section {
    padding-bottom: 4rem;
  }

  /* FIX: base container uses calc(100% - 2rem) = 1rem each side.
     The previous override reduced this to 0.625rem — too tight.
     Keep it at 1rem each side on mobile. */
  .container {
    width: min(calc(100% - 2rem), var(--max));
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 4.8rem);
  }

  h2 {
    font-size: clamp(1.6rem, 6vw, 3rem);
  }

  /* Give hero grid a small top gap so image doesn't touch text */
  .hero-grid {
    gap: 2.5rem;
  }

  .section-heading {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero,
  .section {
    padding: 2.5rem 0;
  }

  /* Full-width buttons on very small screens */
  .hero-actions,
  .contact-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
    justify-content: center;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  /* More comfortable card padding on small screens */
  .hero-card-copy,
  .info-card,
  .note-box,
  .contact-card,
  .placeholder-card {
    padding: 1.1rem;
  }

  /* Tighten up h3 heading in cards */
  h3 {
    font-size: 1rem;
  }

  /* Nav toggle: slightly larger touch target */
  .nav-toggle {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }

  /* Reduce eyebrow letter spacing slightly on tiny screens */
  .eyebrow {
    letter-spacing: 0.1em;
  }

  /* Footer: stack and center */
  .footer-wrap p {
    text-align: center;
  }
}
