:root {
  --ink: #181614;
  --muted: #665f58;
  --paper: #faf7f2;
  --panel: #ffffff;
  --line: #e5ddd3;
  --green: #2f6d5d;
  --green-dark: #173f36;
  --coral: #cc5a49;
  --gold: #c78d2a;
  --shadow: 0 24px 60px rgba(24, 22, 20, 0.12);
  --radius: 8px;
  --content: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(250, 247, 242, 0.94);
  border-bottom: 1px solid rgba(229, 221, 211, 0.78);
  box-shadow: 0 12px 30px rgba(24, 22, 20, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  width: var(--content);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header.is-scrolled .brand,
.site-header.nav-active .brand {
  color: var(--ink);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.82rem;
}

.site-header.is-scrolled .brand-mark,
.site-header.nav-active .brand-mark {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-header.is-scrolled .nav-links,
.site-header.nav-active .nav-links {
  color: var(--ink);
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a:focus-visible,
.site-header.nav-active .nav-links a:hover,
.site-header.nav-active .nav-links a:focus-visible {
  background: #efe8df;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-scrolled .nav-toggle,
.site-header.nav-active .nav-toggle {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.92) contrast(1.05);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 22, 20, 0.78), rgba(24, 22, 20, 0.4) 48%, rgba(24, 22, 20, 0.1)),
    linear-gradient(0deg, rgba(24, 22, 20, 0.75), rgba(24, 22, 20, 0.08) 62%);
}

.hero-content {
  position: relative;
  width: var(--content);
  margin: 0 auto;
  padding: 180px 0 72px;
}

.eyebrow,
.section-label,
.project-type {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  color: #f2c77f;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: #fff;
  color: var(--green-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}

.quick-proof {
  width: var(--content);
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proof-item {
  padding: 26px;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 1rem;
}

.proof-item span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 96px 0;
}

.section-label,
.project-type {
  color: var(--coral);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.15;
}

.intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-copy p + p {
  margin-top: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.expertise-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.expertise-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.expertise-card {
  min-height: 320px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: var(--green-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.expertise-card:nth-child(2) {
  background: var(--green);
}

.expertise-card:nth-child(3) {
  background: #263f54;
}

.expertise-card:nth-child(4) {
  background: #6f3f34;
}

.expertise-kicker {
  color: #f2c77f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.expertise-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.service-card,
.project-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  min-height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.service-number {
  margin-bottom: 40px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.service-card p,
.project-card p,
.experience-item p,
.roadmap-panel p,
.feature-band p,
.contact-panel p {
  margin: 14px 0 0;
  color: var(--muted);
}

.feature-band {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: end;
  padding: 76px max(20px, calc((100vw - 1120px) / 2));
  background: var(--green-dark);
  color: #fff;
}

.feature-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
}

.feature-band p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
}

.project-card-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.project-media {
  min-height: 260px;
  background: #e8e0d7;
}

.project-card-large .project-media {
  min-height: 390px;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.project-tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green-dark);
  background: #f7f2ec;
  font-size: 0.82rem;
  font-weight: 800;
}

.video-showcase {
  margin-top: 24px;
  padding: 32px;
  background: #f2ebe2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.video-showcase-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.video-showcase-heading h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
}

.video-showcase-heading p:last-child,
.video-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.video-card {
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.video-card > span:first-child {
  margin-bottom: 28px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-card h4 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
}

.drive-status {
  margin-top: auto;
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  background: #f7f2ec;
  font-size: 0.82rem;
  font-weight: 800;
}

.experience-section {
  padding-top: 44px;
}

.experience-grid {
  display: grid;
  gap: 14px;
}

.experience-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.experience-item span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.roadmap-panel {
  margin-top: 18px;
  padding: 32px;
  background: #f2ebe2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.roadmap-panel h3 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.contact-section {
  padding-top: 44px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.85fr);
  gap: 44px;
  align-items: center;
  padding: 44px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f4;
  transition: border-color 160ms ease, transform 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--green);
  transform: translateY(-2px);
  outline: none;
}

.contact-link span {
  display: block;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-link strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.site-footer {
  width: var(--content);
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
  outline: none;
}

@media (max-width: 860px) {
  :root {
    --content: min(100vw - 28px, 1120px);
  }

  .nav {
    min-height: 66px;
  }

  .brand {
    max-width: calc(100vw - 92px);
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: fixed;
    inset: 66px 14px auto;
    display: grid;
    gap: 2px;
    padding: 12px;
    background: var(--panel);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 6px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-image {
    object-position: 56% 26%;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(24, 22, 20, 0.88), rgba(24, 22, 20, 0.36) 72%),
      linear-gradient(90deg, rgba(24, 22, 20, 0.48), rgba(24, 22, 20, 0.16));
  }

  .hero-content {
    padding: 142px 0 54px;
  }

  .quick-proof,
  .intro-grid,
  .expertise-grid,
  .feature-band,
  .project-card-large,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .quick-proof {
    margin-top: 0;
  }

  .proof-item + .proof-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 72px 0;
  }

  .intro-grid {
    gap: 24px;
  }

  .service-grid,
  .video-grid,
  .project-list {
    grid-template-columns: 1fr;
  }

  .feature-band {
    gap: 22px;
    padding: 62px 14px;
  }

  .project-card-large .project-media,
  .project-media {
    min-height: 250px;
  }

  .contact-panel {
    padding: 28px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .proof-item,
  .expertise-card,
  .service-card,
  .project-content,
  .video-showcase,
  .video-card,
  .experience-item,
  .roadmap-panel,
  .contact-panel {
    padding: 22px;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
