:root {
  --font-display: "Cormorant Garamond";
  --font-sans: "Lato";
  --green: #1f3d2e;
  --deep-green: #173426;
  --cream: #f5f1e8;
  --paper: #fffdf9;
  --gold: #bd8a34;
  --ink: #2b2b2b;
  --muted: #7a756b;
  --sage: #8c9b87;
  --line: #ded8cc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans), sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
}

.site-header {
  align-items: center;
  background: rgba(255, 253, 249, 0.96);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr auto;
  min-height: 92px;
  padding: 14px clamp(24px, 5vw, 84px);
  position: relative;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  width: max-content;
}

.brand-wagon {
  display: block;
  height: 58px;
  object-fit: contain;
  width: 90px;
}

.brand-divider {
  background: var(--warm-taupe, #7a756b);
  height: 45px;
  opacity: 0.7;
  width: 1px;
}

.brand-name {
  color: var(--green);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name strong {
  font-family: var(--font-display), serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-name small {
  font-size: 11px;
  letter-spacing: 0.25em;
  margin-top: 6px;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 34px;
}

nav a {
  border-bottom: 1px solid transparent;
  font-size: 14px;
  padding: 12px 0 6px;
}

nav a:hover,
nav a:focus-visible {
  border-color: var(--green);
}

.button {
  align-items: center;
  background: var(--green);
  border: 1px solid var(--green);
  color: white;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 24px;
  justify-content: center;
  letter-spacing: 0.04em;
  min-height: 52px;
  padding: 0 24px;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--cream);
  color: var(--green);
  transform: translateY(-2px);
}

.header-button {
  justify-self: end;
}

.hero {
  background: url("/lancaster-hero.png") center / cover no-repeat;
  min-height: 610px;
  overflow: hidden;
  position: relative;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(255, 249, 235, 0.93) 0%, rgba(255, 249, 235, 0.68) 36%, transparent 65%);
  inset: 0;
  position: absolute;
}

.hero-content {
  max-width: 650px;
  padding: 72px 24px 76px clamp(24px, 6.5vw, 108px);
  position: relative;
}

.eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--green);
  font-size: clamp(52px, 5.2vw, 78px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-content > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.6;
  max-width: 570px;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.55);
}

.hero .button {
  margin-top: 12px;
}

.section {
  padding: 72px clamp(24px, 6.5vw, 108px);
}

.section-intro {
  display: grid;
  gap: 72px;
  grid-template-columns: 0.9fr 1.4fr;
}

.section h2,
.story h2,
.promise h2 {
  font-size: clamp(38px, 3.5vw, 52px);
}

.confidence {
  background: #fbf7ed;
}

.confidence .section-intro h2 {
  margin-bottom: 22px;
  max-width: 510px;
}

.gold-rule {
  background: var(--gold);
  display: block;
  height: 2px;
  width: 54px;
}

.intro-copy {
  max-width: 660px;
  padding-top: 26px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
}

.service-card {
  border: 1px solid var(--line);
  display: flex;
  gap: 24px;
  min-height: 190px;
  padding: 34px 28px;
}

.service-icon {
  align-items: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--green);
  display: flex;
  flex: 0 0 54px;
  font-size: 31px;
  height: 54px;
  justify-content: center;
}

.service-card h3 {
  font-size: 27px;
  margin: 4px 0 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

.industries {
  background: var(--cream);
  text-align: center;
}

.industries h2 {
  margin-bottom: 18px;
}

.centered {
  margin: 0 auto;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 44px;
}

.industry {
  border-right: 1px solid #d5cec0;
  padding: 10px 18px 0;
}

.industry:last-child {
  border-right: 0;
}

.industry-icon {
  color: var(--green);
  display: inline-block;
  font-size: 40px;
}

.industry p {
  font-size: 13px;
  line-height: 1.35;
  margin: 10px auto 0;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.story-copy {
  background: #fbf7ed;
  padding: 72px clamp(32px, 6vw, 105px);
}

.story-copy h2 {
  max-width: 560px;
}

.story-copy .gold-rule {
  margin: 25px 0;
}

.story-copy p {
  max-width: 590px;
}

.story-emphasis {
  font-weight: 900;
}

.story-image {
  background:
    linear-gradient(90deg, #fbf7ed 0%, transparent 12%, transparent 94%, #fbf7ed 100%),
    linear-gradient(180deg, #fbf7ed 0%, transparent 10%, transparent 90%, #fbf7ed 100%),
    url("/lancaster-business-wagon.png") center / cover no-repeat;
  min-height: 510px;
}

.promise {
  align-items: center;
  background: var(--deep-green);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: white;
  display: grid;
  gap: 38px;
  grid-template-columns: auto minmax(0, 950px);
  justify-content: center;
  padding: 44px 24px;
}

.promise .eyebrow {
  color: #d5b873;
  margin-bottom: 8px;
}

.promise h2 {
  font-size: clamp(27px, 2.6vw, 39px);
  margin-bottom: 10px;
}

.promise p:last-child {
  margin-bottom: 0;
}

.promise h2,
.promise p:last-child {
  color: white;
}

.promise-seal {
  align-items: center;
  border: 1px solid rgba(213, 184, 115, 0.7);
  border-radius: 50%;
  color: #d5b873;
  display: flex;
  font-size: 38px;
  height: 104px;
  justify-content: center;
  width: 104px;
}

.contact {
  background:
    linear-gradient(rgba(246, 242, 233, 0.92), rgba(246, 242, 233, 0.92)),
    url("/lancaster-hero.png") center 40% / cover;
  text-align: center;
}

.contact h2 {
  margin-bottom: 14px;
}

.contact > p:not(.eyebrow) {
  margin: 0 auto;
  max-width: 620px;
}

.contact-actions {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 28px;
}

.contact .button {
  background: #f7f1e5;
  color: var(--green);
}

.contact .button:hover,
.contact .button:focus-visible {
  background: var(--green);
  color: white;
}

.text-link {
  border-bottom: 1px solid var(--green);
  color: var(--green);
  font-weight: 700;
}

footer {
  background: #202423;
  color: #ede9df;
  display: grid;
  gap: 34px;
  grid-template-columns: 1.1fr 1fr;
  padding: 42px clamp(24px, 6.5vw, 108px) 24px;
}

footer .brand {
  color: white;
}

footer .brand-name {
  color: #f3eee5;
}

footer .brand-wagon {
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.footer-logo-plate {
  display: block;
  height: 56px;
  overflow: hidden;
  width: 92px;
}

.footer-logo-plate .brand-wagon {
  display: block;
  filter: grayscale(1) brightness(2.35) contrast(1.08);
  height: 74px;
  max-width: none;
  opacity: 1;
  transform: translate(-10px, -9px);
  width: 112px;
}

.footer-contact > * {
  align-items: center;
  display: flex;
  gap: 9px;
}

.footer-contact > *::before {
  color: #d5b873;
  font-family: "Material Symbols Outlined";
  font-size: 17px;
  font-weight: 300;
}

.footer-contact a[href^="mailto:"]::before { content: "mail"; }
.footer-contact a[href^="tel:"]::before { content: "call"; }
.footer-contact span::before { content: "location_on"; }

.footer-brand {
  align-items: center;
  display: flex;
  gap: 40px;
}

.footer-brand > p {
  border-left: 1px solid #75644d;
  font-size: 13px;
  margin: 0;
  max-width: 190px;
  padding-left: 38px;
}

.footer-contact {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  justify-content: center;
}

.footer-contact a:hover {
  color: #d5b873;
}

.copyright {
  border-top: 1px solid #474a46;
  font-size: 11px;
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .service-card {
    flex-direction: column;
  }

  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
  }

  .industry:nth-child(3) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 12px;
    min-height: 76px;
    padding: 10px 18px;
  }

  .brand-wagon {
    height: 44px;
    width: 67px;
  }

  .brand-divider {
    height: 36px;
  }

  .brand-name strong {
    font-size: 17px;
  }

  .brand-name small {
    font-size: 8px;
  }

  .header-button {
    font-size: 10px;
    min-height: 44px;
    padding: 0 13px;
  }

  .hero {
    background-position: 63% center;
    min-height: 620px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(255, 249, 235, 0.94), rgba(255, 249, 235, 0.66) 82%, transparent);
  }

  .hero-content {
    padding-top: 62px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .section-intro,
  .story,
  footer {
    grid-template-columns: 1fr;
  }

  .section-intro {
    gap: 16px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-direction: row;
    min-height: auto;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry:nth-child(3) {
    border-right: 1px solid #d5cec0;
  }

  .industry:nth-child(even) {
    border-right: 0;
  }

  .story-image {
    min-height: 360px;
    order: -1;
  }

  .promise {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promise-seal {
    margin: 0 auto;
  }

  .contact-actions,
  .footer-brand {
    flex-direction: column;
  }

  .footer-brand {
    align-items: flex-start;
    gap: 20px;
  }

  .footer-brand > p {
    border-left: 0;
    border-top: 1px solid #75644d;
    padding: 18px 0 0;
  }
}

