:root {
  --ink: #14141a;
  --ink-soft: #2a2a35;
  --cream: #f8f6f2;
  --cream-dark: #ebe7df;
  --accent: #d94f3d;
  --accent-dark: #b83d2d;
  --gold: #c4a35a;
  --text: #2c2c34;
  --muted: #6b6b78;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(20, 20, 26, 0.1);
  --radius: 10px;
  --max: 1180px;
  --header-h: 76px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }

.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 246, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img { height: 52px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  transition: color 150ms, background 150ms;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--accent);
  background: rgba(217, 79, 61, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
  padding: 0.45rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
  overflow-y: auto;
}

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

.nav-mobile a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-mobile a:hover { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.7em 1.4em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 150ms, background 150ms;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--cream);
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  padding: 5rem 1.25rem 6rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(20, 20, 26, 0.88) 0%, rgba(20, 20, 26, 0.55) 55%, rgba(217, 79, 61, 0.35) 100%),
    url("../assets/hero-work.jpg") center / cover no-repeat;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

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

.hero-logo-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(6px);
}

.hero-logo-card img {
  width: min(220px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

/* Sections */
.section {
  padding: 4.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
}

.section-white { background: var(--white); }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-dark .section-label { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-dark .section-title { color: var(--white); }

.section-lead {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

/* About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 150ms;
}

.service-card:hover { transform: translateY(-4px); }

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

.service-card-body {
  padding: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

.service-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.work-card {
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.work-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.work-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.work-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Owner */
.owner-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.owner-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.owner-grid h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.owner-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.owner-grid p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

/* Contact strip */
.contact-strip {
  text-align: center;
  background: linear-gradient(135deg, var(--ink-soft) 0%, var(--ink) 100%);
  color: var(--white);
}

.contact-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.contact-strip p { opacity: 0.88; margin-bottom: 1.5rem; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.contact-links a:hover { color: var(--gold); }

/* Page hero */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 3.5rem 1.25rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}

/* Forms */
.form-section {
  padding: 3rem 1.25rem 4.5rem;
}

.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

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

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

.form-success,
.form-error {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.form-success {
  background: #e8f5e9;
  color: #2e7d32;
}

.form-error {
  background: #fdecea;
  color: #c62828;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-nav h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-nav ul { list-style: none; }

.footer-nav li { margin-bottom: 0.35rem; }

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  opacity: 0.65;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner,
  .split,
  .owner-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .service-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 1.25rem 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .service-card:hover { transform: none; }
}