/* ===== Variables ===== */
:root {
  --cream: #f7f2ee;
  --brown: #524438;
  --black: #000;
  --white: #fff;
  --blue: #252fc1;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { height: 100%; }

body {
  color: #000;
  background-color: var(--cream);
  font-family: 'Satoshi', Arial, sans-serif;
  font-weight: 900;
  line-height: 1.7;
  min-height: 100%;
}

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

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

ul { list-style: none; }

/* ===== Navbar ===== */
.navbar {
  background-color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 68px;
  max-width: 100%;
}

.navbar-brand img {
  display: block;
  width: 262px;
  max-width: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  color: var(--brown);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25px;
  padding: 20px 10px;
  margin: 0 5px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}

.nav-link:hover {
  color: rgba(26, 27, 31, 0.75);
}

.nav-link-sm {
  color: var(--brown);
  font-size: 14px;
  font-weight: 500;
  padding: 0 10px;
  margin: 0 5px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}

.nav-link-sm:hover {
  color: rgba(26, 27, 31, 0.75);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--brown);
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  background-color: var(--cream);
  padding-bottom: 72px;
}

.section-content {
  padding: 48px 68px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.section-lower {
  padding: 0;
}

/* ===== Sections ===== */
.section-dark {
  background-color: var(--brown);
  color: var(--white);
  padding-top: 31px;
  padding-bottom: 36px;
}

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

.container {
  padding: 48px 68px;
}

.container.coffee-bg {
  background-color: var(--cream);
}

/* ===== Typography ===== */
.text-header {
  color: var(--brown);
  font-size: 7vw;
  font-weight: 900;
  padding-top: 29px;
  padding-bottom: 20px;
  line-height: 1.1;
  overflow: hidden;
}

.text-header.is-white {
  color: var(--white);
  text-align: left;
}

.text-header.coffee-text {
  align-self: flex-start;
  width: 80%;
}

.tagline {
  font-family: 'Caveat', sans-serif;
  font-size: 6.7em;
  font-style: italic;
  font-weight: 600;
  padding: 0 68px;
  margin-bottom: -41px;
  line-height: 1.2;
  display: block;
}

.coffee-text {
  color: var(--brown);
}

.text-subheader {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 100%;
  margin-bottom: 18px;
  padding-bottom: 16px;
  line-height: 1.7;
}

.text-subheader.coffee-text {
  color: var(--brown);
}

.text-subheader.cta {
  max-width: 50vw;
}

.text-subheader.cta.coffee-text {
  color: var(--brown);
}

/* ===== Two Column Layout ===== */
.two-col {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.col-text {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  padding-right: 10px;
}

.col-image {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
}

.section-img {
  width: 398px;
  height: 398px;
  object-fit: cover;
}

/* ===== Dividers ===== */
.divider-sm {
  height: 21px;
}

.quote-rule {
  background-color: var(--brown);
  width: 100%;
  height: 2px;
  margin-top: 26px;
  margin-bottom: 0;
}

/* ===== Quote ===== */
.quote-text {
  color: #121112;
  font-size: 2.1em;
  font-style: italic;
  font-weight: 300;
  line-height: 1.9;
  padding-top: 0;
}

.quote-attr {
  color: var(--brown);
  font-weight: 500;
  font-style: italic;
}

/* ===== Services ===== */
.services-row {
  display: flex;
  gap: 0;
}

.service-col {
  flex: 0 0 33.333%;
  padding: 68px 10px 0;
}

.service-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-feature {
  text-align: center;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding-top: 26px;
}

/* ===== Trusted With ===== */
.trusted-section {
  background-color: var(--cream);
}

.trusted-inner {
  padding: 0 68px 60px;
  text-align: center;
}

.trusted-rule {
  background-color: var(--brown);
  width: 100%;
  height: 2px;
  margin-top: 26px;
  margin-bottom: 25px;
}

.trusted-label {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 24px;
  display: block;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logos-row img {
  object-fit: contain;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--brown);
  padding: 50px 30px 70px;
}

.footer-top {
  max-width: 900px;
  margin: -2px auto 33px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.footer-copyright {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.footer-social {
  display: flex;
  align-items: center;
  margin-left: -32px;
}

.footer-social a {
  margin-left: 32px;
}

.tos-link {
  display: block;
  background-color: var(--brown);
  color: var(--white);
  text-align: center;
  padding: 0 30px 20px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.tos-link:hover {
  opacity: 1;
}


/* ===== Animation initial states ===== */
.anim,
.anim-stagger {
  will-change: transform, opacity;
}

/* ===== Responsive: Tablet ===== */
@media screen and (max-width: 991px) {
  .navbar-container {
    padding: 0 30px;
  }

  .nav-link-sm {
    display: none;
  }

  .section-content,
  .section-lower,
  .tagline {
    padding-left: 30px;
    padding-right: 30px;
  }

  .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .trusted-inner {
    padding-left: 30px;
    padding-right: 30px;
  }

  .text-header {
    font-size: 10vw;
  }

  .text-header.coffee-text {
    width: 100%;
  }

  .tagline {
    font-size: 4.5em;
  }

  .two-col {
    flex-direction: column;
  }

  .col-text, .col-image {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .text-subheader.cta {
    max-width: 100%;
  }

  .section-img {
    width: 100%;
    height: auto;
  }

  .services-row {
    flex-wrap: wrap;
  }

  .service-col {
    flex: 0 0 100%;
    padding-top: 30px;
  }
}

/* ===== Responsive: Mobile ===== */
@media screen and (max-width: 767px) {
  .navbar-container {
    padding: 0 20px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--cream);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 4px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link-sm {
    display: block;
  }

  .section-content {
    display: block;
    padding: 32px 20px 0;
  }

  .section-lower {
    padding: 0 20px;
  }

  .tagline {
    font-size: 3em;
    padding: 0 20px;
    margin-bottom: 0;
  }

  .text-header {
    font-size: 13vw;
    width: 100%;
  }

  .container {
    padding: 32px 20px;
  }

  .trusted-inner {
    padding: 0 20px 40px;
  }

  .logos-row {
    gap: 24px;
  }

  .quote-text {
    font-size: 1.4em;
  }

  .footer {
    padding: 40px 20px 60px;
  }
}
