:root {
  --paper: #f6f2e9;
  --paper-raised: #fffaf0;
  --ink: #24211d;
  --muted: #716b62;
  --line: #d9d2c5;
  --accent: #796b4e;
  --deep: #312d26;
  --green: #526d58;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  margin: 0;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.wrap {
  margin-inline: auto;
  max-width: var(--max-width);
  width: calc(100% - 64px);
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 88px;
  justify-content: space-between;
}

.wordmark {
  align-items: center;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 750;
  gap: 10px;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark-dot {
  background: var(--ink);
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

nav {
  display: flex;
  font-size: 0.84rem;
  gap: 30px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  padding-block: clamp(100px, 15vw, 190px) clamp(110px, 16vw, 210px);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.5rem, 8.4vw, 7.5rem);
  line-height: 0.94;
  margin: 0;
  max-width: 1020px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  margin: 42px 0 0;
  max-width: 550px;
}

.apps-section,
.principles {
  border-top: 1px solid var(--line);
  padding-block: 76px 120px;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 56px;
}

.section-heading .eyebrow {
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin: 0;
}

.app-card {
  align-items: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 5px;
  display: grid;
  gap: 28px;
  grid-template-columns: auto 1fr auto;
  min-height: 180px;
  padding: 32px;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.app-card:hover {
  border-color: #b8ad9a;
  transform: translateY(-3px);
}

.app-card h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}

.app-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 8px 0 0;
}

.app-card-title-row {
  align-items: center;
  display: flex;
  gap: 18px;
}

.app-card-title-row span,
.status-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.arrow {
  font-size: 1.7rem;
  margin-right: 10px;
}

.memento-icon {
  align-items: center;
  background: var(--deep);
  border-radius: 22%;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 8%),
    0 12px 30px rgb(36 33 29 / 15%);
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.memento-icon-small {
  height: 112px;
  width: 112px;
}

.memento-icon-large {
  height: min(34vw, 360px);
  min-height: 260px;
  min-width: 260px;
  width: min(34vw, 360px);
}

.memento-icon svg {
  fill: #d6c397;
  overflow: visible;
  stroke: #ecdcae;
  stroke-linejoin: round;
  stroke-width: 1.2;
  width: 68%;
  z-index: 1;
}

.memento-icon .glow {
  fill: none;
  stroke: #fff3b7;
  stroke-width: 2.5;
}

.icon-light {
  background: #dcae5c;
  border-radius: 50%;
  filter: blur(45px);
  height: 50%;
  position: absolute;
  top: 24%;
  width: 34%;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.78rem;
  justify-content: space-between;
  min-height: 110px;
}

.site-footer div {
  display: flex;
  gap: 24px;
}

.product-hero {
  align-items: center;
  display: grid;
  gap: clamp(60px, 10vw, 140px);
  grid-template-columns: 1.25fr 0.75fr;
  min-height: calc(100vh - 88px);
  padding-block: 100px;
}

.product-hero h1 {
  font-size: clamp(4rem, 8vw, 7.2rem);
}

.product-actions {
  align-items: center;
  display: flex;
  gap: 24px;
  margin-top: 38px;
}

.product-actions a {
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.product-art {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.product-art > p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  margin: 24px 0 0;
}

.principle-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.principle-grid article {
  border-left: 1px solid var(--line);
  padding: 8px 38px 16px;
}

.principle-grid article:first-child {
  border-left: 0;
  padding-left: 0;
}

.principle-grid article:last-child {
  padding-right: 0;
}

.principle-grid span {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.principle-grid h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.05;
  margin: 50px 0 20px;
}

.principle-grid p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
  margin: 0;
}

.closing-statement {
  padding-block: clamp(130px, 20vw, 240px);
  text-align: center;
}

.closing-statement blockquote {
  font-size: clamp(2.9rem, 7vw, 6.5rem);
  line-height: 1;
  margin: 0;
}

.prose {
  max-width: 780px;
  padding-block: 110px 150px;
}

.prose h1 {
  font-size: clamp(3.2rem, 7vw, 5.5rem);
}

.effective-date {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 24px 0 0;
}

.prose-lead {
  color: var(--ink) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.05rem) !important;
  line-height: 1.45 !important;
  margin: 72px 0 !important;
}

.prose h2 {
  font-size: 1.65rem;
  margin: 58px 0 16px;
}

.prose p,
.prose li {
  color: #575149;
  font-size: 0.98rem;
  line-height: 1.82;
}

.prose li + li {
  margin-top: 10px;
}

.prose strong {
  color: var(--ink);
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 76px;
  }

  nav {
    gap: 18px;
  }

  .hero {
    padding-block: 90px 120px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 15vw, 5rem);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
  }

  .app-card {
    gap: 20px;
    grid-template-columns: auto 1fr;
    padding: 22px;
  }

  .memento-icon-small {
    height: 78px;
    width: 78px;
  }

  .app-card-title-row {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .app-card h3 {
    font-size: 2.2rem;
  }

  .app-card p {
    font-size: 0.87rem;
  }

  .app-card .arrow {
    display: none;
  }

  .product-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 90px 120px;
  }

  .product-copy {
    order: 2;
  }

  .product-art {
    order: 1;
  }

  .memento-icon-large {
    height: min(76vw, 330px);
    min-height: 0;
    min-width: 0;
    width: min(76vw, 330px);
  }

  .product-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .principle-grid article,
  .principle-grid article:first-child,
  .principle-grid article:last-child {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 0 40px;
  }

  .principle-grid h3 {
    margin-top: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding-block: 28px;
  }

  .prose {
    padding-block: 80px 110px;
  }

  .prose-lead {
    margin-block: 54px !important;
  }
}

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

  .app-card {
    transition: none;
  }
}
