@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --paper: #f6f2e9;
  --paper-2: #fffdf8;
  --ink: #18221c;
  --muted: #667068;
  --line: #cfcbbf;
  --line-strong: #9fa59e;
  --green: #365847;
  --green-soft: #dfe9df;
  --orange: #c7653f;
  --orange-soft: #f0d4c3;
  --blue-soft: #dbe5ee;
  --yellow-soft: #efe2ad;
  --max: 1180px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a, a:link, a:visited { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, svg { max-width: 100%; }

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

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 9px 12px;
}
.skip-link:focus { transform: translateY(0); }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 242, 233, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav-wrap.scrolled { border-color: var(--line); }
.nav {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
}
.brand-copy {
  display: grid;
  line-height: 1.05;
  font-weight: 700;
  font-size: .93rem;
}
.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
}
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  font-size: .88rem;
  font-weight: 600;
}
.nav-links a {
  position: relative;
  padding: 8px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--ink);
  transition: right .2s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  padding: 11px 17px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary, a.btn-primary, a.btn-primary:link, a.btn-primary:visited { background-color: var(--ink) !important; color: #fff !important; }
.btn-primary:hover, a.btn-primary:hover { background-color: var(--green) !important; }
.btn-secondary, a.btn-secondary, a.btn-secondary:link, a.btn-secondary:visited { background-color: transparent !important; color: var(--ink) !important; }
.btn-secondary:hover, a.btn-secondary:hover { background-color: var(--paper-2) !important; }
.btn-small { min-height: 40px; padding: 8px 13px; font-size: .82rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.hero {
  padding: 88px 0 66px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: clamp(60px, 9vw, 120px);
  align-items: end;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.hero h1,
.page-hero h1,
.section-heading h2,
.display-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(4.2rem, 8.7vw, 8.25rem);
  line-height: .84;
}
.hero h1 em { color: var(--orange); font-weight: 400; }
.hero-copy {
  max-width: 710px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.release-note {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 20px 0 10px;
}
.release-note-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.release-status { color: var(--green); }
.release-list { margin: 0; padding: 0; list-style: none; }
.release-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.release-list strong { display: block; margin-bottom: 2px; font-size: .95rem; }
.release-list small { color: var(--muted); }
.release-index { color: var(--orange); font-weight: 700; }
.release-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 17px 0 6px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.signal-bar { border-bottom: 1px solid var(--line); }
.signal-grid {
  min-height: 95px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.signal-item {
  display: grid;
  align-content: center;
  padding: 20px 26px;
  border-right: 1px solid var(--line);
}
.signal-item:first-child { border-left: 1px solid var(--line); }
.signal-item strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.signal-item span { color: var(--muted); font-size: .78rem; }

.section { padding: 112px 0; }
.section-tight { padding: 78px 0; }
.section-rule { border-top: 1px solid var(--line); }
.section-heading {
  max-width: 800px;
  margin-bottom: 58px;
}
.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: end;
}
.section-kicker {
  margin-bottom: 20px;
  color: var(--orange);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 5.7rem);
  line-height: .93;
}
.section-heading p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-listing { border-top: 1px solid var(--ink); }
.service-row {
  display: grid;
  grid-template-columns: 76px minmax(190px, .7fr) minmax(280px, 1.3fr) auto;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.service-number { color: var(--orange); font-weight: 700; }
.service-row h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.05; }
.service-row p { margin: 0; color: var(--muted); }
.service-row ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .88rem;
}
.service-row li + li { margin-top: 7px; }
.service-row li::before { content: "/ "; color: var(--green); font-weight: 700; }
.service-row .text-link { align-self: center; white-space: nowrap; }

.work-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .5fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}
.work-intro p { color: var(--muted); margin: 0; }
.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.project-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--green-soft);
  border-right: 1px solid var(--ink);
}
.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(24,34,28,.28);
  border-radius: 50%;
}
.project-visual::before { width: 420px; height: 420px; }
.project-visual::after { width: 560px; height: 560px; }
.phone-shell {
  position: relative;
  z-index: 2;
  width: 246px;
  height: 475px;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: var(--paper-2);
  transform: rotate(-4deg);
  box-shadow: 20px 24px 0 rgba(54,88,71,.14);
}
.phone-screen {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 24px 18px;
  background: #f7f8fa;
}
.phone-notch { width: 70px; height: 16px; margin: -11px auto 32px; border-radius: 20px; background: var(--ink); }
.app-monogram {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--ink);
  background: #fff;
  font-weight: 700;
}
.app-ui-title { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.app-ui-copy { margin: 9px 0 24px; color: #65706a; font-size: .72rem; }
.app-ui-balance { padding: 18px 0; border-top: 1px solid #b7bdb8; border-bottom: 1px solid #b7bdb8; }
.app-ui-balance span { display: block; color: #707a73; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.app-ui-balance strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; }
.app-ui-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 15px 0; border-bottom: 1px solid #d7dbd8; }
.app-ui-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--orange-soft); }
.app-ui-lines span { display: block; width: 72px; height: 5px; margin-bottom: 5px; background: #c9cfcb; }
.app-ui-lines span:last-child { width: 45px; }
.app-ui-amount { font-size: .7rem; font-weight: 700; }
.project-copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(38px, 6vw, 76px); background: var(--paper-2); }
.project-copy .project-index { color: var(--orange); font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
.project-copy h3 { margin: 20px 0 14px; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); line-height: .92; font-weight: 400; }
.project-copy p { margin: 0; color: var(--muted); max-width: 500px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 40px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.project-list { border-bottom: 1px solid var(--ink); }
.project-row {
  display: grid;
  grid-template-columns: 70px minmax(180px, .6fr) minmax(260px, 1.2fr) auto;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.project-row:last-child { border-bottom: 0; }
.project-row h3 { margin: 0; font-family: var(--serif); font-size: 2.15rem; font-weight: 400; }
.project-row p { margin: 0; color: var(--muted); }
.project-type { color: var(--orange); font-size: .8rem; font-weight: 700; }
.project-tech { color: var(--muted); font-size: .78rem; text-align: right; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.process-step { min-height: 320px; padding: 28px 30px 34px; border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; }
.process-step .step { color: var(--orange); font-weight: 700; }
.process-step h3 { margin: 90px 0 14px; font-family: var(--serif); font-size: 2.15rem; font-weight: 400; line-height: 1; }
.process-step p { margin: 0; color: var(--muted); }

.bim-band {
  background: var(--green-soft);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.bim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .6fr);
  gap: 90px;
  align-items: end;
  padding: 78px 0;
}
.bim-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 400; line-height: .93; }
.bim-grid p { color: #4f6057; }

.cta-section { padding: 112px 0; }
.cta-block {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 70px;
  align-items: end;
  padding: 65px 0 20px;
  border-top: 2px solid var(--ink);
}
.cta-block h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 400; line-height: .88; }
.cta-block p { color: var(--muted); }

.page-hero {
  padding: 92px 0 74px;
  border-bottom: 1px solid var(--line);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: 80px;
  align-items: end;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(4.1rem, 8vw, 7.8rem);
  line-height: .87;
}
.page-hero p { margin: 28px 0 0; color: var(--muted); font-size: 1.12rem; max-width: 740px; }
.page-side-note { border-top: 1px solid var(--ink); padding-top: 18px; color: var(--muted); }
.page-side-note strong { display: block; color: var(--ink); margin-bottom: 12px; }

.scope-table { border-top: 1px solid var(--ink); }
.scope-row {
  display: grid;
  grid-template-columns: 70px minmax(190px, .7fr) minmax(300px, 1.3fr);
  gap: 30px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.scope-row h3 { margin: 0; font-family: var(--serif); font-size: 2.1rem; font-weight: 400; }
.scope-row p { margin: 0; color: var(--muted); }
.scope-index { color: var(--orange); font-weight: 700; }

.pricing-table { border-top: 1px solid var(--ink); }
.pricing-row {
  display: grid;
  grid-template-columns: minmax(190px, .65fr) minmax(300px, 1.25fr) 130px;
  gap: 30px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.pricing-row.featured { background: var(--orange-soft); margin-inline: -24px; padding-inline: 24px; }
.pricing-row h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.pricing-row p { margin: 0; color: var(--muted); }
.pricing-row ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.pricing-row li + li { margin-top: 7px; }
.pricing-row li::before { content: "/ "; color: var(--green); font-weight: 700; }
.price { text-align: right; font-family: var(--serif); font-size: 2.1rem; }
.price small { display: block; font-family: var(--sans); color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }

.note-box {
  margin-top: 28px;
  padding: 20px 0 0 28px;
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  color: var(--muted);
}

.faq { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; margin: 0 0 28px; color: var(--muted); }

.form-section { background: var(--blue-soft); border-top: 1px solid var(--ink); }
.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr);
  gap: 80px;
  align-items: start;
}
.form-intro { position: sticky; top: 120px; }
.form-intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); font-weight: 400; line-height: .95; }
.form-intro p { color: #56636d; }
.form { border-top: 1px solid var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 26px; padding-top: 28px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid #89939a;
  border-radius: 0;
  padding: 10px 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.form-note { color: #5e6c73; font-size: .78rem; }

.checklist-wrap { max-width: 900px; margin-inline: auto; }
.checklist-head { padding-bottom: 40px; border-bottom: 2px solid var(--ink); }
.checklist-head h1 { margin: 12px 0 18px; font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 6.4rem); font-weight: 400; line-height: .9; }
.checklist-head p { color: var(--muted); }
.checklist-group { padding: 42px 0 12px; border-bottom: 1px solid var(--ink); }
.checklist-group h2 { margin: 0 0 18px; font-family: var(--serif); font-size: 2.3rem; font-weight: 400; }
.check-row { display: grid; grid-template-columns: 24px 1fr; gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); }
.check-box { width: 18px; height: 18px; margin-top: 3px; border: 1px solid var(--ink); }

.simple-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 50px 0;
}
.simple-block { width: min(calc(100% - 44px), 860px); border-top: 2px solid var(--ink); padding-top: 42px; }
.simple-block h1 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 400; line-height: .86; }
.simple-block p { max-width: 640px; color: var(--muted); }

.footer { padding: 38px 0 44px; border-top: 1px solid var(--ink); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
}
.footer-name { font-family: var(--serif); font-size: 1.8rem; }
.footer-copy { color: var(--muted); font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; font-size: .84rem; font-weight: 600; }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }

@media (max-width: 980px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links {
    position: fixed;
    inset: 78px 18px auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    background: var(--paper-2);
    border: 1px solid var(--ink);
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: grid; place-items: center; }
  .nav-actions .btn { display: none; }
  .hero-grid, .page-hero-grid, .form-layout, .bim-grid, .cta-block { grid-template-columns: 1fr; }
  .release-note { max-width: 620px; }
  .section-heading.split, .work-intro { grid-template-columns: 1fr; gap: 24px; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-row > :nth-child(3), .service-row > .text-link { grid-column: 2; }
  .project-feature { grid-template-columns: 1fr; }
  .project-visual { border-right: 0; border-bottom: 1px solid var(--ink); }
  .project-row { grid-template-columns: 55px 1fr; }
  .project-row p, .project-tech { grid-column: 2; text-align: left; }
  .form-intro { position: static; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand-copy small { display: none; }
  .nav { min-height: 70px; gap: 12px; }
  .hero { padding: 62px 0 52px; }
  .hero h1 { font-size: clamp(3.7rem, 20vw, 6rem); }
  .page-hero h1 { font-size: clamp(3.7rem, 18vw, 6rem); }
  .hero-copy { margin-top: 26px; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-item:nth-child(2) { border-right: 1px solid var(--line); }
  .signal-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 82px 0; }
  .section-tight { padding: 58px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .service-row { grid-template-columns: 44px 1fr; gap: 18px; padding: 28px 0; }
  .service-row h3 { font-size: 1.75rem; }
  .project-visual { min-height: 410px; }
  .phone-shell { width: 215px; height: 410px; }
  .project-copy { padding: 38px 24px; }
  .project-row { grid-template-columns: 40px 1fr; gap: 16px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .process-step h3 { margin-top: 44px; }
  .scope-row { grid-template-columns: 42px 1fr; gap: 18px; }
  .scope-row p { grid-column: 2; }
  .pricing-row { grid-template-columns: 1fr; gap: 18px; }
  .pricing-row.featured { margin-inline: -14px; padding-inline: 14px; }
  .price { text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-meta { flex-direction: column; }
}

@media print {
  .nav-wrap, .footer, .no-print { display: none !important; }
  body { background: #fff; color: #111; }
  .section { padding: 20px 0; }
  .checklist-group { break-inside: avoid; }
  .check-box { border-color: #111; }
}
