:root {
  --bg: #f6f1e8;
  --ink: #1c2633;
  --muted: #5b6674;
  --line: #d8d2c8;
  --hot: #ef5b31;
  --lime: #0e8f80;
  --panel: #fffcf6;
  --panel-2: #f0ebe2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -5%, rgba(14, 143, 128, 0.17), transparent 28rem),
    radial-gradient(circle at 92% -2%, rgba(239, 91, 49, 0.14), transparent 24rem),
    var(--bg);
  font-family: "Space Grotesk", sans-serif;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: radial-gradient(#1c2633 0.45px, transparent 0.45px);
  background-size: 3px 3px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(28, 38, 51, 0.12);
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(8px);
}

.brand {
  width: 2.2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

nav { justify-self: center; display: flex; gap: 1rem; }
nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }

.chip {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(28, 38, 51, 0.18);
  padding: 0.45rem 0.7rem;
  background: #fff;
}

.panel {
  width: min(1140px, 94vw);
  margin: 1rem auto;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), var(--panel-2));
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 74vh;
}

.hero-left {
  padding: clamp(1.2rem, 4.5vw, 4rem);
  border-right: 1px solid var(--line);
}

.hero-right {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.5rem);
  background:
    linear-gradient(25deg, rgba(239, 91, 49, 0.13), transparent 45%),
    linear-gradient(160deg, rgba(14, 143, 128, 0.14), transparent 58%);
}

.hero-portrait {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(18, 24, 36, 0.16);
  border: 1px solid rgba(28, 38, 51, 0.13);
  background: #fff;
  height: 100%;
  min-height: 25rem;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kicker {
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  line-height: 0.98;
}

h1 {
  font-size: clamp(2rem, 7vw, 6rem);
  margin: 0.75rem 0 1rem;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 3rem);
  margin-top: 0.4rem;
}

h3 { font-size: 1.1rem; }

.sub {
  max-width: 52ch;
  color: var(--muted);
}

.cta-row {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid;
  padding: 0.72rem 1rem;
}

.btn-solid {
  border-color: var(--hot);
  background: var(--hot);
  color: #fff;
}

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

.stripe {
  overflow: hidden;
  border-top: 1px solid rgba(28, 38, 51, 0.18);
  border-bottom: 1px solid rgba(28, 38, 51, 0.18);
  background: #fffaf2;
}

.marquee {
  width: max-content;
  display: flex;
  gap: 2.1rem;
  padding: 0.7rem 0;
  animation: slide 22s linear infinite;
}

.marquee span {
  color: #3f4d5b;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.services .title,
.about .title { padding: clamp(1rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2.5rem) 1rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service {
  padding: 1.3rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service:nth-child(2n) { border-right: 0; }
.service p { color: var(--muted); }

.service-media {
  margin: 0;
  grid-column: 1 / span 2;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 16rem;
  display: block;
  object-fit: cover;
}

.proof {
  display: block;
}

.proof-main,
.about-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.proof-left,
.about-copy {
  padding: clamp(1rem, 4vw, 2.5rem);
  border-right: 1px solid var(--line);
}

.proof-left ul,
.about-copy ul { color: var(--muted); padding-left: 1.2rem; }
.proof-left li,
.about-copy li { margin-bottom: 0.5rem; }

.proof-right,
.about-visual {
  display: grid;
  grid-template-columns: 1fr;
}

.timeline-wrap {
  margin: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 0.45rem 0.8rem 1rem;
}

.timeline-track {
  position: relative;
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1.5rem 0.2rem 0.55rem;
  scrollbar-width: thin;
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.95rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(14, 143, 128, 0.5), rgba(239, 91, 49, 0.5));
}

.timeline-item {
  position: relative;
  min-width: 15rem;
  max-width: 15rem;
  border: 0;
  background: transparent;
  padding: 0.85rem 0 0;
  margin-top: 0.35rem;
  box-shadow: none;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: -0.78rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--hot);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(239, 91, 49, 0.4);
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 0.56rem;
  top: -0.1rem;
  width: 1px;
  height: 0.45rem;
  background: rgba(28, 38, 51, 0.35);
}

.timeline-period {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--lime);
  font-weight: 700;
}

.timeline-title {
  margin: 0.1rem 0 0.45rem;
  font-size: 0.98rem;
  line-height: 1.15;
}

.timeline-detail {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.38;
}

.stat {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 1.3rem;
}

.stat strong {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 2rem;
}

.stat span { color: var(--muted); }

.about-visual {
  padding: clamp(1rem, 3vw, 1.6rem);
  gap: 0.8rem;
}

.about-visual img {
  width: 100%;
  border: 1px solid rgba(28, 38, 51, 0.16);
  background: #fff;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-left {
  padding: clamp(1rem, 4vw, 2.2rem);
  border-right: 1px solid var(--line);
}

.contact-left p { color: var(--muted); }
.contact-left a { color: var(--lime); text-decoration: none; }

.contact-media {
  margin: 1rem 0 0;
  border: 1px solid rgba(28, 38, 51, 0.16);
  background: #fff;
  max-width: 18rem;
}

.contact-media img {
  width: 100%;
  display: block;
}

.contact-form {
  padding: clamp(1rem, 4vw, 2.2rem);
}

.contact-form label {
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid #c2cad4;
  padding: 0.7rem;
  font: inherit;
}

.contact-form button { margin-top: 0.9rem; }

.footer {
  width: min(1140px, 94vw);
  margin: 1rem auto 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #667486;
  flex-wrap: wrap;
}

.footer a { color: #3e4b5a; text-decoration: none; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  nav { display: none; }
  .hero,
  .grid,
  .proof-main,
  .about-panel,
  .contact { grid-template-columns: 1fr; }
  .hero-left,
  .proof-left,
  .about-copy,
  .contact-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .service:nth-child(2n) { border-right: 1px solid var(--line); }
  .hero-portrait { min-height: 18rem; }
  .service-media { grid-column: 1; }
  .service-media img { height: 12rem; }
  .contact-media { max-width: 100%; }
  .timeline-item {
    min-width: 12.8rem;
    max-width: 12.8rem;
  }
}
