:root {
  --blue: #213e71;
  --gold: #c99a35;
  --cream: #f7f3ea;
  --slate: #40556f;
  --charcoal: #233044;
  --paper: #fcfaf6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 10px clamp(22px, 5vw, 72px);
  background: rgba(251, 248, 241, 0.96);
  border-bottom: 1px solid rgba(54, 95, 109, 0.2);
  backdrop-filter: blur(12px);
}

.brand img {
  display: block;
  width: min(260px, 100%);
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  color: var(--charcoal);
}

.header-cta,
.button,
.contact-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.header-cta,
.button.primary,
.contact-card button {
  background: var(--blue);
  color: var(--white);
  padding: 0 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px) clamp(22px, 5vw, 72px) 28px;
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 14px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.25vw, 4.25rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 1.08rem;
}

.lead {
  max-width: 670px;
  margin-bottom: 18px;
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
}

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

.button {
  padding: 0 22px;
}

.button.secondary {
  border: 2px solid var(--slate);
  color: var(--blue);
}

.hero-card {
  overflow: hidden;
  border: 1px solid rgba(54, 95, 109, 0.24);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 24px 60px rgba(34, 48, 43, 0.12);
}

.hero-logo-panel {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 30px;
  background: var(--blue);
}

.hero-logo-panel img {
  display: block;
  width: min(460px, 100%);
  height: auto;
}

.trust-panel {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  border-top: 6px solid var(--gold);
  color: var(--charcoal);
  font-size: 1rem;
}

.trust-panel strong {
  color: var(--blue);
  font-size: 1.25rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(22px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(54, 95, 109, 0.22);
  border-radius: 8px;
  background: rgba(54, 95, 109, 0.22);
}

.trust-strip span {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}

.repeat-section,
.judgment-section,
.section,
.proof-section,
.whole-project-section,
.pricing-band,
.about-band,
.contact-section {
  padding: clamp(60px, 8vw, 105px) clamp(22px, 5vw, 72px);
}

.repeat-section,
.judgment-section,
.whole-project-section,
.pricing-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
}

.repeat-section p:last-child,
.whole-project-section p:last-child,
.pricing-band p:last-child {
  max-width: 620px;
  margin: 0;
  font-size: 1.16rem;
}

.judgment-section {
  background: var(--cream);
}

.judgment-copy {
  max-width: 680px;
}

.judgment-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 30px;
}

.section-heading p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

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

.service-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(54, 95, 109, 0.24);
  border-radius: 8px;
  background: var(--white);
}

.service-grid article:nth-child(2),
.service-grid article:nth-child(4) {
  background: var(--cream);
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--blue);
  color: var(--white);
}

.proof-section h2,
.proof-section .eyebrow {
  color: var(--white);
}

.proof-copy p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.86);
}

.featured-before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.featured-before-after figure,
.project-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
}

.featured-before-after img,
.project-card img,
.workshop-note img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-before-after img {
  aspect-ratio: 4 / 5;
}

figcaption {
  padding: 12px 14px;
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 800;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, minmax(0, 0.9fr));
  gap: 16px;
  padding: clamp(22px, 5vw, 72px);
  background: var(--cream);
}

.project-card {
  border: 1px solid rgba(54, 95, 109, 0.2);
}

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

.project-card img {
  aspect-ratio: 4 / 3;
}

.project-card.large img {
  aspect-ratio: 4 / 3.3;
}

.project-card div {
  padding: 18px;
}

.project-type {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  line-height: 1.25;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
  background: var(--cream);
}

.pricing-band {
  border-top: 1px solid rgba(64, 85, 111, 0.18);
  border-bottom: 1px solid rgba(64, 85, 111, 0.18);
  background: var(--white);
}

.about-copy > p {
  margin: 0;
  font-size: 1.14rem;
}

.workshop-note {
  display: grid;
  grid-template-columns: minmax(130px, 0.5fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(54, 95, 109, 0.24);
  border-radius: 8px;
  background: var(--white);
}

.workshop-note img {
  min-height: 220px;
}

.workshop-note div {
  padding: 18px 18px 18px 0;
}

.workshop-note p:last-child {
  margin: 0;
  font-size: 1rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
}

.contact-section p {
  max-width: 620px;
  font-size: 1.08rem;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(54, 95, 109, 0.24);
  border-radius: 8px;
  background: var(--white);
}

.form-note {
  margin: 0;
  padding: 12px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 0.92rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(54, 95, 109, 0.42);
  border-radius: 6px;
  padding: 12px;
  background: var(--paper);
  color: var(--charcoal);
  font: inherit;
}

textarea {
  min-height: 115px;
  resize: vertical;
}

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

.email-fallback {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.thanks-section {
  min-height: calc(100vh - 92px);
  padding: clamp(80px, 12vw, 150px) clamp(22px, 5vw, 72px);
}

.thanks-section h1 {
  max-width: 860px;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .repeat-section,
  .proof-section,
  .whole-project-section,
  .pricing-band,
  .about-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.large {
    grid-row: auto;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-cta {
    justify-self: start;
  }

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

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    gap: 12px;
  }

  .nav {
    gap: 14px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .service-grid,
  .trust-strip,
  .featured-before-after,
  .project-gallery,
  .workshop-note {
    grid-template-columns: 1fr;
  }

  .workshop-note div {
    padding: 18px;
  }
}
