:root {
  --ink: #14201d;
  --ink-soft: #27332f;
  --paper: #f4f1e8;
  --paper-deep: #e9e4d7;
  --lime: #c9f246;
  --lime-dark: #8eb522;
  --teal: #0c3933;
  --teal-2: #155249;
  --muted: #66706c;
  --line: #d7d4c8;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(18, 35, 31, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 20px; top: 20px; z-index: 40; background: #fff; padding: 10px 14px; border-radius: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px max(24px, calc((100vw - 1220px) / 2));
  background: rgba(244, 241, 232, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(20, 32, 29, .08);
}
.brand { display: flex; align-items: center; gap: 5px; text-decoration: none; font-size: 17px; font-weight: 850; letter-spacing: -.02em; }
.brand i { color: #52716a; font-family: Georgia, serif; font-weight: 400; }
.brand-mark { display: inline-grid; place-items: center; width: 31px; height: 31px; margin-right: 6px; border-radius: 9px; background: var(--ink); color: var(--lime); font-family: Georgia, serif; font-size: 18px; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { position: relative; text-decoration: none; color: #4e5955; font-size: 14px; }
.site-header nav a::after { content: ""; position: absolute; inset: auto 0 -7px; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-header nav a:hover::after { transform: scaleX(1); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  background: var(--lime);
  color: #172018;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #d6fa63; box-shadow: 0 12px 28px rgba(111, 151, 15, .24); }
.button-small { min-height: 40px; padding: 11px 18px; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--teal); box-shadow: 0 12px 28px rgba(12, 57, 51, .22); }
.ghost { border: 1px solid #bfc3bc; background: transparent; border-radius: 999px; padding: 13px 19px; font-weight: 750; cursor: pointer; }
.eyebrow { margin: 0 0 14px; color: #52736a; font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.section-index { display: inline-block; color: #868d89; font: 13px/1 Georgia, serif; }

.hero-services { position: relative; isolation: isolate; }
.hero-services::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 660px;
  height: 660px;
  left: -290px;
  top: -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 242, 70, .25), rgba(201, 242, 70, 0) 68%);
}
.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  align-items: start;
  padding-block: 48px 64px;
}
.hero-copy { position: relative; z-index: 2; max-width: 900px; padding-top: 8px; }
.hero-copy::before { content: ""; display: block; width: 78px; height: 6px; margin: 0 0 34px; border-radius: 99px; background: var(--lime); }
.hero h1, .section-heading h2, .contact h2, .selector h2, .workflow h2, .service-page h1, .blog-hero h1, .blog-preview h2, .article-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.048em;
  line-height: .98;
}
.hero h1 { max-width: 790px; font-size: clamp(62px, 6.65vw, 100px); }
.hero h1 em { color: var(--teal-2); font-weight: 400; }
.hero .eyebrow { display: inline-flex; align-items: center; padding: 8px 11px; border-left: 4px solid var(--lime); border-radius: 0 8px 8px 0; background: var(--teal); color: #fff; }
.lead { max-width: 680px; margin: 30px 0; color: #525e59; font-size: 19px; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.text-link { position: relative; text-decoration: none; font-weight: 800; }
.text-link::after { content: ""; position: absolute; inset: auto 0 -5px; height: 1px; background: currentColor; transform: scaleX(.22); transform-origin: left; transition: transform .2s ease; }
.text-link:hover::after { transform: scaleX(1); }
.text-link span { color: #4f756a; margin-left: 4px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 38px 0 0; }
.proof li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #5b6561; background: rgba(255,255,255,.35); font-size: 12px; font-weight: 700; }
.proof li::before { content: "✓"; color: #62850f; margin-right: 7px; font-weight: 900; }

.hero-visual { position: relative; width: 100%; margin: 0; min-width: 0; }
.hero-visual::before { content: ""; position: absolute; inset: 18px -10px -12px 18px; border-radius: 30px; background: var(--teal); transform: rotate(.7deg); }
.hero-visual img { position: relative; z-index: 1; display: block; width: 100%; height: clamp(290px, 31vw, 390px); object-fit: cover; object-position: center 52%; border-radius: 26px; box-shadow: var(--shadow); filter: saturate(.82) contrast(.97); }
.hero-visual figcaption { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 8px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.42); border-radius: 14px; background: rgba(255,255,255,.76); backdrop-filter: blur(13px); color: #36514a; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero-visual figcaption i { height: 1px; flex: 1; background: rgba(20, 55, 48, .28); }

.fact-strip { display: grid; grid-template-columns: .6fr .6fr 1fr 1.5fr; border-block: 1px solid var(--line); }
.fact-strip > * { min-height: 116px; margin: 0; padding: 25px 24px; border-right: 1px solid var(--line); }
.fact-strip > *:first-child { padding-left: 0; }
.fact-strip > *:last-child { border-right: 0; }
.fact-strip div { display: flex; align-items: center; gap: 13px; }
.fact-strip strong { font: 42px/.9 Georgia, serif; letter-spacing: -.05em; }
.fact-strip span { color: #68716d; font-size: 11px; font-weight: 750; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.fact-strip p { display: flex; align-items: center; color: #5d6763; font-size: 13px; }

.service-area { padding: 110px 0 120px; }
.section-heading { display: grid; grid-template-columns: .65fr 2fr .85fr; gap: 38px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(42px, 4.7vw, 68px); }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.section-heading > div .eyebrow { margin-bottom: 22px; }
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.service-card { position: relative; min-height: 270px; grid-column: span 3; display: flex; flex-direction: column; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.27); text-decoration: none; transition: transform .24s ease, box-shadow .24s ease, background .24s ease; }
.service-card::after { content: "↗"; position: absolute; top: 20px; right: 21px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(20,32,29,.06); color: #59635f; transition: transform .24s ease, background .24s ease; }
.service-card:hover { z-index: 2; transform: translateY(-5px); background: #fff; box-shadow: var(--shadow); }
.service-card:hover::after { transform: rotate(45deg); background: var(--lime); color: var(--ink); }
.service-card.featured { grid-column: span 6; background: var(--lime); border-color: var(--lime); }
.service-card:nth-child(n+4) { grid-column: span 4; }
.service-card.featured::before { content: "LANDING"; position: absolute; right: 30px; bottom: -18px; color: rgba(20,32,29,.07); font-size: 76px; font-weight: 950; letter-spacing: -.08em; }
.service-card > span { color: #737c78; font-size: 12px; font-weight: 800; }
.service-card h3 { max-width: 330px; margin: 60px 0 12px; font-size: 22px; line-height: 1.08; letter-spacing: -.025em; }
.service-card p { max-width: 360px; margin: 0 0 20px; color: #626b67; font-size: 14px; }
.service-card b { margin-top: auto; font-size: 13px; }

.workflow { display: grid; grid-template-columns: .7fr 1.3fr; gap: 58px; margin-top: 90px; padding: 52px; border-radius: 32px; background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.workflow-copy { align-self: center; }
.workflow .eyebrow { color: #a5c8be; }
.workflow h2 { font-size: clamp(42px, 4.3vw, 62px); }
.workflow-copy > p:nth-of-type(2) { margin: 25px 0 32px; color: #b9cbc6; }
.workflow .text-link { color: #b9d8cf; }
.flow-map { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-left: 34px; }
.flow-step { position: relative; z-index: 2; min-height: 230px; display: flex; flex-direction: column; padding: 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.flow-step:nth-child(4) { background: linear-gradient(145deg, #dce9e4, #bed7ce); color: var(--ink); border-color: #c9ddd6; }
.flow-step > span { color: #98b3ad; font-size: 11px; font-weight: 900; }
.flow-step:nth-child(4) > span { color: #52736b; }
.flow-icon { width: 42px; height: 42px; margin: 18px 0; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.11); color: #b9d8cf; font-size: 23px; }
.flow-step:nth-child(4) .flow-icon { background: rgba(20,32,29,.1); color: var(--ink); }
.flow-step h3 { margin: 0 0 7px; font-size: 19px; }
.flow-step p { margin: 0 0 18px; color: #b9cbc6; font-size: 13px; }
.flow-step:nth-child(4) p { color: #405d56; }
.flow-step b { margin-top: auto; color: #e6eee9; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.flow-step:nth-child(4) b { color: #29473f; }
.flow-line { position: absolute; left: 5px; top: 11%; bottom: 11%; width: 2px; background: linear-gradient(#94beb2, rgba(148,190,178,.14)); }
.flow-line i { position: absolute; left: -5px; width: 12px; height: 12px; border: 2px solid var(--teal); border-radius: 50%; background: #a9cec4; }
.flow-line i:nth-child(1) { top: 0; }
.flow-line i:nth-child(2) { top: 32%; }
.flow-line i:nth-child(3) { top: 65%; }
.flow-line i:nth-child(4) { bottom: 0; }

.selector { margin-top: 90px; display: grid; grid-template-columns: .75fr 1.4fr; gap: 55px; padding: 38px; border: 1px solid rgba(20,32,29,.06); border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.selector h2 { margin-top: 34px; font-size: 50px; }
.selector-intro > p:nth-of-type(2) { color: var(--muted); }
.step-dots { display: flex; gap: 7px; margin-top: 36px; }
.step-dots i { width: 22px; height: 4px; border-radius: 5px; background: #dcdfd9; }
.step-dots .active { width: 52px; background: var(--teal-2); }
.selector-panel { padding: 28px; border-radius: 22px; background: #f3f4ef; }
.question-label { margin-top: 0; font-weight: 850; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-grid button { min-height: 116px; text-align: left; padding: 20px; border: 1px solid #d9dcd5; border-radius: 15px; background: #fff; color: var(--ink); font-weight: 850; cursor: pointer; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.choice-grid button:hover { transform: translateY(-2px); border-color: #467167; box-shadow: 0 9px 25px rgba(20,40,35,.08); }
.choice-grid span { display: block; margin-top: 8px; color: #7a827f; font-size: 12px; font-weight: 400; }
.recommendation-tag { display: inline-block; padding: 5px 9px; border-radius: 7px; background: #ddf2a1; color: #425b08; font-size: 11px; font-weight: 850; }
.recommendation h3 { margin: 15px 0 8px; font: 400 38px/1.05 Georgia, serif; letter-spacing: -.035em; }
.recommendation p, .recommendation li { color: #5d6763; }
.rec-actions { display: flex; gap: 10px; margin-top: 22px; }

.portfolio { position: relative; overflow: hidden; padding: 118px 0; background: var(--teal); color: #fff; }
.portfolio::after { content: "SEO"; position: absolute; right: -42px; bottom: -128px; color: rgba(255,255,255,.035); font: 800 310px/1 Inter, sans-serif; letter-spacing: -.12em; }
.section-heading.light .eyebrow { color: #a5c7be; }
.section-heading.light .section-index { color: #78968e; }
.section-heading.light > p:last-child { color: #afc0bc; }
.cases { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.case { position: relative; min-height: 285px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.025); }
.case::before { content: ""; position: absolute; top: -80px; right: -70px; width: 180px; height: 180px; border: 1px solid rgba(201,242,70,.18); border-radius: 50%; }
.case-wide { grid-column: span 2; min-height: 350px; background: linear-gradient(120deg,#195249,#0b312c); }
.case-photo { isolation: isolate; min-height: 350px; }
.case-photo::before { z-index: -1; inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(90deg, rgba(7,28,25,.94) 0%, rgba(7,28,25,.76) 48%, rgba(7,28,25,.18) 100%); }
.case-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.7) contrast(.96); transition: transform .55s ease, filter .55s ease; }
.case-photo:hover .case-image { transform: scale(1.025); filter: saturate(.82) contrast(.98); }
.case-content { position: relative; z-index: 1; max-width: 690px; }
.case-photo p { max-width: 520px; color: #d2dedb; }
.case-map::before { background: linear-gradient(0deg, rgba(7,28,25,.96) 0%, rgba(7,28,25,.7) 54%, rgba(7,28,25,.16) 100%); }
.case-map .case-image { object-position: 42% center; }
.case-map .case-content { max-width: 100%; }
.case.accent { border: 1px solid rgba(255,255,255,.12); background: linear-gradient(145deg, #3c786e, #24574f); color: #fff; }
.cases > .case:last-child { grid-column: span 2; }
.case span { color: #a9c5be; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.case.accent span { color: #b9ddd4; }
.case h3 { margin: 18px 0 0; font: 400 30px/1.1 Georgia, serif; letter-spacing: -.025em; }
.case p { margin: 18px 0 0; color: #bfd0cc; font-size: 14px; }
.case.accent p { color: #d8e7e3; }

.contact { padding: 125px 0; background: linear-gradient(180deg, var(--paper), #efebdf); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.contact h2 { margin-top: 38px; font-size: clamp(50px, 5.5vw, 76px); }
.contact-copy > p:nth-of-type(2) { max-width: 450px; color: var(--muted); }
.availability { display: flex; align-items: center; gap: 11px; margin-top: 40px; color: #56605c; font-size: 13px; }
.availability i { width: 9px; height: 9px; border-radius: 50%; background: #78a716; box-shadow: 0 0 0 5px #dfe8c7; }
.brief-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px; border: 1px solid rgba(20,32,29,.06); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.brief-form label { color: #37423e; font-size: 12px; font-weight: 850; }
.brief-form label:nth-child(4) { grid-column: span 2; }
.brief-form input, .brief-form select, .brief-form textarea { display: block; width: 100%; margin-top: 8px; padding: 14px; border: 1px solid #d8dad6; border-radius: 11px; background: #fafaf7; color: var(--ink); font-size: 15px; resize: vertical; outline: none; }
.brief-form input:focus, .brief-form select:focus, .brief-form textarea:focus { border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(21,82,73,.1); }
.brief-form .button { justify-self: start; }
.form-note { align-self: center; margin: 8px 0; color: #7b827f; font-size: 11px; }
.brief-result { grid-column: 2; padding: 30px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.brief-result pre { white-space: pre-wrap; padding: 18px; border-radius: 12px; background: #f4f5f0; font: 14px/1.6 Inter,Arial; }
.brief-result > div { display: flex; gap: 10px; }
.brief-result > p:last-child { color: #737b77; font-size: 12px; }

.blog-preview { padding: 105px 0; background: #e8e3d6; }
.blog-preview-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 68px; align-items: center; }
.blog-preview h2 { max-width: 590px; font-size: clamp(44px, 5vw, 70px); }
.blog-preview-copy > p:nth-of-type(2) { max-width: 560px; margin: 26px 0 32px; color: var(--muted); font-size: 18px; }
.blog-feature { position: relative; display: flex; min-height: 410px; flex-direction: column; overflow: hidden; padding: 42px; border-radius: 28px; background: var(--teal); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.blog-feature::after { content: "Aa"; position: absolute; right: -16px; bottom: -52px; color: rgba(255,255,255,.045); font: 400 190px/1 Georgia,serif; }
.blog-feature:hover { transform: translateY(-5px); box-shadow: 0 30px 78px rgba(18,35,31,.22); }
.blog-tag, .blog-card-tag { align-self: flex-start; padding: 7px 10px; border-radius: 999px; background: rgba(201,242,70,.15); color: #d7f681; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.blog-feature h3 { position: relative; z-index: 1; max-width: 740px; margin: 52px 0 18px; font: 400 clamp(35px,4.2vw,55px)/1.02 Georgia,serif; letter-spacing: -.04em; }
.blog-feature p { position: relative; z-index: 1; max-width: 650px; margin: 0; color: #bdd0cb; }
.blog-meta { position: relative; z-index: 1; margin-top: 32px; color: #88aaa1; font-size: 12px; }
.blog-feature b { position: relative; z-index: 1; margin-top: auto; padding-top: 24px; color: var(--lime); font-size: 13px; }

.blog-page { padding-bottom: 110px; }
.blog-hero { padding: 86px 0 62px; border-bottom: 1px solid var(--line); }
.blog-hero h1 { max-width: 930px; font-size: clamp(58px,8vw,105px); }
.blog-hero .blog-intro { max-width: 720px; margin: 30px 0 0; color: #59635f; font-size: 20px; }
.blog-topic-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.blog-topic-row span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #5d6763; background: rgba(255,255,255,.35); font-size: 12px; font-weight: 750; }
.blog-list { display: grid; grid-template-columns: 1.45fr .55fr; gap: 22px; padding-top: 44px; }
.blog-cards { display: grid; gap: 22px; }
.blog-card { min-height: 490px; display: flex; flex-direction: column; padding: 42px; border-radius: 28px; background: #fff; text-decoration: none; box-shadow: 0 16px 48px rgba(18,35,31,.08); transition: transform .24s ease, box-shadow .24s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-tag { background: #edf5d5; color: #506b12; }
.blog-card h2 { max-width: 780px; margin: 64px 0 20px; font: 400 clamp(42px,5vw,66px)/1.02 Georgia,serif; letter-spacing: -.045em; }
.blog-card p { max-width: 690px; margin: 0; color: var(--muted); font-size: 17px; }
.blog-card footer { display: flex; justify-content: space-between; gap: 18px; margin-top: auto; padding: 35px 0 0; border: 0; background: transparent; color: #68716d; font-size: 12px; }
.blog-card footer b { color: var(--teal-2); }
.blog-aside { align-self: start; padding: 32px; border-radius: 28px; background: var(--teal); color: #fff; }
.blog-aside h2 { margin: 0 0 18px; font: 400 34px/1.08 Georgia,serif; letter-spacing: -.03em; }
.blog-aside p { color: #bdd0cb; }
.blog-aside ul { padding-left: 19px; color: #d9e5e1; }
.blog-aside li { margin: 12px 0; }
.blog-aside .button { margin-top: 18px; }

.article-page { padding-bottom: 100px; }
.article-header { max-width: 960px; padding: 70px 0 52px; }
.article-header .crumbs { margin-bottom: 42px; color: var(--muted); font-size: 13px; }
.article-header h1 { font-size: clamp(52px,7.2vw,92px); }
.article-deck { max-width: 810px; margin: 30px 0 25px; color: #56615d; font-size: 21px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #78807c; font-size: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0,760px) 300px; justify-content: space-between; gap: 70px; align-items: start; }
.article-body { padding: 44px 54px; border-radius: 28px; background: #fff; box-shadow: 0 16px 48px rgba(18,35,31,.07); }
.article-body > p:first-child { font-size: 20px; color: #34423d; }
.article-body h2 { margin: 54px 0 18px; font: 400 40px/1.08 Georgia,serif; letter-spacing: -.032em; }
.article-body h3 { margin: 32px 0 12px; font-size: 22px; line-height: 1.2; }
.article-body p, .article-body li { color: #44504b; }
.article-body li { margin: 10px 0; }
.article-body a { color: #0f6255; font-weight: 750; }
.article-note { margin: 36px 0; padding: 24px 26px; border-left: 5px solid var(--lime-dark); border-radius: 0 16px 16px 0; background: #f0f4e4; }
.article-note strong { display: block; margin-bottom: 7px; }
.article-cta { margin-top: 52px; padding: 30px; border-radius: 20px; background: var(--teal); color: #fff; }
.article-cta h2 { margin-top: 0; color: #fff; }
.article-cta p { color: #c5d6d1; }
.article-sidebar { position: sticky; top: 92px; }
.article-sidebar > div { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.34); }
.article-sidebar h2 { margin-top: 0; font: 400 25px/1.1 Georgia,serif; }
.article-sidebar ol { padding-left: 19px; }
.article-sidebar li { margin: 10px 0; color: #66706c; font-size: 13px; }
.article-sidebar a { text-decoration: none; }
.article-sidebar .sidebar-service { margin-top: 14px; background: #fff; }
.article-sidebar .sidebar-service p { color: var(--muted); font-size: 13px; }

footer { border-top: 1px solid var(--line); background: #efebdf; padding: 28px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; color: #606965; font-size: 13px; }
footer a { text-decoration: none; }

.service-page { padding: 90px 0 110px; }
.service-page .crumbs { margin-bottom: 40px; color: var(--muted); font-size: 13px; }
.service-page h1 { max-width: 950px; font-size: clamp(52px,7vw,90px); }
.service-page .service-lead { max-width: 760px; margin: 30px 0 55px; color: #59615e; font-size: 21px; }
.service-detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; }
.service-detail article, .service-detail aside { padding: 32px; border-radius: 22px; background: #fff; box-shadow: 0 14px 45px rgba(18,35,31,.07); }
.service-detail h2 { margin-top: 0; font: 400 36px/1.1 Georgia,serif; letter-spacing: -.025em; }
.service-detail ul { padding-left: 18px; }
.service-detail li { margin: 10px 0; }
.service-detail aside { background: var(--teal); color: #fff; }
.service-detail aside p { color: #c2d2ce; }
.next-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 50px; }
.next-links a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13px; }

@media (max-width: 1040px) {
  .site-header nav { gap: 19px; }
  .hero { gap: 34px; }
  .service-card { grid-column: span 4; }
  .service-card.featured, .service-card:nth-child(n+4) { grid-column: span 4; }
  .workflow { grid-template-columns: 1fr; }
  .flow-map { padding-left: 30px; }
}

@media (max-width: 820px) {
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 42px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: none; margin-top: 0; }
  .hero-visual img { height: 300px; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact-strip > * { border-bottom: 1px solid var(--line); }
  .fact-strip > *:nth-child(2) { border-right: 0; }
  .fact-strip > *:nth-last-child(-n+2) { border-bottom: 0; }
  .fact-strip > *:first-child { padding-left: 24px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .service-card, .service-card.featured, .service-card:nth-child(3), .service-card:nth-child(n+4) { grid-column: span 6; }
  .selector, .contact-layout, .blog-preview-layout, .blog-list, .article-layout { grid-template-columns: 1fr; }
  .selector h2 { margin-top: 20px; }
  .cases { grid-template-columns: 1fr 1fr; }
  .case-wide { grid-column: span 2; }
  .brief-result { grid-column: 1; }
  .service-detail { grid-template-columns: 1fr; }
  .blog-aside { max-width: none; }
  .article-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}

@media (max-width: 590px) {
  .wrap { width: min(100% - 24px, 1220px); }
  .site-header { padding: 11px 12px; }
  .site-header > .button { display: none; }
  .brand-mark { width: 29px; height: 29px; }
  .hero { padding-block: 32px 42px; }
  .hero-copy::before { width: 58px; margin-bottom: 24px; }
  .hero h1 { font-size: 50px; }
  .lead { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-visual::before { inset: 14px -5px -8px 15px; border-radius: 24px; }
  .hero-visual img { height: 210px; border-radius: 22px; }
  .hero-visual figcaption { left: 12px; right: 12px; bottom: 12px; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact-strip > * { min-height: 105px; padding: 20px 13px; }
  .fact-strip .fact-wide { grid-column: span 2; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-strip > p { grid-column: span 2; }
  .fact-strip > *:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fact-strip > *:last-child { border-bottom: 0; }
  .service-area { padding-block: 80px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.featured, .service-card:nth-child(3), .service-card:nth-child(n+4) { min-height: 230px; grid-column: auto; }
  .service-card.featured::before { font-size: 48px; }
  .workflow { margin-top: 65px; padding: 28px 20px; border-radius: 24px; }
  .workflow h2 { font-size: 42px; }
  .flow-map { grid-template-columns: 1fr; padding-left: 25px; }
  .flow-step { min-height: 205px; }
  .flow-line { left: 2px; }
  .selector { margin-top: 65px; padding: 20px; gap: 25px; }
  .selector-panel { padding: 18px; }
  .selector h2 { font-size: 42px; }
  .choice-grid, .cases { grid-template-columns: 1fr; }
  .choice-grid button { min-height: 100px; }
  .case-wide { grid-column: span 1; }
  .cases > .case:last-child { grid-column: span 1; }
  .case-photo { min-height: 390px; }
  .portfolio { padding-block: 85px; }
  .contact { padding-block: 85px; }
  .brief-form { grid-template-columns: 1fr; padding: 20px; }
  .brief-form label:nth-child(4) { grid-column: span 1; }
  .brief-form .button { width: 100%; }
  .form-note { text-align: center; }
  footer .wrap { align-items: flex-start; flex-direction: column; gap: 16px; }
  .service-page { padding: 60px 0 80px; }
  .service-page h1 { font-size: 48px; }
  .blog-preview { padding-block: 80px; }
  .blog-feature, .blog-card { min-height: 400px; padding: 28px 22px; }
  .blog-feature h3, .blog-card h2 { margin-top: 42px; font-size: 38px; }
  .blog-hero { padding-top: 54px; }
  .blog-hero h1, .article-header h1 { font-size: 49px; }
  .article-header { padding-top: 45px; }
  .article-layout { gap: 28px; }
  .article-body { padding: 28px 20px; }
  .article-body h2 { font-size: 34px; }
  .article-sidebar { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
