:root {
  --paper: #f3eee2;
  --paper-deep: #e8dcc6;
  --ink: #1f2d2a;
  --muted: #55635e;
  --forest: #17362f;
  --forest-soft: #21453d;
  --bronze: #b87449;
  --bronze-soft: rgba(184, 116, 73, 0.18);
  --line: rgba(31, 45, 42, 0.14);
  --shadow: 0 24px 60px rgba(23, 24, 20, 0.16);
  --max-width: 1440px;
  --content-width: 1260px;
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at bottom right, rgba(184, 116, 73, 0.06), transparent 20%),
    linear-gradient(180deg, #f5f1e7 0%, #f1eadb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.7;
}

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

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

.site-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  border-left: 1px solid rgba(31, 45, 42, 0.08);
  border-right: 1px solid rgba(31, 45, 42, 0.08);
  background: rgba(243, 238, 226, 0.72);
  backdrop-filter: blur(6px);
}

.topbar,
.panel,
.footer {
  padding-left: clamp(1.4rem, 3vw, 3rem);
  padding-right: clamp(1.4rem, 3vw, 3rem);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 5.6rem;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brand-mark,
.identity-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2vw + 1.1rem, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.brand-tag,
.identity-tag,
.microcopy {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.9rem, 2vw, 2.4rem);
  flex-wrap: wrap;
}

.nav a,
.footer-links a,
.contact-link,
.identity-columns a {
  position: relative;
  font-size: 0.95rem;
  color: var(--ink);
}

.nav a::after,
.footer-links a::after,
.identity-columns a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after,
.identity-columns a:hover::after,
.identity-columns a:focus-visible::after {
  transform: scaleX(1);
}

.contact-link,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.25rem;
  border-radius: 0.9rem;
  font-weight: 700;
  transition:
    transform 240ms ease,
    background-color 240ms ease,
    color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.contact-link,
.primary-button {
  color: #f4efe4;
  background: linear-gradient(180deg, #193b34 0%, #122c27 100%);
  box-shadow: 0 14px 32px rgba(17, 34, 29, 0.18);
}

.contact-link:hover,
.contact-link:focus-visible,
.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #214840 0%, #14332d 100%);
}

.primary-button::after {
  content: "→";
  margin-left: 0.65rem;
  font-size: 1rem;
}

.secondary-button {
  border: 1px solid rgba(23, 54, 47, 0.2);
  color: var(--forest);
  background: rgba(255, 255, 255, 0.42);
}

.panel {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.panel::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 22rem;
  height: 22rem;
  background:
    radial-gradient(circle, rgba(184, 116, 73, 0.09), transparent 70%);
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  gap: 0;
  min-height: min(56rem, calc(100vh - 5.6rem));
}

.hero-copy,
.hero-scene {
  position: relative;
  min-height: 100%;
}

.hero-copy {
  padding:
    clamp(3.25rem, 7vw, 7.5rem)
    clamp(1rem, 2vw, 1.25rem)
    clamp(3rem, 6vw, 5rem)
    0;
}

.hero-copy::before,
.hero-copy::after {
  content: "";
  position: absolute;
  left: -0.85rem;
  width: 10rem;
  border-left: 1px solid rgba(122, 118, 108, 0.2);
  opacity: 0.65;
}

.hero-copy::before {
  bottom: 1.4rem;
  height: 11rem;
  border-top: 1px solid rgba(122, 118, 108, 0.2);
  border-radius: 6rem 6rem 0 0;
}

.hero-copy::after {
  bottom: 0;
  height: 6rem;
}

.hero h1,
.section-heading h2,
.identity-claim {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(4rem, 5vw, 6.7rem);
}

.hero h1 span {
  color: var(--bronze);
  font-style: italic;
}

.hero-text,
.intro-text p,
.step p,
.capability-card p,
.truth-card li,
.identity-columns p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(31, 45, 42, 0.82);
}

.hero-text {
  max-width: 33rem;
  margin: 2rem 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-scene {
  overflow: hidden;
  border-left: 1px solid rgba(31, 45, 42, 0.08);
  background:
    radial-gradient(circle at 95% 12%, rgba(255, 243, 217, 0.9), transparent 16%),
    linear-gradient(180deg, rgba(84, 58, 36, 0.24), rgba(84, 58, 36, 0.02)),
    linear-gradient(160deg, #beab91 0%, #8e7053 38%, #5d4635 100%);
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -7.6rem;
  width: 10rem;
  background:
    radial-gradient(circle at right center, transparent 55%, rgba(243, 238, 226, 0.94) 56%),
    linear-gradient(180deg, rgba(243, 238, 226, 0.98), rgba(243, 238, 226, 0.96));
  clip-path: polygon(100% 0, 74% 8%, 84% 18%, 70% 28%, 82% 40%, 66% 51%, 80% 63%, 67% 74%, 82% 86%, 70% 100%, 0 100%, 0 0);
  filter: drop-shadow(16px 0 20px rgba(66, 48, 33, 0.12));
  z-index: 2;
}

.scene-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 24%, rgba(35, 24, 18, 0.14)),
    radial-gradient(circle at 92% 12%, rgba(255, 248, 228, 0.95), transparent 14%),
    radial-gradient(circle at 78% 28%, rgba(255, 211, 134, 0.14), transparent 12%);
}

.scene-arches {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.5rem, 2vw, 2.5rem);
  padding-top: 4.5rem;
}

.arch {
  position: relative;
  flex: 0 0 23%;
  min-width: 8rem;
  max-width: 12rem;
  height: 18rem;
  border: 16px solid rgba(239, 225, 202, 0.6);
  border-bottom: 0;
  border-radius: 8rem 8rem 0 0;
  background:
    linear-gradient(180deg, rgba(54, 39, 30, 0.26), rgba(26, 20, 16, 0.58)),
    linear-gradient(90deg, rgba(242, 215, 170, 0.08), rgba(255, 255, 255, 0.1), rgba(57, 43, 34, 0.12));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -2rem 4rem rgba(0, 0, 0, 0.22);
}

.arch::before {
  content: "";
  position: absolute;
  inset: 2.25rem 1.5rem 0;
  border-radius: 6rem 6rem 0 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(53, 42, 31, 0.78) 0 10%,
      rgba(129, 104, 76, 0.74) 10% 12%,
      rgba(47, 38, 29, 0.84) 12% 22%
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255, 230, 187, 0.06) 0 16%,
      rgba(0, 0, 0, 0.14) 16% 18%
    );
  box-shadow: inset 0 0 0 1px rgba(248, 238, 221, 0.06);
}

.arch::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 5.8rem;
  height: 0.35rem;
  background: rgba(237, 218, 184, 0.55);
  box-shadow:
    0 2.75rem 0 rgba(237, 218, 184, 0.45),
    0 5.55rem 0 rgba(237, 218, 184, 0.35),
    0 8.4rem 0 rgba(237, 218, 184, 0.28);
}

.arch-left,
.arch-right {
  transform: translateY(1.15rem) scale(0.94);
}

.scene-shelves {
  position: absolute;
  inset: auto 0 12.2rem;
  height: 10rem;
}

.shelf {
  position: absolute;
  left: 17%;
  right: 7%;
  height: 0.36rem;
  border-radius: 999px;
  background: rgba(63, 43, 31, 0.48);
}

.shelf::before {
  content: "";
  position: absolute;
  left: 3%;
  top: -1.55rem;
  width: 78%;
  height: 1.15rem;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(28, 36, 30, 0.92) 0 5%,
      rgba(67, 50, 39, 0.9) 5% 7.2%,
      rgba(177, 137, 86, 0.68) 7.2% 7.8%,
      rgba(44, 33, 24, 0.9) 7.8% 12.5%
    );
  box-shadow:
    0 1.9rem 0 rgba(45, 34, 25, 0.24),
    0 3.8rem 0 rgba(45, 34, 25, 0.18);
}

.shelf-top {
  top: 1rem;
}

.shelf-mid {
  top: 3.9rem;
}

.shelf-bottom {
  top: 6.8rem;
}

.scene-table {
  position: absolute;
  left: 8%;
  right: -2%;
  bottom: 2rem;
  height: 14rem;
  background:
    linear-gradient(180deg, rgba(201, 167, 115, 0.18), transparent 12%),
    linear-gradient(90deg, rgba(84, 55, 37, 0.95), rgba(136, 99, 63, 0.98) 42%, rgba(83, 57, 39, 0.94));
  border-radius: 1.8rem 1.8rem 0 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 206, 0.22),
    0 -1rem 2.5rem rgba(26, 19, 13, 0.14);
}

.scene-table::before {
  content: "";
  position: absolute;
  inset: 2.1rem 0 auto;
  height: 2.1rem;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 7%,
      rgba(41, 27, 19, 0.22) 7% 7.6%,
      transparent 7.6% 14.8%
    );
  opacity: 0.5;
}

.scene-table::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 14%;
  top: -4.6rem;
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(73, 52, 39, 0.54);
  box-shadow:
    0 0 0 0.25rem rgba(255, 238, 210, 0.08),
    -11rem 0 0 rgba(73, 52, 39, 0.54),
    11rem 0 0 rgba(73, 52, 39, 0.54);
}

.scene-books {
  position: absolute;
  inset: auto 0 2rem 0;
  height: 15rem;
}

.book-stack {
  position: absolute;
  left: 18%;
  bottom: 1.5rem;
  width: 11rem;
  height: 6rem;
}

.book {
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  height: 2.05rem;
  border-radius: 0.3rem 0.45rem 0.28rem 0.38rem;
  box-shadow: 0 0.65rem 1.3rem rgba(20, 12, 8, 0.18);
}

.book::before {
  content: "";
  position: absolute;
  left: 8%;
  top: 22%;
  width: 62%;
  height: 1px;
  background: rgba(253, 244, 228, 0.3);
}

.book.dark {
  bottom: 0;
  background: linear-gradient(180deg, #16342f 0%, #10241f 100%);
}

.book.clay {
  left: 0.7rem;
  right: -0.2rem;
  bottom: 1.7rem;
  background: linear-gradient(180deg, #7c523e 0%, #573828 100%);
}

.book.sand {
  left: 1.15rem;
  right: 0.4rem;
  bottom: 3.3rem;
  background: linear-gradient(180deg, #d7c09f 0%, #a98762 100%);
}

.open-book {
  position: absolute;
  left: 50%;
  bottom: 2.15rem;
  width: 13.25rem;
  height: 4.2rem;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.12) 49.4%, transparent 49.4% 50.6%, rgba(0, 0, 0, 0.12) 50.6%),
    linear-gradient(180deg, #f3e9d8 0%, #e1cfb0 100%);
  border-radius: 0.6rem 0.6rem 1.45rem 1.45rem;
  transform: perspective(600px) rotateX(50deg) skewX(-6deg);
  box-shadow:
    0 1.2rem 1.6rem rgba(24, 16, 10, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.open-book::before,
.open-book::after {
  content: "";
  position: absolute;
  top: 0.9rem;
  width: 4.6rem;
  height: 1px;
  background: rgba(115, 93, 66, 0.24);
  box-shadow:
    0 0.6rem 0 rgba(115, 93, 66, 0.2),
    0 1.2rem 0 rgba(115, 93, 66, 0.17);
}

.open-book::before {
  left: 1.1rem;
}

.open-book::after {
  right: 1.1rem;
}

.coffee-cup {
  position: absolute;
  right: 9.5%;
  bottom: 2.4rem;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #3e2719 0 30%, #7d5a3f 31% 42%, #efdfc4 43% 60%, transparent 61%),
    linear-gradient(180deg, #f4e4c8, #d8bf98);
  box-shadow: 0 0.8rem 1.4rem rgba(19, 10, 5, 0.16);
}

.coffee-cup::after {
  content: "";
  position: absolute;
  right: -0.55rem;
  top: 0.82rem;
  width: 0.95rem;
  height: 1.1rem;
  border: 0.2rem solid #ead7ba;
  border-left: 0;
  border-radius: 0 0.9rem 0.9rem 0;
}

.scene-note {
  position: absolute;
  right: -0.5rem;
  bottom: -0.5rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(18rem, 42%);
  padding: 1.65rem 1.75rem 1.85rem 1.45rem;
  border-radius: 12rem 0 0 0;
  color: #efe8d6;
  background: radial-gradient(circle at top right, #1e473f, #123029 72%);
}

.scene-note p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.5;
}

.note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 4.8rem;
  font-size: 1.85rem;
  border: 1px solid rgba(244, 230, 207, 0.35);
  border-radius: 2rem 2rem 0.4rem 0.4rem;
  opacity: 0.85;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.section-heading h2 {
  font-size: clamp(3rem, 4vw, 4.35rem);
  max-width: 12ch;
}

.section-lead {
  margin: 0;
  font-size: 1.15rem;
  color: rgba(31, 45, 42, 0.82);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4vw, 6rem);
  align-items: center;
  padding-top: clamp(3rem, 6vw, 4.8rem);
  padding-bottom: clamp(3rem, 6vw, 4.8rem);
}

.intro::after {
  content: "";
  position: absolute;
  right: 2.8rem;
  bottom: 0.2rem;
  width: 15rem;
  height: 11rem;
  border-right: 1px solid rgba(114, 108, 95, 0.18);
  border-top: 1px solid rgba(114, 108, 95, 0.18);
  border-radius: 6rem 6rem 0 0;
  opacity: 0.8;
}

.intro::before {
  content: "";
  position: absolute;
  right: 2.2rem;
  bottom: 0;
  width: 15rem;
  height: 2.4rem;
  border-top: 1px solid rgba(114, 108, 95, 0.18);
}

.intro-text {
  max-width: 40rem;
}

.capabilities,
.method,
.identity {
  padding-top: clamp(3.2rem, 6vw, 5.2rem);
  padding-bottom: clamp(3.2rem, 6vw, 5.2rem);
}

.capabilities {
  background:
    linear-gradient(90deg, rgba(23, 54, 47, 0.98) 0 14%, transparent 14%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    rgba(245, 240, 231, 0.42);
}

.capabilities::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 14%;
  height: 100%;
  background:
    linear-gradient(180deg, transparent 0 15%, rgba(250, 242, 227, 0.14) 15% 15.5%, transparent 15.5% 31%, rgba(250, 242, 227, 0.14) 31% 31.5%, transparent 31.5% 100%);
  opacity: 0.45;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.capabilities .section-heading,
.capability-grid {
  position: relative;
  z-index: 2;
  margin-left: max(7rem, 14%);
  width: calc(100% - max(7rem, 14%));
}

.capability-card {
  position: relative;
  padding: 2.25rem clamp(1rem, 2vw, 2rem) 0;
  min-height: 17rem;
}

.capability-card + .capability-card {
  border-left: 1px solid var(--line);
}

.capability-card h3,
.step h3,
.truth-card h3,
.identity-columns h3 {
  margin: 1rem 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 1.2vw + 1rem, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.capability-icon,
.step-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.7rem;
  height: 4.7rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: rgba(49, 57, 53, 0.68);
  border: 1px solid rgba(49, 57, 53, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.method {
  overflow: hidden;
}

.method::after {
  content: "";
  position: absolute;
  right: 0;
  top: 1.5rem;
  width: 19rem;
  height: 19rem;
  background:
    linear-gradient(135deg, rgba(184, 116, 73, 0.08), rgba(243, 238, 226, 0)),
    repeating-linear-gradient(
      0deg,
      rgba(123, 95, 66, 0.11) 0 1px,
      transparent 1px 1.5rem
    );
  transform: rotate(8deg);
  opacity: 0.55;
}

.method-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.step {
  position: relative;
  text-align: center;
  padding: 0 0.9rem;
}

.step-connector {
  align-self: start;
  width: clamp(3rem, 5vw, 5.4rem);
  height: 1px;
  margin-top: 2.25rem;
  background: rgba(90, 88, 78, 0.42);
}

.step-connector::after {
  content: "→";
  position: relative;
  left: 100%;
  top: -0.75rem;
  color: rgba(90, 88, 78, 0.55);
  font-size: 1.2rem;
}

.panel-dark {
  color: #f4ecdd;
  background:
    linear-gradient(90deg, #17362f 0 72%, #cbb192 72% 100%),
    #17362f;
}

.panel-dark::before {
  right: 3rem;
  bottom: 2rem;
  width: 16rem;
  height: 17rem;
  background:
    radial-gradient(circle at bottom, rgba(226, 184, 120, 0.18), transparent 60%);
  opacity: 0.9;
}

.section-heading-light .section-lead,
.section-heading-light h2,
.panel-dark .microcopy,
.panel-dark .truth-card li,
.panel-dark .truth-card h3 {
  color: inherit;
}

.transparency {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-top: clamp(3.2rem, 5vw, 4.75rem);
  padding-bottom: clamp(3.2rem, 5vw, 4.75rem);
}

.truth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.truth-card {
  position: relative;
  padding-top: 4rem;
}

.truth-card::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 2.5rem;
  height: 1px;
  background: rgba(244, 236, 221, 0.45);
}

.truth-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.truth-card li + li {
  margin-top: 0.9rem;
}

.truth-card-negative {
  color: #4d3427;
}

.truth-card-negative h3,
.truth-card-negative li {
  color: inherit;
}

.identity {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}

.identity-brand {
  display: grid;
  gap: 1rem;
  max-width: 24rem;
}

.identity-brand::after {
  content: "";
  display: block;
  width: 9rem;
  height: 0.22rem;
  background: linear-gradient(90deg, var(--forest), transparent);
  border-radius: 999px;
}

.identity-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 2vw, 2.5rem);
}

.identity-columns article {
  min-width: 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  background: #17362f;
  color: rgba(244, 239, 228, 0.85);
}

.footer p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.reveal {
  opacity: 1;
  transform: translateY(24px);
  transition:
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

  .reveal,
  .reveal.is-visible,
  .contact-link,
  .primary-button,
  .secondary-button,
  .nav a::after,
  .footer-links a::after,
  .identity-columns a::after {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    padding-right: 0;
    padding-bottom: 2rem;
  }

  .hero-scene {
    min-height: 35rem;
    border-left: 0;
    border-top: 1px solid rgba(31, 45, 42, 0.08);
  }

  .hero-scene::before {
    top: -4.75rem;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 7rem;
    clip-path: polygon(0 100%, 8% 76%, 18% 90%, 29% 72%, 42% 92%, 56% 70%, 70% 91%, 84% 73%, 100% 100%, 100% 0, 0 0);
  }

  .intro,
  .transparency,
  .identity {
    grid-template-columns: minmax(0, 1fr);
  }

  .truth-grid,
  .identity-columns,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capabilities .section-heading,
  .capability-grid {
    margin-left: max(5rem, 11%);
    width: calc(100% - max(5rem, 11%));
  }

  .capability-card:nth-child(3) {
    border-left: 0;
  }

  .capability-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .method-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .nav {
    justify-content: flex-start;
    row-gap: 0.8rem;
  }

  .contact-link {
    min-height: 2.9rem;
  }

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

  .section-heading h2 {
    max-width: none;
    font-size: clamp(2.7rem, 8vw, 3.9rem);
  }

  .scene-note {
    width: 15.5rem;
  }
}

@media (max-width: 720px) {
  .site-shell {
    border-left: 0;
    border-right: 0;
  }

  .hero-copy,
  .capabilities,
  .method,
  .intro,
  .transparency,
  .identity {
    padding-top: 2.6rem;
    padding-bottom: 2.8rem;
  }

  .hero-scene {
    min-height: 28rem;
  }

  .scene-arches {
    gap: 0.8rem;
    padding-top: 3.1rem;
  }

  .arch {
    height: 13rem;
    border-width: 11px;
  }

  .scene-table {
    height: 10.5rem;
  }

  .scene-books {
    height: 11rem;
  }

  .book-stack {
    left: 11%;
    width: 8rem;
    transform: scale(0.92);
    transform-origin: left bottom;
  }

  .open-book {
    left: 43%;
    width: 10.2rem;
    height: 3.5rem;
  }

  .coffee-cup {
    width: 2.7rem;
    height: 2.7rem;
  }

  .scene-note {
    gap: 0.7rem;
    width: 12.8rem;
    padding: 1.3rem 1.1rem 1.45rem 1rem;
  }

  .scene-note p {
    font-size: 0.92rem;
  }

  .note-icon {
    width: 2.9rem;
    height: 3.8rem;
    font-size: 1.45rem;
  }

  .truth-grid,
  .identity-columns,
  .capability-grid,
  .method-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .capabilities {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
      rgba(245, 240, 231, 0.42);
  }

  .capabilities::after {
    display: none;
  }

  .capabilities .section-heading,
  .capability-grid {
    margin-left: 0;
    width: 100%;
  }

  .capability-card,
  .capability-card + .capability-card {
    border-left: 0;
  }

  .capability-card + .capability-card {
    border-top: 1px solid var(--line);
  }

  .transparency {
    background: linear-gradient(180deg, #17362f 0 78%, #cbb192 78% 100%);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}
