:root {
  --ink: #171614;
  --paper: #EFE9DE;
  --paper-warm: #E6DECE;
  --oak: #8A5A2B;
  --oak-deep: #6B4520;
  --steel: #4E5A63;
  --safety: #C99A2E;
  --line: rgba(23, 22, 20, 0.14);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--oak-deep);
  outline-offset: 2px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oak-deep);
  margin: 0 0 10px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(239, 233, 222, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark { color: var(--oak-deep); flex-shrink: 0; }

.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}

.logo-word.small { font-size: 1.05rem; color: var(--paper); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 500;
}

.site-nav a:not(.btn) { text-decoration: none; color: var(--steel); }
.site-nav a:not(.btn):hover { color: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--oak-deep); }

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(23,22,20,0.06); }

.btn-small { padding: 9px 18px; font-size: 0.86rem; }

.btn-full { width: 100%; }

/* ---------- Tape divider (signature element) ---------- */

.tape-divider {
  height: 26px;
  margin: 0;
  background-image:
    repeating-linear-gradient(
      to right,
      var(--ink) 0, var(--ink) 1.5px,
      transparent 1.5px, transparent 24px
    );
  background-size: 24px 100%;
  background-position: 0 bottom;
  background-repeat: repeat-x;
  position: relative;
  opacity: 0.55;
}

.tape-divider::before {
  content: "0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20";
  position: absolute;
  inset: 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--steel);
  letter-spacing: 2.06em;
  display: flex;
  align-items: flex-start;
  padding-left: 30px;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0.7;
}

/* ---------- Hero ---------- */

.hero { padding: 88px 0 0; }

.hero-inner { max-width: 760px; }

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  line-height: 1.04;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--steel);
  max-width: 560px;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ---------- Services ---------- */

.services { padding: 64px 0 0; }

.services h2, .gallery h2, .about h2, .contact h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 56px;
}

.service-card {
  background: var(--paper);
  padding: 30px 26px;
  position: relative;
}

.service-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--oak);
  display: block;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--steel);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- Gallery ---------- */

.gallery { padding: 64px 0 0; }

.section-note { color: var(--steel); margin: -20px 0 30px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}

.gallery-placeholder {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(
    45deg, var(--paper-warm), var(--paper-warm) 10px,
    var(--paper) 10px, var(--paper) 20px
  );
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel);
  border-radius: 2px;
}

/* ---------- About ---------- */

.about { padding: 64px 0 0; }

.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 56px;
}

.about-text p { color: var(--steel); margin: 16px 0 22px; max-width: 480px; }

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.about-list li { padding-left: 18px; position: relative; }
.about-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--oak);
}

.about-stat {
  background: var(--ink);
  color: var(--paper);
  padding: 40px 30px;
  border-radius: 4px;
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  color: var(--safety);
}
.stat-unit { font-size: 1.8rem; }

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--paper-warm);
  display: block;
  margin-top: 14px;
}

/* ---------- Contact ---------- */

.contact { padding: 64px 0 60px; }

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.contact-copy p { color: var(--steel); max-width: 420px; margin: 16px 0 30px; }

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
  font-size: 0.98rem;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--oak-deep);
}

.quote-form {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; }

.form-row label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel);
}

.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--oak-deep);
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--oak-deep);
  margin: 0;
  min-height: 1.2em;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); padding: 30px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-note {
  color: var(--steel);
  font-size: 0.84rem;
  font-family: var(--font-mono);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .site-nav { gap: 16px; font-size: 0.86rem; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .site-nav a:not(.btn) { display: none; }
  .tape-divider::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
