:root {
  --paper: #f2efe7;
  --paper-light: #f8f6f0;
  --ink: #20241f;
  --muted: #71736b;
  --green: #174c3b;
  --green-deep: #103b2e;
  --sage: #dfe5d9;
  --line: #d8d5ca;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", Arial, sans-serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--serif); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #a56a35; outline-offset: 4px; }
.wrap { width: min(var(--wrap), 100% - 64px); margin-inline: auto; }

/* Quiet editorial engineering: warm stock, precise rules, and a diagram of the work. */
header.site { position: relative; z-index: 2; padding: 18px 0; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.logo svg { width: 43px; height: 43px; }
.logo-text { display: flex; flex-direction: column; padding-left: 13px; border-left: 1px solid var(--line); line-height: 1.35; }
.logo-name { font-size: 15px; font-weight: 700; }
.logo-role { margin-top: 3px; color: var(--muted); font: 10px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); margin-left: auto; }
.site-nav a, .lang-switch a { text-decoration: none; font: 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.site-nav a { color: #55594f; }
.site-nav a:hover, .lang-switch a:hover { color: var(--green); }
.lang-switch { white-space: nowrap; }
.lang-switch a { color: var(--muted); }
.lang-switch a.active { color: var(--green); border-bottom: 1px solid var(--green); padding-bottom: 4px; }
.lang-switch span { color: #b7b4aa; padding: 0 6px; }

.hero { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 126px) 0 clamp(68px, 8vw, 112px); border-bottom: 1px solid var(--line); }
.hero::before { position: absolute; z-index: -1; top: 0; right: 0; width: 43%; height: 100%; content: ""; background: linear-gradient(135deg, transparent 8%, rgba(223,229,217,.62) 8%, rgba(223,229,217,.62) 8.15%, transparent 8.15%), linear-gradient(135deg, transparent 23%, rgba(223,229,217,.45) 23%, rgba(223,229,217,.45) 23.15%, transparent 23.15%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(370px, .96fr); align-items: center; gap: clamp(40px, 7vw, 100px); }
.hero-copy { position: relative; z-index: 1; }
.section-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--green); font: 10px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.section-kicker > span:not(.status-dot) { margin-left: auto; color: #96968d; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #72896c; box-shadow: 0 0 0 4px rgba(114,137,108,.14); }
.hero h1 { max-width: 700px; margin: 0 0 25px; font-size: clamp(52px, 7.1vw, 92px); font-weight: 400; line-height: .99; letter-spacing: -.055em; }
.hero h1 em, .section-title em, .contact-copy h2 em { color: var(--green); font-weight: 400; }
.offer { max-width: 570px; margin: 0 0 12px; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.offer-sub { max-width: 530px; margin: 0 0 30px; color: var(--muted); font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 19px; border: 1px solid var(--green); border-radius: 2px; text-decoration: none; font: 11px var(--sans); letter-spacing: .06em; transition: background .2s ease, color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #f8f6f0; }
.btn-primary:hover { background: var(--green-deep); }
.btn-secondary { color: var(--green); background: transparent; }
.btn-secondary:hover { background: var(--sage); }

.hero-visual { position: relative; min-height: 380px; padding: 15px 19px 13px; border: 1px solid #aeb9aa; background: rgba(248,246,240,.56); }
.visual-topline, .visual-bottomline { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #73786f; font: 9px var(--sans); letter-spacing: .12em; }
.visual-topline span:last-child { color: var(--green); }
.visual-stage { position: relative; height: 310px; margin: 4px 0; overflow: hidden; }
.visual-ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(23,76,59,.22); border-radius: 50%; transform: translate(-50%,-50%); }
.ring-one { width: 258px; height: 258px; }
.ring-two { width: 184px; height: 184px; border-style: dashed; border-color: rgba(23,76,59,.4); }
.visual-stage::before, .visual-stage::after { position: absolute; top: 50%; left: 50%; width: 76%; height: 1px; content: ""; background: rgba(23,76,59,.3); transform: translate(-50%,-50%) rotate(-35deg); }
.visual-stage::after { transform: translate(-50%,-50%) rotate(35deg); }
.visual-monogram { position: absolute; top: 50%; left: 50%; color: var(--green); font: 100px/.9 var(--serif); letter-spacing: -.13em; transform: translate(-55%,-56%); }
.visual-node { position: absolute; z-index: 1; padding: 6px 9px; background: var(--paper-light); color: var(--green); font: 9px var(--sans); letter-spacing: .1em; }
.node-data { top: 17%; left: 8%; }.node-logic { top: 17%; right: 8%; }.node-result { bottom: 13%; left: 50%; transform: translateX(-50%); }
.visual-cross { position: absolute; z-index: 1; color: #a56a35; font: 17px var(--sans); }.cross-one { top: 23%; left: 49%; }.cross-two { bottom: 25%; left: 20%; }
.visual-bottomline { justify-content: center; gap: 10px; }
.visual-dash { width: 25px; height: 1px; background: #aeb9aa; }

section { border-bottom: 1px solid var(--line); }
.services-section { padding: clamp(68px, 8vw, 106px) 0; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(240px, .55fr); align-items: end; gap: 50px; margin-bottom: 42px; }
.section-heading .section-kicker { max-width: 470px; }
.section-title { margin: 0; font-size: clamp(38px, 5.1vw, 62px); font-weight: 400; line-height: 1.03; letter-spacing: -.045em; }
.section-intro { max-width: 410px; margin: 0 0 4px auto; color: var(--muted); font-size: 16px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { position: relative; min-height: 204px; padding: 24px 23px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(248,246,240,.48); transition: background .2s ease; }
.card:hover { background: var(--paper-light); }
.card-index { display: block; margin-bottom: 27px; color: #9a9c91; font: 10px var(--sans); letter-spacing: .12em; }
.card h3 { max-width: 230px; margin: 0 0 9px; font-size: 19px; font-weight: 400; line-height: 1.22; }
.card p { max-width: 270px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.scope-note { display: grid; grid-template-columns: 48px minmax(240px, .9fr) minmax(250px, 1fr); align-items: center; gap: 24px; margin-top: 26px; padding: 27px 30px; border-left: 3px solid var(--green); background: var(--sage); }
.scope-mark { align-self: start; color: var(--green); font-size: 28px; }
.scope-note .section-kicker { margin: 0 0 7px; font-size: 9px; }
.scope-note h3 { margin: 0; font-size: clamp(20px, 2.4vw, 27px); font-weight: 400; line-height: 1.2; }
.scope-note > p:last-child { margin: 0; color: #62685e; font-size: 14px; }

.contact-section { padding: clamp(64px, 8vw, 100px) 0; }
.contact-panel { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(44px, 9vw, 130px); padding: clamp(34px, 6vw, 68px); background: #e8e6dd; }
.contact-copy .section-kicker { max-width: 380px; }
.contact-copy h2 { margin: 0 0 17px; font-size: clamp(45px, 6vw, 70px); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.contact-copy > p:not(.section-kicker) { max-width: 360px; margin: 0; color: #666b62; font-size: 15px; }
.contact-direct { display: grid; gap: 10px; margin-top: 30px; }
.contact-direct a { width: fit-content; color: var(--green); font-size: 14px; text-decoration-color: #96a397; text-underline-offset: 4px; }
.contact-direct a:first-child { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.contact-direct a span { font: 16px var(--sans); }
form.lead { position: relative; display: grid; gap: 16px; align-content: center; }
form.lead label { display: block; margin-bottom: 5px; color: #646960; font: 10px var(--sans); letter-spacing: .07em; text-transform: uppercase; }
form.lead input:not([type=checkbox]), form.lead textarea { width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px solid #b8bbb1; border-radius: 0; background: transparent; color: var(--ink); font: 16px var(--serif); }
form.lead input:not([type=checkbox]):focus, form.lead textarea:focus { border-color: var(--green); outline: none; }
form.lead textarea { min-height: 75px; resize: vertical; }
form.lead .consent { display: flex; align-items: flex-start; gap: 9px; color: #666b62; font: 11px/1.5 var(--serif); letter-spacing: 0; text-transform: none; }
form.lead .consent input { flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--green); }
form.lead .consent a { color: var(--green); }
form.lead .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
form.lead button { justify-self: start; cursor: pointer; font-family: var(--sans); }
.form-status { min-height: 20px; margin-top: -8px; font-size: 13px; }.form-status.ok { color: var(--green); }.form-status.err { color: #8a2c22; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; width: 100%; flex-wrap: wrap; }
footer.site { padding: 25px 0; color: var(--muted); font-size: 12px; }
footer.site a { color: var(--muted); text-underline-offset: 3px; }

.case-hero { padding: clamp(58px, 8vw, 94px) 0 48px; border-bottom: 1px solid var(--line); }
.case-hero-grid { display: grid; grid-template-columns: 1fr minmax(250px, .55fr); gap: 60px; align-items: end; }
.case-hero h1 { margin: 0 0 18px; font-size: clamp(54px, 8vw, 88px); font-weight: 400; line-height: 1; letter-spacing: -.05em; }
.case-hero .offer { max-width: 700px; }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #b7b8ad; }
.case-fact { padding: 15px 10px 0 0; }.case-fact strong { display: block; color: var(--green); font-size: 25px; font-weight: 400; }.case-fact span { color: var(--muted); font: 9px var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.case-content { padding: 55px 0 74px; }.case-content .section-title { margin-bottom: 30px; }.case-content .service-grid { grid-template-columns: repeat(4, 1fr); }
.case-status { margin-top: 28px; padding: 27px 30px; border-left: 3px solid var(--green); background: var(--sage); }.case-status .section-kicker { margin-bottom: 8px; }.case-status h3 { margin: 0 0 8px; font-size: 23px; font-weight: 400; }.case-status p:last-child { max-width: 780px; margin: 0; color: #62685e; font-size: 14px; }
.back-link { display: inline-block; margin-top: 26px; color: var(--green); text-underline-offset: 4px; font-size: 14px; }

@media (max-width: 900px) {
  .wrap { width: min(var(--wrap), 100% - 44px); }
  .hero-grid { grid-template-columns: 1fr minmax(290px, .8fr); gap: 28px; }
  .hero-visual { min-height: 340px; }.visual-stage { height: 273px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .case-content .service-grid { grid-template-columns: repeat(2, 1fr); }
  .scope-note { grid-template-columns: 35px 1fr; }.scope-note > p:last-child { grid-column: 2; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 36px); }
  header.site { padding: 13px 0; }
  header.site .wrap { flex-wrap: wrap; gap: 12px; }
  .logo { gap: 8px; }.logo svg { width: 35px; }.logo-text { padding-left: 9px; }.logo-name { font-size: 13px; }.logo-role { font-size: 8px; }
  .lang-switch { margin-left: auto; }.site-nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; padding-top: 9px; border-top: 1px solid var(--line); }.site-nav a { font-size: 10px; }
  .hero { padding: 56px 0 48px; }.hero-grid { grid-template-columns: 1fr; gap: 38px; }.hero h1 { font-size: clamp(49px, 14vw, 70px); }.hero .section-kicker { font-size: 9px; }
  .hero-visual { min-height: 300px; }.visual-stage { height: 232px; }.ring-one { width: 220px; height: 220px; }.ring-two { width: 158px; height: 158px; }.visual-monogram { font-size: 82px; }
  .visual-bottomline { gap: 7px; font-size: 8px; }.visual-dash { width: 15px; }
  .services-section { padding: 55px 0; }.section-heading { grid-template-columns: 1fr; gap: 17px; margin-bottom: 27px; }.section-title { font-size: clamp(39px, 11vw, 54px); }.section-intro { margin: 0; font-size: 15px; }
  .service-grid, .case-content .service-grid { grid-template-columns: 1fr 1fr; }.card { min-height: 190px; padding: 18px 15px; }.card-index { margin-bottom: 23px; }.card h3 { font-size: 17px; }.card p { font-size: 12px; }
  .scope-note { gap: 13px; margin-top: 18px; padding: 21px 17px; }.scope-note h3 { font-size: 20px; }.scope-note > p:last-child { font-size: 13px; }
  .contact-section { padding: 42px 0; }.contact-panel { grid-template-columns: 1fr; gap: 34px; padding: 28px 21px; }.contact-copy h2 { font-size: 54px; }.contact-direct { margin-top: 20px; }
  .case-hero { padding: 48px 0 36px; }.case-hero-grid { grid-template-columns: 1fr; gap: 30px; }.case-hero h1 { font-size: 62px; }.case-content { padding: 42px 0 52px; }.case-status { padding: 22px 19px; }.case-status h3 { font-size: 21px; }
  footer.site { padding: 20px 0; }
}
@media (max-width: 380px) { .service-grid, .case-content .service-grid { grid-template-columns: 1fr; }.card { min-height: auto; }.card-index { margin-bottom: 14px; }.visual-topline { font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
