:root {
  --page:#f4f5ef; --ink:#152722; --muted:#485e56;
  --accent:#165444; --rule:#cbd4ca; --band:#e7ede3;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {margin:0;background:var(--page);color:var(--ink);font:16px/1.65 "PingFang SC","Microsoft YaHei",system-ui,sans-serif}
a {color:inherit;text-decoration:none}
button {font:inherit;cursor:pointer}
a:focus-visible,button:focus-visible {outline:2px solid var(--accent);outline-offset:5px}
.skip {position:absolute;top:8px;left:8px;z-index:3;padding:8px 12px;background:white;transform:translateY(-160%)}
.skip:focus {transform:none}
.wrap {width:min(1280px,calc(100% - 112px));margin-inline:auto}
header {border-bottom:1px solid var(--rule)}
.bar {display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px}
.brand {display:flex;align-items:center;gap:12px;font-size:21px;font-weight:760;white-space:nowrap}
.mark {width:25px;height:25px;border:2px solid var(--accent);position:relative}
.mark:after {content:"";position:absolute;inset:5px -5px -5px 5px;border:2px solid var(--accent);background:var(--page)}
nav,.actions {display:flex;align-items:center;flex-wrap:wrap;gap:24px}
nav a {font-size:15px;font-weight:550}
nav a:not(.outline):hover {text-decoration:underline;text-underline-offset:6px}
.outline,.secondary,.button {display:inline-flex;min-height:46px;padding:8px 20px;align-items:center;justify-content:center;border:1px solid var(--accent);border-radius:2px;transition:transform .17s,background .17s}
.outline,.secondary {color:var(--accent);background:transparent}
.button {background:var(--accent);color:white;font-weight:650}
.button:hover {background:#103f32;transform:translateY(-2px)}
.secondary:hover,.outline:hover {background:var(--band);transform:translateY(-2px)}
.button:active,.secondary:active,.outline:active {transform:translateY(1px)}
.intro {display:grid;grid-template-columns:5fr 7fr;align-items:center;gap:50px;min-height:calc(100svh - 79px);padding:42px 0 58px}
.eyebrow {color:var(--accent);font-size:15px;font-weight:650;letter-spacing:.13em;margin:0 0 24px}
.hero h1 {font-size:clamp(2.75rem,5.1vw,5.25rem);line-height:1.14;letter-spacing:-.075em;margin:0 0 24px;font-weight:680}
.hero h1 span {color:var(--accent)}
.lead {color:var(--muted);max-width:390px;margin:0 0 35px;font-size:18px}
.hero-figure {margin:0;position:relative;overflow:hidden;background:#dbe4da;min-height:490px;height:min(69vh,700px)}
.hero-figure img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.hero-figure:hover img {transform:scale(1.025)}
.visual-label {position:absolute;bottom:0;right:0;padding:8px 12px;background:var(--page);color:var(--muted);font-size:14px}
.section {padding:95px 0;scroll-margin-top:12px}
#work {border-top:1px solid var(--rule)}
h2 {margin:0;font-size:clamp(2rem,4.2vw,4rem);line-height:1.13;letter-spacing:-.055em;font-weight:640}
.section-title {display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:end;margin-bottom:42px}
.section-note {color:var(--muted);max-width:250px;justify-self:end;margin:0}
.cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:26px;row-gap:37px}
.cards article {display:flex;flex-direction:column;border-top:1px solid var(--rule);padding-top:14px}
.draft {width:100%;height:auto;display:block;background:var(--band)}
.card-text {padding:16px 0 0}
.card-text p {margin:0 0 3px;color:var(--accent);font-size:14px;font-weight:700}
.card-text h3 {font-size:22px;line-height:1.25;margin:0 0 7px}
.card-text span,.services dd {color:var(--muted)}
.services {background:var(--band)}
.service-layout {display:grid;grid-template-columns:1fr 1.4fr;gap:40px;min-height:55vh;align-items:center}
.services dl {margin:0}
.services dl div {display:grid;grid-template-columns:135px 1fr;gap:16px;padding:17px 0;border-top:1px solid #b5c3b5}
.services dl div:last-child {border-bottom:1px solid #b5c3b5}
.services dt {font-weight:720}
.services dd {margin:0}
.contact {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:32px;min-height:350px}
.contact p {color:var(--muted);max-width:355px}
.phone {display:inline-block;font-size:clamp(1.75rem,4.5vw,4.25rem);font-weight:630;letter-spacing:-.05em;white-space:nowrap;margin-bottom:15px;color:var(--accent)}
.contact .actions {gap:10px}
#copy-status {min-height:1.5em;font-size:14px;margin:6px 0 0}
footer {border-top:1px solid var(--rule);color:var(--muted);font-size:14px}
[data-enter] .intro>div {animation:appear .55s ease-out both}
@keyframes appear {from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@media(max-width:850px) {
 .wrap {width:calc(100% - 64px)}
 .intro {gap:25px}
 .hero-figure {min-height:430px}
 .actions {gap:9px}
}
@media(max-width:650px) {
 .wrap {width:calc(100% - 36px)}
 .bar {min-height:66px;gap:10px}
 .brand {font-size:18px;gap:10px}
 .mark {width:20px;height:20px}
 .mark:after {inset:4px -4px -4px 4px}
 nav {gap:12px}
 nav a {font-size:14px}
 nav a:nth-child(2) {display:none}
 .outline {min-height:38px;padding:4px 8px}
 .intro,.service-layout,.contact,.section-title,.cards {grid-template-columns:1fr}
 .intro {padding:42px 0 27px;align-content:start;min-height:0;gap:26px}
 .hero-figure {height:330px;min-height:0}
 .hero h1 {margin-bottom:17px}
 .lead {margin-bottom:22px}
 .eyebrow {margin-bottom:16px}
 .section {padding:58px 0}
 .section-title {gap:13px;margin-bottom:24px}
 .section-note {justify-self:start;max-width:none}
 .services dl div {grid-template-columns:94px 1fr}
 .contact {min-height:0}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.service-groups {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
}
.service-group h3 {
  margin:0 0 16px;
  font-size:clamp(1.2rem,2.3vw,1.55rem);
  color:var(--accent);
}
.service-group dl div {
  display:block;
  min-height:91px;
  padding:13px 0;
}
.service-group dt {margin-bottom:3px}
.service-group dd {font-size:1rem}
@media(max-width:820px) {
  .service-groups {grid-template-columns:1fr;gap:32px}
  .service-group dl div {min-height:0}
}

/* Portfolio preview */
:root {
  --page:#fff; --ink:#142725; --muted:#4e615d; --accent:#15594f;
  --rule:#d9e1dd; --band:#eef3ef;
}
.wrap {width:min(1250px,calc(100% - 100px))}
header {position:relative;background:#fff}
header .bar {min-height:76px}
nav {gap:30px}
.outline,.button,.secondary {border-radius:0;min-height:48px}
.hero {position:relative;isolation:isolate;background:#142c29;color:white;overflow:hidden}
.intro {display:flex;min-height:clamp(530px,76vh,780px);align-items:flex-end;padding:85px 0 85px}
.hero-copy {max-width:610px;position:relative;z-index:2}
.hero .eyebrow {color:#e8f5ed;margin-bottom:22px;letter-spacing:.08em}
.hero h1 {font-size:clamp(3rem,6.6vw,6.2rem);line-height:1.10;letter-spacing:-.065em;margin-bottom:22px}
.hero h1 span {color:#fff}
.hero .lead {color:#f1f4f2;max-width:500px;margin-bottom:28px}
.hero .button {color:#173b34;background:#d4ebdf;border-color:#d4ebdf}
.hero .button:hover {background:white}
.hero .secondary {color:white;border-color:#d0dbd6;background:#14272545}
.hero-figure {position:absolute;inset:0;z-index:0;height:auto;min-height:0;background:#1f433c}
.hero-figure img {object-position:center 53%}
.hero-figure:hover img {transform:none}
.hero-figure::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#102623ed 0%,#102623ac 33%,#10262328 73%),linear-gradient(0deg,#10262378,transparent 45%)}
.visual-label {z-index:2;color:#fff;background:#142725dc;right:max(16px,calc((100% - 1250px)/2));bottom:18px}
.section {padding:78px 0}
.section-title {margin-bottom:31px;align-items:center}
.section-note {max-width:320px}
h2 {font-size:clamp(2.1rem,4.1vw,3.65rem)}
.services {background:white}
.service-groups {gap:0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.service-group {padding:24px 26px 18px;min-width:0}
.service-group:first-child {padding-left:0}
.service-group:last-child {padding-right:0}
.service-group + .service-group {border-left:1px solid var(--rule)}
.service-group h3 {margin-bottom:20px;padding-left:12px;border-left:3px solid var(--accent)}
.services .service-group dl div {min-height:82px;border-bottom:0}
.services .service-group dl div:last-child {border-bottom:0}
#work {border-top:0;padding-top:0}
#work .section-title {padding-top:38px;border-top:1px solid var(--rule)}
.cards {gap:28px}
.cards article {background:var(--band);border:0;padding:0;overflow:hidden}
.card-text {padding:21px 24px 25px}
#contact {width:100%;background:#183c35;color:#fff;margin:0;padding:0}
.contact {width:min(1250px,calc(100% - 100px));margin:auto;padding:62px 0;min-height:0}
.contact p,.phone,#copy-status {color:#e4f4ec}
.contact .button {background:#d4ebdf;color:#173b34;border-color:#d4ebdf}
.contact .secondary {color:white;border-color:#a8c1b6}
.contact .secondary:hover {background:#295649}
@media(max-width:850px) {
  .wrap,.contact {width:calc(100% - 56px)}
  .service-groups {grid-template-columns:1fr}
  .service-group,.service-group:last-child {padding:22px 0}
  .service-group + .service-group {border-left:0;border-top:1px solid var(--rule)}
  .services .service-group dl div {min-height:0}
}
@media(max-width:650px) {
  .wrap,.contact {width:calc(100% - 36px)}
  nav {gap:10px}
  nav a:nth-child(2) {display:none}
  header .bar {min-height:66px}
  nav .outline {padding:5px 8px;min-height:39px}
  .intro {min-height:530px;padding:52px 0 78px}
  .hero-figure {height:auto}
  .hero-figure img {object-position:60% center}
  .hero-figure::after {background:linear-gradient(90deg,#102623e8,#1026235c),linear-gradient(0deg,#102623a8,transparent)}
  .section {padding:54px 0}
  .contact {padding:46px 0;gap:18px}
  footer .bar {flex-wrap:wrap;padding:12px 0;gap:9px 16px}
}
