:root{--navy:#111e42;--blue:#25396f;--gold:#ffd329;--ink:#142242;--muted:#5c6880;--line:#e1e6f0;--paper:#f4f6fb;font-family:"DM Sans",Arial,sans-serif;color:var(--ink);font-size:16px}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,summary{cursor:pointer}img{display:block;width:100%;object-fit:cover}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.045em}p{line-height:1.65}.wrap{width:min(1280px,calc(100% - 96px));margin:auto}.utility{background:#0d1732;color:#dce4ff;font-size:.8rem}.utility .wrap{display:flex;justify-content:space-between;align-items:center;min-height:35px}.utility i{color:var(--gold);font-style:normal;margin-right:.4rem}.head{background:white;position:sticky;top:0;z-index:9;box-shadow:0 1px 0 #172b5814}.head .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px}.brand{display:flex;gap:10px;align-items:center;font-weight:900;line-height:1;letter-spacing:-.055em;font-size:1.35rem;white-space:nowrap}.brand small{display:block;font-size:.55rem;letter-spacing:.27em;margin-top:6px;font-weight:800}.mark{display:grid;place-items:center;font-size:1.45rem;width:39px;aspect-ratio:1;border-radius:9px;background:var(--blue);color:var(--gold)}nav{display:flex;align-items:center;gap:20px;font-size:.83rem;font-weight:700}nav a:hover,.textlink:hover{color:#5168ad}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:7px;padding:13px 20px;background:var(--gold);color:#17203a;font-weight:800;line-height:1.2;white-space:nowrap;transition:transform .2s,background .2s;cursor:pointer}.button:hover{transform:translateY(-2px);background:#ffe475}.button.dark{background:var(--blue);color:white}.button.outline{background:#07133150;color:white;border-color:#ffffff65}.button.outline:hover{background:#ffffff20}.mobile{display:none}.hero{background:linear-gradient(115deg,#0c1735,#25396f);color:white;position:relative;isolation:isolate;overflow:hidden}.hero-visual{position:absolute;inset:0 0 0 35%;z-index:-2;height:100%;object-position:50% 55%;width:65%}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0c1735 0%,#101e40 32%,#101e4085 52%,#101e4000 77%),linear-gradient(0deg,#101e4080,transparent 24%)}.hero .wrap{min-height:530px;display:flex;align-items:center;padding:60px 0}.hero-copy{max-width:630px}.eyebrow{display:flex;align-items:center;gap:11px;color:#52669b;font-size:.75rem;letter-spacing:.17em;font-weight:900;text-transform:uppercase;margin-bottom:17px}.eyebrow:before{content:"";display:inline-block;width:25px;height:2px;background:var(--gold)}.hero .eyebrow,.cta .eyebrow{color:var(--gold)}h1{font-size:clamp(2.9rem,5.1vw,5.25rem);line-height:.99;margin-bottom:22px;font-weight:850}.hero h1 span{color:var(--gold)}.hero p{color:#dce5fa;max-width:490px;margin-bottom:26px}.actions{display:flex;flex-wrap:wrap;gap:12px}.ribbon{background:#edf1fb;border-bottom:1px solid #e1e8f7}.ribbon .wrap{display:grid;grid-template-columns:repeat(4,1fr);min-height:78px;align-items:center}.ribbon div div{display:flex;justify-content:center;align-items:center;gap:9px;font-weight:800;font-size:.88rem}.ribbon div div+div{border-left:1px solid #d5dff2}.ribbon b{color:#5065a1;font-size:1.15rem}section{padding:78px 0;scroll-margin-top:70px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:29px}.section-head p{color:var(--muted);margin-bottom:0}h2{font-size:clamp(2rem,3.4vw,3.4rem);line-height:1.05;margin-bottom:10px}h3{font-size:1.35rem;margin-bottom:8px}.textlink{font-weight:850;color:var(--blue)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:white;transition:transform .25s,box-shadow .25s}.card:hover{transform:translateY(-5px);box-shadow:0 15px 35px #192c581a}.card img{height:190px;transition:scale .3s}.card:hover img{scale:1.035}.card-body{padding:22px;position:relative;background:white}.card p{color:var(--muted);margin-bottom:14px}.icon{display:grid;place-items:center;width:39px;height:39px;border-radius:9px;background:var(--gold);color:var(--ink);font-weight:900;margin-bottom:13px}.card-body .icon{position:absolute;top:-25px;right:17px;border:3px solid white}.light{background:var(--paper)}.split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.split img{height:440px;border-radius:14px}.split li{margin:12px 0}.cta{color:white;background:linear-gradient(120deg,#101c3d,#354d8e)}.cta p{color:#e0e8ff}.footer{background:#101a33;color:#dbe4fa;padding:50px 0 25px}.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:25px}.footer a{display:block;margin-bottom:9px}.footer .brand{display:flex;color:white;margin-bottom:20px}.fine{border-top:1px solid #ffffff28;padding:18px 0 0;margin-top:20px;font-size:.85rem}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.pill{padding:8px 13px;border-radius:22px;border:1px solid var(--line);background:white;color:var(--blue);font-weight:750}.pill[aria-current=true]{background:var(--blue);color:white}.float{position:fixed;right:24px;bottom:24px;background:#1ca25b;color:white;z-index:8;border-radius:50px;padding:13px 17px;font-weight:800;box-shadow:0 5px 22px #0a332a38}.form{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:26px;background:white;border:1px solid var(--line);border-radius:13px}.form label{display:grid;gap:5px;font-weight:700}.form input,.form select,.form textarea,input,select,textarea{min-width:0;border:1px solid #c6d0e2;background:white;border-radius:7px;padding:10px;color:var(--ink)}.full{grid-column:1/-1}.notice{padding:16px;background:#e8f2ec;border-radius:7px;margin:12px 0}.tablebox{overflow:auto}table{border-collapse:collapse;width:100%;background:white}td,th{text-align:left;padding:13px;border-bottom:1px solid var(--line);white-space:nowrap}main.admin{background:var(--paper);min-height:100vh}.admin-grid{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:#101c3d;color:white;padding:23px 17px}.sidebar a{display:block;padding:12px 9px;border-radius:7px}.sidebar a:hover{background:#ffffff18}.admin-body{padding:34px;min-width:0}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:20px 0}.stat{border:1px solid var(--line);background:white;border-radius:10px;padding:16px}.stat strong{display:block;font-size:1.8rem}.stack{display:grid;gap:15px}.hidden,[hidden]{display:none!important}.chart{display:grid;gap:12px;padding:22px;background:white;border-radius:12px}.chart meter{width:min(500px,100%);height:20px}.pipeline{display:grid;grid-template-columns:repeat(6,minmax(155px,1fr));overflow:auto;gap:10px;margin:20px 0}.pipeline div{background:white;border:1px solid var(--line);padding:12px;border-radius:10px}.pipeline a{display:block;padding:8px;background:var(--paper);margin-top:8px;border-radius:6px}video{width:100%}html{scroll-behavior:smooth}@media(max-width:1150px){nav{gap:12px;font-size:.74rem}.wrap{width:calc(100% - 58px)}.head .wrap{gap:12px}.head .button{padding:10px}.brand{font-size:1.15rem}}@media(max-width:920px){.desktop{display:none}.mobile{display:block}.mobile[open] nav{position:absolute;left:0;right:0;top:100%;background:white;display:grid;padding:20px;font-size:1rem;box-shadow:0 12px 20px #15204c23}.hero .wrap{min-height:490px}.hero-visual{inset:0 0 0 20%;width:80%}.cards{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:1fr}.sidebar{display:flex;flex-wrap:wrap;gap:2px}.sidebar .brand{width:100%}}@media(max-width:600px){.wrap{width:calc(100% - 34px)}.utility{font-size:.74rem}.head .wrap{min-height:62px}.head .button{font-size:.8rem}.hero .wrap{min-height:610px;align-items:end;padding:26px 0 42px}.hero-visual{inset:0;width:100%;height:70%;object-position:53% 48%}.hero:after{background:linear-gradient(0deg,#0c1735 19%,#0c1735e8 39%,#0c17351a 76%)}.hero p{font-size:.95rem}.ribbon .wrap{grid-template-columns:1fr 1fr;gap:10px;padding:12px 0}.ribbon div div{font-size:.73rem;justify-content:start}.ribbon div div+div{border:0}section{padding:53px 0}.section-head,.split{display:block}.section-head .textlink{display:inline-block;margin-top:15px}.cards,.foot-grid,.form{grid-template-columns:1fr}.split img{height:250px;margin-bottom:20px}.admin-body{padding:18px}.float{bottom:12px;right:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* The utility bar and site navigation share the same grid. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  transform: translateY(-160%);
  background: white;
  padding: 10px 14px;
  border-radius: 7px;
}

.skip-link:focus { transform: none; }
.site-header .head { position: relative; z-index: auto; }

.utility .wrap {
  min-height: 42px;
  gap: 12px;
  white-space: nowrap;
}

.service-area,
.utility-actions,
.language-bar {
  display: flex;
  align-items: center;
}

.utility-actions { gap: 13px; min-width: 0; }
.utility-contact { font-weight: 720; }
.utility-contact:hover { color: var(--gold); }

.language-bar {
  flex-wrap: nowrap;
  gap: 2px;
  padding: 2px;
  border: 1px solid #ffffff2c;
  border-radius: 6px;
  font-size: .76rem;
  line-height: 1;
}

.language-bar a {
  display: grid;
  align-items: center;
  min-height: 27px;
  padding-inline: 9px;
  border-radius: 4px;
  color: #e5ebff;
  font-weight: 700;
}

.language-bar a:hover { background: #ffffff1a; }
.language-bar a[aria-current] { background: #edf1ff; color: var(--ink); }

.brand img {
  width: 112px;
  height: 65px;
  object-fit: contain;
  flex: none;
}

.head .wrap { min-height: 81px; gap: clamp(12px, 1.5vw, 23px); }
.head nav { gap: clamp(9px, 1.08vw, 20px); white-space: nowrap; font-size: .84rem; }

.head nav > a,
.head .service-menu > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 9px;
  border-radius: 7px;
}

.head .desktop .service-menu > summary {
  border: 1px solid #dce4f3;
  background: #f3f6fc;
}

.head .desktop .service-menu > summary:hover,
.head .desktop .service-menu[open] > summary {
  background: #e8eefb;
  border-color: #bfcee9;
  color: var(--blue);
}

.head nav > a[aria-current=page],
.head .service-menu > .current-section {
  color: #405995;
}

.header-actions { display: flex; align-items: center; white-space: nowrap; }
.service-menu { position: relative; }

.service-menu > summary,
.mobile > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.service-menu > summary::-webkit-details-marker,
.mobile > summary::-webkit-details-marker { display: none; }

.service-menu > summary::after,
.mobile > summary::after {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-inline-start: 8px;
}

.service-menu[open] > summary::after,
.mobile[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.service-menu > .menu-panel {
  position: absolute;
  inset-block-start: calc(100% + 7px);
  inset-inline-start: 0;
  z-index: 12;
  display: grid;
  min-width: max(100%, 278px);
  padding: 7px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  box-shadow: 0 16px 42px #111e4229;
}

.menu-panel a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-height: 45px;
  padding: 9px 12px;
  border-radius: 6px;
}

.menu-panel small {
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.25;
  font-weight: 500;
}

.menu-overview {
  border-block-start: 1px solid var(--line);
  margin-block-start: 4px;
  padding-block-start: 4px;
}

.menu-overview a { color: var(--blue); }

.menu-panel a:hover,
.menu-panel a[aria-current=page] {
  background: #edf1fb;
  color: var(--blue);
}

:focus-visible { outline: 2px solid #4f73cd; outline-offset: 4px; }
.section-head, section { scroll-margin-top: 132px; }

.footer .brand--footer {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 10px 13px;
  margin-block: 0 15px;
  background: white;
  border-radius: 10px;
}

.footer .brand--footer .brand-logo {
  display: block;
  width: 156px;
  height: auto;
  max-width: 100%;
  flex-shrink: 1;
  object-fit: contain;
}

.footer-company { min-width: 0; }
.footer-company p { max-width: 27ch; }

.footer .fine a { display: inline; margin-inline-end: 12px; }

.float {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #126944;
  min-height: 48px;
}

.float span { font-size: 1.15rem; }

.sidebar .admin-brand,
.login-intro .admin-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 12px 5px 21px;
  line-height: 1.1;
}

.admin-brand img { width: 132px; height: 85px; border-radius: 10px; background: white; padding: 6px; }
.admin-brand small { font-size: .62rem; letter-spacing: .13em; margin-top: 5px; }
.login-intro { text-align: center; }
.admin-body { overflow-wrap: anywhere; }

/* Photography and copy move on separate layers. */
.hero {
  background: radial-gradient(ellipse at 68% 42%, #263b68 0, #132445 41%, #0b1630 75%);
}

.hero-stage {
  position: absolute;
  inset: 0 0 0 35%;
  z-index: -2;
  perspective: 1200px;
  overflow: hidden;
}

.hero-perspective {
  width: 100%;
  height: 100%;
  transform: scale(1.015) rotateY(var(--depth-y, 0deg)) rotateX(var(--depth-x, 0deg));
}

.hero .hero-visual {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% 53%;
}

.hero::after {
  background:
    linear-gradient(90deg, #0b1630 0%, #0e1b36 29%, #101e3be8 37%, #101e3b63 53%, transparent 72%),
    linear-gradient(0deg, #09152a91, transparent 43%);
}

.hero .wrap { min-height: clamp(480px, 43vw, 600px); }
.hero-copy { max-width: min(55%, 620px); position: relative; }

.hero h1 {
  font-size: clamp(2.85rem, 5.25vw, 5.15rem);
  line-height: 1.04;
  font-weight: 900;
  margin-bottom: 21px;
  text-shadow: 0 4px 24px #0004;
}

.hero .hero-line { display: block; color: #fff; }
.hero .hero-accent { color: var(--gold); text-shadow: 0 3px 18px #f8bf301e; }
.hero p { max-width: 465px; color: #e5ecfb; }

.card { box-shadow: 0 6px 20px #2038640c; }
.card img { aspect-ratio: 16/9; height: auto; }
.card-body h3 { transition: color .25s ease; }
.card:focus-within .card-body h3, .card:hover .card-body h3 { color: #406099; }

.card { box-shadow: 0 6px 20px #2038640c; }
.card img { aspect-ratio: 16/9; height: auto; }
.card-body h3 { transition: color .25s ease; }
.card:focus-within .card-body h3, .card:hover .card-body h3 { color: #406099; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: static;
}

.service-card .textlink { margin-top: auto; align-self: flex-start; }

.service-image .icon {
  position: absolute;
  inset-inline-end: 12px;
  inset-block-end: 12px;
  z-index: 2;
  margin: 0;
  box-shadow: 0 4px 12px #15295225;
  pointer-events: none;
}

.service-image {
  position: relative;
  overflow: hidden;
  background: #e8edf5;
  perspective: 800px;
}

.service-card img { display: block; object-position: center; }

#services {
  background: radial-gradient(ellipse at 94% 0%, #eaf0fc 0%, white 54%);
}

@media (max-width: 1099px) {
  .head .desktop { display: none; }
  .head .mobile { display: block; margin-inline-start: auto; }
  .head .wrap { min-height: 70px; gap: 15px; }

  .mobile > summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 9px;
    border-radius: 6px;
    font-size: .86rem;
  }

  .mobile[open] > summary { background: #edf1fb; }

  .head .mobile[open] > nav {
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 10px max(17px, calc((100% - 900px)/2)) 14px;
    max-height: min(70svh, 520px);
    overflow: auto;
    overscroll-behavior: contain;
    background: white;
    box-shadow: 0 15px 26px #15204c27;
  }

  .mobile > nav > a,
  .mobile .service-menu > summary {
    padding-inline: 12px;
    border-radius: 6px;
  }

  .mobile .service-menu > summary { justify-content: space-between; }
  .mobile .service-menu[open] > summary { background: #edf1fb; }

  .mobile .service-menu > .menu-panel {
    position: static;
    min-width: 0;
    padding: 3px 0 3px 7px;
    margin: 3px 0 6px 12px;
    border: none;
    border-inline-start: 2px solid #d7e1f3;
    border-radius: 0;
    box-shadow: none;
  }

  .mobile .menu-panel a { padding-inline: 12px; }
  .mobile .menu-panel small { display: none; }
}

@media (831px <= width <= 1100px) {
  .hero .hero-visual { object-position: 80% 53%; }
}

@media (max-width: 830px) {
  .hero { display: flex; flex-direction: column; }
  .hero-stage {
    position: relative;
    inset: auto;
    z-index: 0;
    aspect-ratio: 2.05;
    max-height: 400px;
  }

  .hero-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0b1630 0%, transparent 31%);
    pointer-events: none;
  }

  .hero-perspective { transform: none; }
  .hero .hero-visual { object-position: 60% 54%; }
  .hero::after { display: none; }
  .hero .wrap { min-height: 0; padding: 5px 0 39px; }
  .hero-copy { max-width: min(100%, 610px); }
  .hero h1 { font-size: clamp(2.55rem, 7.8vw, 4rem); }
}

@media (max-width: 600px) {
  .head .wrap { min-height: 63px; gap: 8px; }
  .brand img { width: 89px; height: 54px; }
  .head .button { padding: 11px 10px; min-height: 40px; }
  .utility .wrap { min-height: 39px; gap: 8px; }
  .utility-actions { gap: 8px; }
  .utility-contact { display: none; }
  .language-bar a { padding-inline: 7px; }
  .hero-stage { aspect-ratio: 1.72; }
  .hero .hero-visual { object-position: 62% 54%; }
  .hero .wrap { padding-bottom: 36px; }
  .hero h1 { margin-bottom: 15px; }
  .hero p { margin-bottom: 21px; }
  .actions { gap: 8px; }
  .actions .button { padding-inline: 13px; }
  .form { padding: 16px; }
  .sidebar { padding: 11px; }
  .sidebar a:not(.admin-brand) { padding: 9px 8px; }
  .sidebar .admin-brand { width: 100%; padding-bottom: 15px; }
  .float { bottom: max(12px, env(safe-area-inset-bottom)); right: 12px; }
}

@media (max-width: 350px) {
  .head .wrap, .utility .wrap { width: calc(100% - 22px); }
  .head .wrap { gap: 6px; }
  .brand img { width: 78px; }
  .head .button { padding-inline: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .service-menu[open] > .menu-panel,
  .mobile[open] > nav { animation: menu-in .23s ease-out both; }

  .hero-perspective { transition: transform 420ms cubic-bezier(.2,.7,.2,1); }

  @media (min-width: 831px) and (hover: hover) and (pointer: fine) {
    .hero-stage::before,
    .service-image::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      opacity: 0;
      pointer-events: none;
      background: radial-gradient(ellipse at var(--light-x, 55%) var(--light-y, 35%), #f4e4c738, transparent 58%);
      transition: opacity .55s ease;
    }

    .hero:hover .hero-stage::before,
    .service-card:hover .service-image::after { opacity: 1; }

    .service-card img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
    .service-card:hover img {
      scale: 1;
      transform: scale(1.07) rotateY(var(--depth-y, 0deg)) rotateX(var(--depth-x, 0deg));
    }
  }
  .hero .hero-visual { animation: artwork-in 1.4s cubic-bezier(.17,.72,.21,1) both; }

  .hero-copy > .eyebrow, .hero-copy .hero-line, .hero-copy > p, .hero-copy > .actions {
    animation: copy-in 870ms cubic-bezier(.2,.72,.22,1) both;
  }

  .hero-copy .hero-line { animation-delay: 70ms; }
  .hero-copy .hero-line + .hero-line { animation-delay: 180ms; }
  .hero-copy > p { animation-delay: 270ms; }
  .hero-copy > .actions { animation-delay: 345ms; }

  .reveal-ready [data-reveal] {
    opacity: .78;
    translate: 0 13px;
    transition: opacity 750ms ease, translate 850ms cubic-bezier(.2,.7,.2,1),
      transform .25s ease, box-shadow .25s ease;
  }

  .reveal-ready [data-reveal].revealed,
  .reveal-ready [data-reveal]:focus-within { opacity: 1; translate: none; }

  .click-accent {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 15;
    width: 25px;
    height: 25px;
    border: 1px solid #9b7616;
    border-radius: 50%;
  }

  @keyframes menu-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes artwork-in {
    from { opacity: .68; transform: scale(1.055); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes copy-in {
    from { opacity: 0; transform: translateY(17px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 9px 13px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: .84rem;
  white-space: nowrap;
}

.rating-summary:hover { border-color: #aec0e0; color: var(--blue); }
.rating-star { color: #8f6500; font-size: 1.12rem; }
.rating-source { color: var(--muted); margin-inline-start: 7px; }
.hero .rating-summary { margin-block-start: 16px; background: #172947; color: white; border-color: #ffffff36; }
.hero .rating-star { color: var(--gold); }
.hero .rating-source { color: #dce6fb; }
#reviews .section-head .rating-summary { flex-shrink: 0; }
#reviews .review-card { display: flex; flex-direction: column; }
.review-card p, .review-card blockquote { margin: 0 0 20px; }
.review-card footer { margin-block-start: auto; }
.review-card small { display: block; color: var(--muted); margin-top: 4px; }
.reviews-source { margin-block: 18px 0; }
#main-content > section.light > .wrap > .rating-summary { margin-block-end: 22px; }

.gallery-intro {
  color: white;
  background: radial-gradient(ellipse at 100% 0%, #2e497f, #102141 62%);
  padding-block: clamp(46px, 7vw, 93px);
}
.gallery-intro .eyebrow { color: var(--gold); }
.gallery-intro p { color: #dce6fb; }
.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 21px; }
.photo-tile { margin: 0; min-width: 0; }
.photo-tile figcaption { padding: 10px 2px; color: var(--ink); font-size: .88rem; font-weight: 760; }
.photo-thumb {
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.13;
  border-radius: 14px;
  background: #e7edf8;
  box-shadow: 0 5px 20px #20376319;
}
.photo-thumb:hover .gallery-image { transform: scale(1.045); }
.photo-thumb .gallery-image { width: 100%; height: 100%; object-fit: cover; transition: transform .48s cubic-bezier(.2,.7,.2,1); }
.photo-thumb .gallery-logo, .photo-view .gallery-logo {
  position: absolute;
  inset-inline-end: 9px;
  inset-block-end: 9px;
  padding: 4px;
  width: 65px;
  height: auto;
  object-fit: contain;
  background: #fffffff0;
  border-radius: 5px;
  box-shadow: 0 2px 7px #07142f2b;
  pointer-events: none;
}
.photo-dialog {
  color: white;
  background: #101d36;
  border: 1px solid #ffffff40;
  border-radius: 16px;
  padding: 0;
  width: min(760px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  overflow: auto;
  overscroll-behavior: contain;
}
.photo-dialog::backdrop { background: #071020e8; }
.photo-dialog-inner { position: relative; }
.photo-view { position: relative; background: #061126; }
.photo-view .gallery-image { display: block; width: 100%; height: min(66dvh, 620px); object-fit: contain; }
.photo-close {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff60;
  border-radius: 50%;
  color: white;
  background: #0c1935e8;
  font-size: 1.42rem;
  line-height: 1;
}
.photo-controls { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 10px; }
.photo-controls p { margin: 0; line-height: 1.35; font-size: .87rem; text-align: center; overflow-wrap: anywhere; }
.photo-controls button { min-height: 44px; padding-inline: 9px; border: 1px solid #ffffff55; border-radius: 6px; background: transparent; color: white; font-size: .82rem; }
.photo-controls button:disabled { opacity: .45; cursor: default; }
@media (max-width: 730px) {
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
}
@media (max-width: 400px) {
  .photo-thumb .gallery-logo { width: 49px; inset-block-end: 6px; inset-inline-end: 6px; }
  .photo-tile figcaption { font-size: .8rem; padding-top: 7px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .rating-summary { animation: copy-in 980ms cubic-bezier(.2,.72,.22,1) 450ms both; }
  .hero-copy .hero-line { animation-duration: 1100ms; }
  .photo-dialog[open] .photo-dialog-inner { animation: copy-in .6s cubic-bezier(.22,.61,.36,1) both; }
}

:root {
  --brand-gold: linear-gradient(140deg, #ffe581 0%, #ffd32a 56%, #f1ae12 100%);
  --brand-navy: linear-gradient(140deg, #3c5794 0%, #25396f 50%, #152752 100%);
  --brand-light: linear-gradient(145deg, #fff 0%, #edf2ff 100%);
  --side-shadow: -10px 16px 32px #1d346019, 12px 19px 38px #24417523;
}

.button,
.button:hover,
.pill[aria-current=true] {
  background: var(--brand-gold);
  color: #17203a;
  border-color: #c58b0780;
  box-shadow: 0 5px 13px #a06e1729, inset 0 1px #ffffff73;
}

.button.dark,
.button.outline,
.button.dark:hover,
.button.outline:hover,
.float,
.photo-controls button,
.photo-close {
  background: var(--brand-navy);
  color: #fff;
  border: 1px solid #7187bf82;
  box-shadow: 0 5px 15px #0c19394d, inset 0 1px #ffffff22;
}

.button.outline { border-color: #acc6fa8c; }
.float span { color: var(--gold); }
.pill:not([aria-current=true]),
.head .desktop .service-menu > summary,
.mobile > summary { background: var(--brand-light); }
.pill:not([aria-current=true]):hover { border-color: #8b9ec7; }
.button:hover, .float:hover, .photo-controls button:not(:disabled):hover { filter: brightness(1.09); }
.button:active, .float:active { transform: translateY(1px); }

.image-preview {
  display: block;
  position: relative;
  overflow: hidden;
}

.image-preview img { display: block; width: 100%; }
.service-image .image-preview { cursor: zoom-in; }
.image-preview:hover { cursor: zoom-in; }

.image-expand {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #adbfec8c;
  border-radius: 50%;
  background: var(--brand-navy);
  color: white;
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 4px 11px #10182d3f;
  pointer-events: none;
}

.hero .hero-image { width: 100%; height: 100%; }
.hero .image-expand { left: auto; right: 18px; bottom: 18px; }
.hero:after { pointer-events: none; }
.hero .wrap { pointer-events: none; }
.hero .hero-copy { pointer-events: auto; }
.hero .hero-image:focus-visible { outline-offset: -4px; }

.split-photo { border-radius: 16px; box-shadow: var(--side-shadow); }
.split-photo img { height: clamp(265px, 36vw, 440px); object-fit: cover; }
.card.service-card, .photo-thumb { box-shadow: var(--side-shadow); }
.photo-view { overflow: hidden; }

@media (max-width: 600px) {
  .split-photo { margin-bottom: 16px; }
  .split-photo img { height: min(62vw, 320px); }
  .hero .image-expand { right: 12px; bottom: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .float { transition: transform .25s ease, filter .45s ease, box-shadow .45s ease; }
  .split-photo img, .project-thumb img { transition: transform .8s cubic-bezier(.22,.61,.36,1); }
  .split-photo:hover img, .project-thumb:hover img { transform: scale(1.045); }
}

.admin-nav-desktop nav, .admin-nav-mobile nav {
  display: grid;
  gap: 1px;
  font-size: .9rem;
}

.admin-nav-desktop form, .admin-nav-mobile form { margin-block-start: 12px; }
.admin-nav-mobile { display: none; }
.admin-nav-mobile summary {
  padding: 11px 14px;
  background: var(--brand-navy);
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 920px) {
  .admin .sidebar { display: block; }
  .sidebar .admin-brand { padding-block: 8px 12px; }
  .sidebar .admin-brand img { width: 107px; height: 67px; }
  .admin-nav-desktop { display: none; }
  .admin-nav-mobile { display: block; margin: 0 auto; max-width: 480px; }
  .admin-nav-mobile nav { margin-top: 7px; }
}

.utility-dashboard {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding-inline: 9px;
  background: var(--brand-gold);
  color: var(--ink);
  border-radius: 5px;
  font-weight: 850;
}

.utility-dashboard:hover { filter: brightness(1.07); }
.admin-website { margin-top: 8px; color: #ffe297; font-weight: 760; }
@media (max-width: 350px) {
  .utility-dashboard { padding-inline: 6px; font-size: .74rem; }
}
