@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/fonts/sourcesans3-latin-var.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/fonts/sourcesans3-latin-ext-var.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --paper: #f6f2eb;
  --surface: #fffcf7;
  --wash: #eee7dd;
  --ink: #35291f;
  --muted: #776a5d;
  --accent: #7b5239;
  --gold: #b09368;
  --line: #dcd2c5;
  --deep: #2d241e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", Arial, sans-serif;
  --header-height: 88px;
  --shadow: 0 18px 60px #3827190d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
body,
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.12;
}
h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(48px, 5.5vw, 80px);
}
h2 {
  font-size: clamp(36px, 3.8vw, 56px);
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 21px;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  display: block;
  flex-shrink: 0;
}
button {
  border: 0;
}
a,
button {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
input:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
::selection {
  background: #d2b995;
  color: #2d241e;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.icon {
  width: 24px;
  height: 24px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  color: var(--accent);
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 52px;
  padding: 13px 24px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--ink);
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.button .icon {
  width: 19px;
  height: 19px;
}
.button-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button-outline:hover {
  color: var(--surface);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
}
.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.text-link .icon {
  width: 19px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  z-index: 200;
}
.skip-link:focus {
  top: 12px;
}

/* Shared header and the six-item mega menu. */
[data-site-header] {
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}
.header-logo-filter {
  position: absolute;
  pointer-events: none;
}
.site-header .brand img {
  filter: url("#header-logo-brown");
}
.brand > span {
  font-size: 25px;
  letter-spacing: -1px;
  font-weight: 600;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-top: 7px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.main-nav > a,
.main-nav > button {
  font-size: 15px;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: none;
  padding: 0;
  position: relative;
  gap: 5px;
}
.main-nav [aria-current="page"]::after,
.main-nav [aria-expanded="true"]::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}
.main-nav .icon {
  width: 14px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.language-button,
.theme-button,
.mobile-toggle {
  height: 44px;
  min-width: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  font-size: 13px;
}
.theme-button .icon {
  width: 18px;
  height: 18px;
}
.header-cta {
  margin-left: 12px;
  min-height: 44px;
  padding: 10px 15px;
  gap: 20px;
  font-size: 14px;
}
.mobile-toggle {
  display: none;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 26px 50px #271a1620;
  max-height: calc(100dvh - var(--header-height));
  overflow: auto;
}
.mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  padding-block: 30px;
}
.mega-main > .eyebrow {
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  padding-top: 12px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 19px 12px;
  transition: background 0.2s;
  min-width: 0;
}
.mega-item > .icon:first-child {
  color: var(--accent);
  margin-top: 4px;
}
.mega-item > .icon:last-child {
  width: 15px;
  height: 20px;
  margin-left: auto;
  opacity: 0;
}
.mega-item:hover,
.mega-item:focus-visible {
  background: var(--wash);
}
.mega-item:hover > .icon:last-child,
.mega-item:focus-visible > .icon:last-child {
  opacity: 1;
}
.mega-item strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.mega-item small {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 6px;
}
.mega-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 15px;
  font-size: 14px;
  color: var(--muted);
}
.mega-bottom a {
  display: flex;
  gap: 10px;
  color: var(--accent);
  font-weight: 600;
}
.mega-bottom .icon {
  width: 18px;
}
.mega-aside {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.mega-scale {
  width: 100%;
  max-width: 300px;
  height: auto;
}
.mega-aside .text-link {
  margin-top: 16px;
}
.mega-scale-caption {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.3;
  color: var(--ink);
}
.menu-backdrop {
  position: fixed;
  inset: var(--header-height) 0 0;
  background: #281c1333;
  z-index: -1;
  backdrop-filter: blur(2px);
}

/* Opening editorial composition. */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 76px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 54px;
  min-height: 680px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}
.hero h1 {
  font-size: clamp(46px, 4.7vw, 68px);
  text-wrap: balance;
  margin-top: 30px;
  line-height: 1.06;
  max-width: 700px;
}
.hero h1 em {
  color: var(--accent);
  font-weight: 400;
}
.hero-lead {
  font-size: 19px;
  line-height: 1.7;
  max-width: 490px;
  margin-top: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 35px;
}
.hero-footnote {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 48px;
}
.hero-footnote::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}
.hero-art {
  position: relative;
  min-width: 0;
  width: calc(100% - 30px);
  max-width: 440px;
  justify-self: end;
  margin-right: 28px;
  isolation: isolate;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -13px 13px 13px -13px;
  border: 1px solid var(--line);
  border-radius: 50% 50% 12px 12px / 40% 40% 12px 12px;
  z-index: -1;
}
.hero-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px;
  background: #d7c1a6;
  box-shadow: 0 24px 60px #63503c0c;
}
.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
}
.hero-photo.is-ready {
  animation: hero-photo-enter 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes hero-photo-enter {
  from {
    transform: scale(1.01);
  }
  to {
    transform: scale(1.045);
  }
}
.hero-photo-caption {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  padding: 15px 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #f6f2ebe6;
  color: #514235;
  border: 1px solid #fff9;
  border-radius: 3px;
  backdrop-filter: blur(12px);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.caption-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7b5239;
  flex-shrink: 0;
}
.hero-seal {
  position: absolute;
  left: -33px;
  top: 41%;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  place-items: center;
  color: var(--accent);
  box-shadow: 0 5px 20px #41332608;
}
.hero-seal .icon {
  width: 29px;
  height: 29px;
  stroke-width: 1.25;
}
.hero-side-note {
  position: absolute;
  right: -29px;
  top: 45%;
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.hero-baseline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 21px 0 23px;
  font-size: 12px;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 13px;
}
.hero-baseline .icon {
  width: 17px;
  transform: rotate(90deg);
}
.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 50px;
}
.section-heading .eyebrow {
  margin-bottom: 20px;
}
.section-heading > p {
  max-width: 410px;
  margin-left: auto;
  font-size: 18px;
}
.section-space {
  padding-block: 110px;
}
/* Four progressive scenes. Motion is decorative; all steps remain accessible. */
.story-track {
  height: 290vh;
  position: relative;
  background: var(--deep);
  color: #f4ebde;
}
.story-sticky {
  position: sticky;
  top: var(--header-height);
  height: calc(100svh - var(--header-height));
  min-height: 510px;
  max-height: 900px;
  overflow: hidden;
}
.story-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.story-copy {
  padding: 35px 0;
}
.story-copy .eyebrow {
  color: #c4aa85;
}
.story-count {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  color: #c8b8a4;
  margin: 34px 0 18px;
}
.story-count strong {
  font-family: var(--serif);
  font-size: 30px;
  color: #eee1cb;
  font-weight: 400;
}
.story-count span {
  height: 1px;
  flex: 1;
  max-width: 100px;
  background: #ffffff20;
}
.story-copy h2 {
  font-size: clamp(40px, 4.3vw, 64px);
  max-width: 540px;
  line-height: 1.08;
  min-height: 140px;
}
.story-copy > p:last-of-type {
  color: #c8b8a4;
  max-width: 410px;
  margin-top: 22px;
  font-size: 18px;
  min-height: 90px;
}
.story-steps {
  display: flex;
  gap: 8px;
  margin-top: 34px;
}
.story-steps button {
  display: flex;
  flex: 1;
  gap: 8px;
  align-items: center;
  background: none;
  border-top: 1px solid #ffffff25;
  color: #b7a590;
  text-align: left;
  padding: 13px 4px;
  font-size: 12px;
  min-height: 50px;
}
.story-steps button[aria-current="step"] {
  border-color: #d6b887;
  color: #f5e8d2;
}
.story-steps button span {
  font-family: var(--serif);
  font-size: 19px;
}
.story-progress {
  height: 2px;
  width: 100%;
  position: absolute;
  bottom: 0;
  background: #ffffff10;
}
.story-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #c0a273;
}
.story-art {
  position: relative;
  height: 480px;
  max-height: 80%;
  display: grid;
  place-items: center;
}
.story-scene {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  width: 100%;
  transition:
    opacity 0.24s ease,
    visibility 0s 0.24s;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.story-scene.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.story-art::before {
  content: "";
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #ffffff09;
  border-radius: 50%;
  background: radial-gradient(ellipse, #9c795317, transparent 68%);
}
.paper-scene {
  height: 100%;
  max-height: 390px;
  width: 100%;
  position: relative;
  isolation: isolate;
}
.paper-sheet {
  position: absolute;
  inset: 8% 19% 12%;
  z-index: 1;
  background: #eee6d7;
  color: #4a3827;
  box-shadow: 0 15px 35px #0003;
  padding: 28px;
  font-size: 12px;
  transform-origin: 50% 0;
  transform:
    translate(calc(var(--spread, 1) * var(--paper-x) + var(--gather, 0) * var(--stack-x)), calc(var(--spread, 1) * var(--paper-y) + var(--filed, 0) * 28% + var(--gather, 0) * var(--stack-y)))
    rotate(calc(var(--spread, 1) * var(--paper-angle)))
    scale(calc(1 - var(--gather, 0) * 0.22));
  will-change: transform;
}
.paper-sheet-notes {
  --paper-x: -28%;
  --paper-y: 3%;
  --paper-angle: -16deg;
  --stack-x: -2%;
  --stack-y: -4%;
  background: #d9cbb5;
}
.paper-sheet-client {
  --paper-x: 28%;
  --paper-y: -7%;
  --paper-angle: 12deg;
  --stack-x: 2%;
  --stack-y: -2%;
  z-index: 2;
  background: #e4d8c6;
}
.paper-sheet-cover {
  --paper-x: 0%;
  --paper-y: 4%;
  --paper-angle: -3deg;
  --stack-x: 0%;
  --stack-y: 0%;
  z-index: 3;
}
.paper-folder {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 6%;
  border: 1px solid #b8976c;
  border-radius: 4px 7px 7px 7px;
  opacity: var(--folder-reveal, 0);
  transform: translateY(calc((1 - var(--folder-reveal, 0)) * 24%));
}
.paper-folder-back {
  height: 59%;
  background: #a48258;
  box-shadow: 0 20px 35px #0003;
}
.paper-folder-back::before {
  content: "";
  position: absolute;
  top: -13px;
  left: -1px;
  width: 38%;
  height: 14px;
  background: #a48258;
  border: 1px solid #b8976c;
  border-bottom: 0;
  border-radius: 6px 12px 0 0;
}
.paper-folder-front {
  z-index: 4;
  height: 44%;
  padding: 20px 26px;
  background: linear-gradient(135deg, #a27c52, #725035);
  box-shadow: inset 0 2px 0 #e3c59b40, 0 -5px 12px #38271920;
  color: #f4ebde;
}
.folder-reference, .folder-caption {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
}
.paper-folder-front strong {
  display: block;
  font: 24px/1.1 var(--serif);
  margin-top: 10px;
}
.folder-rule {
  display: block;
  height: 1px;
  background: #f4ebde40;
  margin: 12px 50px 8px 0;
}
.folder-seal {
  position: absolute;
  right: 24px;
  bottom: 24px;
  opacity: .8;
}
.paper-sheet h3 {
  font: 24px var(--serif);
  margin-top: 34px;
  margin-bottom: 22px;
}
.paper-sheet i {
  display: block;
  height: 1px;
  background: #8a735333;
  margin: 13px 0;
}
.paper-seal {
  display: grid;
  place-items: center;
  margin-top: 30px;
  margin-left: auto;
  border: 1px solid #aa8c62;
  border-radius: 50%;
  height: 60px;
  width: 60px;
  transform: rotate(-15deg);
}
.paper-seal .icon {
  width: 30px;
  height: 30px;
}
.story-scene .workflow-visual {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  transform: rotate(-3deg);
  --paper: #f6f2eb;
  --surface: #fffcf7;
  --wash: #eee7dd;
  --ink: #35291f;
  --muted: #776a5d;
  --accent: #7b5239;
  --line: #dcd2c5;
  box-shadow: 0 35px 60px #0003;
}
.story-gavel {
  position: absolute;
  right: -13%;
  bottom: -35px;
  width: 61%;
  z-index: 3;
  filter: drop-shadow(0 15px 15px #0003);
}
.story-gavel img {
  width: 100%;
}
.story-note {
  position: absolute;
  bottom: 12px;
  left: 20px;
  color: #bea98b;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.story-track .visual-body {
  min-height: 290px;
}

/* Intentional, readable workflow diagrams rather than screenshots. */
.workflow-visual {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  text-align: left;
}
.visual-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 27px;
  gap: 15px;
}
.visual-brand {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.7px;
}
.visual-brand > span {
  font: 10px var(--sans);
  vertical-align: super;
  margin-left: 2px;
}
.visual-topline > span:last-child {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.visual-body {
  padding: 30px;
  min-height: 335px;
}
.visual-caption {
  padding: 12px 20px;
  text-align: center;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.file-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}
.file-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.status-pill {
  font-size: 12px;
  padding: 3px 11px;
  color: var(--accent);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.diagram-muted {
  font-size: 14px;
  margin-top: 8px;
}
.case-timeline {
  display: flex;
  margin: 38px 0 24px;
}
.case-timeline > div {
  position: relative;
  flex: 1;
  padding-top: 19px;
  font-size: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.case-timeline i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 50%;
}
.case-timeline .done {
  border-color: var(--accent);
}
.case-timeline .done i,
.case-timeline .current i {
  background: var(--accent);
  border-color: var(--accent);
}
.case-timeline .current {
  color: var(--accent);
}
.case-timeline .current i {
  outline: 5px solid var(--wash);
}
.record-line {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 14px;
}
.record-line small {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.record-line strong {
  font-size: 14px;
  font-weight: 500;
}
.avatar {
  display: grid;
  place-items: center;
  margin-left: auto;
  width: 34px;
  height: 34px;
  background: var(--wash);
  font-size: 11px;
  border-radius: 50%;
}
.client-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 5px 0 10px;
}
.client-seal {
  font-family: var(--serif);
  font-size: 35px;
  width: 65px;
  height: 65px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--wash);
  border-radius: 50%;
}
.client-identity small {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.client-identity h4 {
  margin-top: 5px;
}
.relation-line {
  width: 1px;
  height: 30px;
  background: var(--line);
  margin-left: 32px;
}
.related-docs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}
.related-docs > div {
  border: 1px solid var(--line);
  padding: 18px 12px;
  background: var(--paper);
}
.related-docs strong,
.related-docs span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 8px;
}
.related-docs span {
  color: var(--muted);
  font-size: 12px;
}
.related-docs .icon {
  color: var(--accent);
  width: 21px;
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 23px;
}
.week-strip > div {
  padding: 12px 4px 18px;
  text-align: center;
  border: 1px solid var(--line);
  position: relative;
}
.week-strip small {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.week-strip strong {
  display: block;
  font-size: 24px;
  font-weight: 400;
  margin-top: 4px;
}
.week-strip .selected {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.week-strip .selected small {
  color: var(--paper);
}
.week-strip i {
  position: absolute;
  bottom: 8px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  background: var(--paper);
  border-radius: 50%;
}
.agenda-item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 13px 14px;
  border-left: 2px solid var(--accent);
  background: var(--wash);
  margin-top: 10px;
}
.agenda-item > span {
  font-size: 13px;
}
.agenda-item strong,
.agenda-item small {
  display: block;
  font-size: 14px;
}
.agenda-item strong {
  font-weight: 600;
}
.agenda-item small {
  font-size: 12px;
  color: var(--muted);
}
.agenda-item.secondary {
  background: var(--paper);
  border-color: var(--gold);
}
.example-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.example-filters button {
  background: transparent;
  padding: 6px 12px;
  font-size: 12px;
  min-height: 36px;
  border: 1px solid var(--line);
}
.example-filters .active {
  background: var(--ink);
  color: var(--paper);
}
.task-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.task-line strong {
  font-size: 14px;
  font-weight: 500;
}
.task-line small {
  grid-column: 2;
  font-size: 12px;
  color: var(--muted);
}
.task-check {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  margin-top: 4px;
  font-size: 12px;
  text-align: center;
}
.task-check.checked {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.folder-art {
  position: relative;
  margin: 12px 0 24px;
}
.folder-art > span {
  position: absolute;
  top: -13px;
  left: 0;
  width: 40%;
  height: 18px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 5px 12px 0 0;
}
.folder-art > div {
  position: relative;
  background: var(--wash);
  border: 1px solid var(--line);
  padding: 19px;
}
.folder-art .icon {
  position: absolute;
  right: 19px;
  top: 22px;
  width: 32px;
  height: 32px;
  opacity: 0.5;
}
.folder-art h4 {
  font-family: var(--serif);
  font-size: 24px;
}
.folder-art small {
  font-size: 12px;
  color: var(--muted);
}
.document-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.document-line .file-tag {
  margin-left: auto;
}
.document-line .icon {
  width: 18px;
}
.document-tags {
  display: flex;
  gap: 8px;
  margin-top: 17px;
}
.document-tags span {
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 3px 9px;
}
.account-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: -12px;
  padding-bottom: 24px;
}
.finance-line {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.finance-number {
  color: var(--gold);
  font: 18px var(--serif);
}
.finance-line strong {
  font-size: 14px;
  font-weight: 500;
}
.finance-line > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.finance-foot {
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
}

/* Public solutions and their individual pages. */
.solutions-section {
  padding-block: 110px;
}
.solution-explorer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 75px;
}
.solution-list {
  padding-block: 15px;
}
.solution-choice {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: 15px;
  text-align: left;
  background: transparent;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.solution-choice:last-child {
  border: 0;
}
.solution-choice > .icon {
  width: 25px;
  color: var(--accent);
}
.solution-choice > .icon:last-child {
  width: 19px;
  opacity: 0.4;
}
.solution-choice strong {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.solution-choice small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  margin-top: 6px;
}
.solution-choice.active {
  color: var(--accent);
}
.solution-choice.active > .icon:last-child {
  opacity: 1;
  transform: translateX(4px);
}
.solution-preview {
  align-self: center;
  padding-block: 35px;
  min-width: 0;
}
.solution-preview > .text-link {
  margin-top: 25px;
}
.solution-preview > .eyebrow {
  margin-bottom: 15px;
}
.solution-preview .workflow-visual {
  min-height: 417px;
}
.statement {
  border-top: 1px solid var(--line);
  padding: 50px 0 65px;
}
.statement-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.statement-inner > div {
  max-width: 780px;
}
.statement .eyebrow {
  font-size: 10px;
  margin: 0 0 22px;
}
.statement h2 {
  font-size: 38px;
  max-width: 700px;
}
.statement p {
  margin-top: 16px;
  max-width: 620px;
  font-size: 17px;
}
.statement .text-link {
  white-space: nowrap;
  display: inline-flex;
  margin-top: 26px;
}
.page-intro {
  padding-top: 85px;
  padding-bottom: 70px;
}
.back-link {
  display: inline-flex;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 45px;
}
.page-intro .eyebrow {
  margin-bottom: 24px;
}
.page-intro h1 {
  max-width: 900px;
}
.page-lead {
  font-size: 20px;
  max-width: 690px;
  margin-top: 28px;
  line-height: 1.65;
}
.page-intro .button {
  margin-top: 30px;
}
.solution-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: center;
}
.solution-hero h1 {
  font-size: clamp(44px, 4.3vw, 64px);
  line-height: 1.1;
}
.solution-hero .page-lead {
  font-size: 18px;
}
.solution-hero .workflow-visual {
  transform: rotate(2deg);
}
.solution-features {
  padding: 70px 0;
  border-top: 1px solid var(--line);
}
.solution-features .eyebrow {
  margin-bottom: 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}
.feature-item {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.feature-number {
  font: 25px var(--serif);
  color: var(--gold);
}
.feature-item h2 {
  font-size: 29px;
  letter-spacing: -0.03em;
  margin: 22px 0 15px;
}
.feature-item p {
  font-size: 17px;
}
.solution-workflow {
  background: var(--wash);
  padding: 70px 0;
}
.solution-workflow h2 {
  font-size: 38px;
  margin-top: 20px;
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}
.workflow-steps li {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
}
.workflow-steps span {
  font: 28px var(--serif);
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: 0 0 5px;
}
.related-solutions {
  padding-block: 70px;
}
.related-solutions > h2 {
  font-size: 34px;
  margin-bottom: 35px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.related-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  font-size: 18px;
}
.related-grid .icon {
  color: var(--accent);
  width: 20px;
}
.legacy-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
  padding-bottom: 90px;
}
.legacy-content h2 {
  font-size: 38px;
  margin: 20px 0 25px;
}
.feature-line {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 25px;
}
.feature-line h3 {
  font-family: var(--serif);
  margin-bottom: 12px;
}
.legacy-content aside {
  align-self: start;
  position: sticky;
  top: 125px;
}
.legacy-content aside > .text-link {
  margin-top: 25px;
}
.legacy-related {
  padding-block: 30px 70px;
}
.legacy-related > a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin: 20px 30px 0 0;
}
.editorial-note {
  padding: 40px;
  border: 1px solid var(--line);
}
.editorial-note h3 {
  margin: 25px 0;
}
.module-route-note {
  padding: 70px 0;
}

/* Forms use the existing AWS email contract. */
.demo-section {
  padding: 90px 0;
  background: var(--wash);
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
  align-items: center;
}
.demo-copy h2 {
  font-size: clamp(40px, 4.4vw, 64px);
  margin-top: 24px;
  max-width: 550px;
}
.demo-copy > p:not(.eyebrow) {
  font-size: 18px;
  margin-top: 25px;
  max-width: 420px;
}
.demo-contact {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 45px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  font-size: 16px;
}
.demo-contact .icon {
  color: var(--accent);
}
.contact-form {
  padding: 40px 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.form-heading {
  margin-bottom: 28px;
}
.contact-form h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 36px);
  margin: 12px 0 12px;
  letter-spacing: -0.03em;
}
.form-intro {
  font-size: 16px;
  line-height: 1.6;
  max-width: 440px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 18px;
  min-width: 0;
}
.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  display: block;
  border: 1px solid var(--line);
  width: 100%;
  min-width: 0;
  border-radius: 5px;
  color: var(--ink);
  background: var(--paper);
  padding: 11px 12px;
  min-height: 48px;
  font-size: 16px;
}
.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}
.form-privacy {
  font-size: 12px;
  line-height: 1.6;
  margin: 2px 0 22px;
}
.form-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-form .button {
  width: 100%;
  justify-content: space-between;
  border-radius: 5px;
}
.form-status {
  font-size: 14px;
  margin-top: 15px;
  min-height: 0;
}
.form-status:empty {
  margin: 0;
}
.form-status[data-state="error"],
.form-status[data-state="invalid"],
.form-status[data-state="timeout"] {
  color: #a13f2c;
}
.form-status[data-state="success"] {
  color: #416547;
}
.contact-page {
  width: min(1280px, calc(100% - 96px));
  margin: auto;
  padding: 64px 0 100px;
}
.contact-page > .contact-intro {
  max-width: 800px;
}
.contact-intro {
  margin-bottom: 38px;
}
.contact-intro h2 {
  margin-top: 18px;
}
.contact-intro h1 {
  font-size: clamp(38px, 4.5vw, 58px);
  margin-top: 18px;
}
.contact-intro > p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 18px;
  font-size: 18px;
}
.contact-panel {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 32px;
  align-items: stretch;
}
.contact-panel > [data-contact-form-slot] {
  min-width: 0;
}
.contact-panel .contact-form {
  height: 100%;
  padding: 36px 40px;
}
.contact-visual {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #30241b;
}
.contact-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.contact-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-top: 56px;
}
.map-panel {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--wash);
  position: relative;
}
.map-panel-frame {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
  filter: grayscale(0.85);
}
.map-panel-meta {
  padding: 15px 20px;
  font-size: 13px;
}
.map-panel-meta strong {
  display: block;
  font-weight: 500;
}
.map-open-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 13px;
  text-decoration: underline;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.contact-list strong {
  font-weight: 500;
}
.contact-list span {
  color: var(--muted);
}
@media (max-width: 1050px) {
  .contact-panel .contact-form { padding: 24px; }
  .contact-panel { gap: 24px; }
  .contact-location { gap: 32px; }
}
@media (max-width: 760px) {
  .contact-panel { grid-template-columns: 1fr; gap: 20px; }
  .contact-panel .contact-form { padding: 28px 24px; }
  .contact-visual > img { position: static; height: auto; }
  .contact-location { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .contact-intro { margin-bottom: 28px; }
}
@media (max-width: 600px) {
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
}
.faq-section {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
}
.faq-section h2 {
  margin-top: 20px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 23px 35px 23px 0;
  font-size: 20px;
  line-height: 1.4;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  padding-bottom: 23px;
  font-size: 17px;
  max-width: 580px;
}

/* Company and policy content remains intact. */
.about-ref-container {
  width: min(1280px, calc(100% - 96px));
  margin: auto;
}
.about-ref-page > section {
  padding: 75px 0;
  border-bottom: 1px solid var(--line);
}
.about-ref-identity-grid,
.about-ref-future-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  align-items: center;
}
.about-team-visual {
  position: relative;
}
.about-team-visual > img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  filter: saturate(0.55);
}
.about-team-badge {
  position: absolute;
  background: var(--surface);
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
}
.about-team-badge-top {
  top: 20px;
  left: 20px;
}
.about-team-badge-bottom {
  bottom: -18px;
  right: -20px;
}
.about-team-badge-bottom strong {
  font: 35px var(--serif);
}
.about-identity-copy h1 {
  font-size: 48px;
  margin: 25px 0;
}
.about-identity-copy p {
  line-height: 1.8;
}
.about-future-copy h2 {
  font-size: 40px;
  margin: 20px 0;
}
.about-future-mission-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 30px 0 10px;
}
.about-future-visual {
  height: 360px;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  position: relative;
  isolation: isolate;
  padding: 18px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 35%, var(--surface), var(--wash));
}
.about-future-visual::before {
  content: "";
  position: absolute;
  top: 26px;
  width: 230px;
  height: 230px;
  border: 1px solid var(--line);
  border-radius: 50%;
  z-index: -1;
}
.about-legal-art {
  width: min(100%, 350px);
  height: 100%;
  max-height: 280px;
  min-height: 0;
  object-fit: contain;
}
.about-legal-caption {
  color: var(--accent);
  text-align: center;
  font-size: 11px;
  letter-spacing: .18em;
  margin-top: 10px;
}
.about-ref-heading {
  margin-bottom: 40px;
}
.about-ref-heading h2 {
  font-size: 42px;
  margin-top: 20px;
}
.about-model-grid,
.about-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.about-model-card,
.about-value-card,
.about-service-card {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.about-ref-page h3 {
  font: 24px var(--serif);
  margin: 20px 0 15px;
}
.about-ref-page p {
  font-size: 17px;
}
.about-offering-group + .about-offering-group {
  margin-top: 70px;
}
.about-product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.about-product-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.about-product-card strong {
  display: block;
  line-height: 1.5;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 14px;
}
.about-product-kicker {
  font-size: 11px !important;
  letter-spacing: 0.08em;
  margin-top: 20px;
  color: var(--accent);
}
.about-product-link {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 24px;
  font-size: 15px;
  color: var(--accent);
}
.about-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.about-reference-carousel {
  position: relative;
  width: min(1320px, calc(100% - 60px));
  margin: auto;
  display: flex;
  align-items: center;
  gap: 15px;
}
.about-reference-track {
  display: flex;
  overflow-x: auto;
  gap: 25px;
  padding: 15px 5px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  flex: 1;
}
.about-reference-track figure {
  margin: 0;
  min-width: 150px;
  width: 150px;
  height: 90px;
  display: grid;
  place-items: center;
  background: #fff;
  scroll-snap-align: start;
  padding: 15px;
}
.about-reference-track img {
  max-height: 65px;
  max-width: 120px;
  object-fit: contain;
}
.about-carousel-control {
  height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
}
.about-carousel-control.previous {
  transform: rotate(180deg);
}
.about-ref-cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 80px;
  align-items: center;
}
.about-ref-cta-content h2 {
  grid-column: 1;
}
.about-ref-cta-content > p {
  grid-column: 1;
  align-self: start;
}
.about-ref-cta-content > [data-contact-form-slot] {
  grid-column: 2;
  grid-row: 1/3;
}
.lm-icon {
  width: 26px;
  height: 26px;
  display: inline-block;
  background: var(--accent);
  mask: url("./assets/legal/justice-scale.svg") center/contain no-repeat;
}
.arrow-icon::before {
  content: "→";
  font-size: 22px;
}
.privacy-hero {
  padding: 75px 0 50px;
}
.privacy-hero-inner,
.privacy-shell {
  width: min(1100px, calc(100% - 96px));
  margin: auto;
}
.privacy-hero h1 {
  margin: 22px 0;
  font-size: 58px;
}
.privacy-hero p {
  max-width: 760px;
  font-size: 19px;
}
.privacy-updated {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
.privacy-shell {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 65px;
  padding-bottom: 90px;
}
.privacy-summary {
  align-self: start;
  position: sticky;
  top: 120px;
  padding: 28px;
  background: var(--wash);
  border: 1px solid var(--line);
  font-size: 15px;
}
.privacy-summary-mark {
  font: 42px var(--serif);
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.privacy-summary p {
  margin: 12px 0 20px;
  font-size: 15px;
}
.privacy-content section {
  margin-bottom: 35px;
}
.privacy-content h2 {
  font: 28px var(--serif);
  margin-bottom: 18px;
}
.privacy-content p,
.privacy-content li {
  color: var(--muted);
  font-size: 17px;
}
.privacy-content p + p {
  margin-top: 14px;
}
.privacy-content a {
  text-decoration: underline;
}
.not-found-page {
  min-height: 65vh;
}
.not-found-hero {
  width: min(900px, calc(100% - 48px));
  margin: auto;
  text-align: center;
}
.not-found-code {
  font: 75px var(--serif);
  color: var(--gold);
}
.not-found-hero h1 {
  font-size: 50px;
  margin-bottom: 25px;
}
.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.site-footer {
  overflow: hidden;
  background: var(--deep);
  color: #e9ded0;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr minmax(190px, 0.9fr);
  gap: 40px;
  padding-bottom: 45px;
}
.footer-brand > p {
  font-size: 17px;
  max-width: 300px;
  color: #bbaa96;
  margin-top: 24px;
}
.footer-art {
  perspective: 800px;
  display: grid;
  align-items: center;
  justify-items: end;
}
.footer-scale {
  width: 290px;
  max-width: 120%;
  height: auto;
  transform: rotateY(-26deg) rotateX(7deg) rotateZ(8deg);
  filter: drop-shadow(18px 22px 10px #0005);
  opacity: 0.9;
}
.footer-grid > div > a:not(.brand):not(.d1-brand) {
  display: block;
  font-size: 15px;
  color: #d5c7b5;
  margin: 9px 0;
}
.footer-grid > div > p:not(.footer-label) {
  color: #bbaa96;
  font-size: 15px;
  margin-block: 18px;
}
.footer-label {
  font-size: 11px;
  letter-spacing: 0.17em;
  color: #b79a74;
  margin-bottom: 22px;
}
.d1-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 35px;
}
.d1-brand img {
  width: 88px;
  height: auto;
  object-fit: contain;
}
.d1-brand span {
  font-size: 11px;
  color: #bbaa96;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #ffffff15;
  padding: 22px 0;
  font-size: 12px;
  color: #bbaa96;
}
.footer-bottom > div {
  display: flex;
  gap: 25px;
}

@media (min-width: 1600px) {
  .hero-layout {
    min-height: 760px;
  }
  .hero h1 {
    font-size: 76px;
  }
}
@media (max-width: 1200px) {
  .container,
  .about-ref-container,
  .contact-page {
    width: calc(100% - 64px);
  }
  .header-inner {
    gap: 20px;
  }
  .main-nav {
    gap: 17px;
  }
  .main-nav > a,
  .main-nav > button {
    font-size: 14px;
  }
  .brand > span {
    font-size: 22px;
  }
  .brand small {
    font-size: 7px;
  }
  .header-cta {
    font-size: 13px;
    gap: 14px;
    padding: 9px 12px;
  }
  .hero-layout {
    padding-top: 60px;
    min-height: 620px;
    gap: 50px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .hero-lead {
    font-size: 18px;
  }
  .mega-inner {
    grid-template-columns: 1fr 320px;
    gap: 25px;
  }
  .mega-aside {
    padding-left: 25px;
  }
  .story-shell {
    gap: 40px;
  }
  .story-copy h2 {
    font-size: 52px;
  }
  .demo-grid {
    gap: 60px;
  }
  .section-heading {
    gap: 50px;
  }
  .solution-explorer {
    gap: 40px;
  }
  .solution-hero {
    gap: 50px;
  }
  .footer-grid {
    gap: 32px;
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .footer-art {
    grid-column: 3;
    grid-row: 2;
    margin-top: -45px;
  }
  .footer-scale {
    width: 200px;
  }
}
@media (max-width: 1050px) {
  :root {
    --header-height: 78px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 20px 32px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav > a,
  .main-nav > button {
    font-size: 17px;
    min-height: 43px;
    justify-content: space-between;
  }
  .main-nav [aria-current="page"]::after,
  .main-nav [aria-expanded="true"]::after {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .mobile-toggle {
    display: grid;
    margin-left: 8px;
  }
  .header-cta {
    min-height: 42px;
    padding-inline: 17px;
  }
  .brand > span {
    font-size: 25px;
  }
  .brand small {
    font-size: 8px;
  }
  .mega-menu {
    top: calc(100% + 122px);
    z-index: 3;
    max-height: calc(100dvh - 210px);
    border-top: 1px solid var(--line);
  }
  .mega-inner {
    width: calc(100% - 64px);
    grid-template-columns: 1fr;
    padding-block: 18px;
  }
  .mega-aside,
  .mega-bottom {
    display: none;
  }
  .mega-grid {
    padding: 0;
  }
  .mega-main > .eyebrow {
    display: none;
  }
  .mega-item {
    padding: 15px;
  }
  .hero-layout {
    gap: 40px;
    min-height: 600px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-seal {
    width: 54px;
    height: 54px;
    left: -27px;
  }
  .hero-footnote {
    font-size: 9px;
    gap: 12px;
  }
  .story-copy h2 {
    font-size: 46px;
    min-height: 105px;
  }
  .story-art {
    height: 420px;
  }
  .story-copy > p:last-of-type {
    font-size: 17px;
  }
  .story-steps button {
    font-size: 11px;
    gap: 5px;
  }
  .story-gavel {
    right: -8%;
    width: 65%;
  }
  .section-heading {
    gap: 40px;
  }
  .solution-choice strong {
    font-size: 22px;
  }
  .solution-choice {
    gap: 9px;
    grid-template-columns: 30px 1fr 20px;
  }
  .solution-explorer {
    gap: 30px;
  }
  .visual-body {
    padding: 25px;
  }
  .demo-grid {
    gap: 40px;
  }
  .contact-form {
    padding: 30px;
  }
  .statement h2 {
    font-size: 34px;
  }
  .solution-hero {
    gap: 35px;
  }
  .solution-hero h1 {
    font-size: 46px;
  }
  .contact-page {
    gap: 40px;
  }
  .about-ref-identity-grid,
  .about-ref-future-grid {
    gap: 45px;
  }
  .about-model-grid,
  .about-value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-identity-copy h1 {
    font-size: 40px;
  }
  .privacy-shell {
    gap: 35px;
    grid-template-columns: 240px 1fr;
  }
}
@media (max-width: 760px) {
  .container,
  .about-ref-container,
  .contact-page {
    width: calc(100% - 40px);
  }
  .header-inner {
    gap: 12px;
  }
  .header-cta {
    display: none;
  }
  .brand > span {
    font-size: 24px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand small {
    font-size: 7px;
  }
  .language-button,
  .theme-button {
    min-width: 34px;
  }
  .mobile-toggle {
    margin-left: 0;
    min-width: 34px;
  }
  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 47px 0 40px;
    gap: 0;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(46px, 8.7vw, 67px);
    max-width: 630px;
    margin-top: 23px;
  }
  .hero-lead {
    font-size: 17px;
    max-width: 520px;
    margin-top: 24px;
  }
  .hero-actions {
    margin-top: 28px;
    gap: 22px;
  }
  .hero-actions .button {
    padding-inline: 20px;
    gap: 23px;
    min-height: 50px;
  }
  .hero-actions .text-link {
    font-size: 14px;
    gap: 14px;
  }
  .hero-footnote {
    margin-top: 29px;
    font-size: 10px;
  }
  .hero-art {
    align-self: center;
    width: calc(100% - 48px);
    max-width: 380px;
    margin: 50px 0 0;
  }
  .hero-art::before {
    inset: -10px 10px 10px -10px;
  }
  .hero-photo-caption {
    bottom: 18px;
    left: 18px;
    right: 18px;
    padding: 12px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .hero-seal {
    width: 48px;
    height: 48px;
    left: -24px;
  }
  .hero-seal .icon {
    width: 23px;
    height: 23px;
  }
  .hero-side-note {
    right: -22px;
    font-size: 7px;
    letter-spacing: 0.15em;
  }
  .hero-baseline {
    padding: 19px 0;
    gap: 20px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }
  .hero-baseline > span {
    max-width: 180px;
  }
  .section-space {
    padding-block: 65px;
  }
  .section-heading {
    display: block;
    margin-bottom: 34px;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .section-heading > p {
    font-size: 17px;
    margin: 22px 0 0;
    max-width: 520px;
  }
  .story-track {
    height: 260svh;
  }
  .story-sticky {
    min-height: 0;
    max-height: none;
    height: calc(100svh - var(--header-height));
  }
  .story-shell {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding-block: 28px;
  }
  .story-copy {
    padding: 0;
    width: 100%;
  }
  .story-count {
    margin: 16px 0 10px;
  }
  .story-count strong {
    font-size: 24px;
  }
  .story-copy h2 {
    font-size: 36px;
    min-height: 2.16em;
    max-width: 600px;
  }
  .story-copy > p:last-of-type {
    font-size: 15px;
    line-height: 1.55;
    margin-top: 12px;
    min-height: 4.65em;
    max-width: 100%;
  }
  .story-steps {
    margin-top: 17px;
    gap: 14px;
  }
  .story-steps button {
    padding: 9px 0;
    min-height: 40px;
    font-size: 11px;
  }
  .story-steps button span {
    font-size: 17px;
  }
  .story-art {
    width: min(390px, 95%);
    height: auto;
    flex: 1;
    min-height: 0;
    max-height: none;
    margin-top: 22px;
  }
  .story-art::before {
    max-height: 100%;
  }
  .story-scene {
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
  }
  .story-scene .workflow-visual {
    transform: rotate(-2deg);
    width: 100%;
    max-width: 340px;
  }
  .story-scene .visual-topline {
    padding: 10px 18px;
  }
  .story-scene .visual-body {
    min-height: 0;
    padding: 18px 22px;
  }
  .story-scene .file-heading {
    margin-bottom: 14px;
  }
  .story-scene .case-timeline {
    margin: 27px 0 18px;
  }
  .story-scene .visual-caption {
    padding: 7px 10px;
    font-size: 10px;
  }
  .story-scene .record-line {
    padding-top: 12px;
  }
  .story-scene .week-strip {
    margin-bottom: 10px;
    gap: 4px;
  }
  .story-scene .week-strip > div {
    padding: 6px 3px 12px;
  }
  .story-scene .week-strip strong {
    font-size: 21px;
  }
  .story-scene .agenda-item {
    padding: 8px 12px;
    margin-top: 6px;
  }
  .story-scene .task-line {
    padding: 8px 0;
  }
  .story-scene .example-filters {
    margin-bottom: 8px;
  }
  .story-gavel {
    width: 57%;
    right: -12%;
    bottom: -5%;
    pointer-events: none;
  }
  .paper-sheet {
    padding: 16px;
  }
  .paper-folder-front {
    padding: 12px 18px;
  }
  .paper-folder-front strong {
    font-size: 21px;
    margin-top: 5px;
  }
  .folder-rule {
    margin-block: 8px 5px;
  }
  .folder-caption {
    font-size: 8px;
  }
  .paper-sheet h3 {
    font-size: 23px;
    margin: 18px 0;
  }
  .paper-seal {
    width: 45px;
    height: 45px;
    margin-top: 17px;
  }
  .story-note {
    display: none;
  }
  .solutions-section {
    padding: 65px 0;
  }
  .solution-explorer {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .solution-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    padding: 6px 0;
  }
  .solution-choice {
    grid-template-columns: 23px 1fr;
    gap: 10px;
    padding: 20px 0;
  }
  .solution-choice strong {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.3;
  }
  .solution-choice small {
    display: none;
  }
  .solution-choice > .icon {
    width: 20px;
    height: 20px;
  }
  .solution-choice > .icon:last-child {
    display: none;
  }
  .solution-choice:last-child {
    border-bottom: 1px solid var(--line);
  }
  .solution-choice.active {
    border-bottom-color: var(--accent);
  }
  .solution-preview {
    padding: 30px 0;
    max-width: 520px;
    width: 100%;
    margin: auto;
  }
  .solution-preview > .eyebrow {
    display: none;
  }
  .solution-preview .workflow-visual {
    min-height: 0;
  }
  .visual-body {
    min-height: 300px;
  }
  .statement {
    padding: 45px 0 60px;
  }
  .statement-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .statement h2 {
    font-size: 35px;
  }
  .demo-section {
    padding: 60px 0;
  }
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .demo-copy h2 {
    font-size: 43px;
    margin-top: 20px;
  }
  .demo-copy > p:not(.eyebrow) {
    font-size: 17px;
  }
  .demo-contact {
    margin-top: 25px;
    padding-top: 18px;
  }
  .contact-form {
    padding: 25px;
  }
  .contact-form h3 {
    font-size: 28px;
  }
  .faq-section {
    padding: 65px 0;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .faq-section h2 {
    font-size: 39px;
  }
  .faq-list summary {
    font-size: 19px;
    padding-block: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-contact {
    grid-column: 1;
  }
  .footer-art {
    grid-column: 2;
    grid-row: 3;
    margin-top: 0;
    align-self: end;
  }
  .footer-scale {
    width: 190px;
    max-width: 110%;
  }
  .footer-brand > p {
    max-width: 400px;
  }
  .site-footer {
    padding-top: 45px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .footer-bottom > div {
    gap: 20px;
  }
  .mega-inner {
    width: calc(100% - 30px);
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mega-item {
    padding: 14px 9px;
  }
  .mega-item strong {
    font-size: 16px;
  }
  .mega-item small {
    font-size: 13px;
    margin-top: 3px;
  }
  .mega-item > .icon:last-child {
    opacity: 0.5;
  }
  .mega-item > .icon:first-child {
    width: 22px;
  }
  .page-intro {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .back-link {
    margin-bottom: 30px;
  }
  .solution-hero {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .solution-hero h1 {
    font-size: 47px;
  }
  .solution-hero .workflow-visual {
    max-width: 520px;
    margin: auto;
    transform: none;
  }
  .solution-hero .page-lead {
    font-size: 18px;
  }
  .solution-features {
    padding: 50px 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-item {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 0 15px;
    padding-top: 22px;
  }
  .feature-item h2 {
    grid-column: 2;
    margin: 0 0 12px;
    font-size: 28px;
  }
  .feature-item p {
    grid-column: 2;
  }
  .feature-number {
    grid-row: 1/3;
  }
  .solution-workflow {
    padding: 45px 0;
  }
  .solution-workflow h2 {
    font-size: 34px;
  }
  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 0;
  }
  .workflow-steps li {
    font-size: 19px;
  }
  .related-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .related-solutions {
    padding-block: 45px;
  }
  .related-solutions > h2 {
    margin-bottom: 22px;
  }
  .related-grid a {
    padding: 20px 0;
  }
  .legacy-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 45px;
  }
  .legacy-content aside {
    position: static;
  }
  .legacy-intro h1 {
    font-size: 49px;
  }
  .legacy-content h2 {
    font-size: 35px;
  }
  .contact-page {
    padding: 45px 0 60px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-details h1 {
    font-size: 45px;
  }
  .about-ref-page > section {
    padding: 55px 0;
  }
  .about-ref-identity-grid,
  .about-ref-future-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .about-team-visual {
    max-width: 500px;
  }
  .about-team-visual > img {
    aspect-ratio: 1.4;
  }
  .about-team-badge-bottom {
    right: 10px;
  }
  .about-identity-copy h1 {
    font-size: 40px;
  }
  .about-future-copy h2 {
    font-size: 35px;
  }
  .about-future-visual {
    height: 300px;
  }
  .about-model-grid,
  .about-value-grid,
  .about-product-row,
  .about-service-grid {
    grid-template-columns: 1fr;
  }
  .about-model-grid,
  .about-value-grid {
    gap: 25px;
  }
  .about-ref-heading h2 {
    font-size: 37px;
  }
  .about-ref-cta-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-ref-cta-content > [data-contact-form-slot] {
    grid-column: 1;
    grid-row: auto;
    margin-top: 15px;
  }
  .about-reference-carousel {
    width: calc(100% - 30px);
    gap: 6px;
  }
  .about-carousel-control {
    min-width: 32px;
    width: 32px;
  }
  .privacy-hero-inner,
  .privacy-shell {
    width: calc(100% - 40px);
  }
  .privacy-hero {
    padding: 45px 0 35px;
  }
  .privacy-hero h1 {
    font-size: 43px;
  }
  .privacy-hero p {
    font-size: 17px;
  }
  .privacy-shell {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .privacy-summary {
    position: static;
  }
  .not-found-actions {
    flex-wrap: wrap;
  }
}
@media (max-height: 720px) and (min-width: 761px) {
  .story-sticky {
    min-height: 0;
  }
  .story-copy h2 {
    font-size: 43px;
    min-height: 0;
  }
  .story-count {
    margin-top: 18px;
  }
  .story-copy > p:last-of-type {
    min-height: 0;
    font-size: 16px;
  }
  .story-steps {
    margin-top: 15px;
  }
  .story-art {
    transform: scale(0.85);
  }
  .story-copy .eyebrow {
    font-size: 10px;
  }
}
@media (max-height: 740px) and (max-width: 760px) {
  .story-shell {
    padding-top: 18px;
    padding-bottom: 10px;
  }
  .story-copy .eyebrow {
    font-size: 10px;
  }
  .story-count {
    margin: 8px 0;
  }
  .story-copy h2 {
    font-size: 29px;
  }
  .story-copy > p:last-of-type {
    font-size: 13px;
    min-height: 4.65em;
    margin-top: 8px;
  }
  .story-steps {
    margin-top: 9px;
  }
  .story-art {
    margin-top: 8px;
  }
  .story-scene .visual-body {
    padding: 8px 20px;
  }
  .story-scene .visual-caption {
    display: none;
  }
  .story-scene .visual-topline {
    padding-block: 8px;
  }
  .story-scene .record-line {
    display: none;
  }
  .story-scene .agenda-item.secondary {
    display: none;
  }
  .story-scene .task-line {
    padding: 3px 0;
  }
  .story-scene .task-line strong {
    font-size: 12px;
    line-height: 1.3;
  }
  .story-scene .task-line small {
    font-size: 10px;
    line-height: 1.3;
  }
  .story-scene .file-heading {
    margin-bottom: 8px;
  }
  .story-scene .example-filters button {
    min-height: 28px;
    padding: 3px 8px;
    font-size: 10px;
  }
  .paper-folder-front {
    padding: 10px 16px;
  }
  .paper-folder-front strong {
    font-size: 18px;
  }
  .folder-caption, .folder-rule {
    display: none;
  }
  .paper-sheet i:nth-of-type(n + 4),
  .paper-seal {
    display: none;
  }
}
@media (max-width: 380px) {
  .brand > span {
    font-size: 21px;
  }
  .brand small {
    font-size: 6px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .header-actions {
    gap: 1px;
  }
  .language-button,
  .theme-button,
  .mobile-toggle {
    min-width: 30px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-actions .button {
    padding-inline: 15px;
    gap: 15px;
  }
  .hero-actions .text-link {
    font-size: 13px;
    gap: 8px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form {
    padding: 22px;
  }
  .solution-choice strong {
    font-size: 15px;
  }
  .visual-body {
    padding: 22px;
  }
  .finance-line {
    grid-template-columns: 22px 1fr auto;
    gap: 8px;
  }
  .finance-line strong {
    font-size: 13px;
  }
  .finance-line > span:last-child {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .hero-actions .button {
    font-size: 14px;
    padding-inline: 17px;
    gap: 18px;
  }
  .hero-actions .text-link {
    font-size: 13px;
    gap: 12px;
  }
  .hero-actions {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo {
    transform: scale(1.045);
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .story-track {
    height: auto;
  }
  .story-sticky {
    position: relative;
    top: 0;
    height: auto;
    min-height: 650px;
  }
  .story-gavel {
    transform: none;
  }
  .story-shell {
    min-height: 650px;
  }
  .story-art {
    min-height: 330px;
  }
  .story-scene {
    transform: none;
  }
  .button:hover {
    transform: none;
  }
}

/* One 2.1 second timeline: impact at 38%, then both panels open together. */
.site-intro {
  --intro-duration: 2100ms;
  position: fixed;
  inset: 0;
  z-index: 1000;
  isolation: isolate;
  overflow: hidden;
  animation: intro-finish var(--intro-duration) linear forwards;
}
.site-intro[hidden] { display: none; }
html.intro-running { overflow: hidden; }
html.intro-running .hero-photo { transform: scale(1.01); }
.intro-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: calc(50% + 1px);
  background-image: radial-gradient(ellipse at 50% 46%, #967151 0%, #5c3e2c 42%, #251912 100%);
  background-size: 100vw 100vh;
  background-size: 100vw 100dvh;
  animation-duration: var(--intro-duration);
  animation-timing-function: cubic-bezier(.7, 0, .2, 1);
  animation-fill-mode: forwards;
  will-change: transform;
}
.intro-half-top { top: 0; background-position: center top; animation-name: intro-open-top; }
.intro-half-bottom { bottom: 0; background-position: center bottom; animation-name: intro-open-bottom; }
.intro-emblem {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(260px, 28vw, 400px);
  transform: translate(-40%, -74%);
  animation: intro-emblem-exit var(--intro-duration) linear forwards;
}
.intro-gavel { width: 100%; height: auto; overflow: visible; }
.intro-gavel-arm {
  transform-origin: 324px 167px;
  animation: intro-strike var(--intro-duration) linear forwards;
}
.intro-gavel-base { animation: intro-base-impact var(--intro-duration) linear forwards; }
.intro-wordmark {
  position: absolute;
  top: calc(50% + 68px);
  left: 0;
  right: 0;
  color: #f3e5d2;
  font-family: var(--serif);
  font-size: 24px;
  text-align: center;
  letter-spacing: .12em;
  animation: intro-emblem-exit var(--intro-duration) linear forwards;
}
.intro-wordmark span { font-weight: normal; margin-left: .15em; }
@keyframes intro-strike {
  0%, 12% { transform: rotate(22deg); }
  25% { transform: rotate(42deg); animation-timing-function: cubic-bezier(.6, 0, 1, 1); }
  38% { transform: rotate(0); }
  43% { transform: rotate(6deg); }
  48%, 100% { transform: rotate(0); }
}
@keyframes intro-base-impact {
  0%, 37%, 43%, 100% { transform: translateY(0); }
  39% { transform: translateY(2px); }
}
@keyframes intro-open-top {
  0%, 38% { transform: translateY(0); }
  92%, 100% { transform: translateY(-102%); }
}
@keyframes intro-open-bottom {
  0%, 38% { transform: translateY(0); }
  92%, 100% { transform: translateY(102%); }
}
@keyframes intro-emblem-exit {
  0%, 43% { opacity: 1; }
  57%, 100% { opacity: 0; }
}
@keyframes intro-finish {
  0%, 99% { visibility: visible; }
  100% { visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-intro { display: none; }
}

.cookie-banner {
  position: fixed;
  z-index: 90;
  left: 24px;
  bottom: 24px;
  width: min(460px, calc(100% - 48px));
  padding: 24px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  box-shadow: 0 12px 50px #21170f26;
}
.cookie-banner[hidden] { display: none; }
html.intro-running .cookie-banner { visibility: hidden; }
.cookie-banner h2 { font-size: 25px; margin-bottom: 10px; }
.cookie-banner p { font-size: 14px; line-height: 1.55; }
.cookie-banner a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; margin-top: 18px; }
.cookie-actions button {
  flex: 1;
  padding: 10px 12px;
  min-height: 44px;
  font-size: 14px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--ink);
}
.cookie-actions button:hover { background: var(--wash); }
.cookie-settings { background: none; padding: 0; color: inherit; font: inherit; text-align: left; }
@media (max-width: 520px) {
  .cookie-banner { left: 14px; bottom: 14px; width: calc(100% - 28px); padding: 18px; }
  .cookie-banner h2 { font-size: 23px; }
  .cookie-actions { gap: 8px; }
  .cookie-actions button { padding-inline: 8px; font-size: 13px; }
  .footer-bottom > div { flex-wrap: wrap; gap: 12px 20px; }
}
