/* Tully Bros Landscaping — public site
   Palette from the logo: black, white and the ring blue (#3096e0). */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/barlow-800.woff2") format("woff2"); }

:root {
  --blue: #3096e0;
  --blue-dark: #1f7fc7;
  --blue-deep: #16609a;
  --blue-tint: #e9f3fc;
  --ink: #0b0d10;
  --ink-2: #13171c;
  --ink-3: #1b2129;
  --ink-4: #262e38;
  --paper: #ffffff;
  --paper-2: #f3f5f7;
  --text: #1a2028;
  --muted: #5d6a78;
  --muted-on-dark: rgba(255, 255, 255, .68);
  --line: #e2e7ec;
  --line-on-dark: rgba(255, 255, 255, .12);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 34px rgba(12, 22, 34, .12);
  --shadow-sm: 0 4px 14px rgba(12, 22, 34, .08);
  --font: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1180px;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: inherit; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; }
h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin-bottom: .9em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 640px; }
.section-dark .lead { color: var(--muted-on-dark); }
.eyebrow { display: inline-block; margin: 0 0 .9rem; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-deep); } /* 6.6:1 on white */
.eyebrow-light, .section-dark .eyebrow { color: #8ccaf7; }
.placeholder { color: var(--muted); font-style: italic; border-left: 3px dashed var(--blue); padding-left: 14px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row .btn { margin-bottom: .6rem; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Icons */
/* Keyboard focus is always visible (mouse and touch focus stay clean). */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.lightbox :focus-visible { outline-color: #fff; }
.icon { display: inline-flex; width: 22px; height: 22px; vertical-align: middle; flex: none; }
.icon svg { width: 100%; height: 100%; }
.icon-sm { width: 17px; height: 17px; }
.icon-lg { width: 30px; height: 30px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--radius-sm); border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(48, 150, 224, .35); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-deep); }
.section-dark .text-link { color: #8ccaf7; }
.text-link .icon { transition: transform .18s; }
.text-link:hover .icon { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 16, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line-on-dark); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 52px; height: 52px; flex: none; border-radius: 50%; box-shadow: 0 0 0 2px rgba(48, 150, 224, .35); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: 1.02rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: #fff; text-decoration: none; border-bottom-color: var(--blue); }
.site-nav .nav-phone { display: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.phone-link .icon { color: var(--blue); }
.nav-toggle { display: none; background: transparent; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink-2); border-bottom: 1px solid var(--line-on-dark); padding: 8px 0 12px; }
  .site-nav a { padding: 14px 24px; border-bottom: 1px solid var(--line-on-dark); font-size: 1.1rem; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .nav-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); }
  body.nav-open .site-nav { display: flex; }
  .nav-toggle { display: inline-flex; }
  .phone-link .phone-text { display: none; }
}
@media (max-width: 960px) {
  /* One tap to call: the number becomes a round button beside "Free quote". */
  .phone-link { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid var(--line-on-dark); }
  .phone-link .icon { width: 20px; height: 20px; }
  .nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
}
@media (max-width: 480px) {
  .brand-text { display: none; }
  .header-cta { gap: 10px; }
  .header-cta .btn { padding: 11px 14px; font-size: .88rem; }
}
/* Phones: give small text links a finger-sized hit area without changing the look. */
@media (max-width: 640px) {
  .text-link { padding: 9px 0; }
  .service-links { gap: 0 22px; }
  .site-footer li a { display: inline-block; padding: 8px 0; }
  .site-footer li { margin: 0; }
}

/* Hero */
.hero { position: relative; min-height: min(84vh, 780px); min-height: min(84svh, 780px); display: flex; align-items: center; background: var(--ink); color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; filter: saturate(1.08) contrast(1.03); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 13, 16, .9) 0%, rgba(11, 13, 16, .66) 45%, rgba(11, 13, 16, .28) 100%), linear-gradient(180deg, rgba(11, 13, 16, .35) 0%, rgba(11, 13, 16, 0) 30%, rgba(11, 13, 16, .55) 100%); }
.hero-content { position: relative; padding: clamp(72px, 10vw, 130px) 0 clamp(64px, 8vw, 110px); max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .45em; text-wrap: balance; }
.hero-sub { font-size: 1.25rem; line-height: 1.5; color: rgba(255, 255, 255, .86); max-width: 600px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 640px) { .hero { min-height: 74vh; } .hero-sub { font-size: 1.1rem; } .hero-actions .btn { flex: 1 1 100%; } }

/* Trust strip */
.trust-strip { background: var(--blue); color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; padding: 18px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; justify-content: center; }
.trust-item .icon { width: 26px; height: 26px; background: rgba(255, 255, 255, .18); border-radius: 50%; padding: 4px; }
@media (max-width: 760px) { .trust-inner { grid-template-columns: 1fr; gap: 8px; padding: 16px 0; } .trust-item { justify-content: flex-start; } }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-6 { grid-column: span 6; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--ink); color: var(--blue); display: grid; place-items: center; margin-bottom: 8px; }
.service-list { margin: 6px 0 14px; display: grid; gap: 12px; }
.service-list li { position: relative; padding-left: 26px; }
.service-list li::before { content: ""; position: absolute; left: 0; top: .48em; width: 14px; height: 14px; border-radius: 50%; background: var(--blue-tint); box-shadow: inset 0 0 0 4px var(--blue); }
.service-list strong { display: block; font-weight: 700; }
.service-list span { display: block; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.service-photo { display: block; margin: -30px -28px 10px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-photo img { transform: scale(1.03); }
.service-card.has-photo { overflow: hidden; }
.service-intro { margin: 0 0 6px; color: var(--muted); }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }
.service-tags li { padding: 6px 12px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-deep); font-weight: 600; font-size: .92rem; }
/* A section with no photo yet: same frame as a cover photo, with its icon. */
.service-photo-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(135deg, var(--ink-3), var(--ink)); color: var(--blue); }
.span-6 .service-photo-empty { aspect-ratio: 16 / 5; }
.service-photo-empty span { color: var(--muted-on-dark); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.service-photo-empty .icon { width: 64px; height: 64px; opacity: .9; }
.service-links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }

/* Hardscaping leads the section: dark, full width, with a photo once one is posted. */
.service-card-feature { background: var(--ink); color: #fff; border-color: var(--ink); padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.service-card-feature.has-photo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
/* Long button labels wrap instead of pushing out of the card on small phones. */
.service-card-feature .btn, .service-links .btn { white-space: normal; text-align: center; }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
.service-card-feature:hover { border-color: var(--ink); }
.service-card-feature .service-icon { background: var(--blue); color: #fff; }
.service-card-feature h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.service-card-feature .service-intro { color: var(--muted-on-dark); font-size: 1.1rem; max-width: 56ch; }
.service-card-feature .service-list span { color: var(--muted-on-dark); }
.service-card-feature .text-link { color: #fff; }
.service-feature-text { display: flex; flex-direction: column; gap: 12px; }
.service-feature-text .service-links { margin-top: 10px; }
.service-feature-photo { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.service-feature-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .span-2, .span-3 { grid-column: span 1; }
  .span-6, .service-grid > .service-card:last-child:nth-child(even) { grid-column: 1 / -1; }
  .service-grid > .service-card:last-child:nth-child(even) .service-photo-empty { aspect-ratio: 16 / 5; }
  .service-card-feature.has-photo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card-feature { padding: 30px 24px; }
}

/* Project cards */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.project-grid-featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.project-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.section-dark .project-card { background: var(--ink-3); border-color: var(--line-on-dark); color: #fff; }
.project-media { display: block; }
.project-media:hover { text-decoration: none; }
.project-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: .9rem; }
.section-dark .project-meta .muted { color: var(--muted-on-dark); }
.project-title { margin: 2px 0 0; font-size: 1.45rem; }
.project-title a { color: inherit; }
.project-body p { color: var(--muted); margin: 0; }
.section-dark .project-body p { color: var(--muted-on-dark); }
.project-body .text-link { margin-top: 6px; }
.chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-deep); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.section-dark .chip { background: rgba(48, 150, 224, .18); color: #8ccaf7; }
.project-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; }
.project-card-featured .project-body { padding: 36px 40px; justify-content: center; }
.project-card-featured .project-title { font-size: 2rem; }
@media (max-width: 860px) { .project-card-featured { grid-template-columns: 1fr; } .project-card-featured .project-body { padding: 24px; } }

.photo-grid { display: grid; gap: 4px; background: var(--ink); }
.photo-grid-1 { grid-template-columns: 1fr; }
.photo-grid-2 { grid-template-columns: 1fr 1fr; }
.photo-grid-3, .photo-grid-4 { grid-template-columns: 1fr 1fr; }
/* Phones: the lead project shows one full-width photo instead of two
   postage stamps side by side. */
@media (max-width: 640px) {
  .project-card-featured .photo-grid-2 { grid-template-columns: 1fr; }
  .project-card-featured .photo-grid-2 .photo:nth-child(n+2) { display: none; }
}
.project-detail-photos .photo-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; background: transparent; }
.photo { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.project-detail-photos .photo { border-radius: var(--radius-sm); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.project-media:hover .photo img { transform: scale(1.03); }
.photo-tag, .ba-label { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 7px; background: rgba(11, 13, 16, .72); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(4px); }
.photo-after .photo-tag { background: var(--blue); }
.photo-empty { aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--muted); background: var(--paper-2); }

/* Before / after comparison */
.ba { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; --ba-pos: 50%; }
.ba-large { aspect-ratio: 16 / 10; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--ba-pos); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 12px rgba(0, 0, 0, .5); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .35); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 7px solid transparent; transform: translateY(-50%); }
.ba-handle span::before { left: 8px; border-right-color: var(--ink); border-left: 0; }
.ba-handle span::after { right: 8px; border-left-color: var(--ink); border-right: 0; }
.ba-label-after { left: auto; right: 12px; background: var(--blue); }
.ba-range { position: absolute; width: 1px; height: 1px; opacity: 0; bottom: 0; left: 0; }
.ba:focus-within .ba-handle { background: var(--blue); }
.ba-hint { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 10px; }
.project-hero .ba { border-radius: var(--radius); }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--ink-3); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-after .photo-tag { background: var(--blue); }
.photo[data-lightbox] { cursor: zoom-in; }
.photo.is-video[data-lightbox], .gallery-tile.is-video { cursor: pointer; }
/* Round play button over a clip's poster frame. */
.play-badge { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(11, 13, 16, .6); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); pointer-events: none; transition: transform .2s, background .2s; }
.play-badge::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.is-video:hover .play-badge, .project-media:hover .play-badge { background: var(--blue); transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 8, 10, .94); display: grid; place-items: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img, .lightbox video { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox video { background: #000; }
.lightbox img[hidden], .lightbox video[hidden] { display: none; }
.lightbox figcaption { color: rgba(255, 255, 255, .85); text-align: center; font-size: .98rem; }
.lb-project { color: rgba(255, 255, 255, .5); }
.lb-project:not(:empty)::before { content: "· "; }
.lb-close, .lb-prev, .lb-next { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 64px 12px 84px; } .lightbox img, .lightbox video { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lb-prev { left: 14px; } .lb-next { right: 14px; } .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
body.lb-open { overflow: hidden; }

/* About */
#about { background: var(--paper-2); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-text .btn { margin-top: 8px; }
.about-p { font-size: 1.08rem; }
.about-figure { margin: 0; padding-right: 18px; }
.about-img { position: relative; }
.about-img::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius); background: var(--blue); opacity: .9; z-index: 0; }
.about-img img { position: relative; z-index: 1; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-figure figcaption { margin-top: 30px; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-figure { max-width: 460px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-details { margin-top: 24px; display: grid; gap: 14px; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-details .icon { color: var(--blue); width: 36px; height: 36px; padding: 8px; background: var(--blue-tint); border-radius: 10px; }
.contact-social { margin-top: 32px; }
.contact-social .eyebrow { margin-bottom: 12px; }
.social-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--text); font-weight: 700; transition: border-color .2s, box-shadow .2s, transform .2s; }
.social-btn .icon { width: 22px; height: 22px; color: var(--blue); }
.social-btn:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--text); }
.contact-form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: .95rem; }
.field em { color: var(--blue); font-style: normal; }
.field small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(48, 150, 224, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.form-note { color: var(--muted); font-size: .9rem; margin: 0; }
.form-error { background: #fff1f0; border: 1px solid #f5c2be; color: #a3271f; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.form-success { text-align: center; padding: 30px 10px; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.success-icon .icon { width: 34px; height: 34px; }
.form-success p { color: var(--muted); }
.contact-form.is-sending { opacity: .6; pointer-events: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Secondary pages */
.page-head { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 90px) 0 clamp(36px, 5vw, 64px); }
.page-head h1 { color: #fff; }
.page-head .lead { color: var(--muted-on-dark); }
.page-head-compact { padding-bottom: clamp(28px, 4vw, 48px); }
.page-head .muted { color: var(--muted-on-dark); }
.crumbs { color: var(--muted-on-dark); font-weight: 600; margin-bottom: 1rem; }
.crumbs a { color: #8ccaf7; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.filter-chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 700; font-size: .95rem; }
.filter-chip:hover { text-decoration: none; border-color: #fff; }
.filter-chip.is-active { background: var(--blue); border-color: var(--blue); }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); background: var(--paper-2); border-radius: var(--radius); }
.cta-band { background: var(--blue); color: #fff; padding: clamp(40px, 5vw, 64px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; }
.project-hero { margin-bottom: clamp(32px, 4vw, 56px); }
.project-hero-multi { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project-hero-multi .ba-hint { grid-column: 1 / -1; }
.ba-caption { text-align: center; color: var(--muted); font-size: .92rem; margin: 10px 0 0; }
@media (max-width: 760px) { .project-hero-multi { grid-template-columns: 1fr; } }
.project-detail-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.project-detail-text .btn { margin-top: 12px; }
@media (max-width: 900px) { .project-detail-grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-on-dark); }
.footer-logo { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 16px; }
.footer-name { font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 4px; }
.site-footer h4 { color: var(--blue); }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; font-size: .92rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .muted, .site-footer .muted { color: rgba(255, 255, 255, .5); }
.footer-bottom a { color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .service-card, .service-photo img, .play-badge, .social-btn, .project-card, .photo img, .text-link .icon { transition: none; } }

/* Privacy and other plain-text pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li { margin-bottom: .6em; }
