:root {
  color-scheme: dark;
  --dark: #151b18;
  --ink: #17211c;
  --paper: #f4f5ee;
  --white: #f5f7ee;
  --green: #c4f471;
  --soft: #bbc8bc;
  --line: #39483e;
  font-family: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--dark); color: var(--white); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.accent { color: var(--green); }
.skip { position: absolute; z-index: 1; top: 8px; left: 8px; padding: 10px; background: var(--green); color: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 77px; border-bottom: 1px solid var(--line); }
.brand { font-size: 25px; font-weight: 850; letter-spacing: -.07em; }
nav { display: flex; flex-wrap: wrap; gap: clamp(12px, 4vw, 38px); font-size: .88rem; color: var(--soft); }
nav a:hover, .secondary:hover, .footer a:hover { color: var(--green); }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(25px, 6vw, 92px); align-items: center; padding-block: 85px 96px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 650 .75rem/1.5 ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; color: var(--soft); }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); }
h1 { margin-block: 20px; font-size: clamp(3.15rem, 8.1vw, 7.25rem); line-height: .91; letter-spacing: -.075em; }
.intro { max-width: 48ch; color: var(--soft); font-size: clamp(1rem, 1.8vw, 1.2rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 25px; margin-top: 28px; }
.button, .secondary { display: inline-flex; align-items: center; gap: 13px; font-weight: 700; font-size: .91rem; }
.button { background: var(--green); color: #141e13; padding: 13px 17px; border-radius: 6px; }
.button:hover { background: #defca9; }
.secondary { color: var(--soft); padding: 10px 0; }

.hero-profile { display: flex; align-items: center; gap: 14px; }
.avatar { width: 60px; height: 60px; flex: none; overflow: hidden; border-radius: 50%; border: 1px solid #65786a; }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transform: scale(1.17); }

.diagram { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #1c2520; }
.diagram-caption, .diagram-footer { padding: 14px 17px; display: flex; justify-content: space-between; color: var(--soft); font: .72rem ui-monospace, monospace; }
.diagram-caption { border-bottom: 1px solid var(--line); }
.diagram-body { padding: 30px 16px; display: grid; justify-items: center; background-image: radial-gradient(#52675a 1px, transparent 1px); background-size: 17px 17px; }
.node { padding: 8px 10px; border: 1px solid #64796a; background: #202e25; border-radius: 5px; text-align: center; font: .81rem ui-monospace, monospace; }
.core { display: grid; gap: 6px; padding: 13px 23px; color: var(--green); background: #263629; border-color: var(--green); font-size: clamp(1rem, 2vw, 1.4rem); }
.core small { font-size: .61rem; letter-spacing: .12em; }
.wire { height: 25px; width: 1px; background: #849b80; }
.branch { height: 17px; }
.node-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 12px; position: relative; }
.node-pair::before { content: ""; position: absolute; inset: 0 25% auto; height: 12px; border: 1px solid #849b80; border-bottom: 0; }
.diagram-footer { border-top: 1px solid var(--line); justify-content: flex-start; gap: 6px; }
.diagram-footer i { width: 5px; height: 5px; border-radius: 50%; background: #829789; }

.light { background: var(--paper); color: var(--ink); }
.light .eyebrow { color: #3b5d43; }
.services, .experience { padding-block: 70px; }
h2 { font-size: clamp(2rem, 4.7vw, 3.7rem); letter-spacing: -.06em; line-height: 1.04; margin-block: 9px 20px; }
h3 { font-size: 1.22rem; letter-spacing: -.025em; line-height: 1.25; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.cards article { border: 1px solid #d3dacf; background: #fafbf6; border-radius: 9px; padding: 23px; display: flex; flex-direction: column; align-items: flex-start; }
.cards .turnkey { grid-column: 1 / -1; }
.symbol { font: 700 1.25rem ui-monospace, monospace; background: #e6efda; color: #294732; padding: 8px 11px; border-radius: 5px; margin-bottom: 18px; }
.cards p, .role > p:last-child { margin-block: 10px 15px; color: #405047; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: auto 0 0; }
.tags li { border: 1px solid #d3dacf; border-radius: 4px; padding: 3px 7px; font: .69rem ui-monospace, monospace; }
.more-stack { margin-top: 20px; color: #405047; font-size: .9rem; }
.more-stack strong { margin-right: 8px; color: var(--ink); }
.experience, .background { border-top: 1px solid #d3dacf; }
.split { display: grid; grid-template-columns: 1fr 1.65fr; gap: 42px; }
.muted { max-width: 36ch; color: #405047; }
.role { border-top: 1px solid #c8d4c7; padding: 16px 0 6px; }
.role h3 { margin-top: 6px; }
.role h3 span { color: #47604e; font-weight: 500; }
.background { padding-block: 32px 55px; }
.background h2 { font-size: 1.55rem; letter-spacing: -.035em; }
.background p + p { margin-top: 12px; }
.contact { padding-block: 72px; }
.contact > p:not(.eyebrow) { color: var(--soft); max-width: 53ch; }
.contact-form { display: grid; max-width: 36rem; gap: .45rem; margin-block: 1.5rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: .65rem .8rem;
  margin-bottom: .45rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--dark);
  color: var(--white);
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form p { color: var(--soft); font-size: .9rem; }
.contact-form a { text-decoration: underline; }
.contact-form .button { justify-self: start; margin-top: .5rem; cursor: pointer; }
.footer { border-top: 1px solid var(--line); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--soft); font-size: .85rem; }

@media (max-width: 850px) {
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { padding-block: 50px; }
  .diagram { width: min(100%, 460px); }
  .services, .experience, .contact { padding-block: 48px; }
  .split { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.cards .price {
  margin: 8px 0 0;
  color: #294732;
  font-weight: 750;
}

.contact-address { margin-top: 14px; overflow-wrap: anywhere; }
.contact-address a:hover { color: var(--green); }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal a { text-decoration: underline; text-underline-offset: .18em; }
.legal { max-width: 72ch; padding-block: 40px 64px; }
.legal h1 { font-size: clamp(2.2rem, 8vw, 4.25rem); overflow-wrap: anywhere; }
.legal h2 { font-size: 1.45rem; margin-block: 26px 10px; }
.legal p + p { margin-top: 12px; }
.legal address { font-style: normal; }

.examples { padding-block: 65px; border-top: 1px solid #d3dacf; }
.example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
.example-grid h3 { margin-top: 17px; }
.example-grid article > p { margin-top: 6px; color: #405047; }

.mock {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #d3dacf;
  aspect-ratio: 1.7;
  display: grid;
  grid-template-rows: auto 1fr;
  container-type: inline-size;
}
.mock-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 3.5% 5%; font-size: clamp(.52rem, 2.6cqw, .8rem); }
.mock-header strong { font-size: 1.2em; }
.architecture-hero, .it-hero { display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: 5%; padding: 4% 5% 7%; }
.mock-architecture { background: #f1e8d8; color: #30261f; }
.mock-architecture .mock-header { border-bottom: 1px solid #d5c6b3; }
.architecture-hero > div > strong { display: block; font: 500 clamp(1.25rem, 7.5cqw, 2.8rem)/.98 Georgia, serif; letter-spacing: -.055em; }
.mock p { margin-bottom: 7%; font: 700 clamp(.48rem, 1.9cqw, .68rem) ui-monospace, monospace; letter-spacing: .1em; }
.mock-button { display: inline-block; margin-top: 10%; padding: 5% 8%; border-radius: 4px; font-size: clamp(.48rem, 2.3cqw, .72rem); font-weight: 700; }
.mock-architecture .mock-button { color: #fff8ef; background: #80503d; }
.restaurant-preview-art {
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 58% 48%, #7e303f 0 13%, transparent 14%),
    radial-gradient(ellipse at 40% 58%, #a3514f 0 12%, transparent 13%),
    radial-gradient(ellipse at 58% 66%, #62744b 0 6%, transparent 7%),
    radial-gradient(circle, #ebd2ae 0 52%, #bc947b 53% 55%, #f3e2ca 56% 68%, #9a5d58 69%);
}
.example-preview { display: block; border-radius: 12px; }
.example-preview > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-radius: inherit;
}
.example-link { display: inline-block; margin-top: 8px; color: #294732; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.mock-it { background: #161a31; color: #f1f2ff; border-color: #30354f; }
.mock-it .mock-header { border-bottom: 1px solid #343951; }
.it-hero > div > strong { display: block; font-size: clamp(1.25rem, 7.1cqw, 2.65rem); line-height: .98; letter-spacing: -.055em; }
.mock-it p { color: #c6bcff; }
.mock-it .mock-button { background: #c6bcff; color: #211a41; }
.it-art {
  justify-self: stretch;
  padding: 15% 12%;
  border: 1px solid #575985;
  border-radius: 12px;
  background: radial-gradient(ellipse at top right, #514d8f, #272944 75%);
  display: grid;
  gap: 9px;
}
.it-art i {
  display: block;
  height: clamp(12px, 5cqw, 26px);
  border: 1px solid #7775a5;
  border-radius: 4px;
  background: linear-gradient(90deg, #c6bcff 0 12%, #414166 12%);
}

@media (max-width: 700px) {
  .examples { padding-block: 48px; }
  .example-grid { grid-template-columns: 1fr; }
}
