:root {
  --ink: #172126;
  --muted: #56646c;
  --line: #d8e0df;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --sage: #6f8875;
  --sage-dark: #40574a;
  --clay: #b76e52;
  --gold: #e1b658;
  --blue: #476c8d;
  --shadow: 0 18px 45px rgba(23, 33, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.main-nav,
.hero-actions,
.trust-strip,
.field-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 66px;
  height: 52px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a,
.header-call,
.button,
.trust-strip a,
.site-footer a,
.contact-card a {
  text-decoration: none;
}

.main-nav a:hover,
.header-call:hover {
  color: var(--ink);
}

.header-call {
  padding: 10px 14px;
  color: white;
  background: var(--sage-dark);
  border-radius: 4px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  min-height: calc(100vh - 76px);
}

.hero-media {
  min-height: 560px;
  background:
    linear-gradient(rgba(23, 33, 38, 0.06), rgba(23, 33, 38, 0.06)),
    #d7d4ca;
  overflow: hidden;
  position: relative;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 33, 38, 0.1), rgba(23, 33, 38, 0)),
    url("assets/work/work-01.jpg")
      center / cover;
}

.hero-content {
  align-self: center;
  padding: clamp(48px, 8vw, 92px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4.8vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.16rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
}

.button.primary {
  color: white;
  background: var(--sage-dark);
}

.button.secondary {
  background: transparent;
  border-color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 42px 0 0;
}

.hero-stats div {
  border-top: 2px solid var(--line);
  padding-top: 16px;
}

.hero-stats dt {
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
}

.trust-strip {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 18px;
  color: white;
  background: var(--ink);
  font-weight: 700;
}

.section,
.trust-section,
.team-section,
.areas-section,
.work-section,
.reviews-section,
.quote-section {
  padding: clamp(56px, 9vw, 110px) clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

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

.service-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.service-grid p,
.review-layout p,
.quote-copy p,
.credential-card p,
.form-note {
  color: var(--muted);
}

.trust-section {
  background: #f3f1ea;
}

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

.credential-card {
  min-height: 250px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.credential-card a {
  color: var(--sage-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.metric {
  display: block;
  margin-bottom: 26px;
  color: var(--sage-dark);
  font-size: 3.4rem;
  font-weight: 950;
  line-height: 0.9;
}

.guilds-logo {
  display: block;
  width: min(210px, 100%);
  height: auto;
  margin-bottom: 24px;
}

.team-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: var(--paper);
}

.team-copy p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}

.team-media {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 16px;
  align-items: end;
}

.team-photo {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  color: white;
  background: var(--ink);
  border-radius: 6px;
}

.team-photo-large {
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--ink);
}

.team-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.team-photo-large img {
  min-height: 0;
  aspect-ratio: 1024 / 287;
  object-fit: contain;
  background: #e8e2d8;
  border-radius: 6px;
}

.team-photo figcaption {
  position: absolute;
  inset: auto 16px 16px;
  padding: 10px 12px;
  background: rgba(23, 33, 38, 0.78);
  border-radius: 4px;
  font-weight: 850;
}


.areas-section {
  background: #ecf0eb;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 980px;
}

.area-list span {
  padding: 10px 13px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--sage-dark);
  font-weight: 850;
}

.work-section,
.video-section {
  background: #ecf0eb;
}

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

.work-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  color: white;
  border-radius: 6px;
  background: var(--ink);
}

.work-card.feature-card {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 540px;
}

.work-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.work-card figcaption {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.56));
}

.work-card span {
  width: fit-content;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.82rem;
}

.work-card strong {
  max-width: 270px;
  font-size: 1.18rem;
  line-height: 1.1;
}

.video-section {
  background: var(--paper);
}

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

.instagram-profile {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.instagram-profile span,
.instagram-profile strong,
.instagram-profile p {
  display: block;
}

.instagram-profile span {
  color: var(--clay);
  font-weight: 900;
}

.instagram-profile strong {
  font-size: 1.25rem;
}

.instagram-profile p {
  margin: 3px 0 0;
  color: var(--muted);
}

.instagram-button,
.instagram-button:link,
.instagram-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 10px 13px;
  color: white;
  background: var(--sage-dark);
  border-radius: 4px;
  font-weight: 850;
  text-decoration: none;
}

.instagram-button:hover,
.instagram-button:focus {
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.video-card {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.video-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.video-card div {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
}

.video-card span {
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.video-card strong {
  font-size: 1.25rem;
  line-height: 1.12;
}

.reviews-section {
  background: var(--paper);
}

.review-layout,
.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

blockquote {
  margin: 0;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

blockquote p {
  font-size: 1.35rem;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 16px 18px;
  background: #eef2ee;
  border-left: 4px solid var(--sage);
  border-radius: 4px;
  font-weight: 700;
}

.quote-section {
  background: var(--ink);
  color: white;
}

.quote-copy p {
  max-width: 590px;
  color: #c9d2d2;
}

.contact-card {
  display: grid;
  gap: 8px;
  max-width: 360px;
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
  background: white;
  border-radius: 6px;
}

.field-row {
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  width: 100%;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f9faf8;
  border: 1px solid #cbd5d2;
  border-radius: 4px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: #0f171b;
  color: white;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .hero,
  .team-section,
  .review-layout,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 380px;
  }

  .service-grid,
  .credential-grid,
  .work-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card.feature-card {
    grid-column: span 2;
    min-height: 420px;
  }

  .video-card {
    grid-template-columns: 1fr;
  }

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

  .instagram-profile a {
    width: fit-content;
  }

  .team-media {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .main-nav {
    gap: 14px;
  }

  .hero-content {
    padding: 38px 20px 52px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-stats,
  .service-grid,
  .credential-grid,
  .work-grid,
  .video-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .work-card.feature-card {
    grid-column: span 1;
    min-height: 320px;
  }

  .field-row {
    display: grid;
  }

  .site-footer {
    flex-direction: column;
  }

  .team-media {
    grid-template-columns: 1fr;
  }

  .team-photo,
  .team-photo-large {
    min-height: 300px;
  }

  .team-photo-large {
    min-height: 0;
  }

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