@font-face {
  font-family: 'Dara Condensed';
  src: url('fonts/open-sans-condensed-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@media screen {
  :root {
    --ink: #102236;
    --navy: #162c43;
    --gold: #edaa2d;
    --gold-dark: #895909;
    --mist: #f3f1eb;
    --text: #344456;
    --line: #d4d8d8;
    --heading: 'Dara Condensed','Arial Narrow',Arial,sans-serif;
  }
  html {scroll-padding-top: 74px}
  body {background: white; color: var(--ink); font-family: Inter,system-ui,-apple-system,'Segoe UI',sans-serif; line-height: 1.58}
  .wrap {width: min(1240px,calc(100% - clamp(2.4rem,10vw,10rem)))}
  h1,h2,h3 {font-family: var(--heading); text-transform: uppercase; font-weight: 700; letter-spacing: -.022em; line-height: 1.03}
  h2 {font-size: clamp(2.5rem,4.5vw,4.2rem)}
  h3 {font-size: 1.55rem}
  a {color: #1b4b62}
  .btn,.navquote {border-radius: 4px; background: var(--gold); color: #142236; font-weight: 750}
  .btn {padding: .77rem 1.22rem}
  .btn.secondary {background: transparent; border-color: #9ca8b2}
  .bar {position: sticky; top: 0; z-index: 5; background: var(--ink); border-bottom: 1px solid #ffffff18}
  .bar .wrap {min-height: 74px; gap: 1rem}
  .brand img {width: clamp(156px,16vw,205px); height: auto; mix-blend-mode: screen}
  .bar nav {gap: clamp(.65rem,1.65vw,1.55rem)}
  .bar nav a {text-transform: uppercase; font-size: .78rem; letter-spacing: .065em; font-weight: 750; color: #e1e5e9}
  .bar nav a:hover {color: #ffc45c; text-decoration: none}
  .bar nav .navquote {color: var(--ink); padding: .68rem 1.12rem}
  .bar nav .navquote:hover {color: var(--ink); background: #ffc45c}
  .menu-toggle,.mobile-call {display: none}
  .hero {background: var(--ink)}
  .hero h1 {font-size: clamp(3.25rem,6.25vw,6.25rem)}
  .hero .lead {color: #d9e2e9; font-size: clamp(1.03rem,1.35vw,1.15rem); max-width: 55ch}
  .eyebrow,.photo-group,.case-label {font-size: .74rem; line-height: 1.4; font-weight: 760; letter-spacing: .15em; text-transform: uppercase}
  .eyebrow {color: var(--gold-dark); display: flex; align-items: center; gap: .63rem; margin: 0 0 .85rem}
  .eyebrow::before {content: ''; height: 2px; width: 1.35rem; flex: none; background: currentColor}
  .hero .eyebrow,#team .eyebrow,#contact .eyebrow {color: #efad38}
  .homepage .hero {position: relative; overflow: hidden; isolation: isolate}
  .homepage .hero-photo {position: absolute; z-index: -2; right: 0; top: 0; height: 100%; width: 61%; border-radius: 0; object-position: 49% 53%}
  .homepage .hero::after {content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,var(--ink) 34%,rgba(16,34,54,.97) 43%,rgba(16,34,54,.70) 54%,rgba(16,34,54,.06) 78%)}
  .homepage .hero .wrap {display: block; padding: clamp(3.5rem,5.8vw,6.5rem) 0}
  .homepage .hero .wrap > div {max-width: min(52%,650px)}
  .homepage .hero h1 {max-width: 15ch}
  .homepage .hero .proof a {color: #d1dbe3; text-decoration-color: #71818f}
  .actions {margin-top: 1.6rem}
  .section {padding: clamp(3.3rem,5.5vw,6rem) 0}
  .homepage .section + .section {border-top: 0}
  .homepage .feature {background: #efb344; color: var(--ink); padding: clamp(2.5rem,4.7vw,4.4rem) 0}
  .feature .wrap {grid-template-columns: .95fr 1.25fr; align-items: center; gap: clamp(2rem,6vw,6.2rem)}
  .homepage .feature .eyebrow {color: #513a10}
  .homepage .feature h2 {font-size: clamp(2.4rem,4.15vw,3.9rem); max-width: 16ch}
  .feature .stats {display: flex; gap: .9rem; align-items: baseline; color: #29303a; margin-top: .85rem; font-size: .95rem; font-weight: 600}
  .feature .stats span + span {border-left: 1px solid #866117; padding-left: .9rem}
  .feature .stats b {font-size: 1.25rem}
  .homepage .feature .wrap > div + div {border-left: 1px solid #a87d32; padding-left: clamp(1.5rem,4.2vw,4.4rem)}
  .feature .links a,.about-copy a,.case-link a,#services .links a {color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .25em}
  .feature .links,.about-copy .links {gap: .6rem 1.5rem}
  .links a:hover,.case-link a:hover {text-decoration-thickness: 2px}
  #services {background: #fff}
  #services .grid {grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.85rem,1.7vw,1.55rem); margin-top: 2rem}
  #services .card {display: flex; flex-direction: column; border: 1px solid #dadcda; border-radius: 7px; background: #fff}
  #services .card img {aspect-ratio: 1.65; height: auto; max-height: none}
  #services .card .pad {padding: clamp(1.1rem,1.6vw,1.6rem); display: flex; flex-direction: column; flex: 1}
  #services .card h3 {font-size: clamp(1.28rem,1.95vw,1.85rem); line-height: 1.13}
  #services .card p {color: var(--text); margin: .7rem 0 1.1rem}
  #services .links {margin-top: auto; padding-top: .68rem; border-top: 2px solid #e7aa39; font-size: .87rem}
  #about {background: #eae7df}
  #about .wrap {display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: stretch}
  .about-picture {position: relative; min-height: 320px; overflow: hidden; background: #273a49; border-radius: 7px 0 0 7px}
  .about-picture img {position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%}
  .about-copy {background: #fff; border-radius: 0 7px 7px 0; padding: clamp(2.1rem,4.6vw,5rem); align-content: center}
  .about-copy .intro {font-size: clamp(1rem,1.45vw,1.16rem); line-height: 1.65; color: var(--text); margin: .95rem 0 1.45rem; max-width: 50ch}
  #team {background: var(--navy); color: white}
  #team h2,#team h3,#team .role {text-align: center}
  #team .eyebrow {justify-content: center; margin-bottom: .65rem}
  #team .grid {grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,1.9vw,2rem); margin-top: clamp(2rem,3.3vw,3.2rem)}
  #team .team {padding: clamp(1.7rem,2.8vw,2.5rem) clamp(1.3rem,2.1vw,2.15rem); color: var(--ink); border: 0; border-radius: 10px; box-shadow: 0 8px 22px #06152522}
  #team .team img {width: clamp(120px,10.75vw,148px); height: auto; aspect-ratio: 1; display: block; object-fit: cover; object-position: center; margin: 0 auto 1.4rem; border: 3px solid var(--gold); border-radius: 50%}
  #team .pad {padding: 0}
  #team h3 {font-size: clamp(1.42rem,2.05vw,1.8rem)}
  #team .role {margin: .25rem 0 1.14rem; color: var(--gold-dark); font-weight: 750; text-transform: uppercase; letter-spacing: .055em; font-size: .8rem; line-height: 1.4}
  #team .pad > p:not(.role) {color: var(--text); font-size: .95rem; line-height: 1.63; text-align: left}
  #portfolio {background: var(--mist)}
  .gallery-head,.viewer-foot {display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem}
  .gallery-controls,.viewer-actions {display: flex; gap: .44rem}
  .gallery-controls button,.viewer button {display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font: 600 1.24rem/1 system-ui; cursor: pointer}
  .gallery-controls button {background: transparent; color: var(--ink); border: 1px solid #a1aaa9}
  .gallery-controls button:hover {background: var(--ink); border-color: var(--ink); color: white}
  .gallery-controls [data-gallery=motion] {font-size: .95rem}
  .gallery-controls [data-motion-icon] {display: inline-block; box-sizing: border-box; width: 10px; height: 12px; border-inline: 3px solid currentColor}
  .gallery-controls [data-playing=false] [data-motion-icon] {width: 0; height: 0; border: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor}
  .filters {display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.65rem 0 1.05rem}
  .filters button {font-family: inherit; font-size: .86rem; font-weight: 660; line-height: 1.3; border: 1px solid #bfc3c0; color: var(--text); padding: .59rem .92rem; background: transparent; border-radius: 4px; cursor: pointer}
  .filters button[aria-pressed=true] {background: var(--ink); border-color: var(--ink); color: #fff}
  .filters button:hover:not([aria-pressed=true]) {background: #e7e3d8}
  .gallery-rail {--per-view: 3; --rail-gap: clamp(.8rem,1.5vw,1.4rem); display: flex; gap: var(--rail-gap); margin: 1rem 0 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-color: #a99e85 transparent; scrollbar-width: thin; padding-bottom: .7rem}
  .gallery-rail figure {flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--rail-gap)) / var(--per-view)); min-width: 0; scroll-snap-align: start}
  .photo-link {position: relative; display: block; overflow: hidden; border-radius: 6px; background: #ced4d6; color: white}
  .photo-link img {width: 100%; display: block; height: auto; aspect-ratio: 4/3; object-fit: cover}
  .photo-link .enlarge {position: absolute; bottom: .7rem; right: .7rem; display: grid; place-items: center; width: 2rem; height: 2rem; background: #102236d9; color: white; border: 1px solid #ffffff6e; border-radius: 50%; font: 1.05rem/1 system-ui}
  .photo-link .enlarge {font-size: 0}
  .enlarge::before {position: absolute; content: ''; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translate(1px,-1px)}
  .enlarge::after {position: absolute; content: ''; width: 13px; height: 2px; background: currentColor; transform: rotate(-45deg)}
  .photo-link:focus-visible {outline-offset: -4px}
  .gallery-rail figcaption {padding: .85rem 0 .1rem}
  .photo-group {display: block; color: #765016; font-size: .66rem}
  .photo-title {display: block; font: 700 clamp(1.18rem,1.7vw,1.55rem)/1.17 var(--heading); margin-top: .26rem}
  .case-link {display: flex; gap: .5rem 1rem; align-items: baseline; flex-wrap: wrap; border-top: 1px solid #c7c9c3; padding-top: 1rem; margin-top: 1.15rem; font-size: .95rem}
  .case-label {color: #6e501f; font-size: .68rem}
  .viewer {width: max-content; max-width: min(96vw,1150px); background: var(--ink); color: white; border: 0; padding: 0; border-radius: 8px}
  .viewer::backdrop {background: #07131ee8}
  .viewer-shell {position: relative; min-width: min(310px,90vw)}
  .viewer img {display: block; width: auto; height: auto; max-height: 74vh; max-height: 74dvh; max-width: 100%; margin: 0 auto; object-fit: contain}
  .viewer button {color: white; background: #102236ed; border: 1px solid #a7b2b9}
  .viewer-close {position: absolute; top: .7rem; right: .7rem}
  .viewer-foot {align-items: center; padding: .75rem 1rem}
  .viewer-caption {font-size: .95rem}
  #contact {background: #20394d; color: white}
  #contact aside {padding-top: .4rem}
  #contact h2 {max-width: 14ch; margin-bottom: 1.3rem}
  #contact aside p:not(.eyebrow) {color: #d7e0e6; margin-bottom: 1rem}
  #contact aside a {color: #fff; text-decoration-color: #adbdc5}
  #contact aside a[href^=tel] {font-weight: 750}
  #contact aside a[href^=mailto] {overflow-wrap: anywhere}
  #contact .formbox {color: var(--ink); border: 0; border-top: 4px solid var(--gold); padding: clamp(1.35rem,2.6vw,2.3rem); border-radius: 7px}
  #contact .fields {gap: .8rem 1.1rem}
  footer {background: #0e1d2c; color: #dce3e9; font-size: .9rem}
  footer a {color: #e8edf0}
  @media(max-width:1040px){.bar nav .navphone {display: none}}
  @media(max-width:920px){
    #services .grid {grid-template-columns: repeat(2,minmax(0,1fr))}
    .gallery-rail {--per-view: 2}
    #team .grid {gap: .85rem}
    #team .team {padding-inline: 1.1rem}
    .homepage .hero .wrap > div {max-width: 58%}
  }
  @media(max-width:740px){
    .wrap {width: calc(100% - 2.25rem)}
    html {scroll-padding-top: 66px}
    .bar .wrap {min-height: 66px; flex-wrap: wrap; justify-content: flex-start; gap: .5rem}
    .brand img {width: clamp(142px,31vw,175px); height: auto}
    .mobile-call,.menu-toggle {display: inline-flex; align-items: center; min-height: 40px; font: 700 .83rem/1 system-ui}
    .mobile-call {margin-left: auto; color: var(--ink); padding: .5rem .7rem; background: var(--gold); border-radius: 4px; text-decoration: none}
    .menu-toggle {border: 1px solid #8897a3; padding: .5rem .7rem; color: white; background: transparent; border-radius: 4px; cursor: pointer}
    .bar nav {width: 100%; padding: .65rem 0 .25rem; gap: .6rem 1rem}
    .bar nav a {font-size: .73rem}
    .bar nav .navquote {background: transparent; color: #ffbf4c; padding: .4rem 0}
    .bar .nav-ready:not(.nav-open) nav {display: none}
    .homepage .hero .wrap {padding: 2.7rem 0 1.65rem}
    .homepage .hero .wrap > div {max-width: 100%}
    .homepage .hero h1 {font-size: clamp(2.85rem,8.9vw,4.2rem); max-width: 16ch}
    .homepage .hero::after {display: none}
    .homepage .hero-photo {position: static; width: 100%; height: auto; aspect-ratio: 2.3; margin-top: 1.55rem; border-radius: 4px; object-position: center 56%}
    .hero .wrap.plain {padding-block: 2.6rem}
    .homepage .feature .wrap,.contact-layout {grid-template-columns: 1fr; gap: 1.4rem}
    .homepage .feature .wrap > div + div {border: 0; padding-left: 0}
    #about .wrap {grid-template-columns: .8fr 1.2fr}
    .about-copy {padding: 1.6rem}
    #team .grid {grid-template-columns: 1fr}
    #team .team {padding: 1.7rem clamp(1.4rem,6vw,3.2rem)}
    #team .team img {width: 124px}
    #team h3 {font-size: 1.55rem}
    .fields {grid-template-columns: 1fr}
    #contact h2 {max-width: 18ch}
    .gallery-controls button {width: 38px; height: 38px}
  }
  @media(max-width:600px){
    #about .wrap {display: flex; flex-direction: column}
    .about-picture {min-height: 0; height: clamp(170px,53vw,270px); border-radius: 6px 6px 0 0}
    .about-picture img {object-position: center 54%}
    .about-copy {border-radius: 0 0 6px 6px}
    .gallery-head {flex-wrap: wrap; gap: .75rem}
    .gallery-head h2 {font-size: clamp(2.15rem,7.7vw,2.85rem)}
    .gallery-controls {gap: .3rem}
    .gallery-controls button {width: 40px; height: 40px}
    .filters {flex-wrap: nowrap; overflow-x: auto; max-width: 100%; margin: .85rem 0 .35rem; padding: .2rem .12rem .4rem; scrollbar-width: thin; scrollbar-color: #b0a996 transparent}
    .filters button {flex: none; min-height: 40px}
    .gallery-rail {margin-top: .4rem}
    .filters button {padding: .52rem .65rem; font-size: .81rem}
    .gallery-rail {--per-view: 1}
    .gallery-rail figure {flex-basis: 88%}
    .gallery-rail::after {content: ''; flex: 0 0 max(0px,calc(12% - var(--rail-gap)))}
    .gallery-rail figcaption {padding-top: .65rem}
    .case-link {display: grid; gap: .3rem}
  }
  @media(max-width:480px){
    #services .grid {grid-template-columns: 1fr}
    #services .card img {aspect-ratio: 2.35}
    #services .card h3 {font-size: 1.55rem}
  }
  @media(prefers-reduced-motion:reduce){html {scroll-behavior: auto}}
}
