:root {
  --ink: #15181a;
  --muted: #5a646b;
  --page: #eef2ee;
  --panel: #ffffff;
  --panel-soft: #f7f9f6;
  --line: #d5ded8;
  --dark: #101719;
  --steel: #20373d;
  --teal: #1e746d;
  --teal-dark: #11524e;
  --copper: #b44f2f;
  --sun: #f0b84b;
  --white: #ffffff;
  --shadow: 0 20px 48px rgba(16, 23, 25, 0.14);
  --tight-shadow: 0 10px 24px rgba(16, 23, 25, 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 52px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(213, 222, 216, 0.9);
  box-shadow: 0 8px 24px rgba(16, 23, 25, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.header-link,
.site-nav a,
.button,
.proof-list a,
.contact-links a,
.footer-links a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 900;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 2.3vw, 30px);
  font-size: 0.93rem;
  font-weight: 800;
}

.site-nav a,
.header-link,
.footer-links a,
.contact-links a {
  position: relative;
}

.site-nav a::after,
.header-link::after,
.footer-links a::after,
.contact-links a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.header-link:hover::after,
.footer-links a:hover::after,
.contact-links a:hover::after {
  transform: scaleX(1);
}

.header-link {
  justify-self: end;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 23, 25, 0.92), rgba(16, 23, 25, 0.74) 42%, rgba(16, 23, 25, 0.18)),
    linear-gradient(0deg, rgba(16, 23, 25, 0.76), rgba(16, 23, 25, 0.08) 56%),
    url("assets/workshop-hero.jpg") center / cover;
  filter: contrast(1.08) saturate(1.04);
}

.hero-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 118px 0 54px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sun);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--copper);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 870px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.1rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.52rem);
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 740px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 900;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(240, 184, 75, 0.26);
}

.button-secondary {
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.section .button-secondary,
.band .button-secondary,
.thanks-page .button-secondary {
  background: transparent;
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 30px 0 0;
}

.hero-stats div {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  padding-top: 12px;
}

.hero-stats dt {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 900;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 750;
}

.section,
.band {
  padding: clamp(70px, 10vw, 122px) clamp(18px, 4vw, 52px);
}

.band {
  background: var(--panel);
}

.section-grid,
.section-heading,
.service-grid,
.capability-grid,
.process-list,
.proof-layout,
.work-gallery,
.fit-grid,
.hourly-grid,
.contact,
.site-footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 20px;
}

.intro-copy p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.section-heading {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading h2 {
  max-width: 850px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.6fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
}

.split-heading p:last-child {
  margin-bottom: 26px;
  font-size: 1.05rem;
}

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

.service-card,
.process-list article,
.hourly-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.service-card {
  min-height: 305px;
  padding: 22px;
}

.service-number {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--teal);
  font-weight: 900;
}

.service-card p,
.process-list p,
.hourly-grid p {
  margin-bottom: 0;
}

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

.image-card,
.work-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  box-shadow: var(--tight-shadow);
}

.image-card img,
.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--white);
}

.image-card div,
.work-card div {
  padding: 20px;
}

.image-card h3,
.work-card h3 {
  margin-bottom: 10px;
}

.image-card p,
.work-card p {
  margin-bottom: 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: process;
}

.process-list article {
  position: relative;
  padding: 26px;
  overflow: hidden;
}

.process-list article::before {
  counter-increment: process;
  content: "0" counter(process);
  display: block;
  margin-bottom: 56px;
  color: var(--copper);
  font-size: 0.92rem;
  font-weight: 900;
}

.hourly-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(34px, 5vw, 58px);
}

.hourly-grid article {
  min-height: 230px;
  padding: 22px;
  border-top: 5px solid var(--teal);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.profile-panel {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.profile-panel img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list a {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.proof-list a:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.proof-list span,
.work-card span {
  color: var(--copper);
  font-weight: 900;
  text-transform: uppercase;
}

.proof-list strong {
  line-height: 1.45;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(42px, 7vw, 76px);
}

.work-card span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
}

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

.fit-grid p {
  min-height: 112px;
  margin: 0;
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  padding: 18px;
  background: var(--page);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-copy p {
  font-size: 1.08rem;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: var(--steel);
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #b8c3bc;
  border-radius: 8px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(30, 116, 109, 0.2);
  border-color: var(--teal);
}

.full {
  grid-column: 1 / -1;
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 4vw, 52px) 44px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: start;
  color: var(--steel);
  font-weight: 900;
}

.thanks-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.thanks-shell {
  width: min(760px, 100%);
}

.thanks-shell .brand {
  margin-bottom: 24px;
}

.thanks-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 6vw, 58px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.thanks-panel h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.thanks-panel p {
  max-width: 560px;
}

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 68px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .header-link {
    align-self: center;
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(16, 23, 25, 0.94), rgba(16, 23, 25, 0.78)),
      url("assets/workshop-hero.jpg") center / cover;
  }

  .hero-inner {
    padding-top: 150px;
  }

  .section-grid,
  .split-heading,
  .proof-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .process-list,
  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-heading p:last-child {
    margin-bottom: 0;
  }

  .profile-panel {
    grid-template-columns: 1fr;
  }

  .profile-panel img {
    justify-self: start;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand span:last-child {
    max-width: 130px;
    white-space: normal;
    line-height: 1.05;
  }

  .header-link {
    font-size: 0.92rem;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .hero-copy {
    font-size: 1.03rem;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .capability-grid,
  .process-list,
  .hourly-grid,
  .work-gallery,
  .fit-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    display: none;
  }

  .service-card,
  .hourly-grid article {
    min-height: auto;
  }

  .service-number,
  .process-list article::before {
    margin-bottom: 22px;
  }

  .contact-form {
    padding: 18px;
  }

  .full {
    grid-column: auto;
  }
}

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