:root {
  --offwhite: #F3EFE8;
  --charcoal: #24211F;
  --terracotta: #C66A42;
  --grey: #8A827A;
  --stone: #DDD6CD;
  --deep: #171513;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.narrow { max-width: 860px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243,239,232,.94);
  backdrop-filter: blur(10px);
  animation: headerIn .7s cubic-bezier(.22,1,.36,1) both;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-rule {
  border-bottom: 1px solid rgba(36,33,31,.1);
}

.brand-icon-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-icon {
  width: 42px;
  height: 42px;
  display: block;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.brand-icon-link:hover .nav-icon {
  transform: rotate(-5deg) scale(1.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav a { text-decoration: none; }

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--charcoal);
  transition:
    transform .22s ease,
    opacity .22s ease,
    background-color .22s ease,
    color .22s ease;
}

.nav-cta:hover { transform: translateY(-2px); }

.hero {
  padding: 56px 0 90px;
}

.hero-brand {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--stone);
}

.hero-icon {
  width: 178px;
  height: 178px;
  flex: 0 0 auto;
  display: block;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.hero-brand:hover .hero-icon {
  transform: rotate(-3deg) scale(1.02);
}

.hero-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.hero-submark {
  font-size: clamp(18px, 2vw, 26px);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--grey);
}

.hero-tag {
  margin-top: 8px;
  max-width: 700px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--terracotta);
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  gap: 80px;
  align-items: end;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 98px);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-weight: 500;
}

h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.lede {
  max-width: 760px;
  font-size: clamp(20px, 2.1vw, 28px);
  color: #4b4540;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 14px 18px;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--offwhite);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition:
    transform .22s ease,
    opacity .22s ease,
    background-color .22s ease,
    color .22s ease;
}

.button:hover { transform: translateY(-2px); }

.text-link {
  font-weight: 650;
  text-underline-offset: 4px;
  transition: opacity .22s ease;
}

.text-link:hover { opacity: .65; }

.hero-note {
  padding: 26px 0 6px 24px;
  border-left: 3px solid var(--terracotta);
  font-size: 18px;
}

.hero-note strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
}

.statement {
  padding: 70px 0;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.large-quote {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
}

.equation {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--terracotta);
}

.eyebrow {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 700;
  color: var(--terracotta);
}

.section { padding: 100px 0; }
.muted { background: #ebe5dd; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.prose {
  font-size: 19px;
  color: #514b46;
}

.clean-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--stone);
}

.clean-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--stone);
}

/* Commercial problem slot-machine section */
.problem-grid,
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.problem-card,
.offer {
  min-height: 250px;
  padding: 0;
  border: 1px solid rgba(36,33,31,.18);
  background: rgba(243,239,232,.35);
}

.problem-card {
  overflow: hidden;
  position: relative;
}

.problem-reel {
  min-height: 250px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transform: translateY(-112%);
  opacity: 0;
}

.problem-reel > span,
.offer-top > span {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.problem-reel h3,
.offer h3 {
  margin-top: 44px;
}

.commercial-problem.is-visible .problem-card:nth-child(1) .problem-reel {
  animation: reelDrop .8s cubic-bezier(.2,.92,.22,1.08) .06s both;
}

.commercial-problem.is-visible .problem-card:nth-child(2) .problem-reel {
  animation: reelDrop .8s cubic-bezier(.2,.92,.22,1.08) .42s both;
}

.commercial-problem.is-visible .problem-card:nth-child(3) .problem-reel {
  animation: reelDrop .8s cubic-bezier(.2,.92,.22,1.08) .78s both;
}

.section-title { max-width: 700px; }
.offer {
  padding: 26px;
  background: transparent;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .6s cubic-bezier(.22,1,.36,1),
    transform .6s cubic-bezier(.22,1,.36,1);
}

.reveal.is-visible .offer {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .offer:nth-child(2) { transition-delay: .08s; }
.reveal.is-visible .offer:nth-child(3) { transition-delay: .16s; }

.offer-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--stone);
  margin-bottom: 20px;
}

.offer-top h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.philosophy {
  background: var(--deep);
  color: var(--offwhite);
}

.philosophy blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.05;
}

.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 42px;
  color: #c8c0b7;
}

.cta {
  padding: 92px 0;
  background: var(--terracotta);
  color: var(--deep);
}

.cta .eyebrow {
  color: var(--deep);
  opacity: .7;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.5fr .5fr;
  gap: 60px;
  align-items: end;
}

.cta h2 { margin-bottom: 0; }

.button-dark {
  background: var(--deep);
  color: var(--offwhite);
  border-color: var(--deep);
  text-align: center;
}

.footer {
  padding: 28px 0;
  background: var(--deep);
  color: #c8c0b7;
  font-size: 13px;
}

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

.footer-icon {
  display: block;
  width: 34px;
  height: 34px;
}

.footer p { margin: 0; }

/* Launch and section reveals */
.launch-item {
  opacity: 0;
  transform: translateY(22px);
  animation: launchIn .9s cubic-bezier(.22,1,.36,1) both;
}

.launch-1 { animation-delay: .12s; }
.launch-2 { animation-delay: .26s; }
.launch-3 { animation-delay: .42s; }

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .72s cubic-bezier(.22,1,.36,1),
    transform .72s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes launchIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes headerIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reelDrop {
  0% { opacity: 0; transform: translateY(-112%); }
  65% { opacity: 1; transform: translateY(10%); }
  84% { transform: translateY(-4%); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-grid,
  .two-col,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .problem-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .commercial-problem.is-visible .problem-card:nth-child(1) .problem-reel {
    animation-delay: .06s;
  }
  .commercial-problem.is-visible .problem-card:nth-child(2) .problem-reel {
    animation-delay: .34s;
  }
  .commercial-problem.is-visible .problem-card:nth-child(3) .problem-reel {
    animation-delay: .62s;
  }
}

@media (max-width: 700px) {
  .header-inner { min-height: 74px; }
  .hero { padding-top: 36px; }
  .hero-brand {
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 42px;
  }
  .hero-icon {
    width: 120px;
    height: 120px;
  }
  .hero-wordmark-img {
    width: min(300px, 100%);
  }
  .hero-submark { letter-spacing: .12em; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-bottom: 70px; }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(46px, 16vw, 74px); }
  .footer-inner { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .launch-item,
  .offer,
  .problem-reel {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Start a conversation form */
.conversation-section {
  padding: 100px 0;
  border-top: 1px solid var(--stone);
  background: var(--offwhite);
}

.conversation-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.conversation-intro {
  max-width: 520px;
  font-size: 19px;
  color: #514b46;
}

.conversation-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.conversation-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}

.conversation-form label > span {
  letter-spacing: .04em;
}

.conversation-form input,
.conversation-form textarea {
  width: 100%;
  border: 1px solid #bdb5ac;
  background: transparent;
  color: var(--charcoal);
  padding: 14px 15px;
  border-radius: 0;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}

.conversation-form input:focus,
.conversation-form textarea:focus {
  border-color: var(--terracotta);
  background: rgba(255,255,255,.26);
}

.conversation-form textarea {
  resize: vertical;
  min-height: 150px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 4px;
}

.form-footer p {
  margin: 0;
  font-size: 14px;
  color: var(--grey);
}

.form-footer a {
  text-underline-offset: 3px;
}

.conversation-form button {
  cursor: pointer;
}

@media (max-width: 900px) {
  .conversation-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 620px) {
  .field-grid {
    grid-template-columns: 1fr;
  }

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

  .conversation-form button {
    width: 100%;
  }
}


/* About portrait */
.about-portrait {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0 26px;
}

@media (max-width: 980px) {
  .about-portrait {
    width: 180px;
    height: 180px;
  }
}
