:root {
  --paper: #003366;
  --ink: #f1f5f8;
  --muted: #CCCCCC;
  --line: rgba(204, 204, 204, .28);
  --sage: #426b91;
  --navy: #00264d;
  --coral: #e7a075;
  --shell: min(1120px, calc(100vw - 80px));
  --sans: "DM Sans", Arial, sans-serif;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.4; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--coral); outline-offset: 5px; }
.shell { width: var(--shell); margin: 0 auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .65rem 1rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 1rem; }
.site-header { position: absolute; z-index: 5; top: 0; width: 100%; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.wordmark { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.05; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.wordmark-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--sans); font-size: 12px; font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 30px; font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--coral); }
.nav-contact { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.menu-toggle { display: none; border: 0; background: none; color: inherit; font: inherit; }
.hero { min-height: 640px; padding: 125px 0 45px; }
.hero-grid { display: grid; grid-template-columns: 1fr .93fr; align-items: center; gap: 9%; }
.eyebrow, .section-index, .art-label, .project-caption, .footer-inner { font-family: var(--sans); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 30px; color: var(--muted); }
.eyebrow span { color: var(--coral); }
h1, h2 { margin: 0; font-weight: 500; letter-spacing: -.045em; line-height: .92; }
h1 { font-size: clamp(58px, 8.2vw, 112px); }
h2 { font-size: clamp(54px, 7vw, 92px); }
h1 em, h2 em { font-family: var(--sans); font-style: normal; font-weight: 500; letter-spacing: -.06em; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; max-width: 390px; margin-top: 52px; }
.circle-link { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 22px; transition: background .2s ease, color .2s ease; }
.circle-link:hover { background: var(--ink); color: var(--paper); }
.hero-art { position: relative; max-width: 620px; aspect-ratio: 620 / 680; background: var(--sage); overflow: hidden; }
.hero-art svg { display: block; width: 100%; height: 100%; }
.art-label { position: absolute; z-index: 1; color: var(--navy); }
.art-label-top { top: 22px; left: 22px; }
.art-label-bottom { right: 22px; bottom: 22px; writing-mode: vertical-rl; transform: rotate(180deg); }
.section-rule { border-top: 1px solid var(--line); }
.split-layout { display: grid; grid-template-columns: 1fr 2.2fr; gap: 9%; }
.intro { padding: 82px 0 92px; }
.section-index { margin: 8px 0 0; color: var(--muted); }
.intro-content { max-width: 680px; }
.intro-meta { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.placeholder-copy { margin: 0; color: var(--muted); font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.line-arrow { color: var(--coral); font-size: 26px; }
.services { padding: 84px 0 92px; background: #0b4778; }
.section-heading { align-items: start; }
.section-heading h2 { margin-top: 30px; }
.service-list { margin: 58px 0 0 31.4%; border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 1fr 30px; align-items: center; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: color .2s ease; }
.service-item:is(:hover, :focus-visible) { color: var(--coral); }
.service-arrow { font-family: var(--sans); font-size: 10px; }
.service-name { font-family: var(--sans); font-size: clamp(25px, 3vw, 40px); }
.service-arrow { font-size: 20px; text-align: right; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 48px 0 0 31.4%; background: var(--line); border: 1px solid var(--line); }
.service-detail { min-height: 180px; padding: 22px 24px 20px; background: #0b4778; scroll-margin-top: 24px; }
.detail-placeholder, .detail-back { margin: 0; color: var(--muted); font-family: var(--sans); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.service-detail h3 { margin: 26px 0 12px; font-family: var(--sans); font-size: clamp(25px, 3vw, 38px); font-weight: 500; letter-spacing: -.04em; }
.detail-back { display: inline-block; margin-top: 30px; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .2s ease; }
.detail-back:hover { color: var(--coral); }
.projects { padding: 84px 0 95px; }
.projects-heading { display: flex; align-items: baseline; justify-content: space-between; }
.text-link { font-family: var(--sans); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.project-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 7%; align-items: start; margin-top: 58px; }
.project-card { display: block; }
.project-card-small { margin-top: 68px; }
.project-card-offset { margin-top: 145px; }
.project-visual { position: relative; display: flex; align-items: end; min-height: 330px; overflow: hidden; }
.project-card-large .project-visual { min-height: 390px; }
.project-visual span { position: relative; z-index: 1; margin: 22px; font-family: var(--sans); font-size: 10px; letter-spacing: .07em; line-height: 1.45; text-transform: uppercase; }
.visual-terrace { background: #315f86; }
.visual-terrace::before { position: absolute; inset: 18% -10% 0; content: ""; background: repeating-linear-gradient(155deg, transparent 0 48px, rgba(204,204,204,.65) 49px 51px); transform: rotate(-13deg); }
.visual-block { background: var(--navy); color: var(--ink); }
.visual-block::before { position: absolute; inset: 0; content: ""; background: linear-gradient(135deg, transparent 0 29%, rgba(227,125,84,.86) 30% 48%, transparent 49% 100%), linear-gradient(25deg, transparent 0 55%, rgba(204,204,204,.5) 56% 67%, transparent 68%); }
.visual-grid { background: #214f7e; }
.visual-grid::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, transparent 49.5%, rgba(0,51,102,.45) 50% 50.5%, transparent 51%), linear-gradient(0deg, transparent 49.5%, rgba(0,51,102,.45) 50% 50.5%, transparent 51%); background-size: 54px 54px; transform: rotate(18deg) scale(1.3); }
.project-caption { display: flex; justify-content: space-between; padding-top: 15px; color: var(--muted); }
.contact { padding: 86px 0 92px; background: var(--navy); color: var(--ink); }
.contact-inner { display: grid; grid-template-columns: 1fr 2.2fr; gap: 9%; }
.contact .section-index { color: #CCCCCC; }
.contact h2 { grid-column: 2; margin-top: 34px; }
.contact-link { grid-column: 2; width: max-content; margin-top: 36px; border-bottom: 1px solid currentColor; padding-bottom: 7px; font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.contact-link span { color: var(--coral); margin-left: 20px; font-size: 17px; }
.site-footer { background: var(--navy); color: #CCCCCC; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid rgba(204,204,204,.22); }
@media (max-width: 760px) {
  :root { --shell: min(100% - 40px, 600px); }
  .header-inner { padding: 22px 0; }
  .menu-toggle { display: flex; align-items: center; gap: 11px; cursor: pointer; font-family: var(--sans); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
  .menu-toggle-icon { display: grid; gap: 5px; }
  .menu-toggle-icon i { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .site-nav { position: absolute; top: 78px; left: 20px; right: 20px; display: grid; gap: 0; padding: 10px 0; background: var(--paper); border: 1px solid var(--line); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s ease, transform .25s var(--motion-ease), visibility .2s; }
  .site-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav a { padding: 15px 18px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-contact { border-bottom: 0; }
  .hero { min-height: auto; padding: 112px 0 52px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 58px; }
  h1 { font-size: clamp(60px, 18vw, 105px); }
  .hero-bottom { margin-top: 46px; }
  .hero-art { width: 82%; margin-left: auto; }
  .split-layout, .contact-inner { grid-template-columns: 1fr; gap: 50px; }
  .intro, .services, .projects { padding: 68px 0 76px; }
  .section-heading h2 { margin-top: 0; }
  .service-list { margin: 48px 0 0; }
  .service-detail-grid { grid-template-columns: 1fr; margin: 32px 0 0; }
  .project-grid { display: block; margin-top: 48px; }
  .project-card-small, .project-card-offset { margin-top: 48px; }
  .project-card-large .project-visual { min-height: 330px; }
  .project-visual { min-height: 240px; }
  .contact { padding: 68px 0 76px; }
  .contact h2, .contact-link { grid-column: 1; margin-top: 0; }
  .contact-link { margin-top: 30px; }
  .footer-inner { flex-wrap: wrap; font-size: 9px; }
}

.detail-page { min-height: 100vh; background: var(--paper); }
.detail-main { padding: 150px 0 110px; }
.detail-hero { display: grid; grid-template-columns: 1fr 2.2fr; gap: 9%; align-items: end; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.detail-hero h1 { font-size: clamp(64px, 9vw, 126px); }
.detail-kicker { margin: 0 0 24px; color: var(--muted); font-family: var(--sans); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.detail-intro { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.detail-intro p { max-width: 260px; margin: 0; color: var(--muted); font-family: var(--sans); font-size: 11px; line-height: 1.6; text-transform: uppercase; letter-spacing: .05em; }
.detail-index { margin: 0; color: var(--muted); font-family: var(--sans); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.detail-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 72px; background: var(--line); border: 1px solid var(--line); }
.detail-panel { min-height: 210px; padding: 24px; background: #0b4778; }
.detail-panel h2 { margin-top: 56px; font-size: clamp(29px, 3vw, 44px); }
.detail-return { display: inline-block; margin-top: 72px; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-family: var(--sans); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.detail-return:hover { color: var(--coral); }

.text-link, .contact-link, .detail-return, .project-caption { transition: color .2s ease; }
.text-link:is(:hover, :focus-visible), .contact-link:is(:hover, :focus-visible), .project-card:is(:hover, :focus-visible) .project-caption { color: var(--coral); }

/* Small, one-step feedback; transforms leave the surrounding layout in place. */
@media (prefers-reduced-motion: no-preference) {
  .service-name, .service-arrow, .circle-link span, .contact-link span, .project-caption span:last-child { display: inline-block; transition: transform .3s var(--motion-ease); }
  .project-visual { transition: transform .35s var(--motion-ease); }
  .service-item:focus-visible .service-name { transform: translateX(4px); }
  .service-item:focus-visible .service-arrow, .contact-link:focus-visible span, .project-card:focus-visible .project-caption span:last-child { transform: translate(2px, -2px); }
  @media (hover: hover) and (pointer: fine) {
    .service-item:hover .service-name { transform: translateX(4px); }
    .service-item:hover .service-arrow, .contact-link:hover span, .project-card:hover .project-caption span:last-child { transform: translate(2px, -2px); }
    .circle-link:hover span { transform: translateY(3px); }
    .project-card:hover .project-visual { transform: translateY(-3px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .site-nav { transform: none; }
}
@media (max-width: 760px) {
  .detail-main { padding: 110px 0 70px; }
  .detail-hero { grid-template-columns: 1fr; gap: 45px; padding-bottom: 50px; }
  .detail-intro { display: block; }
  .detail-intro p { margin-top: 30px; }
  .detail-panels { grid-template-columns: 1fr; margin-top: 48px; }
  .detail-panel { min-height: 160px; }
  .detail-panel h2 { margin-top: 35px; }
  .detail-return { margin-top: 48px; }
}

/* Category gallery inspired by the Our Work reference. */
.work-shell { max-width: 940px; }
.work-heading { text-align: center; margin-bottom: 58px; }
.work-heading .section-index { margin: 0 0 20px; }
.work-heading h2 { font-size: clamp(42px, 5vw, 66px); line-height: 1.1; letter-spacing: -.035em; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
.work-card { display: block; min-width: 0; text-align: center; }
.work-visual { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 30px; isolation: isolate; }
.work-visual::before { z-index: -1; }
.work-number { position: absolute; top: 24px; left: 26px; font-size: 13px; letter-spacing: .1em; opacity: .8; }
.work-symbol { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(100px, 15vw, 190px); font-weight: 400; line-height: 1; color: #f1f5f8; }
.work-card h3 { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 0; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.work-card h3 span { color: var(--coral); }
.visual-community { background: #315f86; }
.visual-community::before { position: absolute; content: ""; inset: -25%; background: repeating-radial-gradient(circle at center, transparent 0 37px, rgba(204,204,204,.24) 38px 40px, transparent 41px 75px); }
.work-card:is(:hover, :focus-visible) h3 { color: var(--coral); }
@media (prefers-reduced-motion: no-preference) {
  .work-visual, .work-card h3 { transition: transform .3s var(--motion-ease), color .2s ease; }
  .work-card:is(:hover, :focus-visible) .work-visual { transform: translateY(-4px); }
}
@media (max-width: 760px) {
  .work-grid { gap: 38px 24px; }
  .work-heading { margin-bottom: 38px; }
  .work-visual { border-radius: 22px; }
  .work-number { top: 16px; left: 18px; font-size: 10px; }
  .work-symbol { font-size: clamp(70px, 18vw, 130px); }
  .work-card h3 { font-size: 12px; letter-spacing: .06em; gap: 8px; }
}
@media (max-width: 420px) {
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .work-visual { aspect-ratio: 6 / 5; }
  .work-symbol { font-size: 130px; }
}

.work-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }

.work-card h3 { max-width: 390px; margin-left: auto; margin-right: auto; align-items: baseline; }
.work-card h3 span { flex-shrink: 0; }
.service-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; margin-top: 60px; }
.service-overview p { font-size: clamp(20px, 2.3vw, 30px); line-height: 1.5; margin: 0; }
.service-overview img { display: block; width: 100%; height: auto; border-radius: 24px; }
.detail-hero h1 { font-size: clamp(42px, 6vw, 84px); line-height: 1.04; overflow-wrap: break-word; }
@media (max-width: 760px) { .service-overview { grid-template-columns: 1fr; gap: 35px; margin-top: 40px; } }

/* Four services above three centered services on desktop. */
.work-shell { max-width: 1120px; }
.work-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 44px 28px; }
.work-card { grid-column: span 2; }
.work-card:nth-child(5) { grid-column: 2 / span 2; }
.work-card h3 { font-size: 12px; letter-spacing: .06em; gap: 8px; }
.work-visual { border-radius: 24px; }
@media (max-width: 900px) and (min-width: 761px) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
  .work-card, .work-card:nth-child(5) { grid-column: auto; }
  .work-card:last-child { grid-column: 2; }
}
@media (max-width: 760px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .work-card, .work-card:nth-child(5), .work-card:last-child { grid-column: auto; }
}
@media (max-width: 420px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* A shared alignment and compact two-column service directory. */
.services-heading { max-width: 760px; }
.services-heading .eyebrow { margin-bottom: 22px; }
.services-heading h2 { font-size: clamp(44px, 5.5vw, 76px); line-height: 1.05; }
.services .service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 54px; margin: 48px 0 0; border-top: 0; }
.services .service-item { grid-template-columns: minmax(0, 1fr) 24px; min-height: 108px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 0; }
.services .service-name { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.3; letter-spacing: -.02em; }
.services .service-arrow { font-size: 20px; }
@media (max-width: 760px) {
  .services .service-list { grid-template-columns: 1fr; margin-top: 34px; }
  .services .service-item { min-height: 84px; padding: 20px 0; }
}

/* Full-width city photograph with a centered title, in the site's navy palette. */
.home-page .site-header { position: relative; background: var(--navy); }
.hero-photo { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 650px; min-height: clamp(560px, 78svh, 850px); padding: 90px 0 110px; overflow: hidden; background: var(--navy); color: #fff; }
.hero-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 36%; }
.hero-photo::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0,38,77,.32), rgba(0,38,77,.32) 35%, rgba(0,38,77,.75)); }
.hero-photo-content { text-align: center; padding: 25px 0; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-location { margin: 0 0 28px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .22em; }
.hero-photo h1 { font-size: clamp(64px, 8vw, 118px); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
.hero-discipline { margin: 22px 0 0; font-size: clamp(24px, 3vw, 38px); line-height: 1.25; letter-spacing: -.02em; }
.hero-services-link { display: inline-flex; align-items: center; gap: 24px; padding: 12px 0; margin-top: 38px; border-bottom: 1px solid rgba(255,255,255,.7); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.hero-services-link span { color: var(--coral); font-size: 19px; }
.hero-services-link:is(:hover,:focus-visible) { color: var(--coral); }
.hero-photo-credit { position: absolute; right: 28px; bottom: 20px; font-size: 10px; color: rgba(255,255,255,.8); }
.hero-photo-credit:hover { color: #fff; }
@media (max-width: 760px) {
  .hero-photo { min-height: 610px; min-height: min(78svh, 720px); padding: 84px 0 100px; }
  .hero-background { object-position: 53% center; }
  .hero-location { font-size: 10px; letter-spacing: .16em; }
  .hero-photo h1 { font-size: clamp(56px, 14vw, 88px); }
  .hero-photo-credit { right: 20px; left: 20px; bottom: 16px; text-align: center; font-size: 9px; }
}

/* Responsive safeguards and comfortably sized navigation controls. */
img { max-width: 100%; }
.detail-hero > *, .service-overview > *, .contact-inner > * { min-width: 0; }
h1, h2 { overflow-wrap: break-word; }
.site-nav a, .detail-return, .contact-link { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 760px) {
  .header-inner { padding: 18px 0; }
  .menu-toggle { min-height: 44px; min-width: 88px; justify-content: flex-end; padding: 10px 0 10px 10px; }
  .wordmark { min-height: 44px; }
  .intro h2, .contact h2 { font-size: clamp(42px, 10vw, 72px); line-height: 1.02; }
  .work-visual { aspect-ratio: 1; }
  html:not(.js) .header-inner { flex-wrap: wrap; gap: 20px; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-nav { position: static; width: 100%; visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
}


/* Content pages: a shared reading rhythm for biography, services, and projects. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.content-title { font-size: clamp(42px, 5vw, 66px); line-height: 1.08; letter-spacing: -.035em; }
.section-description { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.work-heading .section-description { margin-left: auto; margin-right: auto; }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 9%; align-items: start; margin-top: 40px; }
.about-grid > *, .featured-grid > *, .contact-layout > *, .experience-entry > * { min-width: 0; }
.about-copy p { margin: 0 0 22px; font-size: 18px; line-height: 1.7; }
.about-copy .about-lead { font-size: clamp(24px, 2.5vw, 30px); line-height: 1.45; letter-spacing: -.02em; }
.about-copy p:last-child { margin-bottom: 0; }
.about-background { padding-top: 5px; }
.about-background h3 { margin: 0 0 18px; font-size: 20px; font-weight: 500; }
.about-background p, .credentials { color: var(--muted); font-size: 16px; line-height: 1.65; }
.about-background p { margin: 0; }
.credentials { margin: 26px 0 0; }
.credentials > div + div { margin-top: 20px; }
.credentials dt { color: var(--ink); font-weight: 500; }
.credentials dd { margin: 4px 0 0; }
.selected-projects { padding: 84px 0 92px; background: #0b4778; }
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 64px; margin-top: 48px; }
.featured-project { display: flex; flex-direction: column; align-items: start; padding-top: 24px; border-top: 1px solid var(--line); }
.project-type { margin: 0 0 14px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; }
.featured-project h3, .experience-entry h3 { margin: 0; font-size: clamp(25px, 2.5vw, 30px); font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
.featured-project > p:not(.project-type) { margin: 18px 0; font-size: 17px; line-height: 1.7; }
.project-read-more { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; margin-top: auto; font-size: 14px; border-bottom: 1px solid var(--line); }
.project-read-more > span[aria-hidden], .service-next-step a span { color: var(--coral); }
.project-read-more:hover, .contact-details a:hover, .service-next-step a:hover { color: var(--coral); }
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 9%; align-items: center; }
.contact-layout h2 { margin: 0; font-size: clamp(42px, 4.5vw, 62px); line-height: 1.08; }
.contact-description { max-width: 450px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.contact-details { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: clamp(19px, 2.2vw, 27px); line-height: 1.4; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); }
.contact-details p { margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.service-page .detail-hero { display: block; padding-bottom: 42px; }
.service-page .detail-index { margin-bottom: 22px; }
.service-page .detail-hero h1 { max-width: 980px; font-size: clamp(40px, 5.5vw, 72px); line-height: 1.08; }
.service-page .service-overview { grid-template-columns: 1.3fr 1fr; gap: 8%; }
.service-copy p { margin: 0 0 22px; font-size: 18px; line-height: 1.7; }
.service-copy .service-lead { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.45; letter-spacing: -.02em; }
.service-copy p:last-child { margin-bottom: 0; }
.service-scope, .service-projects, .related-projects { margin-top: 72px; }
.service-scope h2, .service-projects h2, .related-projects h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.025em; }
.service-scope ul, .related-projects ul { list-style: none; padding: 0; margin: 30px 0 0; }
.service-scope ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service-scope li { border-top: 1px solid var(--line); padding-top: 20px; font-size: 18px; line-height: 1.55; }
.experience-entry { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8%; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 32px; scroll-margin-top: 32px; }
.experience-entry > div > p:not(.project-type) { margin: 0 0 18px; font-size: 18px; line-height: 1.7; }
.experience-entry > div > p:last-child { margin-bottom: 0; }
.related-projects ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.related-projects li { border-top: 1px solid var(--line); padding: 18px 0; font-size: 17px; line-height: 1.6; }
.service-next-step { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 72px; padding: 28px 32px; border-radius: 18px; background: #0b4778; }
.service-next-step p { margin: 0; font-size: 24px; line-height: 1.3; letter-spacing: -.02em; }
.service-next-step a { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 16px; }
.service-page .detail-return { margin-top: 38px; }
@media (max-width: 760px) {
  .about-grid, .featured-grid, .contact-layout, .service-page .service-overview, .experience-entry { grid-template-columns: 1fr; }
  .about-grid { gap: 36px; margin-top: 30px; }
  .about-background { border-top: 1px solid var(--line); padding-top: 28px; }
  .selected-projects { padding: 68px 0 76px; }
  .featured-grid { gap: 36px; margin-top: 34px; }
  .contact-layout { gap: 36px; }
  .contact-layout h2 { font-size: clamp(42px, 9vw, 62px); }
  .service-page .service-overview { gap: 32px; }
  .service-page .detail-hero { padding-bottom: 32px; }
  .service-scope, .service-projects, .related-projects { margin-top: 48px; }
  .service-scope ul, .related-projects ul { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .service-scope li { padding: 18px 0; }
  .experience-entry { gap: 22px; margin-top: 28px; padding-top: 24px; }
  .service-next-step { margin-top: 48px; padding: 24px; }
}

/* Contact: put the contact information first in a clean, two-column block. */
.contact-layout { grid-template-columns: 1fr 1fr; align-items: start; }
.contact-layout h2 { grid-column: auto; max-width: 12ch; }
.contact-details { grid-column: 2; grid-row: 1; padding-top: 4px; }
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-details { grid-column: 1; grid-row: auto; }
}

/* Keep directional marks as orange text symbols on mobile font fallback. */
.site-nav a span[aria-hidden="true"],
.hero-services-link span[aria-hidden="true"],
.work-card h3 span[aria-hidden="true"],
.project-read-more span[aria-hidden="true"],
.service-next-step a span[aria-hidden="true"] {
  color: var(--coral);
  font-family: "DM Sans", Arial, sans-serif;
  font-variant-emoji: text;
  font-style: normal;
}

/* Align contact heading and links as a compact, balanced block. */
.contact-layout { grid-template-columns: 1fr 1fr; align-items: center; gap: 8%; }
.contact-layout h2 { max-width: 12ch; }
.contact-details { grid-column: 2; grid-row: 1; padding: 0; }
.contact-details a { font-size: clamp(20px, 2vw, 26px); }
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; gap: 22px; }
  .contact-details { grid-column: 1; grid-row: auto; gap: 6px; }
  .contact-details a { font-size: clamp(20px, 5.5vw, 24px); }
}

/* Photo slideshow with fixed, readable copy and drawn controls. */
.hero-slideshow { min-height: clamp(540px, 76svh, 850px); padding: 80px 0 115px; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slideshow::before { background: linear-gradient(180deg, rgba(0,38,77,.24), rgba(0,38,77,.35) 45%, rgba(0,38,77,.65)); }
.hero-slideshow .hero-photo-content { width: min(960px, calc(100% - 180px)); }
.hero-carousel-controls[hidden] { display: none; }
.hero-step { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; padding: 14px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(0,38,77,.55); color: var(--coral); cursor: pointer; }
.hero-step svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-previous { left: 28px; }
.hero-next { right: 28px; }
.hero-step:hover { background: var(--navy); }
.hero-carousel-toolbar { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; padding: 0 16px; border-radius: 30px; background: rgba(0,38,77,.75); white-space: nowrap; }
.hero-dots { display: flex; align-items: center; }
.hero-dots button { width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: white; }
.hero-dots button::before { content: ""; display: block; width: 7px; height: 7px; margin: auto; border: 1px solid currentColor; border-radius: 50%; }
.hero-dots button[aria-current="true"] { color: var(--coral); }
.hero-dots button[aria-current="true"]::before { background: currentColor; }
.hero-playback { min-height: 44px; border: 0; padding: 8px 0; background: none; color: white; font: 500 11px var(--sans); cursor: pointer; }
@media (max-width: 760px) {
  .hero-slideshow { min-height: 620px; min-height: max(560px, 76svh); padding: 70px 0 105px; }
  .hero-slideshow .hero-photo-content { width: calc(100% - 72px); }
  .hero-slideshow h1 { font-size: clamp(48px, 12vw, 88px); }
  .hero-step { top: auto; bottom: 20px; transform: none; width: 44px; height: 44px; padding: 10px; }
  .hero-previous { left: 16px; }
  .hero-next { right: 16px; }
  .hero-carousel-toolbar { bottom: 20px; gap: 8px; padding: 0 10px; }
  .hero-dots button { width: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* Frame the supplied slideshow photos without white bands or the Benicia bench. */
.hero-slide:nth-child(2) { transform: none; }
.hero-slide:nth-child(3) { object-position: center 35%; }
@media (max-width: 1100px) {
  .hero-slide:nth-child(3) { transform: scale(1.6); transform-origin: center 25%; }
}
@media (max-width: 760px) {
  .hero-slide:nth-child(3) { transform: scale(1.6); }
}
