:root {
  --bg: #0d0f0d;
  --panel: #f4efe3;
  --panel-2: #e8dfcf;
  --ink: #10120f;
  --muted: #6c6a60;
  --line: rgba(244, 239, 227, 0.26);
  --dark-line: rgba(16, 18, 15, 0.22);
  --green: #94d17b;
  --acid: #d8ff62;
  --rust: #b66a39;
  --blue: #6db3ca;
  --white: #fffaf2;
  --shadow-hard: 14px 14px 0 rgba(16, 18, 15, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(rgba(244, 239, 227, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 227, 0.052) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  color: var(--panel);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

a { color: inherit; text-decoration: none; }
button,
input,
textarea { font: inherit; }
main { overflow: hidden; }

.hero,
.section,
.contact-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  padding: 20px 0 18px;
}

.nav,
.hero-grid,
.offer-strip,
.work-card,
.service-card,
.about-section,
.contact-form,
.contact-copy,
.section-heading,
.intro-grid {
  border: 1px solid var(--line);
}

.nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px;
  background: rgba(13, 15, 13, 0.78);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--panel);
  color: var(--ink);
  font-weight: 700;
}

.nav-links a {
  border: 1px solid rgba(244, 239, 227, 0.2);
  padding: 10px 12px;
  color: rgba(244, 239, 227, 0.72);
  font-size: 0.9rem;
}

.nav-links a:hover,
.button:hover,
.contact-form button:hover {
  background: var(--acid);
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.85fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
  margin-top: 18px;
  background:
    linear-gradient(135deg, rgba(216, 255, 98, 0.12), transparent 40%),
    var(--panel);
  color: var(--ink);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 650px;
  padding: clamp(24px, 5vw, 64px);
}

.eyebrow,
.section-kicker,
.work-label,
.demo-note,
.showcase-card span,
.contact-form span {
  margin: 0;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7.2vw, 6.2rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 5.3rem);
  line-height: 0.94;
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2.8vw, 3.1rem);
  line-height: 1;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 30px;
  color: #393a32;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.button,
.contact-form button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 0 18px;
  font-weight: 700;
}

.button.primary,
.contact-form button {
  background: var(--ink);
  color: var(--panel);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.offer-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
  background: rgba(16, 18, 15, 0.04);
}

.offer-strip div {
  min-height: 112px;
  padding: 18px;
}

.offer-strip div + div {
  border-left: 1px solid var(--dark-line);
}

.offer-strip strong,
.offer-strip span,
.offer-strip em {
  display: block;
}

.offer-strip strong {
  margin-bottom: 8px;
  font-size: 1rem;
}

.offer-strip span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.offer-strip em {
  margin-top: 10px;
  color: rgba(16, 18, 15, 0.58);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.35;
}

.hero-showcase {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 650px;
  padding: clamp(20px, 4vw, 48px);
  border-left: 1px solid var(--dark-line);
}

.showcase-window,
.showcase-card,
.concept-shell {
  border: 1px solid var(--dark-line);
  background: rgba(255, 250, 242, 0.76);
  box-shadow: var(--shadow-hard);
}

.main-window {
  overflow: hidden;
  min-height: 500px;
  background: var(--white);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--dark-line);
  background: #fbf6ed;
}

.window-bar span {
  width: 10px;
  height: 10px;
  background: rgba(16, 18, 15, 0.18);
}

.showcase-hero-image {
  min-height: 210px;
  background:
    linear-gradient(110deg, rgba(16, 18, 15, 0.18), transparent 44%),
    linear-gradient(135deg, #5d806d, #c9b65c 55%, #a35f41);
}

.showcase-content {
  padding: clamp(26px, 4vw, 42px);
}

.showcase-content p {
  color: var(--rust);
  font-weight: 700;
  text-transform: uppercase;
}

.showcase-content h2 {
  max-width: 500px;
  margin-bottom: 28px;
  font-size: clamp(1.7rem, 3.2vw, 3.2rem);
  line-height: 1;
}

.showcase-lines {
  display: grid;
  gap: 10px;
}

.showcase-lines span {
  display: block;
  height: 12px;
  background: rgba(16, 18, 15, 0.1);
}

.showcase-lines span:nth-child(2) { width: 82%; }
.showcase-lines span:nth-child(3) { width: 58%; }

.showcase-card {
  position: absolute;
  width: min(250px, 58vw);
  padding: 20px;
  background: var(--panel);
}

.showcase-card strong {
  display: block;
  margin: 10px 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.15;
}

.showcase-card p {
  margin: 0;
  font-size: 0.86rem;
}

.metric-card {
  right: clamp(8px, 2vw, 30px);
  bottom: 58px;
}

.touch-card {
  left: clamp(4px, 2vw, 28px);
  top: 110px;
}

.section {
  padding: 18px 0 0;
}

.intro-section {
  padding-top: 0;
}

.intro-grid,
.section-heading,
.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(22px, 5vw, 72px);
  padding: clamp(24px, 5vw, 54px);
  background: rgba(244, 239, 227, 0.06);
}

.intro-grid h2,
.section-heading h2,
.about-section h2 {
  margin-bottom: 0;
}

.intro-grid p,
.section-heading p,
.work-copy p,
.service-card p,
.about-copy p,
.contact-copy p {
  color: rgba(244, 239, 227, 0.68);
}

.work-section {
  padding-top: 18px;
}

.work-section .section-heading {
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.58fr);
  align-items: end;
}

.work-section .section-heading .section-kicker {
  grid-column: 1 / -1;
}

.work-section .section-heading h2 {
  max-width: 720px;
}

.work-section .section-heading p {
  max-width: 540px;
}

.section-heading.compact {
  display: block;
  max-width: none;
}

.work-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 0.76fr);
  min-height: 440px;
  background: var(--panel);
  color: var(--ink);
}

.work-card:nth-child(even) {
  grid-template-columns: minmax(0, 0.76fr) minmax(280px, 0.9fr);
}

.work-card:nth-child(even) .work-visual {
  order: 2;
}

.work-visual {
  display: grid;
  place-items: center;
  padding: clamp(22px, 3vw, 44px);
}

.restaurant .work-visual { background: #4f2f28; }
.biotech .work-visual { background: #dce8e9; }
.contractor .work-visual { background: #26312c; }

.concept-shell {
  width: min(440px, 100%);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 16px 16px 0 rgba(0, 0, 0, 0.18);
}

.concept-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(16, 18, 15, 0.14);
}

.concept-nav span {
  width: 27%;
  height: 9px;
  background: rgba(16, 18, 15, 0.14);
}

.concept-body {
  padding: 14px;
}

.concept-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 210px;
  object-fit: cover;
  margin-bottom: 18px;
  border: 1px solid rgba(16, 18, 15, 0.18);
}

.concept-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.concept-copy span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 18, 15, 0.14);
  background: rgba(255, 250, 242, 0.7);
  color: rgba(16, 18, 15, 0.74);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.biotech .concept-copy span {
  background: rgba(232, 245, 246, 0.72);
  color: #244b58;
}

.contractor .concept-copy span {
  background: #27362f;
  border-color: #27362f;
  color: #fff8e8;
}

.work-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 54px);
}

.work-number {
  color: rgba(16, 18, 15, 0.2);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
}

.work-copy h3 {
  margin: 14px 0 18px;
}

.work-copy p {
  color: var(--muted);
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.work-meta span {
  border: 1px solid rgba(16, 18, 15, 0.18);
  padding: 8px 10px;
  color: #453f36;
  font-size: 0.78rem;
}

.demo-note {
  margin-top: 22px;
  color: var(--rust);
  font-size: 0.72rem;
}

.restaurant .work-label,
.restaurant .demo-note { color: #9a3c2d; }
.biotech .work-label,
.biotech .demo-note { color: #217487; }
.contractor .work-label,
.contractor .demo-note { color: #b05d19; }

.services-section {
  padding-top: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.service-card {
  padding: clamp(24px, 4vw, 44px);
  background: var(--panel);
  color: var(--ink);
}

.service-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.service-topline h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
}

.service-topline strong {
  flex: 0 0 auto;
  color: var(--rust);
  font-size: 0.95rem;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  color: #3d372f;
  line-height: 1.45;
}

.service-card li::before {
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  background: var(--rust);
  content: "";
}

.about-section {
  margin-top: 18px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 0.82fr);
  gap: 18px;
  padding: 18px 0 56px;
}

.contact-copy,
.contact-form {
  padding: clamp(24px, 4vw, 44px);
  background: rgba(244, 239, 227, 0.06);
}

.contact-copy h2 {
  margin-bottom: 22px;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--panel);
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--rust);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 18, 15, 0.22);
  background: #fffdf8;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(182, 106, 57, 0.14);
}

.contact-form button {
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.form-status {
  min-height: 1.4em;
  color: var(--rust);
  font-weight: 700;
}

@media (max-width: 940px) {
  .hero-grid,
  .intro-grid,
  .section-heading,
  .about-section,
  .contact-section,
  .services-grid,
  .work-card,
  .work-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-showcase {
    min-height: auto;
  }

  .hero-showcase {
    border-top: 1px solid var(--dark-line);
    border-left: 0;
  }

  .work-card:nth-child(even) .work-visual {
    order: 0;
  }
}

@media (max-width: 680px) {
  .hero,
  .section,
  .contact-section {
    width: min(100% - 24px, 1180px);
  }

  .nav,
  .nav-links,
  .hero-actions,
  .service-topline {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    align-items: center;
    flex-direction: row;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nav-links a {
    text-align: center;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.25rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3.6rem);
  }

  .work-section .section-heading {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .work-section .section-heading .section-kicker,
  .work-section .section-heading h2,
  .work-section .section-heading p {
    max-width: none;
  }

  .work-section .section-heading h2 {
    line-height: 1.06;
  }

  .work-section .section-heading p {
    margin-bottom: 0;
  }

  .hero-copy,
  .intro-grid,
  .section-heading,
  .about-section,
  .contact-copy,
  .contact-form,
  .work-copy,
  .service-card {
    padding: 22px;
  }

  .hero-showcase {
    display: grid;
    gap: 12px;
    padding: 16px;
  }

  .main-window {
    min-height: auto;
  }

  .showcase-hero-image {
    min-height: 128px;
  }

  .showcase-content {
    padding: 22px;
  }

  .showcase-content h2 {
    font-size: clamp(1.45rem, 8vw, 2.4rem);
  }

  .showcase-card {
    position: static;
    width: 100%;
    box-shadow: none;
  }

  .offer-strip {
    grid-template-columns: 1fr;
  }

  .offer-strip div + div {
    border-top: 1px solid var(--dark-line);
    border-left: 0;
  }

  .work-visual {
    min-height: 320px;
  }

  .concept-photo {
    min-height: 170px;
  }

  .concept-copy {
    grid-template-columns: 1fr;
  }
}
