:root {
  color-scheme: light;
  --paper: #f7f1e4;
  --paper-strong: #fefaf2;
  --ink: #1b2722;
  --muted: rgba(27, 39, 34, 0.72);
  --line: rgba(27, 39, 34, 0.12);
  --forest: #204a3c;
  --moss: #607a45;
  --copper: #c46a3d;
  --clay: #a6402d;
  --mist: rgba(255, 252, 245, 0.72);
  --shadow: 0 24px 60px rgba(47, 34, 20, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(196, 106, 61, 0.22), transparent 32%),
    radial-gradient(circle at top right, rgba(96, 122, 69, 0.18), transparent 28%),
    linear-gradient(180deg, #fdf9f1 0%, #f3ecdf 54%, #efe5d5 100%);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.2rem, 3vw, 2.6rem);
  background: rgba(247, 241, 228, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(27, 39, 34, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(47, 34, 20, 0.16);
}

.brand-wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  font-size: 0.96rem;
}

.topnav a {
  text-decoration: none;
  color: rgba(27, 39, 34, 0.76);
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--forest);
}

.section {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 4vw, 3rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: calc(100vh - 4.8rem);
  overflow: clip;
}

.ambient {
  position: absolute;
  pointer-events: none;
  filter: blur(10px);
}

.ambient-a {
  right: -8rem;
  top: 4rem;
  width: 24rem;
  height: 24rem;
  border-radius: 45% 55% 50% 50%;
  background: radial-gradient(circle, rgba(196, 106, 61, 0.22), transparent 68%);
  animation: drift 11s ease-in-out infinite;
}

.ambient-b {
  left: -8rem;
  bottom: -4rem;
  width: 22rem;
  height: 22rem;
  border-radius: 53% 47% 62% 38%;
  background: radial-gradient(circle, rgba(96, 122, 69, 0.18), transparent 70%);
  animation: drift 14s ease-in-out infinite reverse;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: rgba(27, 39, 34, 0.58);
}

h1,
h2,
h3,
.brand-wordmark {
  text-wrap: balance;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 9vw, 6.2rem);
  line-height: 0.93;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.08rem, 2.6vw, 1.35rem);
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fffaf4;
  background: linear-gradient(135deg, var(--forest), var(--copper));
  box-shadow: 0 18px 34px rgba(32, 74, 60, 0.24);
}

.button-secondary {
  background: rgba(255, 250, 242, 0.65);
  border-color: rgba(27, 39, 34, 0.14);
}

.hero-points {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  max-width: 42rem;
}

.hero-points li,
.problem-card,
.workflow-step,
.future-card {
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.62);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(47, 34, 20, 0.07);
}

.hero-points li {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.desk-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  border: 1px solid rgba(27, 39, 34, 0.12);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(247, 240, 230, 0.88)),
    var(--paper-strong);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
}

.desk-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.52) 40%, transparent 68%);
  transform: translateX(-120%);
  animation: sheen 7s ease-in-out infinite;
}

.desk-card-header,
.contact-sheet,
.timeline-item,
.signal-strip {
  position: relative;
  z-index: 1;
}

.desk-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mini-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(32, 74, 60, 0.1);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 700;
}

.window-dots {
  display: inline-flex;
  gap: 0.4rem;
}

.window-dots span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(27, 39, 34, 0.2);
}

.contact-sheet {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(32, 74, 60, 0.08), rgba(196, 106, 61, 0.1));
}

.contact-label,
.contact-role {
  margin: 0;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(27, 39, 34, 0.54);
}

.contact-sheet h2 {
  margin: 0.3rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.contact-role {
  color: var(--muted);
}

.follow-up-badge {
  min-width: 8.4rem;
  padding: 0.85rem 0.95rem;
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(27, 39, 34, 0.1);
}

.follow-up-badge span,
.follow-up-badge strong {
  display: block;
}

.follow-up-badge span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(27, 39, 34, 0.55);
}

.follow-up-badge strong {
  margin-top: 0.35rem;
  font-size: 1.05rem;
}

.timeline {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid rgba(27, 39, 34, 0.08);
}

.timeline-date {
  display: inline-flex;
  align-items: start;
  justify-content: start;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(27, 39, 34, 0.56);
}

.timeline-item h3,
.timeline-item p {
  margin: 0;
}

.timeline-item p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.email {
  border-left: 5px solid var(--forest);
}

.call {
  border-left: 5px solid var(--copper);
}

.note {
  border-left: 5px solid var(--moss);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.signal-strip span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(32, 74, 60, 0.08);
  font-size: 0.82rem;
}

.section-intro {
  max-width: 48rem;
}

.section-intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
}

.section-intro p:last-child {
  margin: 1rem 0 0;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--muted);
}

.problem-grid,
.future-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.problem-card,
.future-card {
  padding: 1.3rem;
  border-radius: var(--radius-lg);
}

.problem-number {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: rgba(27, 39, 34, 0.52);
}

.problem-card h3,
.workflow-step h3,
.future-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.problem-card p,
.workflow-step p,
.future-card p,
.showcase-copy p,
.cta-panel p {
  margin: 0.75rem 0 0;
  line-height: 1.7;
  color: var(--muted);
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.workflow-step {
  position: relative;
  padding: 1.3rem;
  border-radius: 26px;
}

.step-marker {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--copper));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(32, 74, 60, 0.2);
}

.section-showcase {
  padding-top: 2rem;
}

.showcase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(32, 74, 60, 0.08), rgba(196, 106, 61, 0.1)),
    rgba(255, 252, 245, 0.72);
  border: 1px solid rgba(27, 39, 34, 0.1);
  box-shadow: var(--shadow);
}

.showcase-copy h2,
.cta-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.04;
}

.memory-stack {
  position: relative;
  min-height: 18rem;
}

.memory-card {
  position: absolute;
  width: min(100%, 19rem);
  padding: 1.15rem;
  border-radius: 24px;
  border: 1px solid rgba(27, 39, 34, 0.12);
  background: rgba(255, 252, 245, 0.85);
  box-shadow: 0 18px 36px rgba(47, 34, 20, 0.1);
}

.memory-card-a {
  top: 0;
  left: 0;
  transform: rotate(-4deg);
}

.memory-card-b {
  top: 4.5rem;
  right: 0;
  transform: rotate(3deg);
}

.memory-card-c {
  bottom: 0;
  left: 1.8rem;
  transform: rotate(-2deg);
}

.memory-title {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(27, 39, 34, 0.52);
}

.memory-card strong,
.memory-card small {
  display: block;
}

.memory-card strong {
  margin-top: 0.55rem;
  font-size: 1.08rem;
}

.memory-card small {
  margin-top: 0.45rem;
  color: var(--muted);
}

.cta-panel {
  padding: clamp(1.5rem, 4vw, 2.3rem);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(32, 74, 60, 0.92), rgba(127, 77, 49, 0.92));
  color: #fef9f1;
  box-shadow: 0 26px 70px rgba(32, 74, 60, 0.22);
}

.cta-panel .section-label,
.cta-panel p {
  color: rgba(255, 249, 240, 0.84);
}

.site-footer {
  padding: 0 1.2rem 2rem;
  text-align: center;
  color: rgba(27, 39, 34, 0.58);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.reveal-delay-1 {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 240ms;
}

.reveal-delay-3 {
  transition-delay: 360ms;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

@keyframes sheen {
  0%,
  100% {
    transform: translateX(-120%);
  }
  45%,
  55% {
    transform: translateX(120%);
  }
}

@media (max-width: 1080px) {
  .hero,
  .showcase-panel,
  .problem-grid,
  .future-grid,
  .workflow-rail {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .desk-card {
    transform: none;
  }

  .memory-stack {
    min-height: 22rem;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topnav {
    gap: 0.9rem;
  }

  .contact-sheet,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .contact-sheet {
    align-items: flex-start;
  }

  .follow-up-badge {
    width: 100%;
  }

  .memory-stack {
    min-height: 24rem;
  }

  .memory-card {
    width: calc(100% - 0.5rem);
  }

  .memory-card-b {
    top: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
