:root {
  --paper: #f5f6fa;
  --ink: #192338;
  --muted: #626d80;
  --line: #d8deea;
  --green: #365cce;
  --lime: #bed2ff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
::selection {
  background: var(--lime);
}
.wrap {
  max-width: 1280px;
  margin: auto;
  padding: 0 48px;
}
.nav {
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  border-radius: 50%;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}
.navlinks a:hover,
.textlink:hover {
  color: var(--green);
}
.contactnav {
  border: 1px solid var(--ink);
  border-radius: 30px;
  padding: 9px 19px;
}
.eyebrow {
  font: 11px/1.5 monospace;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: var(--green);
  box-shadow: 0 0 0 4px #365cce0d;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 65px;
  padding: 77px 0 72px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 4.65vw, 67px);
  line-height: 1.09;
  letter-spacing: -3.4px;
  font-weight: 500;
  margin: 28px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.intro {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
  color: white;
  padding: 14px 21px;
  border-radius: 5px;
  font-size: 13px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}
.btn:hover {
  background: var(--green);
  transform: translateY(-2px);
}
.textlink {
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.blueprint {
  height: 385px;
  background: #e9edf7;
  border: 1px solid #d5ddeb;
  border-radius: 9px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(#7d91bb44 1px, transparent 1px);
  background-size: 20px 20px;
}
.blueprint .label {
  position: absolute;
  top: 20px;
  left: 23px;
  color: #66799e;
  font: 10px monospace;
  letter-spacing: 1px;
}
.diagram {
  position: absolute;
  inset: 75px 29px 49px;
}
.node {
  position: absolute;
  background: #fafbff;
  border: 1px solid #c5d0e7;
  border-radius: 6px;
  box-shadow: 0 6px 15px #1c2e5008;
  padding: 13px 16px;
  width: 148px;
  font-size: 13px;
}
.node small {
  display: block;
  color: #7888a6;
  font: 9px monospace;
  margin-top: 4px;
}
.node.ui {
  top: 0;
  left: 0;
}
.node.api {
  top: 78px;
  right: 0;
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.node.api small {
  color: #bacef5;
}
.node.data {
  bottom: 0;
  left: 15px;
}
.node.cloud {
  bottom: -5px;
  right: 2px;
  width: auto;
  background: var(--lime);
  font: 11px monospace;
  padding: 9px 13px;
}
.connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.diagram-foot {
  position: absolute;
  bottom: 16px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font: 10px monospace;
  color: #657b9d;
}
.techstrip {
  display: flex;
  gap: 25px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
  flex-wrap: wrap;
}
.techstrip .eyebrow {
  color: var(--muted);
  margin-right: auto;
}
.techstrip span:not(.eyebrow) {
  font-size: 14px;
  font-weight: 600;
}
.section {
  padding: 85px 0;
}
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 35px;
  gap: 30px;
}
.sectionhead h2,
.about h2 {
  font-size: 39px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin: 12px 0 0;
}
.sectionhead > p {
  font-size: 14px;
  max-width: 320px;
  color: var(--muted);
  margin: 0;
}
.project {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.projectart {
  min-height: 440px;
  background: #e9dfd2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.artcaption {
  position: absolute;
  left: 23px;
  top: 20px;
  font: 10px monospace;
  color: #7b7063;
}
.invitation {
  background: #fcf9f2;
  width: 230px;
  padding: 40px 20px 30px;
  text-align: center;
  border: 8px solid #faf8f3;
  outline: 1px solid #c6b899;
  box-shadow: 10px 15px 45px #50412e25;
  transform: rotate(-7deg);
  font-family: Georgia, serif;
  position: relative;
}
.invitation:before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid #c9b98d;
  border-radius: 100px 100px 0 0;
}
.invitation > * {
  position: relative;
}
.sprig {
  font-size: 42px;
  color: #7c8b6b;
  line-height: 1;
  margin-bottom: 26px;
}
.invitation small {
  letter-spacing: 2px;
  font: 8px Arial;
}
.invitation h3 {
  font-size: 31px;
  line-height: 1.3;
  font-weight: 400;
  margin: 20px 0;
}
.invitation p {
  font-size: 10px;
  color: #827862;
}
.rsvp {
  position: absolute;
  right: 22px;
  bottom: 42px;
  width: 184px;
  background: #fff;
  padding: 17px;
  border-radius: 8px;
  box-shadow: 0 10px 25px #50412e18;
  font-size: 11px;
}
.rsvp strong {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
}
.rsvp .row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 9px;
  margin-top: 7px;
}
.rsvp .yes {
  color: var(--green);
}
.demolabel {
  position: absolute;
  bottom: 14px;
  left: 20px;
  font: 9px monospace;
  color: #7b7063;
}
.projectcopy {
  padding: 40px;
}
.tag {
  font: 10px monospace;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  background: #e6edff;
  color: #365c9b;
  padding: 5px 9px;
  border-radius: 3px;
}
.projectcopy h3 {
  font-size: 35px;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 15px 0 4px;
}
.projectcopy .sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 23px;
}
.projectcopy p {
  font-size: 14px;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 21px 0;
}
.chips span {
  font: 10px monospace;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 5px 8px;
}
.projectlinks {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 23px;
}
.detailtoggle {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 4px;
  cursor: pointer;
  font-size: 13px;
}
.case {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.case[hidden] {
  display: none;
}
.case h4 {
  margin: 0 0 9px;
  font-size: 15px;
}
.case p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.service {
  padding: 30px 28px 20px 0;
}
.service + .service {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.service .num {
  font: 11px monospace;
  color: var(--green);
}
.service h3 {
  font-weight: 500;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 24px 0 15px;
}
.service p {
  font-size: 14px;
  color: var(--muted);
}
.service .foot {
  font: 10px monospace;
  color: var(--green);
  margin-top: 25px;
}
.about {
  background: var(--ink);
  color: var(--paper);
  border-radius: 9px;
  padding: 53px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
}
.about .eyebrow {
  color: var(--lime);
}
.about h2 {
  font-size: 37px;
}
.about p {
  font-size: 15px;
  color: #c0cbdf;
  margin-top: 0;
}
.facts {
  display: flex;
  gap: 40px;
  border-top: 1px solid #ffffff20;
  padding-top: 24px;
  margin-top: 28px;
}
.facts strong {
  display: block;
  font-size: 28px;
  font-weight: 400;
  color: var(--lime);
}
.facts small {
  font-size: 11px;
  color: #c0cbdf;
}
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 35px;
}
.process article {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.process h3 {
  font-size: 16px;
  font-weight: 500;
}
.process p {
  font-size: 13px;
  color: var(--muted);
}
.contact {
  background: #e9eef9;
  padding: 50px;
  border-radius: 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 55px;
}
.contact h2 {
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 12px 0;
}
.contact p {
  font-size: 14px;
  color: var(--muted);
}
.contactactions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
}
.copy {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--green);
}
#copyStatus {
  font-size: 12px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 10px monospace;
  color: var(--muted);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #5277ed;
  outline-offset: 5px;
}
.skip {
  position: absolute;
  top: -60px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 0;
}
@media (max-width: 1000px) {
  .wrap {
    padding: 0 28px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .node {
    width: 127px;
  }
  .projectcopy {
    padding: 28px;
  }
  .rsvp {
    right: 10px;
    width: 162px;
  }
  .about {
    gap: 35px;
    padding: 36px;
  }
  .contact {
    padding: 35px;
  }
  .contact h2 {
    font-size: 30px;
  }
}
@media (max-width: 720px) {
  .wrap {
    padding: 0 22px;
  }
  .nav {
    height: 80px;
  }
  .brand {
    font-size: 12px;
  }
  .navlinks {
    gap: 14px;
  }
  .navlinks > a:not(.contactnav) {
    display: none;
  }
  .contactnav {
    padding: 7px 11px;
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 47px 0 36px;
    gap: 35px;
  }
  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }
  .intro {
    font-size: 15px;
  }
  .blueprint {
    height: 320px;
  }
  .diagram {
    inset: 65px 35px 50px;
  }
  .node {
    width: 145px;
  }
  .techstrip {
    gap: 15px;
    padding: 20px 0;
  }
  .techstrip .eyebrow {
    width: 100%;
  }
  .techstrip span:not(.eyebrow) {
    font-size: 12px;
  }
  .section {
    padding: 55px 0;
  }
  .sectionhead {
    display: block;
  }
  .sectionhead h2,
  .about h2 {
    font-size: 32px;
  }
  .sectionhead > p {
    margin-top: 16px;
  }
  .project {
    grid-template-columns: 1fr;
  }
  .projectart {
    min-height: 390px;
  }
  .projectcopy {
    padding: 28px;
  }
  .case {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 23px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .service + .service {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .service {
    padding: 26px 0;
  }
  .service h3 {
    margin: 15px 0;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 29px;
  }
  .process {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact {
    display: block;
    padding: 28px;
    margin-bottom: 35px;
  }
  .contactactions {
    margin-top: 25px;
  }
  .contact h2 {
    font-size: 30px;
  }
  footer {
    font-size: 9px;
  }
  .actions {
    gap: 17px;
  }
  .btn {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Version 2 — technical, service-led portfolio */
body {
  font-family: Arial, Helvetica, sans-serif;
}
.hero {
  grid-template-columns: 1.35fr 1fr;
  gap: 45px;
}
.hero h1 {
  font-size: clamp(40px, 4.3vw, 62px);
  letter-spacing: -2.8px;
}
.services-section {
  border-top: 1px solid var(--line);
  padding-bottom: 20px;
}
#work {
  padding-top: 65px;
}
.projectart.ourchapter-art {
  background: #f4eee7;
  flex-direction: column;
  gap: 25px;
  min-height: 460px;
}
.ourchapter-art img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 32px;
  mix-blend-mode: multiply;
}
.project-brand {
  text-align: center;
}
.project-brand strong {
  font-family: Georgia, serif;
  font-size: 35px;
  font-weight: 400;
  color: #675737;
  display: block;
}
.project-brand span {
  font: 9px monospace;
  letter-spacing: 1.2px;
  color: #8b7b63;
  display: block;
  margin-top: 12px;
}
.other-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 25px;
}
.compact-project {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.project-visual {
  height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.project-visual > span:last-child {
  position: absolute;
  left: 23px;
  bottom: 18px;
  font: 9px monospace;
  letter-spacing: 1px;
}
.avage-art {
  background: #344174;
  color: #d8def6;
}
.avage-art img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}
.ariane-art {
  background: #e9edf6;
  color: #506080;
}
.ariane-word {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -3px;
  color: #263b69;
}
.ariane-dot {
  color: #587fe5;
}
.ariane-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 10px monospace;
  margin-top: 16px;
}
.ariane-flow i {
  font-style: normal;
  color: #7b8eaf;
}
.compact-copy {
  padding: 28px;
}
.compact-copy h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin: 10px 0;
}
.compact-copy p {
  font-size: 14px;
  color: var(--muted);
}
.role {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 17px;
}
.role > span {
  font: 9px monospace;
  letter-spacing: 1px;
  color: var(--ink);
}
.role p {
  margin: 8px 0;
}
.compact-copy .project-note {
  font-size: 10px;
  color: #758095;
  margin: 22px 0 0;
}
.tech-section {
  padding-top: 0;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}
.tech-grid > div {
  padding: 0 20px;
}
.tech-grid > div:first-child {
  padding-left: 0;
}
.tech-grid > div + div {
  border-left: 1px solid var(--line);
}
.tech-grid .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--green);
}
.tech-grid p {
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.9;
}
.experience-signoff {
  font: 10px monospace;
  letter-spacing: 1px;
  border-top: 1px solid #ffffff25;
  padding-top: 22px;
  margin-top: 24px;
  color: #bed2ff;
}
.experience-signoff span {
  margin: 0 12px;
}
.about {
  gap: 50px;
}
.hero .intro {
  font-size: 16px;
}
.contactactions {
  max-width: 100%;
}
@media (max-width: 900px) {
  .hero {
    gap: 25px;
    grid-template-columns: 1.2fr 1fr;
  }
  .hero h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .tech-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 0;
  }
  .tech-grid > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .projectcopy {
    padding: 25px;
  }
  .projectlinks {
    flex-wrap: wrap;
  }
}
@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero h1 {
    font-size: clamp(34px, 8.5vw, 49px);
    letter-spacing: -1.7px;
  }
  .other-projects {
    grid-template-columns: 1fr;
  }
  .projectart.ourchapter-art {
    min-height: 330px;
  }
  .ourchapter-art img {
    width: 145px;
    height: 145px;
  }
  .project-brand strong {
    font-size: 29px;
  }
  .tech-grid > div {
    padding: 0 12px;
  }
  .tech-grid .eyebrow {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .tech-grid p {
    font-size: 12px;
  }
  .about {
    gap: 25px;
  }
  .actions {
    flex-wrap: wrap;
  }
  .experience-signoff {
    font-size: 9px;
    line-height: 1.9;
  }
  .project-visual {
    height: 215px;
  }
  .services-section {
    padding-bottom: 0;
  }
  .sectionhead h2 {
    line-height: 1.3;
  }
  .contactactions .btn {
    max-width: 100%;
  }
}
