/* Layout: architectural bands. Slate-navy, porcelain and sage sections alternate like the company profile;
   every photo, card and button is cut with the brand's 45-degree chamfer (top-left and bottom-right). */
:root {
  --ink: #262C3A;          /* deepest navy: footer, overlays */
  --navy: #383F50;         /* brand slate navy */
  --sage: #5E7978;         /* brand sage */
  --sage-ink: #46605F;     /* sage for small text on light grounds */
  --sage-soft: #A6BAB7;    /* sage for text on navy */
  --porcelain: #F1F3F2;    /* main light ground, a cool off-white */
  --paper: #FFFFFF;
  --bronze: #C4A57B;       /* travertine accent, used only as a fine line on dark grounds */
  --text: #262C3A;
  --text-2: #4E5768;
  --text-inv: #FFFFFF;
  --text-inv-2: #C8CFD7;
  --line: #D3DAD8;
  --line-dark: rgba(255, 255, 255, .16);
  --shade: rgba(38, 44, 58, .9);
  --font-display: "Sora", "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4.6vw, 64px);
  --hdr: 88px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--porcelain); color: var(--text); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.ch { --c: 22px; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.band { padding-block: clamp(72px, 9vw, 136px); }
.on-dark { color: var(--text-inv); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); color: var(--text-inv); transition: background-color .35s ease, box-shadow .35s ease; }
.hdr.solid { background: rgba(38, 44, 58, .97); box-shadow: 0 1px 0 var(--line-dark); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hdr); }
.brand { display: block; width: clamp(190px, 16.4vw, 236px); color: var(--text-inv); flex: none; }
.brand svg { display: block; width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }
.nav a { position: relative; padding-block: 8px; font: 500 14px/1 var(--font-body); letter-spacing: .03em; color: var(--text-inv-2); text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-inv); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze); }
.hdr-right { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; background: transparent; border: 1px solid var(--line-dark); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, background-color .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--text-inv); padding-top: calc(var(--hdr) + env(safe-area-inset-top, 0px) + 24px); padding-bottom: max(32px, env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.mnav .wrap { display: grid; gap: 6px; }
.mnav a { font: 300 34px/1.25 var(--font-display); text-decoration: none; padding-block: 8px; border-bottom: 1px solid var(--line-dark); }
.mnav a[aria-current="page"] { color: var(--sage-soft); }
.mnav .mnav-contact { margin-top: 28px; font-size: 15px; color: var(--text-inv-2); display: grid; gap: 4px; }
@media (max-width: 960px) { :root { --hdr: 76px; } .nav, .hdr-right .btn { display: none; } .menu-btn { display: inline-flex; } }

/* ---------- buttons & links ---------- */
.btn { --c: 10px; display: inline-flex; align-items: center; gap: 12px; padding: 17px 26px; border: 0; cursor: pointer; text-decoration: none; font: 600 14px/1 var(--font-body); letter-spacing: .04em; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); transition: background-color .25s, color .25s; }
.btn-light { background: var(--porcelain); color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-navy { background: var(--navy); color: var(--text-inv); }
.btn-navy:hover { background: var(--ink); }
.btn-sm { padding: 13px 20px; font-size: 13px; }
.arrow { display: inline-block; width: 16px; height: 10px; flex: none; background: currentColor; clip-path: polygon(0 45%, 78% 45%, 62% 0, 70% 0, 100% 50%, 70% 100%, 62% 100%, 78% 55%, 0 55%); transition: transform .25s; }
a:hover > .arrow, button:hover > .arrow { transform: translateX(4px); }
.link { display: inline-flex; align-items: center; gap: 12px; padding-block: 10px 9px; border-bottom: 1px solid currentColor; text-decoration: none; font: 600 14px/1 var(--font-body); letter-spacing: .04em; }

/* ---------- section headings ---------- */
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 68px); }
.eyebrow { justify-self: start; display: inline-block; padding-bottom: 9px; border-bottom: 1px solid currentColor; font: 500 13.5px/1.3 var(--font-display); letter-spacing: .02em; color: var(--sage-ink); }
.on-dark .eyebrow { color: var(--sage-soft); }
.band-sage .eyebrow { color: var(--text-inv); }
.title { display: flex; align-items: flex-end; gap: clamp(16px, 2.4vw, 32px); font-weight: 300; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.03em; }
.title > span { min-width: 0; }
.title b { font-weight: 600; }
.title::after { content: ""; flex: 1 1 40px; min-width: 32px; height: 1px; margin-bottom: .34em; background: var(--line); }
.on-dark .title::after { background: var(--line-dark); }
.band-sage .title::after { background: rgba(255, 255, 255, .32); }
.lead { max-width: 46em; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--text-2); }
.on-dark .lead { color: var(--text-inv-2); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--text-inv); }
.hero-stage { position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 1.74; min-height: 540px; max-height: 100svh; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide .bg { object-fit: cover; filter: blur(22px) brightness(.9); transform: scale(1.12); }
.hero-slide .fg { object-fit: contain; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(38, 44, 58, .6) 0%, rgba(38, 44, 58, 0) 20%), linear-gradient(90deg, rgba(38, 44, 58, .84) 0%, rgba(38, 44, 58, .66) 36%, rgba(38, 44, 58, .3) 57%, rgba(38, 44, 58, 0) 76%); }
.hero-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hdr) + env(safe-area-inset-top, 0px)); padding-bottom: 24px; }
.hero-kicker { display: flex; align-items: center; gap: 14px; font: 500 13px/1.45 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-soft); }
.hero-kicker::before { flex: none; }
.hero-kicker::before { content: ""; width: 36px; height: 1px; background: var(--bronze); }
.hero-title { margin-top: 22px; font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 3.7vw, 56px); line-height: 1.1; letter-spacing: -.03em; }
.hero-title span { display: block; }
.hero-title b { font-weight: 600; color: var(--sage-soft); }
.hero-kicker, .hero-title, .hero-sub { text-shadow: 0 1px 28px rgba(20, 24, 33, .35); }
.hero-sub { max-width: 30em; margin-top: 22px; font-size: clamp(15.5px, 1.2vw, 17.5px); color: var(--text-inv-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 32px; }
.hero-bar { border-top: 1px solid var(--line-dark); }
.hero-bar .wrap { display: flex; align-items: center; gap: 12px 28px; min-height: 78px; padding-block: 16px; }
.hero-cap-label { font: 500 11.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-soft); white-space: nowrap; }
.hero-cap-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; min-width: 0; }
.hero-cap-name { font: 600 16.5px/1.3 var(--font-display); color: var(--text-inv); text-decoration: none; }
.hero-cap-name:hover { color: var(--sage-soft); }
.hero-cap-meta { font-size: 13.5px; color: var(--text-inv-2); font-variant-numeric: tabular-nums; }
.hero-count { margin-left: auto; font: 500 13px/1 var(--font-display); letter-spacing: .08em; color: var(--text-inv-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-ticks { display: flex; gap: 8px; width: 200px; flex: none; }
.hero-ticks button { flex: 1; height: 18px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.hero-ticks button::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: rgba(255, 255, 255, .25); }
.hero-ticks button[aria-current="true"]::before { background: var(--bronze); }
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--hdr) + env(safe-area-inset-top, 0px)); }
  .hero-stage { aspect-ratio: auto; min-height: 0; max-height: none; overflow: visible; }
  .hero-media { position: relative; inset: auto; z-index: auto; aspect-ratio: 1.74; }
  .hero-shade { display: none; }
  .hero-inner { position: static; padding-top: 36px; padding-bottom: 40px; }
  .hero-title { font-size: clamp(22px, 6.5vw, 34px); }
  .hero-bar .wrap { flex-wrap: wrap; }
  .hero-cap-label { width: 100%; }
  .hero-count { margin-left: 0; }
  .hero-ticks { flex: 1; width: auto; }
}

/* ---------- home: intro & stats ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); }
.intro-copy { display: grid; gap: 18px; align-content: start; font-size: 17.5px; color: var(--text-2); }
.intro-copy .link { justify-self: start; margin-top: 10px; color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 0 0; }
.stat + .stat { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.title.no-rule::after { display: none; }
.stat-num { font: 300 clamp(32px, 3.6vw, 52px)/1 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .42em; font-weight: 500; letter-spacing: .02em; margin-left: .25em; color: var(--sage-ink); }
.stat-num small.pre { margin: 0 .3em 0 0; }
.stat-label { margin-top: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.stats-note { margin-top: 22px; font-size: 13.5px; color: var(--text-2); }
@media (max-width: 900px) {
  .intro { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
}

/* ---------- services cards ---------- */
.band-paper { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc { --c: 30px; display: flex; flex-direction: column; padding: 12px; background: var(--sage); color: var(--text-inv); text-decoration: none; }
.svc:nth-child(2) { background: var(--navy); }
.svc-img { --c: 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.svc:hover .svc-img img { transform: scale(1.04); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 30px 20px 26px; }
.svc h3 { font-weight: 600; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; }
.ticks { display: grid; gap: 9px; margin-top: 20px; }
.ticks li { display: flex; align-items: baseline; gap: 12px; font-size: 15.5px; }
.ticks li::before { content: ""; flex: none; width: 7px; height: 7px; background: currentColor; opacity: .7; transform: translateY(-2px); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.svc .ticks { margin-bottom: 30px; }
.svc .link { align-self: flex-start; margin-top: auto; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; } }

/* ---------- featured projects ---------- */
.band-navy { background: var(--navy); color: var(--text-inv); }
.feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 21vw, 300px); gap: 16px; }
.tile { --c: 20px; position: relative; display: block; overflow: hidden; background: var(--ink); color: var(--text-inv); text-decoration: none; }
.feat .tile:first-child { grid-column: span 2; grid-row: span 2; --c: 30px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(38, 44, 58, .9) 0%, rgba(38, 44, 58, 0) 58%); }
.tile-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px 24px; }
.tile-name { font: 600 clamp(18px, 1.5vw, 21px)/1.2 var(--font-display); }
.feat .tile:first-child .tile-name { font-size: clamp(24px, 2.4vw, 34px); }
.tile-meta { margin-top: 6px; font-size: 13.5px; color: var(--text-inv-2); font-variant-numeric: tabular-nums; }
.feat-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; color: var(--text-inv-2); }
@media (max-width: 900px) {
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
}
@media (max-width: 600px) {
  .feat { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 250px; }
  .feat .tile:first-child { grid-column: auto; grid-row: span 1; }
}

/* ---------- why edge plus ---------- */
.band-sage { background: var(--sage); color: var(--text-inv); }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 44px; }
.why-item { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .3); }
.why-item h3 { font-weight: 600; font-size: 20px; line-height: 1.25; }
.why-item p { margin-top: 12px; font-size: 15.5px; color: rgba(255, 255, 255, .92); }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* ---------- commitment ---------- */
.commit { position: relative; isolation: isolate; overflow: hidden; color: var(--text-inv); background: var(--ink); }
.commit > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.commit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(38, 44, 58, .9) 0%, rgba(38, 44, 58, .8) 55%, rgba(38, 44, 58, .72) 100%); }
.commit-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.commit blockquote { margin: 0; font: 300 clamp(26px, 3.2vw, 44px)/1.22 var(--font-display); letter-spacing: -.02em; }
.commit blockquote b { font-weight: 600; color: var(--sage-soft); }
.commit-side { display: grid; gap: 18px; color: var(--text-inv-2); }
.commit-side .hero-actions { margin-top: 12px; }
@media (max-width: 900px) { .commit-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: var(--text-inv-2); font-size: 15px; padding-block: 80px max(32px, env(safe-area-inset-bottom, 0px)); }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 44px; }
.ftr .brand { width: 270px; max-width: 100%; }
.ftr-tag { margin-top: 26px; font: 300 22px/1.3 var(--font-display); color: var(--text-inv); }
.ftr-tag b { font-weight: 600; color: var(--sage-soft); }
.ftr h4 { margin-bottom: 18px; font: 600 12.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-inv); }
.ftr ul { display: grid; gap: 10px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--text-inv); }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 13px; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- page heroes ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(440px, 60vh, 620px); background: var(--ink); color: var(--text-inv); }
.phero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(38, 44, 58, .6) 0%, rgba(38, 44, 58, 0) 70%), linear-gradient(0deg, rgba(38, 44, 58, .94) 0%, rgba(38, 44, 58, .5) 60%, rgba(38, 44, 58, .66) 100%); }
.phero .wrap { padding-top: calc(var(--hdr) + 100px); padding-bottom: clamp(44px, 6vw, 76px); }
.phero h1 { margin-top: 22px; font-weight: 300; font-size: clamp(42px, 5.8vw, 84px); line-height: 1; letter-spacing: -.035em; }
.phero h1 b { font-weight: 600; color: var(--sage-soft); }
.phero .lead { margin-top: 24px; max-width: 38em; color: var(--text-inv-2); }

/* ---------- about ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 104px); align-items: center; }
.story-img { --c: 32px; aspect-ratio: 4 / 3; overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: grid; gap: 20px; font-size: 17.5px; color: var(--text-2); }
.story-copy .first { font: 300 clamp(22px, 2vw, 28px)/1.35 var(--font-display); color: var(--text); letter-spacing: -.015em; }
.vm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(44px, 6vw, 104px); }
.vm p { margin-top: 28px; font: 300 clamp(19px, 1.7vw, 24px)/1.5 var(--font-display); color: var(--text-inv-2); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.value { --c: 24px; padding: 34px 30px 32px; background: linear-gradient(135deg, var(--sage) 0 22px, var(--paper) 22px); }
.value h3 { font-weight: 600; font-size: 21px; }
.value p { margin-top: 12px; font-size: 15.5px; color: var(--text-2); }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { position: relative; padding: 34px 22px 0 0; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--sage); transform: rotate(45deg); }
.step-num { font: 400 13px/1 var(--font-display); letter-spacing: .12em; color: var(--sage-ink); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 18px; font-weight: 600; font-size: 21px; }
.step p { margin-top: 10px; font-size: 15px; color: var(--text-2); }
.steps-foot { margin-top: 56px; font: 300 clamp(20px, 2vw, 27px)/1.35 var(--font-display); letter-spacing: -.015em; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; border-top: 0; } .step { border-top: 1px solid var(--line); } }
@media (max-width: 900px) { .story, .vm { grid-template-columns: minmax(0, 1fr); } .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .values, .steps { grid-template-columns: minmax(0, 1fr); } .steps { row-gap: 36px; } }

/* ---------- services page ---------- */
.svc-rows { display: grid; gap: clamp(72px, 9vw, 128px); }
.svc-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.svc-row:nth-child(even) .svc-row-img { order: 2; }
.svc-row-img { --c: 32px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.svc-row-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-row h2 { font-weight: 300; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -.03em; }
.svc-row h2 b { font-weight: 600; }
.svc-row .lead { margin-top: 20px; }
.svc-row .ticks { margin-top: 26px; color: var(--text); }
.svc-row .ticks li::before { background: var(--sage); opacity: 1; }
.related { margin-top: 30px; }
.related-label { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.related-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.related-list a { padding: 9px 14px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s; }
.related-list a:hover { border-color: var(--sage); }
.gal { columns: 3 260px; column-gap: 14px; }
.gal button { --c: 14px; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.gal img { width: 100%; height: auto; transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.gal button:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .svc-row { grid-template-columns: minmax(0, 1fr); } .svc-row:nth-child(even) .svc-row-img { order: 0; } }

/* ---------- projects page ---------- */
.p-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-bottom: 44px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { --c: 8px; padding: 13px 18px; border: 0; background: var(--paper); color: var(--text); cursor: pointer; font: 600 14px/1 var(--font-body); letter-spacing: .02em; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s; }
.chip span { margin-left: 8px; font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--text-inv); box-shadow: none; }
.chip[aria-pressed="true"] span { color: var(--sage-soft); }
.key { font-size: 13.5px; color: var(--text-2); }
.key b { font-weight: 600; color: var(--text); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.pcard { display: block; color: inherit; text-decoration: none; }
.pcard-img { --c: 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-cat { display: block; margin-top: 20px; font: 500 12px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--sage-ink); }
.pcard h3 { margin-top: 10px; font-weight: 600; font-size: 21px; line-height: 1.22; }
.pcard:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px 3px -10px; background: var(--line); transform: rotate(45deg); }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- project detail ---------- */
.pd-top { background: var(--navy); color: var(--text-inv); padding-top: calc(var(--hdr) + env(safe-area-inset-top, 0px) + 56px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: var(--text-inv-2); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--text-inv); }
.pd-top h1 { margin-top: 22px; font-weight: 400; font-size: clamp(36px, 5vw, 68px); line-height: 1.04; letter-spacing: -.03em; }
.pd-hero { --c: 34px; margin-top: clamp(32px, 4vw, 52px); overflow: hidden; background: var(--ink); }
.pd-hero img { width: 100%; height: auto; }
.spec { --c: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin-top: -1px; background: var(--ink); clip-path: polygon(0 0, 100% 0, calc(100% - var(--c)) 100%, 0 100%); transform: translateY(50%); position: relative; z-index: 1; }
.spec div { padding: 22px 26px; background: var(--ink); }
.spec dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-inv-2); }
.spec dd { margin: 8px 0 0; font: 500 clamp(17px, 1.5vw, 21px)/1.25 var(--font-display); color: var(--text-inv); font-variant-numeric: tabular-nums; }
.pd-body { padding-top: clamp(96px, 10vw, 140px); }
.pd-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pd-gal button { --c: 18px; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; overflow: hidden; aspect-ratio: 3 / 2; }
.pd-gal button.wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.pd-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.pd-gal button:hover img { transform: scale(1.04); }
.pd-note { margin-top: 18px; font-size: 14px; color: var(--text-2); }
.pager { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager a { display: grid; gap: 8px; padding: 30px 0; text-decoration: none; }
.pager a + a { padding-left: 24px; border-left: 1px solid var(--line); text-align: right; justify-items: end; }
.pager small { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.pager strong { font: 600 clamp(17px, 1.6vw, 22px)/1.25 var(--font-display); }
.pd-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; }
.pd-cta p { font: 300 clamp(22px, 2.2vw, 30px)/1.3 var(--font-display); }
@media (max-width: 640px) { .pd-gal { grid-template-columns: minmax(0, 1fr); } .pd-gal button.wide { aspect-ratio: 3 / 2; } .spec { transform: none; clip-path: none; } .pd-body { padding-top: 64px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.cdl { display: grid; margin: 0; border-top: 1px solid var(--line); }
.cdl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.cdl dt { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); padding-top: 3px; }
.cdl dd { margin: 0; font: 500 17px/1.45 var(--font-display); color: var(--text); overflow-wrap: anywhere; }
.cdl a { text-decoration: none; } .cdl a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form { --c: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; padding: clamp(28px, 4vw, 52px); background: var(--paper); }
.form h2 { grid-column: 1 / -1; font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.02em; }
.form h2 b { font-weight: 600; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); font: 400 16px/1.4 var(--font-body); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 1px 0 var(--navy); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form-msg { font-size: 14.5px; color: var(--sage-ink); }
.form-msg.err { color: #9A3B2E; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } .cdl div { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 14px; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(22, 26, 35, .97); color: var(--text-inv); }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text-inv-2); }
.lb-bar strong { color: var(--text-inv); font: 500 15px/1.3 var(--font-display); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-btn { width: 48px; height: 48px; display: inline-grid; place-items: center; border: 1px solid var(--line-dark); background: rgba(38, 44, 58, .7); color: var(--text-inv); cursor: pointer; }
.lb-btn:hover { background: var(--navy); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 0; } .lb-next { right: 0; }
.lb-prev .arrow { transform: rotate(180deg); }
.lb-x { position: relative; width: 16px; height: 16px; }
.lb-x::before, .lb-x::after { content: ""; position: absolute; left: 50%; top: 0; width: 1.5px; height: 16px; background: currentColor; }
.lb-x::before { transform: rotate(45deg); } .lb-x::after { transform: rotate(-45deg); }

/* ---------- view transitions ---------- */
[data-view] { animation: viewIn .5s ease both; }
@keyframes viewIn { from { opacity: .001; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- WordPress additions ---------- */
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hdr { top: 0; } }
.pd-desc { max-width: 46em; margin-bottom: clamp(48px, 6vw, 72px); font: 300 clamp(19px, 1.7vw, 24px)/1.5 var(--font-display); color: var(--text-2); white-space: pre-line; }
.entry { max-width: 820px; font-size: 17px; color: var(--text-2); }
.entry > * + * { margin-top: 1.1em; }
.entry h2, .entry h3 { color: var(--text); margin-top: 1.6em; }
.entry a { color: var(--sage-ink); }
.entry img { height: auto; }
.empty-note { color: var(--text-2); }

/* Service pages */
.svc-page .entry { max-width: 820px; }
.entry h2 { font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.02em; }
.entry h3 { font-weight: 600; font-size: 19px; line-height: 1.35; }
.entry h2 + p, .entry h3 + p { margin-top: .6em; }
.entry .ticks { margin-top: 1em; color: var(--text); }
.entry .ticks li::before { background: var(--sage); opacity: 1; }
.svc-page .pd-cta { max-width: 820px; }
.page-template-page-templatesservice-php .phero h1 { font-size: clamp(36px, 4.8vw, 70px); line-height: 1.04; }
.svc-links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 28px; color: var(--text); }
