@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@400;500;600&display=swap');

:root {
  --ink: #20211d;
  --muted: #686960;
  --paper: #e8e3d6;
  --paper-light: #f2eee5;
  --olive: #4d503f;
  --olive-dark: #292c24;
  --line: rgba(32, 33, 29, 0.16);
  --white: #f7f5ef;
  --accent: #9a8a62;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.brand-number {
  font-family: Oswald, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.brand-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.brand-text small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .13em;
  opacity: .75;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .9;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  min-height: 760px;
  position: relative;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(22,24,19,.9) 0%, rgba(22,24,19,.68) 48%, rgba(22,24,19,.35) 100%),
    linear-gradient(135deg, #3e4035, #74735f 50%, #35372e);
  color: var(--white);
  overflow: hidden;
}

/* Replace the background above with your own image if desired:
   background-image:
     linear-gradient(...),
     url("images/hero.jpg");
*/

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 15px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.eyebrow {
  color: #d8cfb7;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Oswald, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .015em;
}

h1 {
  max-width: 900px;
  margin-bottom: 5px;
  font-size: clamp(60px, 9vw, 118px);
}

.hero-subtitle {
  margin: 0 0 25px;
  font-family: Oswald, sans-serif;
  font-size: clamp(25px, 3vw, 40px);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-intro {
  max-width: 640px;
  margin: 0 0 34px;
  font-size: 17px;
  color: rgba(247,245,239,.86);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 13px 21px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  border: 1px solid rgba(255,255,255,.5);
}

.button-primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.button-outline {
  color: var(--white);
}

.section {
  padding: 110px 0;
}

.section-kicker {
  color: var(--olive);
}

.section h2 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(42px, 5vw, 68px);
}

.lead {
  font-size: 21px;
  line-height: 1.65;
  color: #3f403a;
}

.section p:not(.section-kicker):not(.lead) {
  color: #595a53;
}

.section-dark {
  background: var(--olive-dark);
  color: var(--white);
}

.section-dark .section-kicker {
  color: #b8aa84;
}

.section-dark h2 {
  margin-bottom: 0;
}

.section-dark h2 span {
  color: #c8bea4;
}

.section-dark p {
  color: rgba(247,245,239,.75) !important;
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.history-grid p {
  font-size: 17px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 45px;
}

.card {
  min-height: 310px;
  padding: 35px;
  background: var(--paper-light);
  border: 1px solid var(--line);
}

.card-number {
  margin-bottom: 55px;
  font-family: Oswald, sans-serif;
  color: var(--accent);
  font-size: 22px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 29px;
}

.card p {
  margin: 0;
}

.quote-section {
  padding: 105px 0;
  background: var(--olive);
  color: var(--white);
}

blockquote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-family: Oswald, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.contact-section {
  background: #d9d4c7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 90px;
  align-items: center;
}

.social-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.social-link {
  display: flex;
  justify-content: space-between;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.social-link:hover {
  padding-left: 8px;
  color: var(--olive);
}

.site-footer {
  padding: 38px 0;
  background: #1c1e19;
  color: rgba(247,245,239,.7);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner strong {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-inner p {
  margin: 5px 0 0;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 800px) {
  .nav {
    min-height: 72px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 75px;
  }

  .section {
    padding: 80px 0;
  }

  .history-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 30px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  h1 {
    font-size: 54px;
  }

  .hero-intro {
    font-size: 15px;
  }
}
