﻿:root {
  --bg: #f4efe7;
  --surface: #fffaf2;
  --surface-strong: #ede3d4;
  --ink: #181612;
  --muted: #6b6258;
  --line: rgba(36, 30, 24, 0.14);
  --charcoal: #151515;
  --charcoal-2: #24211d;
  --bronze: #b5793b;
  --bronze-dark: #835326;
  --stone: #dfd3c2;
  --blue: #214f74;
  --shadow: 0 24px 70px rgba(31, 24, 18, 0.16);
  --radius: 28px;
  --container: min(1140px, calc(100% - 40px));
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(181, 121, 59, 0.16), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(33, 79, 116, 0.12), transparent 28%),
    linear-gradient(180deg, #fffaf2 0%, #f4efe7 48%, #eee4d5 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(36, 30, 24, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 30, 24, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 76%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.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;
}

.container { width: var(--container); margin-inline: auto; }
.section { padding: 82px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: #050505;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.logo-link,
.footer-logo { display: inline-flex; align-items: center; }
.logo-link img,
.footer-logo img { width: 210px; height: auto; }

.site-nav { display: flex; justify-content: center; gap: 6px; }
.site-nav a,
.site-footer nav a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 850;
  transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a { padding: 10px 14px; }
.site-nav a:hover,
.site-nav a:focus-visible { background: rgba(255, 255, 255, 0.1); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.social-link { color: #fff; font-weight: 900; white-space: nowrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 950;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }
.btn-primary { background: var(--bronze); color: #fff; box-shadow: 0 16px 34px rgba(181, 121, 59, 0.22); }
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--bronze-dark); }
.btn-secondary { border-color: rgba(24, 22, 18, 0.16); background: rgba(255, 250, 242, 0.82); color: var(--ink); }
.btn-secondary:hover,
.btn-secondary:focus-visible { border-color: rgba(181, 121, 59, 0.42); background: #fff; }

.site-header .btn-primary { background: #fff; color: var(--charcoal); box-shadow: none; }
.site-header .btn-primary:hover,
.site-header .btn-primary:focus-visible { background: #eadfce; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff;
}

.hero { padding: 86px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  align-items: center;
  gap: 54px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--bronze-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 4.4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}
h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
h3 { margin-bottom: 10px; font-size: 1.14rem; line-height: 1.2; }
.hero-text { max-width: 650px; margin-bottom: 26px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual,
.equipment-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 22, 18, 0.1);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-visual::after,
.equipment-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(24, 18, 12, 0.58));
}
.hero-visual img,
.equipment-card img { width: 100%; height: 540px; object-fit: cover; }
.hero-visual figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 950;
}
.hero-visual i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(10px);
}

.proof-strip { padding-top: 0; }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof-card,
.service-card,
.identity-card,
.tone-card,
.approach-copy,
.cta-box {
  border: 1px solid rgba(24, 22, 18, 0.1);
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 18px 52px rgba(31, 24, 18, 0.08);
  backdrop-filter: blur(16px);
}
.proof-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
}
.proof-card span,
.service-card i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(181, 121, 59, 0.12);
  color: var(--bronze-dark);
}
.proof-card p,
.service-card p,
.section-heading p,
.approach-copy p,
.identity-card p,
.site-footer p,
.cta-box p { color: var(--muted); }
.section-heading { max-width: 720px; margin-bottom: 34px; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.service-card::after {
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 112px;
  height: 112px;
  content: "";
  border-radius: 34px;
  background: rgba(181, 121, 59, 0.08);
  transform: rotate(18deg);
}
.service-card:nth-child(even) { background: rgba(237, 227, 212, 0.74); }
.service-card:hover { transform: translateY(-4px); border-color: rgba(181, 121, 59, 0.34); background: #fffaf2; }

.approach { padding-top: 0; }
.approach-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 24px; align-items: stretch; }
.approach-copy { padding: 30px; border-radius: 30px; background: var(--charcoal); color: #fff; }
.approach-copy .eyebrow { color: #d7a66e; }
.approach-copy p { color: #c9c2b9; }
.approach-copy ul { display: grid; gap: 12px; padding: 0; margin: 26px 0 0; list-style: none; }
.approach-copy li { display: flex; gap: 12px; align-items: center; color: #f3ede5; font-weight: 800; }
.approach-copy li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 0.78rem;
}
.equipment-card img { height: 100%; min-height: 430px; }

.visual-identity { padding-top: 0; }
.identity-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; }
.identity-card { display: grid; grid-template-columns: 138px 1fr; gap: 24px; align-items: center; padding: 28px; border-radius: 30px; }
.identity-card img { width: 138px; height: 138px; border-radius: 24px; object-fit: cover; background: #fff; }
.tone-card { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; padding: 28px; border-radius: 30px; background: var(--charcoal-2); }
.tone-card span { padding: 10px 14px; border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; color: #fff; font-weight: 900; }
.tone-card span:nth-child(1) { background: rgba(181, 121, 59, 0.22); }
.tone-card span:nth-child(2) { background: rgba(33, 79, 116, 0.22); }

.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.work-card {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 22, 18, 0.1);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.work-card.large {
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(24, 18, 12, 0.72));
  pointer-events: none;
}

.work-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
  font-weight: 950;
}

.cta { padding-top: 0; }
.cta-box { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: center; padding: 36px; border-radius: 34px; background: linear-gradient(135deg, #fffaf2, #eadfce); }
.contact-card { display: grid; gap: 12px; padding: 22px; border: 1px solid rgba(24, 22, 18, 0.12); border-radius: 24px; background: rgba(255,255,255,0.62); }
.contact-card a:first-child { font-size: 1.5rem; font-weight: 950; }
.contact-card a:not(:first-child),
.contact-card span { color: #534b42; }
.ghost-action { display: inline-flex; width: fit-content; margin-top: 8px; padding: 9px 12px; border-radius: 999px; background: var(--charcoal); color: #fff !important; font-weight: 950; }

.site-footer { padding: 42px 0 24px; background: #111; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; gap: 34px; align-items: start; }
.site-footer p { max-width: 430px; margin: 16px 0 0; color: #bdbdbd; }
.site-footer nav,
.site-footer address { display: grid; gap: 10px; font-style: normal; }
.site-footer nav a,
.site-footer address,
.site-footer address a,
.footer-bottom { color: #bdbdbd; }
.site-footer nav a:hover,
.site-footer address a:hover { color: #fff; }
.footer-bottom a { color: #fff; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover,
.footer-bottom a:focus-visible { color: #d7a66e; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.92rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .menu-toggle { display: block; }
  .site-nav,
  .header-actions { display: none; }
  .site-header.is-open { border-radius: 28px; }
  .site-header.is-open .site-nav,
  .site-header.is-open .header-actions { display: flex; grid-column: 1 / -1; }
  .site-header.is-open .site-nav { flex-direction: column; align-items: stretch; padding-top: 10px; }
  .site-header.is-open .header-actions { align-items: stretch; flex-direction: column; }
  .site-header.is-open .social-link { padding: 10px 14px; }
  .hero-grid,
  .approach-grid,
  .identity-grid,
  .work-grid,
  .cta-box { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .hero-visual img { height: 440px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1140px); }
  .section { padding: 58px 0; }
  .site-header { width: min(100% - 20px, 1180px); margin-top: 10px; }
  .logo-link img { width: 156px; }
  h1 { font-size: clamp(2.15rem, 11vw, 3.3rem); }
  .hero { padding-top: 52px; }
  .hero-visual,
  .equipment-card,
  .cta-box,
  .identity-card { border-radius: 24px; }
  .hero-visual img,
  .equipment-card img { height: 310px; min-height: 0; }
  .service-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .identity-card { grid-template-columns: 1fr; padding: 24px; }
  .identity-card img { width: 110px; height: 110px; }
  .work-card,
  .work-card.large {
    grid-row: auto;
    min-height: 280px;
  }
  .work-card img {
    min-height: 280px;
  }
  .cta-box,
  .approach-copy { padding: 24px; }
  .contact-card a:first-child { font-size: 1.22rem; }
  .footer-bottom { flex-direction: column; }
}
