:root {
  --ink: #111c1a;
  --ink-soft: #52615b;
  --cream: #f5f4ed;
  --line: #d8ddd1;
  --lime: #d9f68b;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #9ebd53; outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }
.container { width: min(100% - 64px, 1240px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -60px; left: 20px; background: var(--lime); color: var(--ink); padding: 12px 16px; }
.skip-link:focus { top: 10px; }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; color: var(--white); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-mark, .footer-brand { font-size: 36px; font-weight: 800; letter-spacing: -.1em; line-height: 1; }
.brand-mark span, .footer-brand span { color: var(--lime); }
.brand-name { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.26); font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.35; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); margin-left: auto; }
.main-nav a { color: #cbd5cf; font-size: 13px; transition: color .2s; }
.main-nav a:hover, .text-link:hover { color: var(--lime); }
.header-cta { display: inline-flex; align-items: center; gap: 24px; padding: 12px 0 12px 18px; border-left: 1px solid rgba(255,255,255,.22); font-size: 13px; font-weight: 700; white-space: nowrap; }
.header-cta span { color: var(--lime); font-size: 19px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; z-index: -1; right: -15%; top: 5%; width: 70%; height: 80%; background: radial-gradient(circle, rgba(130,183,103,.17), transparent 65%); pointer-events: none; }
.hero-grid { position: absolute; z-index: -1; inset: 0; opacity: .27; background-image: linear-gradient(rgba(211,233,209,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(211,233,209,.1) 1px, transparent 1px); background-size: 66px 66px; mask-image: linear-gradient(90deg, transparent 25%, black); }
.hero-inner { min-height: 730px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: clamp(44px, 7vw, 112px); align-items: center; padding-top: 150px; padding-bottom: 90px; }
.eyebrow, .section-kicker { margin: 0; font-size: 12px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--lime); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(217,246,139,.12); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 30px 0 26px; max-width: 760px; font-size: clamp(55px, 6.3vw, 94px); font-weight: 720; letter-spacing: -.075em; line-height: .99; }
h1 span { color: var(--lime); }
.hero-lead { max-width: 530px; color: #c4d0c8; font-size: clamp(16px, 1.48vw, 19px); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 35px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 40px; min-height: 58px; padding: 0 22px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 750; cursor: pointer; transition: transform .2s, background-color .2s; }
.button:hover { transform: translateY(-3px); }
.button span { font-size: 21px; font-weight: 400; }
.button-lime { min-width: 235px; color: var(--ink); background: var(--lime); }
.button-lime:hover { background: #e6ffad; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; transition: color .2s; }
.text-link span { font-size: 18px; }
.hero-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 19px 22px; border-top: 1px solid rgba(255,255,255,.16); color: #90a49a; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.hero-visual { position: relative; max-width: 460px; width: 100%; justify-self: end; padding: 20px 24px 16px; border: 1px solid rgba(221,240,208,.29); border-radius: 9px; background: linear-gradient(145deg, rgba(39,64,52,.88), rgba(21,34,30,.94)); box-shadow: 0 35px 70px rgba(0,0,0,.21), inset 0 1px rgba(255,255,255,.08); transform: rotate(2deg); }
.hero-visual::before { content: ""; position: absolute; z-index: -1; top: 23px; right: -22px; bottom: -22px; left: 23px; border: 1px solid rgba(217,246,139,.3); border-radius: 9px; }
.visual-header, .visual-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #a4b6aa; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.visual-header { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
.visual-symbol { margin-right: 2px; color: var(--lime); font-size: 25px; line-height: 1; }
.visual-header span:nth-child(2) { margin-right: auto; }
.visual-index { color: #6d8979; }
.flow-row { display: flex; align-items: center; gap: 21px; min-height: 76px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 5px; background: rgba(255,255,255,.035); }
.flow-row:first-of-type { margin-top: 15px; }
.flow-number { color: #85a08f; font-size: 11px; font-weight: 700; }
.flow-row div { display: flex; flex-direction: column; gap: 6px; }
.flow-row small { color: #8fa899; font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.flow-row strong { font-size: 16px; letter-spacing: -.02em; }
.flow-icon { margin-left: auto; color: var(--lime); font-size: 23px; }
.flow-line { height: 23px; width: 1px; margin-left: 23px; border-left: 1px dashed #8ea28c; }
.flow-result { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.flow-result .flow-number, .flow-result small, .flow-result .flow-icon { color: #506635; }
.visual-footer { margin-top: 19px; }
.visual-footer span:first-child { display: flex; align-items: center; gap: 8px; color: var(--lime); letter-spacing: .03em; }
.visual-footer i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

.section { padding-block: clamp(86px, 10vw, 150px); }
.section-kicker { color: #70866a; }
h2 { margin: 21px 0 0; font-size: clamp(42px, 5vw, 72px); font-weight: 700; letter-spacing: -.067em; line-height: 1.08; }
h2 em { color: #7b9a57; font-style: normal; }
.intro-layout { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr); gap: clamp(50px, 9vw, 150px); margin-top: 74px; }
.section-description { max-width: 350px; color: var(--ink-soft); font-size: 18px; line-height: 1.75; }
.expertise-list { border-top: 1px solid var(--line); }
.expertise-item { display: grid; grid-template-columns: 28px 1fr 22px; gap: 22px; padding: 25px 0 28px; border-bottom: 1px solid var(--line); }
.item-num { padding-top: 6px; color: #7d9b6d; font-size: 12px; font-weight: 700; }
.expertise-item h3 { margin: 0 0 9px; font-size: 23px; letter-spacing: -.035em; }
.expertise-item p { max-width: 500px; margin-bottom: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.item-arrow { padding-top: 1px; color: #89a36e; font-size: 22px; }

.work { background: #e9eee4; }
.work-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; }
.work-heading p:last-child { max-width: 255px; margin-bottom: 5px; color: #586a5d; font-size: 14px; line-height: 1.65; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.case-card { overflow: hidden; border: 1px solid #d8e0d4; border-radius: 7px; background: #fafbf6; transition: transform .25s, box-shadow .25s; }
.case-card:hover { transform: translateY(-5px); box-shadow: 0 20px 35px rgba(16,38,24,.11); }
.case-art { position: relative; overflow: hidden; height: 236px; padding: 19px; }
.art-label, .art-caption { position: absolute; z-index: 2; color: rgba(255,255,255,.7); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.art-label { top: 20px; left: 22px; }
.art-caption { bottom: 18px; right: 20px; }
.art-research { background: #203b31; }
.art-research::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(#699174 1px, transparent 1px), linear-gradient(90deg,#699174 1px,transparent 1px); background-size: 36px 36px; }
.orbit { position: absolute; top: 50%; left: 50%; width: 235px; height: 125px; border: 1px solid rgba(207,246,174,.64); border-radius: 50%; transform: translate(-50%,-50%) rotate(-26deg); }
.orbit-two { width: 180px; height: 180px; transform: translate(-50%,-50%) rotate(31deg); opacity: .55; }
.orbit-three { width: 288px; height: 80px; transform: translate(-50%,-50%) rotate(43deg); opacity: .4; }
.art-center { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: #244332; font-size: 40px; transform: translate(-50%,-50%); box-shadow: 0 0 0 15px rgba(217,246,139,.08); }
.art-rag { background: #394b81; }
.art-rag::before { content: ""; position: absolute; right: -80px; bottom: -170px; width: 350px; height: 350px; border-radius: 50%; background: #6e83bf; filter: blur(50px); opacity: .45; }
.rag-document { position: absolute; top: 73px; left: 50%; width: 142px; height: 116px; padding: 24px 17px; border: 1px solid #bfcefb; border-radius: 5px; background: #e3eafb; box-shadow: 8px 12px 0 rgba(23,31,68,.12); }
.doc-back { transform: translateX(-80%) rotate(-13deg); opacity: .7; }
.doc-front { transform: translateX(-23%) rotate(8deg); }
.rag-document i { display: block; width: 80%; height: 5px; margin-bottom: 10px; border-radius: 4px; background: #9eaedb; }
.rag-document i:nth-child(2) { width: 62%; }
.rag-document i:nth-child(3) { width: 72%; }
.rag-document b { position: absolute; right: -18px; bottom: -17px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: #2b3b62; font-size: 25px; font-weight: 400; }
.art-trace { background: #865e4f; }
.art-trace::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 55% 45%, #b6846f, transparent 67%); }
.trace-window { position: absolute; top: 61px; left: 50%; width: 235px; height: 139px; overflow: hidden; border: 1px solid #dfb5a0; border-radius: 7px; background: #f6e9d9; transform: translateX(-50%) rotate(-4deg); box-shadow: 13px 14px 0 rgba(69,39,33,.18); }
.trace-top { display: flex; gap: 5px; height: 22px; padding: 8px 10px; background: #dcb9a5; }
.trace-top i { width: 5px; height: 5px; border-radius: 50%; background: #9b6d60; }
.trace-text { padding: 18px 21px 5px; }
.trace-text i { display: block; width: 90%; height: 5px; margin-bottom: 8px; border-radius: 4px; background: #c2aaa0; }
.trace-text i:nth-child(2) { width: 76%; }.trace-text i:nth-child(3) { width: 85%; }.trace-text i:nth-child(4) { width: 53%; }
.trace-line { display: flex; align-items: center; gap: 5px; padding-inline: 21px; }
.trace-line span { width: 29px; height: 6px; border-radius: 4px; background: #b69287; }.trace-line span:nth-child(2), .trace-line span:nth-child(4) { background: #75946d; }
.case-content { display: flex; flex-direction: column; min-height: 306px; padding: 24px 23px 22px; }
.case-meta { display: flex; justify-content: space-between; gap: 10px; color: #789063; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.case-content h3 { margin: 23px 0 12px; font-size: clamp(21px, 2vw, 26px); letter-spacing: -.05em; line-height: 1.15; }
.case-content p { margin-bottom: 24px; color: #59655f; font-size: 14px; line-height: 1.65; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tags span { padding: 7px 9px; border: 1px solid #d9e0d3; border-radius: 3px; color: #64745e; font-size: 10px; font-weight: 700; }

.approach { background: #f6f5ef; }
.approach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(60px, 12vw, 160px); }
.approach-intro { max-width: 440px; margin-top: 30px; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 38px 1fr; gap: 25px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step > span { padding-top: 3px; color: #7d9b6d; font-size: 13px; font-weight: 750; }
.step h3 { margin-bottom: 9px; font-size: 21px; letter-spacing: -.035em; }
.step p { max-width: 390px; margin-bottom: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }

.contact { background: #d9f68b; }
.contact .section-kicker { color: #55703d; }
.contact h2 em { color: #709747; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(60px, 9vw, 130px); align-items: start; }
.contact-copy > p:not(.section-kicker) { max-width: 460px; margin-top: 27px; color: #40513a; font-size: 17px; line-height: 1.7; }
.contact-note { display: flex; align-items: center; gap: 15px; max-width: 310px; margin-top: 76px; padding-top: 17px; border-top: 1px solid rgba(17,28,26,.25); color: #4f643f; font-size: 12px; line-height: 1.5; }
.contact-note span:first-child { color: #304c27; font-size: 25px; }
.form-card { padding: clamp(26px, 3vw, 43px); border-radius: 7px; background: #f9faf4; box-shadow: 0 24px 55px rgba(56,86,38,.12); }
.form-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 35px; padding-bottom: 17px; border-bottom: 1px solid #d9e0d4; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.form-head span:last-child { color: #91a187; }
form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form label { display: grid; gap: 10px; color: #465a45; font-size: 12px; font-weight: 750; }
form input, form select, form textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #cbd6c5; border-radius: 3px; outline: none; background: #fff; color: var(--ink); font-size: 14px; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
form input, form select { height: 48px; }
form textarea { min-height: 115px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { border-color: #73945f; box-shadow: 0 0 0 3px rgba(115,148,95,.15); }
form input::placeholder, form textarea::placeholder { color: #9ca99b; }
.button-dark { width: 100%; margin-top: 5px; background: var(--ink); color: #fff; }
.button-dark:hover { background: #2c4536; }
.site-footer { background: var(--ink); color: #a8bbaf; }
.footer-inner { display: flex; align-items: center; gap: 30px; min-height: 106px; }
.footer-brand { color: #fff; font-size: 31px; }
.footer-inner > span { font-size: 12px; }
.footer-inner > a:last-child { margin-left: auto; color: #d9f68b; font-size: 12px; font-weight: 700; }

@media (max-width: 1050px) {
  .container { width: min(100% - 48px, 1240px); }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 35px; }
  h1 { font-size: clamp(55px, 6.7vw, 76px); }
  .case-content { min-height: 350px; }
  .case-content h3 { font-size: 22px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 36px, 620px); }
  .header-inner { min-height: 78px; }
  .brand-mark { font-size: 31px; }
  .brand-name { font-size: 10px; }
  .main-nav { display: none; }
  .header-cta { margin-left: auto; gap: 10px; font-size: 12px; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 70px; padding-top: 151px; padding-bottom: 58px; }
  h1 { font-size: clamp(55px, 11vw, 76px); }
  .hero-visual { justify-self: center; max-width: 480px; margin-right: 13px; }
  .hero-bottom { font-size: 9px; }
  .intro-layout, .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .intro-layout { margin-top: 38px; }
  .section-description { max-width: 560px; }
  .work-heading { align-items: start; flex-direction: column; }
  .work-heading p:last-child { max-width: 500px; }
  .cases { grid-template-columns: 1fr; }
  .case-art { height: 260px; }
  .case-content { min-height: 0; }
  .contact-note { margin-top: 30px; }
}
@media (max-width: 480px) {
  .header-cta { padding-left: 12px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 22px; }
  .button-lime { width: 100%; }
  .hero-visual { padding: 16px; }
  .flow-row { min-height: 69px; gap: 12px; }
  .flow-row strong { font-size: 14px; }
  .flow-line { margin-left: 17px; }
  .visual-footer { font-size: 8px; }
  .hero-bottom span:first-child { max-width: 185px; }
  h2 { font-size: clamp(40px, 10vw, 54px); }
  .expertise-item { gap: 13px; }
  .expertise-item h3 { font-size: 21px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; gap: 12px 20px; padding-block: 25px; }
  .footer-inner > span { max-width: 215px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
