:root {
  --paper: #f8f7f4;
  --surface: #eeece7;
  --ink: #18191f;
  --body: #585754;
  --muted: #807c76;
  --accent: #956b54;
  --accent-deep: #704a39;
  --accent-soft: #d9c7ba;
  --rule: #c9c5c0;
  --footer: #252624;
  --white: #fff;
  --error: #a33428;
  --success: #30634c;
  --motion-ease: cubic-bezier(.32, .72, 0, 1);
  --motion-duration: 640ms;
  --section-top: clamp(24px, 2.4vw, 36px);
  --section-bottom: clamp(68px, 5vw, 84px);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}

button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

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

a,
button {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

a:hover,
button:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

button:active,
.button:active {
  transform: translateY(1px);
}

h1,
h2,
h3,
p,
figure,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
}

p {
  color: var(--body);
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

section[id] {
  scroll-margin-top: 2rem;
}

.site {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow: clip;
}

.js .entrance,
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
}

.js .entrance {
  transition:
    opacity var(--motion-duration) var(--motion-ease) var(--entrance-delay, 0ms),
    transform var(--motion-duration) var(--motion-ease) var(--entrance-delay, 0ms);
}

.js .reveal {
  transition:
    opacity var(--motion-duration) var(--motion-ease) var(--reveal-delay, 0ms),
    transform var(--motion-duration) var(--motion-ease) var(--reveal-delay, 0ms);
}

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

.inset {
  padding-inline: clamp(22px, 4vw, 60px);
}

.header {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.wordmark {
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: -.03em;
  white-space: nowrap;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
  white-space: nowrap;
}

.nav a,
.nav button {
  position: relative;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

.nav .active {
  color: var(--accent);
}

.nav .active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-left: auto;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 4px;
  border-right: 1px solid var(--rule);
}

.language-switch button {
  min-width: 28px;
  min-height: 30px;
  padding: 5px 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
}

.language-switch button[aria-pressed="true"] {
  color: var(--accent);
  font-weight: 700;
}

.lang-link {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 11px;
  color: var(--accent);
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}

.lang-link:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex-shrink: 0;
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.search-button {
  color: var(--accent);
}

.menu-button {
  display: none;
}

.hero {
  min-height: 315px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 40px;
  padding-top: clamp(54px, 4.2vw, 68px);
  padding-bottom: clamp(48px, 3.8vw, 60px);
}

.hero-content {
  min-width: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 49px;
  line-height: 1.17;
  letter-spacing: -.035em;
}

.hero-subtitle {
  max-width: 730px;
  margin-top: 13px;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: .01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.button.primary:hover {
  color: var(--white);
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.button.outline {
  border-color: #65625e;
}

.button.outline:hover {
  color: var(--ink);
  background: #eee8e2;
  border-color: var(--accent);
}

.button.light {
  min-height: 42px;
  margin-top: 20px;
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.button.light:hover {
  color: var(--ink);
  background: #e9e1d8;
  border-color: #e9e1d8;
}

.arrow-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.hero-aside {
  min-height: 205px;
  padding: 38px 0 0 17px;
  border-left: 1px solid #bba697;
}

.hero-aside p {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.short-rule {
  display: block;
  width: 30px;
  height: 1px;
  margin: 31px 0 20px;
  background: var(--accent);
}

.hero-aside small {
  display: block;
  padding-left: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: .12em;
}

.meeting-photo {
  width: 100%;
  aspect-ratio: 847 / 272;
  background-image: url("assets/alvista-hero-meeting.png");
  background-position: center 54%;
  background-repeat: no-repeat;
  background-size: cover;
}

.intro {
  padding-top: clamp(52px, 4.8vw, 70px);
  padding-bottom: clamp(58px, 4.4vw, 74px);
}

.section-kicker {
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.intro h2,
.section-heading h2,
.contact-copy h2 {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.intro-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 12px;
}

.intro-line p {
  max-width: 750px;
  font-size: 16px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 0 0 4px;
  color: var(--accent);
  border-bottom: 1px solid #bda48f;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

.text-link .arrow-icon {
  width: 17px;
  height: 17px;
}

.scope-note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  margin-top: 29px;
  padding-top: 17px;
  border-top: 1px solid var(--rule);
}

.scope-note strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.scope-note span {
  max-width: 780px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.heading-rule {
  height: 1px;
  flex: 1;
  min-width: 30px;
  background: var(--rule);
}

.status-note,
.card-status {
  color: var(--accent);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.status-note {
  flex: 0 0 auto;
}

.services {
  padding-top: var(--section-top);
  padding-bottom: var(--section-bottom);
}

.service-grid {
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  grid-template-rows: 155px 187px;
  gap: 12px 18px;
  margin-top: 19px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.service-card .card-copy {
  position: relative;
  z-index: 1;
}

.service-main {
  grid-row: span 2;
}

.service-main .card-copy {
  max-width: 60%;
  padding: 31px 28px;
}

.service-main h3 {
  max-width: 300px;
  margin: 14px 0 9px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.service-main p {
  max-width: 360px;
  color: #4b4b48;
  font-size: 13px;
  line-height: 1.62;
}

.service-main .text-link {
  margin-top: 22px;
}

.service-project .card-copy,
.service-ai .card-copy {
  max-width: 67%;
  padding: 19px 28px;
}

.service-project h3,
.service-ai h3 {
  margin: 8px 0 7px;
  font-size: 18px;
  line-height: 1.3;
}

.service-project p,
.service-ai p {
  color: #74716b;
  font-size: 12px;
  line-height: 1.52;
}

.card-number {
  display: block;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .08em;
}

.card-status {
  display: block;
  max-width: 280px;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: none;
}

.service-main .card-status {
  margin-top: 17px;
}

.service-main-photo,
.service-project-photo,
.service-ai-photo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-main-photo {
  left: 44%;
  background-image: url("assets/alvista-technical-project.png");
  background-position: center;
  background-size: cover;
}

.service-project-photo {
  left: 55%;
  background-image: url("assets/alvista-technical-systems.png");
  background-position: center;
  background-size: cover;
}

.service-ai-photo {
  left: 56%;
  background-image: url("assets/alvista-ai-technology.png");
  background-position: center;
  background-size: cover;
}

.ai-tech-visual {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 19px;
  width: 112px;
  height: 116px;
  overflow: hidden;
  border: 1px solid #f7f1e8a6;
  background: #242621b8;
  box-shadow: 0 10px 22px #17151224;
  pointer-events: none;
  transform: rotate(-2deg);
}

.ai-tech-visual::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid #f7f1e84a;
  background:
    linear-gradient(90deg, transparent 49%, #f7f1e820 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, #f7f1e820 50%, transparent 51%);
  background-size: 28px 28px;
}

.ai-tech-visual-label {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #f7f1e8;
  font-size: 12px;
  letter-spacing: .02em;
}

.ai-tech-visual-line {
  position: absolute;
  height: 1px;
  background: #d9c7ba;
  transform-origin: left center;
  opacity: .82;
}

.ai-tech-visual-line-one {
  top: 55px;
  left: 36px;
  width: 52px;
  transform: rotate(27deg);
}

.ai-tech-visual-line-two {
  top: 74px;
  left: 40px;
  width: 43px;
  transform: rotate(-23deg);
}

.ai-tech-visual-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #f7f1e8;
  background: #956b54;
  border-radius: 50%;
}

.ai-tech-visual-node-one { top: 50px; left: 31px; }
.ai-tech-visual-node-two { top: 80px; left: 85px; }
.ai-tech-visual-node-three { top: 66px; left: 48px; }

.ai-tech-visual-bar {
  position: absolute;
  bottom: 14px;
  width: 4px;
  background: #d9c7ba;
}

.ai-tech-visual-bar-one { left: 16px; height: 12px; }
.ai-tech-visual-bar-two { left: 24px; height: 21px; }
.ai-tech-visual-bar-three { left: 32px; height: 30px; background: #956b54; }

.service-main::after,
.service-project::after,
.service-ai::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-main::after {
  background: linear-gradient(90deg, #eeece8 0%, #eeece8 27%, #eeece8e8 45%, #eeece870 65%, #eeece800 86%);
}

.service-project::after,
.service-ai::after {
  background: linear-gradient(90deg, #eeece8 18%, #eeece8f2 46%, #eeece855 73%, #eeece800 91%);
}

.card-link {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 17px 25px;
}

.card-link .arrow-icon {
  color: var(--accent);
}

.service-card:has(.card-link:hover) h3,
.service-card:has(.text-link:hover) h3 {
  color: var(--accent);
}

.ai-section {
  padding-top: var(--section-top);
  padding-bottom: var(--section-bottom);
}

.ai-grid {
  display: grid;
  grid-template-columns: minmax(250px, .75fr) 1.25fr;
  gap: 70px;
  margin-top: 24px;
}

.ai-intro {
  padding-top: 2px;
}

.ai-intro .lead {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -.01em;
}

.ai-intro .limitation {
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid var(--accent-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.phase-list {
  padding: 0;
  list-style: none;
}

.phase-list li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 16px;
  padding: 0 0 19px;
  margin-bottom: 19px;
  border-bottom: 1px solid var(--rule);
}

.phase-list li:last-child {
  margin-bottom: 0;
}

.phase-number {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.1;
}

.phase-list h3 {
  margin-bottom: 5px;
  font-size: 17px;
  line-height: 1.35;
}

.phase-list p {
  max-width: 540px;
  font-size: 13px;
  line-height: 1.58;
}

.ai-scenarios {
  margin-top: clamp(48px, 5vw, 72px);
}

.ai-scenarios-head {
  display: grid;
  grid-template-columns: minmax(250px, .75fr) 1.25fr;
  gap: 70px;
  align-items: end;
}

.ai-scenarios-head h3 {
  max-width: 530px;
  margin-top: 8px;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.ai-scenarios-head > p {
  max-width: 560px;
  padding-bottom: 2px;
  font-size: 13px;
  line-height: 1.65;
}

.ai-scenario-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.ai-scenario {
  min-height: 214px;
  padding: 21px 22px 23px;
  background: var(--surface);
}

.ai-scenario-number {
  display: block;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.1;
}

.ai-scenario h4 {
  margin: 17px 0 8px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.ai-scenario p {
  max-width: 360px;
  font-size: 12px;
  line-height: 1.6;
}

.ai-scenario-meta {
  display: block;
  margin-top: 19px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .04em;
}

.industries {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--section-top);
  padding-bottom: var(--section-bottom);
}

.industry-backdrop {
  position: absolute;
  z-index: -1;
  top: 86px;
  right: 0;
  width: min(58%, 760px);
  height: 238px;
  background:
    linear-gradient(90deg, var(--paper) 0%, #f8f7f4ee 18%, #f8f7f4d1 56%, #f8f7f4b8 100%),
    url("assets/alvista-ai-data.png") 62% center / cover no-repeat;
  opacity: .9;
  pointer-events: none;
}

.industry-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid #b89d8c66;
  border-bottom: 1px solid #b89d8c66;
}

.industry-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 27px;
}

.industry-list button {
  position: relative;
  display: flex;
  min-height: 104px;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 0 20px;
  border-right: 1px solid #b89d8c;
  text-align: left;
}

.industry-list button:first-child {
  padding-left: 0;
}

.industry-list button:last-child {
  padding-right: 0;
  border-right: 0;
}

.industry-list strong {
  max-width: 220px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.01em;
}

.industry-list span {
  max-width: 220px;
  color: #54514c;
  font-size: 12px;
  line-height: 1.6;
}

.industry-list .arrow-icon {
  width: 16px;
  height: 16px;
  margin-top: auto;
  color: var(--accent);
}

.company-info {
  padding-top: var(--section-top);
  padding-bottom: var(--section-bottom);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1.5fr 1.25fr;
  align-items: center;
  margin-top: 25px;
}

.fact {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  border-right: 1px solid var(--rule);
}

.fact:first-child {
  padding-left: 0;
}

.fact:nth-child(3) {
  border-right: 0;
}

.fact svg {
  width: 30px;
  height: 36px;
  flex: 0 0 auto;
}

.fact strong,
.fact span {
  display: block;
  white-space: nowrap;
}

.fact strong {
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
}

.fact span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.fact-values {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .07em;
}

.verification-note {
  max-width: 850px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.organization {
  padding-top: var(--section-top);
  padding-bottom: var(--section-bottom);
}

.organization-intro {
  max-width: 860px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.65;
}

.organization-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0;
  margin: 25px 0 0;
  list-style: none;
}

.organization-list li {
  min-height: 122px;
  padding: 0 18px;
  border-right: 1px solid var(--rule);
}

.organization-list li:first-child {
  padding-left: 0;
}

.organization-list li:last-child {
  padding-right: 0;
  border-right: 0;
}

.org-number {
  display: block;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.1;
}

.organization-list h3 {
  max-width: 190px;
  margin: 11px 0 7px;
  font-size: 14px;
  line-height: 1.35;
}

.organization-list p {
  max-width: 190px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.approach {
  padding-top: var(--section-top);
  padding-bottom: var(--section-bottom);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.steps li {
  min-height: 124px;
  padding: 0 24px;
}

.steps li:first-child {
  padding-left: 0;
}

.step-number {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.1;
}

.steps h3 {
  margin: 9px 0 6px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.steps p {
  max-width: 170px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.projects {
  padding-top: var(--section-top);
  padding-bottom: var(--section-bottom);
}

.projects-empty {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 24px;
  padding: 24px 0 0;
}

.projects-empty h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.4;
}

.projects-empty p {
  max-width: 850px;
  font-size: 13px;
  line-height: 1.65;
}

.careers {
  padding-top: var(--section-top);
  padding-bottom: var(--section-bottom);
  background: var(--surface);
}

.career-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(36px, 6vw, 86px);
  margin-top: 28px;
  padding: clamp(28px, 4vw, 52px);
  color: var(--white);
  background:
    linear-gradient(118deg, #222422f2 0%, #292b29eb 61%, #704a39e8 100%),
    url("assets/alvista-ai-technology.png") center / cover no-repeat;
}

.career-eyebrow {
  display: block;
  margin-bottom: 13px;
  color: var(--accent-soft);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.career-copy h3 {
  max-width: 660px;
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.career-copy p {
  max-width: 680px;
  margin-top: 15px;
  color: #deded9;
  font-size: 15px;
  line-height: 1.7;
}

.career-copy .button {
  margin-top: 24px;
}

.career-facts {
  align-self: stretch;
  margin: 0;
  border-top: 1px solid #ffffff52;
}

.career-facts div {
  display: grid;
  grid-template-columns: minmax(100px, .8fr) 1.2fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #ffffff2e;
}

.career-facts dt {
  color: #b9b8b4;
  font-size: 12px;
  line-height: 1.5;
}

.career-facts dd {
  margin: 0;
  color: var(--white);
  font-size: 13px;
  line-height: 1.5;
}

.dialog-section {
  padding-top: 4px;
  border-top: 1px solid var(--rule);
}

.dialog-section + .dialog-section {
  margin-top: 26px;
}

.dialog-section h3 {
  color: var(--accent-deep);
}

.dialog-section p:last-child,
.dialog-section ul:last-child {
  margin-bottom: 0;
}

.about-banner {
  position: relative;
  min-height: 286px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  padding-top: clamp(56px, 4.8vw, 72px);
  padding-bottom: clamp(56px, 4.8vw, 72px);
  color: var(--white);
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#171c204c, #171c204c), url("assets/alvista-lake-contact.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-copy,
.contact-quote {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  max-width: 620px;
  margin-top: 10px;
  color: #efefeb;
  font-size: 14px;
  line-height: 1.65;
}

.contact-quote {
  width: 180px;
  margin-top: 17px;
  padding: 24px 0 18px 18px;
  border-left: 1px solid #d4cbc0;
  color: #efefeb;
  font-size: 16px;
  line-height: 1.5;
}

.footer {
  display: grid;
  grid-template-columns: 2.35fr .9fr 1.05fr .9fr 1.35fr;
  gap: 26px;
  min-height: 180px;
  padding-top: 34px;
  padding-bottom: 30px;
  color: #e5e4e1;
  background: var(--footer);
}

.footer .wordmark {
  font-size: 18px;
}

.footer-brand p {
  margin-top: 9px;
  color: #aaa9a5;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .03em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding-top: 2px;
}

.footer-nav a,
.footer-nav button,
.footer-legal {
  color: #b6b5b1;
  font-size: 12px;
  line-height: 1.45;
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: var(--white);
}

.footer-legal {
  padding-left: 25px;
  border-left: 1px solid #a4a19c;
}

.footer-legal p {
  color: #a5a39e;
  font-size: 12px;
  line-height: 1.6;
}

.footer-legal p + p {
  margin-top: 8px;
  color: #a5a39e;
}

.footer-legal button {
  color: inherit;
  font-size: inherit;
  text-align: left;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 16px;
  padding: 11px 14px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.dialog {
  width: min(640px, calc(100% - 32px));
  max-height: 90dvh;
  padding: 36px;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 16px 64px #0003;
}

.dialog::backdrop {
  background: #19181680;
  backdrop-filter: blur(3px);
}

.dialog h2 {
  margin: 0 42px 16px 0;
  font-size: 28px;
  line-height: 1.35;
}

.dialog h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}

.dialog p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.dialog ul {
  padding-left: 20px;
  color: var(--body);
  line-height: 1.8;
}

.dialog-close {
  position: absolute;
  top: 11px;
  right: 12px;
}

.dialog-close svg {
  width: 20px;
  height: 20px;
}

.dialog .button {
  margin-top: 8px;
}

.dialog input,
.dialog select,
.dialog textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff9;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 16px;
}

.dialog input:hover,
.dialog textarea:hover,
.dialog select:hover {
  border-color: var(--accent);
}

.dialog input:focus,
.dialog textarea:focus,
.dialog select:focus {
  background: var(--white);
}

.dialog input[aria-invalid="true"],
.dialog textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.dialog label {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.dialog .check {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.dialog label b {
  color: var(--accent);
  font-weight: 600;
}

.dialog .demo-notice {
  padding: 10px 12px;
  color: var(--body);
  background: #ece6de;
  font-size: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 3px;
  color: var(--error);
  font-size: 12px;
}

.check {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.check input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 3px 0;
  accent-color: var(--accent);
}

.check span {
  flex: 1;
  color: var(--body);
}

.inline-control {
  display: inline;
  padding: 0;
  color: var(--accent-deep);
  border-bottom: 1px solid var(--accent-soft);
  font-size: inherit;
  line-height: inherit;
  text-align: left;
}

.inline-control:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.check .field-error {
  width: 100%;
}

#form-status {
  margin: 12px 0 0;
  color: var(--success);
  font-size: 14px;
}

#form-status.error {
  color: var(--error);
}

.dialog address {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  font-style: normal;
}

#search-results {
  margin-top: 20px;
}

#search-results a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}

#search-results a small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1400px) {
  .header {
    gap: 18px;
  }

  .nav {
    gap: 13px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .service-main .card-copy {
    max-width: 64%;
  }
}

@media (max-width: 1240px) {
  .header {
    position: relative;
  }

  .nav {
    position: absolute;
    z-index: 5;
    top: 80px;
    right: 22px;
    left: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 16px #0001;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav button {
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
  }

  .nav .active::after {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 24px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .industry-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .industry-list button,
  .industry-list button:first-child,
  .industry-list button:last-child {
    padding: 0 20px;
    border-right: 1px solid #b89d8c;
  }

  .industry-list button:nth-child(2n) {
    border-right: 0;
  }

  .industry-list button:nth-child(2n + 1) {
    padding-left: 0;
  }

  .industry-list button:nth-child(2n) {
    padding-right: 0;
  }

  .facts {
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 18px 0;
  }

  .organization-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 0;
  }

  .organization-list li:nth-child(3n) {
    border-right: 0;
  }

  .organization-list li:nth-child(3n + 1) {
    padding-left: 0;
  }

  .fact-values {
    grid-column: 1 / -1;
    padding: 16px 0 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .footer {
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0 0;
    border-top: 1px solid #686966;
    border-left: 0;
  }

  .footer-legal p + p {
    margin-top: 0;
    text-align: right;
  }
}

@media (max-width: 680px) {
  .inset {
    padding-inline: 22px;
  }

  .header {
    min-height: 76px;
  }

  .wordmark {
    font-size: 18px;
  }

  .hero {
    display: block;
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 45px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: 34px;
    line-height: 1.25;
  }

  .hero-subtitle {
    max-width: 520px;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-aside {
    display: none;
  }

  .meeting-photo {
    aspect-ratio: 847 / 272;
  }

  .section-kicker {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .intro {
    padding-top: 44px;
    padding-bottom: 50px;
  }

  .intro h2,
  .section-heading h2,
  .contact-copy h2 {
    font-size: 25px;
  }

  .intro-line {
    display: block;
    margin-top: 13px;
  }

  .intro-line p {
    font-size: 14px;
    line-height: 1.8;
  }

  .intro-line .text-link {
    margin-top: 17px;
  }

  .scope-note {
    display: block;
    margin-top: 25px;
  }

  .scope-note strong,
  .scope-note span {
    display: block;
  }

  .scope-note span {
    margin-top: 7px;
    font-size: 12px;
  }

  .section-heading {
    flex-wrap: wrap;
    gap: 9px 12px;
  }

  .heading-rule {
    min-width: 24px;
  }

  .status-note {
    width: 100%;
    font-size: 12px;
  }

  .services,
  .ai-section,
  .industries,
  .company-info,
  .organization,
  .approach,
  .projects,
  .careers {
    padding-top: 18px;
    padding-bottom: 54px;
  }

  .service-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }

  .service-main {
    min-height: 300px;
  }

  .service-project,
  .service-ai {
    min-height: 184px;
  }

  .service-main .card-copy,
  .service-project .card-copy,
  .service-ai .card-copy {
    max-width: 70%;
    padding: 25px 23px;
  }

  .service-main h3 {
    margin-top: 14px;
    font-size: 23px;
  }

  .service-main p,
  .service-project p,
  .service-ai p {
    font-size: 12px;
    line-height: 1.65;
  }

  .service-main .card-status,
  .service-project .card-status,
  .service-ai .card-status {
    max-width: 245px;
    margin-top: 13px;
    font-size: 12px;
  }

  .service-main-photo {
    left: 41%;
  }

  .service-project-photo,
  .service-ai-photo {
    left: 53%;
  }

  .ai-tech-visual {
    top: 16px;
    right: 16px;
    transform: scale(.9) rotate(-2deg);
    transform-origin: top right;
  }

  .ai-grid {
    display: block;
    margin-top: 22px;
  }

  .ai-scenarios {
    margin-top: 44px;
  }

  .ai-scenarios-head {
    display: block;
  }

  .ai-scenarios-head h3 {
    max-width: 520px;
    font-size: 21px;
  }

  .ai-scenarios-head > p {
    margin-top: 12px;
    padding-bottom: 0;
    font-size: 12px;
    line-height: 1.7;
  }

  .ai-scenario-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .ai-scenario {
    min-height: 0;
    padding: 20px 18px 21px;
  }

  .ai-scenario h4 {
    margin-top: 14px;
    font-size: 16px;
  }

  .ai-scenario p {
    max-width: none;
    font-size: 12px;
  }

  .ai-scenario-meta {
    margin-top: 15px;
    font-size: 12px;
  }

  .ai-intro .lead {
    font-size: 17px;
    line-height: 1.65;
  }

  .ai-intro .limitation {
    margin-top: 18px;
    font-size: 12px;
  }

  .phase-list {
    margin-top: 30px;
  }

  .phase-list li {
    grid-template-columns: 43px 1fr;
    gap: 13px;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .phase-number {
    font-size: 23px;
  }

  .phase-list h3 {
    font-size: 16px;
  }

  .phase-list p {
    font-size: 12px;
    line-height: 1.65;
  }

  .industry-list {
    margin-top: 22px;
    gap: 26px 0;
  }

  .industry-backdrop {
    top: 88px;
    width: 100%;
    height: 318px;
    background:
      linear-gradient(90deg, var(--paper) 0%, #f8f7f4e8 34%, #f8f7f4c9 100%),
      url("assets/alvista-ai-data.png") 62% center / cover no-repeat;
    opacity: .72;
  }

  .industry-list button,
  .industry-list button:first-child,
  .industry-list button:last-child,
  .industry-list button:nth-child(2n),
  .industry-list button:nth-child(2n + 1) {
    min-height: 116px;
    padding: 0 14px;
  }

  .industry-list button:nth-child(2n + 1) {
    padding-left: 0;
  }

  .industry-list button:nth-child(2n) {
    padding-right: 0;
  }

  .industry-list strong {
    font-size: 14px;
  }

  .industry-list span {
    color: #4f4c47;
    font-size: 12px;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 24px 12px;
    margin-top: 23px;
  }

  .fact {
    gap: 9px;
    padding: 0;
    border: 0;
  }

  .fact:nth-child(3) {
    grid-column: 1 / -1;
  }

  .fact svg {
    width: 27px;
    height: 33px;
  }

  .fact strong,
  .fact span {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .fact strong {
    font-size: 12px;
  }

  .fact span {
    font-size: 12px;
  }

  .fact-values {
    display: none;
  }

  .verification-note {
    margin-top: 22px;
    font-size: 12px;
  }

  .organization-intro {
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.7;
  }

  .organization-list {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
    margin-top: 22px;
  }

  .organization-list li,
  .organization-list li:first-child,
  .organization-list li:last-child {
    min-height: 102px;
    padding: 0;
    border-right: 0;
  }

  .org-number {
    font-size: 22px;
  }

  .organization-list h3 {
    margin-top: 8px;
    font-size: 13px;
  }

  .organization-list p {
    font-size: 12px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
    margin-top: 24px;
  }

  .steps li,
  .steps li:first-child {
    min-height: 105px;
    padding: 0;
  }

  .step-number {
    font-size: 24px;
  }

  .steps h3 {
    margin-top: 7px;
    font-size: 15px;
  }

  .steps p {
    font-size: 12px;
  }

  .projects-empty {
    display: block;
    margin-top: 21px;
    padding-top: 19px;
  }

  .projects-empty h3 {
    font-size: 17px;
  }

  .projects-empty p {
    font-size: 12px;
    line-height: 1.7;
  }

  .projects-empty .text-link {
    margin-top: 18px;
  }

  .career-card {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
    padding: 27px 22px;
  }

  .career-copy h3 {
    font-size: 25px;
  }

  .career-copy p {
    font-size: 13px;
  }

  .career-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .about-banner {
    min-height: 300px;
    padding-top: 46px;
    padding-bottom: 48px;
  }

  .contact-copy p {
    font-size: 13px;
    line-height: 1.75;
  }

  .contact-quote {
    display: none;
  }

  .footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 18px;
    min-height: 0;
    padding-top: 29px;
    padding-bottom: 27px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    font-size: 12px;
  }

  .footer-nav {
    gap: 8px;
  }

  .footer-nav a,
  .footer-nav button {
    font-size: 12px;
  }

  .footer-legal {
    display: block;
    grid-column: 1 / -1;
    padding-top: 16px;
  }

  .footer-legal p + p {
    margin-top: 9px;
    text-align: left;
  }

  .dialog {
    width: calc(100% - 24px);
    padding: 27px 20px;
  }

  .dialog h2 {
    font-size: 24px;
  }

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

@media (max-width: 480px) {
  .header {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .wordmark {
    font-size: 16px;
  }

  .lang-link {
    padding: 5px 9px;
  }
}

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

  .js .entrance,
  .js .reveal,
  .js .entrance.is-visible,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
