/* VM Skyline Constructions — site styles (2026 redesign) */
:root {
  --navy: #0e1f33;
  --navy-2: #16304d;
  --gold: #c8a436;
  --gold-dark: #9c7f22;
  --ink: #1b2430;
  --muted: #5b6672;
  --line: #dde2e7;
  --plaster: #f1f3f5;
  --white: #ffffff;
  --radius-s: 6px;
  --radius-m: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-s); font-family: var(--head); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d8b648; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.topbar { background: var(--navy); color: #c9d3de; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 120px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a, .nav button.nav-drop { font-family: var(--head); font-weight: 600; font-size: 15.5px; color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: var(--radius-s); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav a:hover, .nav button.nav-drop:hover, .nav a[aria-current="page"] { color: var(--gold-dark); }
.nav .has-sub { position: relative; }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 8px; list-style: none; margin: 6px 0 0; box-shadow: 0 18px 40px rgba(14,31,51,.12); }
.nav .sub a { display: block; padding: 10px 12px; }
.nav .sub a:hover { background: var(--plaster); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub, .nav .has-sub.open .sub { display: block; }
.nav .nav-cta { margin-left: 10px; background: var(--navy); color: #fff; padding: 12px 20px; }
.nav .nav-cta:hover { background: var(--navy-2); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 20px 30px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; box-shadow: -20px 0 40px rgba(14,31,51,.15); overflow-y: auto; }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav button.nav-drop { width: 100%; justify-content: space-between; font-size: 17px; padding: 14px 8px; }
  .nav .sub { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; margin: 0; }
  .nav .has-sub:hover .sub { display: none; }
  .nav .has-sub.open .sub { display: block; }
  .nav .nav-cta { margin: 16px 0 0; justify-content: center; }
  .menu-toggle { position: relative; z-index: 60; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 640px) { .topbar-hide-sm { display: none; } .topbar .wrap { justify-content: center; padding-top: 2px; padding-bottom: 2px; } .topbar a { min-height: 40px; font-weight: 600; } }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: min(720px, 88vh); background: var(--navy); color: #fff; container-type: inline-size; }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 72px var(--gutter) 72px max(var(--gutter), calc((100cqw - var(--wrap)) / 2 + var(--gutter))); }
.hero-copy::after { content: ""; position: absolute; right: 0; top: 12%; bottom: 12%; width: 2px; background: var(--gold); }
.hero h1 { color: #fff; max-width: 13ch; }
.hero-lead { font-size: 19px; color: #d3dbe4; max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.assure { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; max-width: 560px; }
.assure li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: #e7ecf1; }
.assure svg { flex: none; width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption { position: absolute; left: 20px; bottom: 20px; background: rgba(14,31,51,.82); color: #fff; font-size: 14px; padding: 8px 14px; border-radius: var(--radius-s); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 4 / 3; }
  .hero-copy { padding: 44px var(--gutter) 52px; }
  .hero-copy::after { left: var(--gutter); right: auto; top: 0; bottom: auto; width: 64px; height: 3px; }
  .assure { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--plaster); }
.section.dark { background: var(--navy); color: #d3dbe4; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 24ch; }
.section-head p { max-width: 46ch; margin: 0; color: var(--muted); }
.section.dark .section-head p { color: #b9c5d1; }
.text-link { font-family: var(--head); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; color: var(--navy); }
.section.dark .text-link { color: #fff; }

/* Services: photo rows */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; }
.svc-row img { width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); }
.svc-row h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 6px; }
.svc-row h3 a { color: var(--navy); text-decoration: none; }
.svc-row h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-row p { margin: 0; color: var(--muted); max-width: 56ch; }
.svc-row .go { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: background .2s, border-color .2s, color .2s; }
.svc-row:hover .go { background: var(--gold); border-color: var(--gold); }
.svc-row:hover h3 a { color: var(--gold-dark); }
@media (max-width: 720px) {
  .svc-row { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
  .svc-row img { width: 112px; }
  .svc-row .go { display: none; }
  .svc-row p { font-size: 15px; }
}

/* Process timeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: rgba(200,164,54,.5); }
.steps li { position: relative; counter-increment: step; padding-top: 64px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); border: 2px solid var(--gold); font-family: var(--head); font-weight: 800; font-size: 18px; display: grid; place-items: center; }
.steps h3 { font-size: 18px; color: #fff; margin-bottom: 6px; }
.steps p { font-size: 15px; margin: 0; color: #b9c5d1; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps li { padding: 0 0 30px 70px; }
}

/* Work mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius-s); background: #dfe4e9; position: relative; }
.mosaic figure.tall { grid-row: span 2; }
.mosaic figure.wide { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic a:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; } }

/* Projects strip */
.projects { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 16px; }
.project { position: relative; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy); }
.project img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .5s ease, opacity .3s; }
.project:hover img { transform: scale(1.05); opacity: 1; }
.project div { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(14,31,51,.92)); color: #fff; }
.project h3 { color: #fff; font-size: 20px; margin: 0 0 2px; }
.project h3 a { color: inherit; text-decoration: none; }
.project h3 a::after { content: ""; position: absolute; inset: 0; }
.project span { font-size: 14px; color: #d3dbe4; }
@media (max-width: 1080px) { .projects { grid-template-columns: repeat(var(--n, 5), 240px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .project { scroll-snap-align: start; } }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { border-radius: var(--radius-m); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.ticks svg { width: 22px; height: 22px; color: var(--gold-dark); margin-top: 3px; }
.ticks strong { display: block; font-family: var(--head); color: var(--navy); font-size: 17.5px; }
.ticks span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: -1; } }

/* Reasons */
.reasons { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 40px 48px; }
.reasons[style*="--cols:4"] { gap: 36px 32px; }
.reasons div { border-top: 3px solid var(--navy); padding-top: 18px; }
.reasons h3 { font-size: 19px; }
.reasons p { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 1080px) { .reasons[style*="--cols:4"] { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .reasons { grid-template-columns: repeat(var(--cols-md, 2), minmax(0, 1fr)); } }
@media (max-width: 600px) { .reasons { grid-template-columns: 1fr; gap: 28px; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 16.5px; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 15px; color: var(--muted); }
.quote figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: var(--navy); font-family: var(--head); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--head); font-weight: 700; font-size: 18.5px; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; margin: 0; color: var(--muted); max-width: 70ch; }

/* Article (SEO copy) */
.article { max-width: 760px; margin: 0; }
.article h2 { font-size: clamp(26px, 3vw, 34px); }
.article h3 { margin-top: 1.6em; }
.article p, .article li { color: #36404b; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.areas a { color: inherit; text-decoration: none; }
.areas a:hover { color: var(--gold-dark); }
.areas li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; color: var(--ink); background: #fff; }

/* CTA band */
.cta-band { background: var(--gold); color: var(--navy); padding: clamp(48px, 7vw, 80px) 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; max-width: 20ch; }
.cta-band p { margin: 0; font-size: 18px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-outline { border-color: var(--navy); color: var(--navy); }
.cta-band .btn-outline:hover { background: rgba(14,31,51,.08); color: var(--navy); }

/* Footer */
.site-footer { background: #0a1726; color: #aebbc8; font-size: 15.5px; padding: 72px 0 0; }
.site-footer a { color: #dfe6ee; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1.1fr .8fr .8fr 1.3fr; gap: 36px; padding-bottom: 56px; }
.foot-grid h2 { font-size: 16px; color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-brand img { width: 130px; background: #fff; border-radius: var(--radius-s); padding: 8px 10px; margin-bottom: 16px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2c3f55; display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-base { border-top: 1px solid #1d2f44; padding: 20px 0; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1080px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-grid > div:last-child { grid-column: 1 / -1; } .foot-grid address { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 32px; } .foot-grid address p { margin: 0 0 8px; } .foot-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 24px; align-items: start; } .foot-brand p { margin: 0; max-width: 46ch; } .foot-brand .social { grid-column: 2; } }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .foot-brand { display: block; } .foot-grid > div:nth-child(2) { grid-row: span 2; } .foot-grid > div:last-child { grid-column: 1 / -1; } .foot-grid address { display: block; } .foot-grid address p { margin: 0 0 1em; } }

/* Floating contact */
.float-contact { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; gap: 10px; }
.float-contact a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.float-contact .wa { background: #25d366; color: #fff; }
.float-contact .call { background: var(--navy); color: #fff; }
.float-contact svg { width: 26px; height: 26px; fill: currentColor; }

/* Single entrance moment: hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s ease both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-copy::after { animation: plumb 1s .2s ease both; transform-origin: top; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes plumb { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--navy); color: #d3dbe4; position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero.no-media .wrap { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); max-width: 18ch; }
.page-hero .lead { font-size: 18.5px; max-width: 40em; margin-bottom: 26px; }
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero-media { position: relative; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-m); }
.page-hero-media::before { content: ""; position: absolute; left: -24px; top: 10%; bottom: 10%; width: 2px; background: var(--gold); }
.crumbs { font-size: 14px; margin-bottom: 18px; color: #9fb0c2; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #5d7088; }
.crumbs a { color: #d3dbe4; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero-media { order: -1; } .page-hero-media::before { display: none; } }

.prose { max-width: 760px; margin: 0; }
.prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #36404b; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.panel { border-top: 3px solid var(--gold); padding-top: 20px; }
.panel ul { padding-left: 20px; margin: 0; }
.panel li { margin-bottom: 8px; color: #36404b; }

/* Leadership */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 900px; }
.person { margin: 0; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius-m); background: #dfe4e9; }
.person figcaption { padding-top: 14px; }
.person strong { display: block; font-family: var(--head); font-size: 20px; color: var(--navy); }
.person span { color: var(--muted); }
.message { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; color: var(--navy); font-family: var(--head); font-weight: 600; margin: 0 0 18px; max-width: 34ch; }
@media (max-width: 600px) { .people { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* Project grid (projects page) */
.project-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.project-grid .project { aspect-ratio: auto; height: clamp(260px, 26vw, 340px); grid-column: span 2; }
.project-grid .project:nth-child(-n+2) { grid-column: span 3; height: clamp(300px, 32vw, 420px); }
@media (max-width: 900px) { .project-grid { grid-template-columns: 1fr 1fr; } .project-grid .project, .project-grid .project:nth-child(-n+2) { grid-column: span 1; height: 280px; } .project-grid .project:first-child { grid-column: span 2; height: 320px; } }
@media (max-width: 560px) { .project-grid { grid-template-columns: 1fr; } .project-grid .project, .project-grid .project:first-child { grid-column: auto; height: 260px; } }

/* Photo grid + lightbox */
.photo-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 12px; }
.photo-grid > :first-child { grid-column: span var(--span, 1); }
.photo-grid a { display: block; border-radius: var(--radius-s); overflow: hidden; background: #dfe4e9; height: 100%; }
@media (max-width: 900px) { .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(140px, 32vw, 240px); } .photo-grid > :first-child { grid-column: span var(--mspan, 1); } }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-grid a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,16,27,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; width: auto; border-radius: var(--radius-s); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--gold); color: var(--navy); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox p { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #c9d3de; font-size: 14px; margin: 0; padding: 0 16px; }

/* Related links */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--navy); text-decoration: none; font-family: var(--head); font-weight: 600; background: #fff; }
.chips a:hover { border-color: var(--gold); color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.field label small { font-family: var(--body); font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #c9d1d9; border-radius: var(--radius-s); padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(200,164,54,.35); }
.field .err { color: #b42318; font-size: 14px; margin-top: 4px; min-height: 0; }
.field.invalid input, .field.invalid textarea { border-color: #b42318; }

.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius-s); display: none; }
.form-status.ok { display: block; background: #e8f5ec; color: #14532d; }
.form-status.bad { display: block; background: #fdecea; color: #8a1c13; }
.form-status.wait { display: block; background: var(--plaster); color: var(--ink); }
.info-card { background: var(--plaster); border-radius: var(--radius-m); padding: 28px; }
.info-card h2 { font-size: 22px; }
.info-card dl { margin: 0; display: grid; gap: 16px; }
.info-card dt { font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 15px; }
.info-card dd { margin: 2px 0 0; color: #36404b; }
.map { margin-top: 20px; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 3; background: #dfe4e9; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: #fff; display: flex; flex-direction: column; position: relative; }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #dfe4e9; }
.post div { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post time { font-size: 14px; color: var(--gold-dark); font-weight: 600; }
.post h3 { font-size: 19px; margin: 0; }
.post h3 a { color: var(--navy); text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { margin: 0; color: var(--muted); font-size: 15.5px; }
.post:hover h3 a { color: var(--gold-dark); }
.blog-more { text-align: center; margin-top: 36px; }
.notice { padding: 18px 20px; border-radius: var(--radius-s); background: var(--plaster); }

@media (max-width: 1080px) { .foot-base { padding-bottom: 88px; } }
@media (max-width: 380px) { .site-footer address a[href^="mailto"] { font-size: 14px; } }
