:root {
  color-scheme: light;
  --ink: #111411;
  --ink-soft: #545b54;
  --paper: #f3f2ec;
  --paper-deep: #e7e7de;
  --line: #c9cec4;
  --night: #0b0e0c;
  --night-soft: #151a16;
  --acid: #c7ff28;
  --acid-ink: #506b00;
  --white: #fbfcf8;
  --max: 1200px;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
}

section {
  scroll-margin-top: 76px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--acid);
  color: var(--night);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 14, 12, 0.96);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.05;
}

.brand-name small {
  margin-top: 4px;
  color: #9ba29b;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a,
.language-switch {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--acid);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-switch {
  justify-self: end;
  min-width: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  cursor: pointer;
}

.language-switch:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 78% 40%, rgba(199, 255, 40, 0.09), transparent 25%),
    var(--night);
  background-size: 64px 64px, 64px 64px, auto, auto;
  color: var(--white);
}

.hero-inner {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.78fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
  padding-block: 76px;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy > * {
  animation: enter-up 650ms both;
}

.hero-copy > h1 {
  animation-delay: 70ms;
}

.hero-copy > .hero-lead {
  animation-delay: 140ms;
}

.hero-copy > .hero-actions {
  animation-delay: 210ms;
}

.hero-copy > .hero-proof {
  animation-delay: 280ms;
}

@keyframes enter-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow,
.section-number,
.calendar-label,
.card-index {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b5bcb5;
}

.signal-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--acid);
  animation: status-pulse 2.2s ease-in-out infinite;
}

@keyframes status-pulse {
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero h1 {
  max-width: 760px;
  margin: 24px 0 26px;
  font-size: clamp(50px, 5.7vw, 80px);
  font-weight: 590;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #bcc3bc;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--acid);
  color: var(--night);
}

.button-primary:hover {
  background: #d6ff62;
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.button-quiet:hover {
  border-color: rgba(255, 255, 255, 0.62);
}

.hero-proof {
  display: grid;
  grid-template-columns: 0.7fr 0.9fr 1.4fr;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-proof div {
  min-width: 0;
  padding: 16px 14px 0 0;
}

.hero-proof div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--acid);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 17px;
}

.hero-proof span {
  margin-top: 4px;
  color: #9ca49d;
  font-size: 11px;
}

.project-brief {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 25, 21, 0.82);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  animation: enter-up 760ms 160ms both;
}

.brief-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #a0a8a0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.09em;
}

.project-brief h2 {
  margin: 24px 0 22px;
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 580;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.brief-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
}

.brief-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.brief-list > li > span,
.brief-result > span {
  color: var(--acid);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

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

.brief-list p {
  margin: 5px 0 0;
  color: #9fa79f;
  font-size: 12px;
  line-height: 1.55;
}

.brief-result {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
  margin-top: 18px;
}

.brief-result p {
  margin: 0;
  color: #d7dcd7;
  font-size: 13px;
  line-height: 1.55;
}

.stack-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.stack-strip > div {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #5f665f;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.stack-strip i {
  width: 3px;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #92988f;
}

.services,
.evidence,
.delivery,
.contact-section {
  padding-block: 100px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) 1fr;
  gap: 44px;
  margin-bottom: 54px;
}

.section-number {
  padding-top: 9px;
  color: #555e55;
}

.section-number::before {
  display: inline-block;
  width: 24px;
  height: 1px;
  margin: 0 9px 3px 0;
  background: currentColor;
  content: "";
}

.section-heading h2,
.ai-copy h2,
.booking-heading h2,
.contact-main h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.section-heading > div > p {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
}

.service-featured {
  background: var(--night);
  color: var(--white);
}

.card-index {
  color: #666e66;
}

.service-featured .card-index {
  color: #a0a8a0;
}

.card-icon {
  position: absolute;
  top: 25px;
  right: 28px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 255, 40, 0.45);
  border-radius: 50%;
  color: var(--acid);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.card-icon img {
  width: 40px;
  height: 40px;
  opacity: 0.72;
}

.card-icon span {
  position: absolute;
}

.service-card h3 {
  max-width: 470px;
  margin: 74px 0 12px;
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 590;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.service-card p {
  max-width: 540px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.service-featured p {
  color: #b2bab2;
}

.service-featured ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #d2d8d2;
  list-style: none;
}

.service-featured li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.service-featured li::before {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--acid);
  content: "";
}

.card-tech {
  position: absolute;
  right: 30px;
  bottom: 25px;
  left: 30px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: #666e66;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-section,
.booking-section {
  background: var(--night);
  color: var(--white);
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 0.8fr);
  gap: clamp(60px, 9vw, 120px);
  padding-block: 100px;
}

.section-number.light {
  color: #a3aba3;
}

.ai-copy h2 {
  max-width: 650px;
  margin-top: 42px;
}

.ai-copy > p:not(.section-number) {
  max-width: 620px;
  margin: 25px 0 0;
  color: #b1b9b1;
  font-size: 17px;
  line-height: 1.68;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.light-link {
  margin-top: 34px;
  color: var(--acid);
}

.ai-principles {
  align-self: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ai-principles article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 19px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ai-principles article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 255, 40, 0.38);
  border-radius: 50%;
  color: var(--acid);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.ai-principles h3 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 620;
}

.ai-principles p {
  margin: 0;
  color: #959d95;
  font-size: 13px;
  line-height: 1.55;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.proof-grid article {
  min-height: 230px;
  padding: 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
}

.proof-grid article > span {
  color: var(--acid-ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 750;
}

.proof-grid h3 {
  margin: 56px 0 9px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.proof-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.proof-grid .proof-years {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper-deep);
}

.proof-years strong {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(54px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1;
}

.architecture-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 45px;
  margin-top: 42px;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.architecture-copy h3 {
  margin: 12px 0 10px;
  font-size: 27px;
  font-weight: 590;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.architecture-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.architecture-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.architecture-flow span {
  min-height: 64px;
  display: grid;
  flex: 1 1 0;
  place-items: center;
  padding: 8px;
  border: 1px solid #aeb4aa;
  background: var(--paper);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.architecture-flow i {
  color: var(--acid-ink);
  font-style: normal;
}

.compact-heading {
  margin-bottom: 46px;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fit-grid article {
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fit-grid h3 {
  margin: 14px 0 17px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.fit-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
}

.fit-grid li {
  display: grid;
  grid-template-columns: 12px 1fr;
  font-size: 14px;
  line-height: 1.55;
}

.fit-grid li::before {
  color: var(--acid-ink);
  content: "+";
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.delivery-grid article {
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--acid-ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.delivery-grid h3 {
  margin: 52px 0 8px;
  font-size: 22px;
}

.delivery-grid p {
  max-width: 320px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.profile-band {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center;
  gap: 32px;
  margin-top: 42px;
  padding: 30px;
  border: 1px solid var(--line);
}

.profile-monogram {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--night);
}

.profile-monogram img {
  width: 64px;
  height: 64px;
}

.profile-copy .eyebrow {
  color: #656d65;
}

.profile-copy h3 {
  margin: 10px 0 7px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.profile-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.profile-links {
  display: grid;
  gap: 8px;
}

.booking-section {
  padding-block: 100px;
}

.booking-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) 1fr;
  gap: 25px 44px;
  margin-bottom: 50px;
}

.booking-heading h2 {
  max-width: 760px;
}

.booking-heading > p:last-child {
  grid-column: 2;
  max-width: 660px;
  margin: -7px 0 0;
  color: #a4aca4;
  font-size: 16px;
  line-height: 1.6;
}

.booking-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--night-soft);
}

.calendar-panel,
.slots-panel,
.booking-form,
.booking-success {
  padding: clamp(24px, 3vw, 38px);
}

.calendar-panel {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.calendar-label {
  color: #a3aba3;
}

.calendar-toolbar h3,
.slots-panel h3,
.form-head h3,
.booking-success h3 {
  margin: 8px 0 0;
  font-size: 23px;
  font-weight: 590;
  letter-spacing: -0.025em;
}

.calendar-controls {
  display: flex;
  gap: 7px;
}

.calendar-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.calendar-controls button:hover:not(:disabled) {
  border-color: var(--acid);
  color: var(--acid);
}

.calendar-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays {
  margin-top: 28px;
  color: #8f978f;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
}

.calendar-weekdays span {
  padding: 8px 0;
}

.calendar-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.calendar-day {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 0.84;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: transparent;
  color: #e1e5e1;
  cursor: pointer;
}

.calendar-day:hover:not(:disabled),
.calendar-day.selected {
  background: var(--acid);
  color: var(--night);
}

.calendar-day:disabled {
  color: #596159;
  cursor: default;
}

.calendar-day.outside {
  opacity: 0.3;
}

.calendar-day.today::before {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--acid);
  content: "";
  transform: translateX(-50%);
}

.calendar-day.selected.today::before {
  background: var(--night);
}

.calendar-day.available::after {
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
  content: "";
  transform: translateX(-50%);
}

.calendar-day.available:hover::after,
.calendar-day.selected::after {
  background: var(--night);
}

.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  color: #949c94;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.calendar-legend > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
}

.slots-panel {
  min-height: 500px;
}

.slot-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 25px;
}

.slot-list button {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: transparent;
  color: #e3e7e3;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  cursor: pointer;
}

.slot-list button:hover,
.slot-list button[aria-pressed="true"] {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--night);
}

.slot-hint {
  margin-top: 25px;
  color: #9aa29a;
  font-size: 13px;
}

.booking-form,
.booking-success {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.booking-form[hidden],
.booking-success[hidden] {
  display: none;
}

.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.form-head > strong {
  color: var(--acid);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.form-grid label:not(.consent) {
  display: grid;
  gap: 8px;
  color: #b2bab2;
  font-size: 12px;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  outline: none;
  background: #101411;
  color: var(--white);
}

.form-grid input,
.form-grid select {
  height: 48px;
  padding: 0 14px;
}

.form-grid textarea {
  min-height: 105px;
  padding: 13px 14px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--acid);
  box-shadow: 0 0 0 2px rgba(199, 255, 40, 0.08);
}

.form-wide {
  grid-column: 1 / -1;
}

.website-trap {
  position: absolute;
  left: -10000px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #a4aca4;
  font-size: 12px;
  line-height: 1.5;
}

.consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--acid);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 26px;
}

.form-footer p {
  flex: 1;
  margin: 0;
  color: #ffad9c;
  font-size: 12px;
}

.booking-success {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.success-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--night);
  font-size: 24px;
}

.booking-success p {
  max-width: 620px;
  margin: 8px 0 0;
  color: #a3aba3;
  font-size: 13px;
}

.success-actions {
  display: flex;
  gap: 8px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) 1fr;
  gap: 36px;
}

.contact-main h2 {
  max-width: 850px;
}

.contact-main > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
  border-bottom: 1px solid var(--ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(16px, 2vw, 23px);
  text-decoration: none;
}

.contact-meta {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #666e66;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid #292e2a;
  background: var(--night);
  color: var(--white);
}

.site-footer > p {
  color: #818981;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.site-footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.site-footer > div a,
.privacy-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  color: #a5ada5;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.site-footer > div a:hover,
.privacy-button:hover {
  color: var(--acid);
}

.privacy-dialog {
  width: min(calc(100% - 32px), 620px);
  padding: 46px;
  border: 1px solid #4e554e;
  border-radius: var(--radius);
  background: var(--night-soft);
  color: var(--white);
}

.privacy-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(5px);
}

.privacy-dialog h2 {
  margin: 14px 0 17px;
  font-size: 31px;
  letter-spacing: -0.035em;
}

.privacy-dialog p {
  margin: 0;
  color: #b2bab2;
  line-height: 1.7;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 1px solid #4e554e;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero-inner,
  .ai-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 48px;
  }

  .project-brief {
    width: min(100%, 670px);
    justify-self: end;
  }

  .section-heading,
  .booking-heading,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading .section-number,
  .booking-heading .section-number {
    padding-top: 0;
  }

  .booking-heading > p:last-child,
  .contact-meta {
    grid-column: 1;
    margin-top: 0;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .architecture-card {
    grid-template-columns: 1fr;
  }

  .profile-band {
    grid-template-columns: 96px 1fr;
  }

  .profile-links {
    grid-column: 2;
    grid-template-columns: repeat(2, max-content);
  }

  .booking-shell {
    grid-template-columns: 1fr;
  }

  .calendar-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .slots-panel {
    min-height: 240px;
  }

  .slot-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .booking-form,
  .booking-success {
    grid-column: 1;
  }

  .booking-success {
    grid-template-columns: auto 1fr;
  }

  .success-actions {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  section {
    scroll-margin-top: 116px;
  }

  .section-shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    min-height: 116px;
    grid-template-columns: 1fr auto;
    grid-template-rows: 70px 46px;
    padding-inline: 16px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
    justify-content: space-between;
    gap: 15px;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 44px;
    font-size: 12px;
  }

  .main-nav a::after {
    bottom: 2px;
  }

  .hero {
    background-size: 40px 40px, 40px 40px, auto, auto;
  }

  .hero-inner {
    min-height: 0;
    gap: 38px;
    padding-block: 60px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr 1fr;
    margin-top: 34px;
  }

  .hero-proof div {
    padding: 13px 0;
  }

  .hero-proof div + div {
    padding-left: 15px;
  }

  .hero-proof div:last-child {
    grid-column: 1 / -1;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .project-brief {
    padding: 23px;
  }

  .project-brief h2 {
    font-size: 29px;
  }

  .stack-strip {
    overflow-x: auto;
  }

  .stack-strip > div {
    width: max-content;
    min-height: 58px;
    margin-inline: 16px;
    gap: 22px;
  }

  .services,
  .evidence,
  .delivery,
  .contact-section,
  .booking-section,
  .ai-layout {
    padding-block: 66px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .ai-copy h2,
  .booking-heading h2,
  .contact-main h2 {
    font-size: 38px;
  }

  .section-heading > div > p,
  .ai-copy > p:not(.section-number) {
    font-size: 16px;
  }

  .service-grid,
  .fit-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 250px;
    padding: 24px;
  }

  .service-card h3 {
    margin-top: 56px;
  }

  .service-featured ul {
    display: grid;
  }

  .card-tech {
    right: 24px;
    bottom: 21px;
    left: 24px;
  }

  .ai-copy h2 {
    margin-top: 32px;
  }

  .ai-principles article {
    padding: 17px 0;
  }

  .proof-grid article {
    min-height: 220px;
    padding: 20px;
  }

  .proof-grid h3 {
    margin-top: 26px;
  }

  .proof-grid .proof-years {
    min-height: 190px;
  }

  .architecture-card {
    gap: 30px;
    margin-top: 28px;
    padding: 25px;
  }

  .architecture-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  .architecture-flow span {
    min-height: 48px;
  }

  .architecture-flow span:last-child {
    grid-column: 1 / -1;
  }

  .architecture-flow i {
    display: none;
  }

  .fit-grid {
    margin-bottom: 24px;
  }

  .fit-grid article {
    padding: 24px;
  }

  .delivery-grid article {
    min-height: 145px;
    padding: 24px;
  }

  .delivery-grid h3 {
    margin-top: 20px;
  }

  .profile-band {
    grid-template-columns: 1fr;
    gap: 21px;
    margin-top: 30px;
    padding: 24px;
  }

  .profile-links {
    grid-column: 1;
    grid-template-columns: 1fr 1fr;
  }

  .profile-links .text-link {
    gap: 12px;
  }

  .booking-heading {
    margin-bottom: 38px;
  }

  .calendar-panel,
  .slots-panel,
  .booking-form,
  .booking-success {
    padding: 21px;
  }

  .calendar-day {
    min-height: 44px;
    aspect-ratio: 1;
  }

  .calendar-legend {
    align-items: flex-start;
    flex-direction: column;
  }

  .slot-list {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .form-wide {
    grid-column: 1;
  }

  .form-head,
  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .button {
    width: 100%;
  }

  .booking-success {
    grid-template-columns: 1fr;
  }

  .success-actions {
    grid-column: 1;
    flex-direction: column;
  }

  .contact-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 24px 16px;
  }

  .site-footer > p {
    display: none;
  }

  .site-footer > div {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .privacy-dialog {
    padding: 46px 24px 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
