@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #f6f5f1;
  --ink: #11120f;
  --muted: #67685f;
  --line: #d6d4cc;
  --orange: #f15a24;
  --green: #304b38;
  --max: 1400px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
  line-height: .82;
  font-family: Manrope, sans-serif;
}

.brand-the { grid-row: 1 / 3; align-self: start; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .62rem; letter-spacing: .32em; }
.brand-name { font-weight: 800; font-size: 1.55rem; letter-spacing: .02em; }
.brand-edit { font-size: .78rem; letter-spacing: .55em; margin-top: 8px; }
.header-link { font-size: .86rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

.hero {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  min-height: calc(100vh - 120px);
  padding: clamp(72px, 10vw, 150px) 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr);
  grid-template-rows: 1fr auto;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}

.eyebrow, .label {
  margin: 0 0 24px;
  color: var(--orange);
  text-transform: uppercase;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .2em;
}

h1, h2 { font-family: Manrope, sans-serif; margin: 0; letter-spacing: -.055em; line-height: .96; }
h1 { font-size: clamp(3.3rem, 7.8vw, 8rem); font-weight: 700; }
h1 em { color: var(--green); font-style: normal; }
.intro { max-width: 650px; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.35rem); margin: 42px 0 0; }

.hero-mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero-mark img { width: min(100%, 480px); position: relative; z-index: 2; animation: settle 1.2s ease-out both; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { width: 104%; height: 104%; }
.orbit-two { width: 134%; height: 134%; opacity: .6; }
.scroll-cue { grid-column: 1 / -1; justify-self: end; text-decoration: none; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }

.story {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--paper);
  padding: 0 max(32px, calc((100% - var(--max)) / 2));
}

.story article { padding: 60px 32px 70px; border-left: 1px solid #35362f; }
.story article:last-child { border-right: 1px solid #35362f; }
.number { color: #7e7f75; font-size: .7rem; letter-spacing: .15em; }
.story .label { margin-top: 70px; }
.story h2 { font-size: clamp(1.7rem, 2.4vw, 2.55rem); line-height: 1.05; letter-spacing: -.045em; }
.story article > p:last-child { color: #b8b9b0; font-size: .94rem; margin: 30px 0 0; }

.businesses { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; padding: clamp(90px, 12vw, 180px) 0; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: start; margin-bottom: 80px; }
.section-heading h2 { font-size: clamp(3rem, 6vw, 6.6rem); }
.business-list { border-top: 1px solid var(--ink); }
.business { display: grid; grid-template-columns: 70px 1.1fr 1fr 40px; gap: 25px; align-items: center; min-height: 150px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s ease, color .25s ease; }
.business:hover, .business:focus-visible { padding-left: 18px; color: var(--orange); }
.business-index { font-size: .72rem; color: var(--muted); }
.business-name { font-family: Manrope, sans-serif; font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 700; letter-spacing: -.035em; }
.business-copy { color: var(--muted); font-size: .94rem; max-width: 400px; }
.business-arrow { font-size: 1.25rem; justify-self: end; }

.contact {
  background: var(--green);
  color: white;
  padding: clamp(80px, 11vw, 150px) max(32px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
  align-items: center;
}
.contact img { width: min(100%, 390px); filter: drop-shadow(0 20px 45px rgba(0,0,0,.22)); }
.contact .eyebrow { color: #ff8254; }
.contact h2 {
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  line-height: 1.05;
}
.contact-button { display: inline-flex; gap: 35px; margin-top: 50px; padding: 16px 0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.65); font-weight: 600; }

footer { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; min-height: 110px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }

@keyframes settle { from { opacity: 0; transform: rotate(-12deg) scale(.9); } to { opacity: 1; transform: rotate(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-mark img { animation: none; } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-mark { position: absolute; width: 42vw; right: -10vw; top: 180px; opacity: .18; }
  .hero-copy { position: relative; z-index: 3; }
  .story { grid-template-columns: 1fr 1fr; }
  .story article:nth-child(2) { border-right: 1px solid #35362f; }
  .business { grid-template-columns: 50px 1fr 40px; padding: 30px 0; }
  .business-copy { grid-column: 2; }
  .business-arrow { grid-column: 3; grid-row: 1 / 3; }
}

@media (max-width: 640px) {
  .site-header, .hero, .businesses, footer { width: min(100% - 36px, var(--max)); }
  .site-header { min-height: 94px; }
  .header-link { font-size: 0; }
  .header-link span { font-size: 1.25rem; }
  .hero { min-height: calc(100svh - 94px); padding: 80px 0 40px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.6rem); }
  .hero-mark { width: 70vw; right: -30vw; top: 190px; }
  .story { grid-template-columns: 1fr; padding: 0 18px; }
  .story article, .story article:last-child, .story article:nth-child(2) { border-right: 1px solid #35362f; padding: 46px 26px 55px; }
  .story .label { margin-top: 35px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 55px; }
  .business { grid-template-columns: 34px 1fr 28px; gap: 12px; }
  .contact { grid-template-columns: 1fr; gap: 45px; padding-left: 24px; padding-right: 24px; }
  .contact img { width: 180px; }
  footer { align-items: flex-start; justify-content: center; flex-direction: column; gap: 7px; padding: 28px 0; }
  footer p { margin: 0; }
}
.brand-logo {
  display: block;
  line-height: 0;
}

.brand-logo img {
  display: block;
  width: 260px;
  height: auto;
}
.footer-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-details p {
  margin: 0;
}

.visitor-counter {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#visitor-count {
  color: var(--orange);
  font-weight: 700;
}
