:root {
  --bg: #fbfaf7;
  --paper: #fffdf9;
  --cream: #f7f3ea;
  --ink: #24211d;
  --muted: #665f55;
  --line: #ded6c8;
  --olive: #6b713d;
  --deep: #273f45;
  --soft: #efe8dd;
  --shadow: 0 18px 45px rgba(36, 33, 29, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--deep); color: #fff; }

.container {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  display: block;
  width: auto;
  max-width: min(320px, 54vw);
  height: 54px;
  object-fit: contain;
}
.brand-title { display: block; font-weight: 700; letter-spacing: 0.01em; }
.brand-subtitle { display: block; margin-top: 2px; color: #716b63; font-size: 0.78rem; }
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 22px;
  color: #514b43;
  font-size: 0.92rem;
}
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.active { color: var(--ink); border-bottom-color: var(--olive); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 72vh;
  overflow: hidden;
  background: var(--ink);
  color: white;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36,33,29,0.93), rgba(36,33,29,0.70) 48%, rgba(36,33,29,0.20));
  z-index: -1;
}
.hero-content {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 96px 0 64px;
}
.eyebrow {
  margin: 0;
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #d8cdbd; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 0;
  max-width: 880px;
  font-size: 4.4rem;
  line-height: 1.04;
  letter-spacing: 0;
}
.hero-copy {
  margin: 26px 0 0;
  max-width: 690px;
  color: #efe8dd;
  font-size: 1.14rem;
  line-height: 1.75;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 20px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  font-size: 0.93rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); background: #3a352f; }
.btn.light { border-color: white; background: white; color: var(--ink); }
.btn.light:hover { background: var(--soft); }
.btn.outline { border-color: #b9ae9e; background: transparent; color: var(--ink); }
.btn.outline:hover { border-color: var(--ink); }
.btn.light-outline { border-color: rgba(255,255,255,0.72); background: transparent; color: white; }
.btn.light-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); padding: 32px 0; }
.credibility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.credibility-grid p { margin: 0; border-left: 1px solid #b9ae9e; padding-left: 16px; font-weight: 700; }

.section { padding: 82px 0; }
.section.paper { background: var(--paper); }
.section.cream { background: var(--cream); }
.section.deep { background: var(--deep); color: white; }
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.two-col.equal { grid-template-columns: 1fr 1fr; align-items: center; }
.section-heading { max-width: 760px; }
.section-heading h2, .page-intro h1 {
  margin: 12px 0 0;
  font-size: 2.85rem;
  line-height: 1.12;
  letter-spacing: 0;
}
.section-heading p, .page-intro p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.deep .section-heading p, .deep p { color: #d7e1dd; }
.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card, .card, .process-card, .contact-card, .feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.stat-card { padding: 24px; }
.stat-card strong { display: block; font-size: 2.05rem; letter-spacing: 0; }
.stat-card p { margin: 10px 0 0; color: var(--muted); font-size: 0.94rem; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card, .feature-card { padding: 26px; }
.card h3, .feature-card h3, .process-card h3, .reference-card h3 { margin: 0; font-size: 1.16rem; }
.card p, .feature-card p, .process-card p, .reference-card p { margin: 12px 0 0; color: var(--muted); font-size: 0.94rem; line-height: 1.75; }

.reference-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.reference-card .image-frame { aspect-ratio: 4 / 3; background: #e8dfd1; }
.reference-card img { width: 100%; height: 100%; object-fit: cover; }
.reference-card figcaption { padding: 22px; }

.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { margin: 14px 0 0; max-width: 760px; font-size: 2.35rem; line-height: 1.15; }

.page-intro { padding: 72px 0; background: var(--cream); }
.page-intro p { max-width: 780px; font-size: 1.13rem; }
.photo-intro { padding: 54px 0; }
.process-card { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 26px; align-items: start; }
.process-number { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 10px; background: var(--deep); color: white; font-weight: 800; font-size: 1.18rem; }
.highlight-box { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 34px; box-shadow: var(--shadow); }
.highlight-number { display: block; color: var(--olive); font-size: 3.3rem; font-weight: 800; line-height: 1; }
.highlight-box h3 { margin: 18px 0 0; font-size: 1.35rem; }
.highlight-box p { margin: 12px 0 0; color: var(--muted); line-height: 1.75; }

.body-copy {
  color: var(--muted);
  line-height: 1.75;
}

.proof-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.proof-list p {
  margin: 0;
  border-left: 2px solid var(--olive);
  padding-left: 16px;
  color: var(--muted);
  line-height: 1.7;
}
.proof-list strong { color: var(--ink); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.photo-grid.compact .photo-card:nth-child(2) { margin-top: 42px; }
.photo-stack {
  display: grid;
  gap: 20px;
}
.photo-card, .intro-photo {
  margin: 0;
}
.photo-card, .intro-photo, .operation-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.photo-card img, .intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-card img { aspect-ratio: 4 / 3; }
.intro-photo img { aspect-ratio: 5 / 4; }
.photo-card figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.operation-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.operation-card h3 {
  margin: 22px 22px 0;
  font-size: 1.16rem;
}
.operation-card p {
  margin: 12px 22px 24px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.capability-list {
  display: grid;
  gap: 24px;
  margin-top: 42px;
}
.capability-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) 1fr;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.capability-row img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}
.capability-row > div {
  padding: 28px 30px 28px 0;
}
.capability-row h3 {
  margin: 10px 0 0;
  font-size: 1.65rem;
  line-height: 1.18;
}
.capability-row p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.reference-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}
.featured-reference {
  grid-column: span 2;
}
.featured-reference .image-frame {
  aspect-ratio: 16 / 9;
}
.timeline-grid { margin-top: 42px; }
.contact-details { margin-top: 42px; }

.contact-form { padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; gap: 8px; color: var(--ink); font-weight: 700; font-size: 0.94rem; }
.form-field.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfc5b7;
  border-radius: 8px;
  background: white;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 400;
  outline: none;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(107,113,61,0.16); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; }
.form-note { margin: 0; color: var(--muted); font-size: 0.92rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--ink); color: #f7f3ea; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding: 50px 0; }
.footer-title { margin: 0; font-size: 1.1rem; font-weight: 800; }
.footer-grid p, .footer-grid a { color: #d9d0c2; font-size: 0.94rem; line-height: 1.75; }
.footer-grid a:hover { color: white; }
.footer-links { display: grid; gap: 8px; margin-top: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; text-align: center; color: #c7bcae; font-size: 0.8rem; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  h1 { font-size: 3.45rem; }
  .section-heading h2, .page-intro h1 { font-size: 2.35rem; }
  .credibility-grid, .stats-grid, .grid.three, .grid.two, .grid.four, .two-col, .two-col.equal, .footer-grid, .operations-grid, .reference-gallery, .capability-row { grid-template-columns: 1fr; }
  .featured-reference { grid-column: auto; }
  .capability-row > div { padding: 0 24px 26px; }
  .capability-row img { min-height: 0; aspect-ratio: 4 / 3; }
  .section-top, .cta-inner, .form-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand-logo { max-width: min(280px, 76vw); height: 48px; }
  h1 { font-size: 2.6rem; }
  .section-heading h2, .page-intro h1 { font-size: 2.05rem; }
  .cta-inner h2 { font-size: 1.85rem; }
  .hero-content { padding-top: 80px; padding-bottom: 48px; }
  .section, .page-intro { padding: 58px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .process-card { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid.compact .photo-card:nth-child(2) { margin-top: 0; }
  .operations-grid, .reference-gallery { gap: 16px; }
}
