@font-face {
  font-family: "Aviano Contrast";
  src: url("/assets/aviano-contrast-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/assets/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102839;
  --text: #263b48;
  --muted: #647783;
  --surface: #fff;
  --border: #c9d6dc;
  --cta: #5a7d8d;
  --focus: #285a75;
  --gutter: 16px;
  --display-font: "Aviano Contrast", Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--surface);
  font: 16px/1.55 Inter, system-ui, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
p { margin-top: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin-top: 0; text-wrap: balance; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button, input, textarea, select { font: inherit; }

.v2-container {
  box-sizing: content-box;
  width: calc(100% - 2 * var(--gutter));
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.v2-container--wide { max-width: 1440px; }
.v2-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.v2-eyebrow { font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.v2-skip {
  position: fixed;
  z-index: 20;
  inset: 8px auto auto 8px;
  padding: 12px;
  background: var(--surface);
  transform: translateY(-150%);
}

.v2-skip:focus { transform: none; }
.v2-header { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid #d7e0e4; }
.v2-header .v2-container--wide { max-width: 1600px; }

.v2-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 4fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 70px;
}

.v2-logo-link { display: inline-flex; align-items: center; min-width: 0; min-height: 44px; justify-self: start; }
.v2-brand { width: clamp(156.4px, 11.5vw, 174.8px); height: auto; }
.v2-brand img { width: 100%; height: auto; }

.v2-search { display: flex; position: relative; min-width: 0; }
.v2-search input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 68px 12px 16px;
  color: #0f172a;
  background: #f2efe9;
  border: 1px solid #e4e7ec;
  border-radius: 2px;
}

.v2-search input::placeholder { color: #0f172a; font-family: var(--display-font); opacity: 1; }
.v2-search select {
  flex: 0 0 clamp(118px, 16vw, 188px);
  width: 0;
  min-height: 48px;
  padding-inline: 8px;
  border: 1px solid #e4e7ec;
  border-inline-end: 0;
  border-radius: 2px 0 0 2px;
  color: var(--ink);
  background: #f2efe9;
  font-size: 13px;
  text-overflow: ellipsis;
}
.v2-search:has(select:not([hidden])) input { padding-inline-start: 10px; border-radius: 0 2px 2px 0; }
.v2-search button {
  position: absolute;
  inset: 0 0 0 auto;
  min-width: 60px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 12px;
  cursor: pointer;
}

.v2-mobile, .v2-overlay button, .v2-quote-entry, .v2-secondary {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.v2-mobile, .v2-static-menu, .v2-quote-label { display: none; }
.v2-quote-entry {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  white-space: nowrap;
}

.v2-quote-icon { font: 400 26px/1 Georgia, serif; color: var(--ink); }
.v2-quote-count { display: grid; place-items: center; min-width: 24px; min-height: 24px; padding: 2px 5px; border-radius: 50%; background: var(--cta); color: #fff; font-size: 12px; }
.v2-mobile:hover, .v2-overlay button:hover, .v2-quote-entry:hover, .v2-search button:hover { background: #edf2fd; }
.v2-no-script { padding-block: 8px; margin: 0; }
.v2-no-script a { text-decoration: underline; }
.v2-content-page .v2-quote-entry, .v2-content-page .v2-desktop-nav a:last-child { display: none; }

.v2-desktop-nav {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #e8eef0;
}

.v2-header nav a, .v2-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px; }
.v2-desktop-nav a { color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.v2-header nav a:hover { color: var(--cta); }
.v2--home .v2-desktop-nav a:last-child { margin-left: 24px; padding-left: 24px; border-left: 1px solid #e4e7ec; }

.v2-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #071b2a;
  color: #fff;
}

.v2-home-hero-image { position: absolute; inset: 0; z-index: -2; }
.v2-home-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.v2-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(4 24 38 / 78%) 0%, rgb(4 24 38 / 40%) 40%, transparent 70%);
  pointer-events: none;
}

.v2-home-hero > .v2-container { display: flex; align-items: center; min-height: clamp(320px, 31vw, 560px); padding-block: 16px; }
.v2-home-hero-copy { display: grid; gap: 12px; width: min(76%, 780px); }
.v2-home-hero-copy .v2-eyebrow { margin: 0; }
.v2-home-count { margin: 0; color: #c1d0d8; font-size: 12px; }
.v2-home-hero h1 {
  margin: 0;
  font: 400 clamp(26px, 2.1vw, 32px)/1.12 var(--display-font);
  letter-spacing: .025em;
  text-transform: uppercase;
}

.v2-home-hero-actions, .v2-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.v2-home-hero-actions { margin-top: 4px; }
.v2-home-hero-actions a, .v2-cta-row a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  color: #fff;
}

.v2-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  gap: 22px;
  background: var(--cta);
  color: #fff;
  font-weight: 600;
}

.v2-home-hero-actions .v2-primary { padding: 12px 16px; }
.v2-primary:hover { background: #456a7b; }

.v2-home-hero-actions a:not(.v2-primary) {
  min-height: 44px;
  border: 1px solid rgb(255 255 255 / 60%);
  background: rgb(4 24 38 / 55%);
}

.v2-home-hero-actions a:not(.v2-primary):hover { background: rgb(4 24 38 / 85%); }

.v2--home h2, .v2-footer h2 {
  margin-bottom: 24px;
  font: 400 clamp(24px, 2.25vw, 32px)/1.2 var(--display-font);
  letter-spacing: .025em;
}

.v2-home-categories { padding-block: 28px 40px; }
.v2-home-categories .v2-eyebrow { margin: 0 0 8px; }
.v2-home-categories h2 { margin-bottom: 20px; }
.v2--home main h2 { color: var(--ink); }
.v2--home .v2-home-consult h2 { color: #fff; }
.v2-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.v2-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #102d40;
  color: #fff;
}

.v2-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v2-tile::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgb(3 20 32 / 90%));
  pointer-events: none;
}

.v2-tile span {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.v2-tile small { display: block; color: #e1eaee; font-weight: 400; line-height: inherit; text-transform: none; }
.v2-tile small[hidden] { display: none; }

.v2-home-branding {
  display: grid;
  align-items: center;
  gap: 32px;
  padding-block: clamp(55px, 6vw, 95px);
  border-top: 1px solid var(--border);
}

.v2-home-branding > div { max-width: 520px; }
.v2-home-branding a { display: inline-flex; min-height: 44px; align-items: center; gap: 16px; color: var(--cta); }
.v2-home-branding a { margin-top: 12px; }
.v2-home-special a { color: var(--cta); }
.v2-home-process h2, .v2-home-special h2 { max-width: 700px; }

.v2-asset { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }

.v2-home-process { padding-block: clamp(56px, 6vw, 100px); border-top: 1px solid var(--border); }
.v2-home-process-layout { display: grid; align-items: center; gap: clamp(30px, 5vw, 80px); }
.v2-process-image { width: 100%; max-width: 523px; aspect-ratio: 4 / 3; overflow: hidden; justify-self: center; }
.v2-process-image img { width: 100%; height: auto; }
.v2-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.v2-steps li { padding: 24px 18px 24px 0; border-bottom: 1px solid var(--border); }
.v2-steps h3 { margin: 12px 0; font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.v2-steps p { margin-bottom: 0; }

.v2-home-consult { background: #092536; color: #fff; }
.v2-home-consult > .v2-container { display: grid; align-items: center; gap: 36px; padding-block: clamp(64px, 7vw, 110px); }
.v2-home-consult .v2-asset { max-width: 690px; justify-self: center; }
.v2-cta-row { gap: 16px; margin-top: 24px; }
.v2-cta-row a { min-height: 44px; }
.v2-cta-row .v2-primary { gap: 18px; padding: 12px 16px; }
.v2-secondary { color: #fff; background: transparent; border-color: #7795a3; border-radius: 0; }
.v2-secondary:hover { background: #edf2fd; }

.v2-home-special {
  display: grid;
  align-items: center;
  gap: 30px;
  margin-block: clamp(48px, 5vw, 82px);
  padding: clamp(40px, 5vw, 72px);
  background: #f1eee8;
}

.v2-home-special .v2-asset { max-width: 511px; height: auto; justify-self: center; aspect-ratio: auto; }

.v2-home-inspiration { display: grid; gap: 28px; padding-block: clamp(54px, 6vw, 98px); }
.v2-home-inspiration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v2-home-inspiration-grid .v2-asset { aspect-ratio: 1; }
.v2-home-inspiration > *, .v2-home-consult > .v2-container > *, .v2-home-special > * { min-width: 0; }

.v2-footer-contact { padding-block: 58px; background: linear-gradient(110deg, #061d2b, #213e50); color: #fff; }
.v2-footer-contact .v2-container { display: grid; gap: 30px; }
.v2-footer-contact h2 { text-transform: uppercase; }
.v2-footer-contact p { max-width: 420px; }
.v2-footer-people { display: grid; gap: 14px; }
.v2-footer-people p { display: grid; grid-template-columns: minmax(115px, 1fr) 1fr; gap: 2px 12px; margin: 0; font-size: 13px; }
.v2-footer-people p a:last-child { grid-column: 2; }

.v2-footer-mail { display: inline-flex; justify-content: space-between; align-items: center; gap: 20px; max-width: 180px; padding: 8px 14px; background: var(--cta); }
.v2-footer-bottom { display: flex; align-items: start; justify-content: space-between; gap: 30px; padding-block: 48px; }
.v2-footer-bottom .v2-brand { width: clamp(160.48px, 11.8vw, 179.36px); display: inline-flex; }
.v2-footer-bottom p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.v2-footer-bottom nav { display: grid; grid-template-columns: repeat(2, auto); gap: 0 12px; }
.v2-footer-bottom nav a { font-size: 12px; }
.v2-informational-footer { display: none; }

.v2-content-page .v2-footer { padding-block: 48px; border-top: 1px solid var(--border); }
.v2-content-page .v2-footer > :not(.v2-informational-footer) { display: none; }
.v2-content-page .v2-informational-footer { display: block; }
.v2-informational-footer .v2-brand { display: inline-flex; width: clamp(160.48px, 11.8vw, 179.36px); }
.v2-informational-footer a { color: var(--cta); }
.v2-informational-footer p { margin: 0 0 16px; }

.v2-overlay {
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--text);
  border: 0;
}

.v2-overlay::backdrop { background: rgb(15 23 42 / 45%); }
.v2-overlay[open] { display: flex; flex-direction: column; animation: v2-open .24s ease-out; }
.v2-overlay-head {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: max(16px, env(safe-area-inset-top)) 16px 16px;
  border-bottom: 1px solid var(--border);
}

.v2-overlay-head h2 { margin: 0; color: var(--ink); font-size: 1.75rem; font-weight: 600; line-height: 1.18; letter-spacing: -.025em; }
.v2-overlay-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px max(24px, env(safe-area-inset-bottom)); }
.v2-overlay nav { display: grid; }
.v2-overlay nav a { min-height: 44px; padding: 16px; color: var(--cta); }

@keyframes v2-open { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .v2-overlay[open] { animation: none; } }

@media (min-width: 768px) {
  .v2-quote-label { display: block; }
  .v2-overlay { width: min(760px, 100%); max-height: calc(100dvh - 48px); height: auto; margin: auto; border-radius: 16px; }
  :root { --gutter: 24px; }
  .v2-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-home-branding, .v2-footer-contact .v2-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-home-process-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .v2-home-consult > .v2-container { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
  .v2-home-special { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .v2-home-inspiration { grid-template-columns: minmax(240px, .9fr) minmax(0, 3fr); align-items: center; }
  .v2-home-inspiration-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; }
}

@media (min-width: 1024px) {
  :root { --gutter: 32px; }
}

@media (min-width: 1100px) {
  .v2-home-hero > .v2-container {
    /* Six 3:4 tiles and five 12px gaps share the available catalogue width. */
    --home-tiles-height: calc((min(100vw - 2 * var(--gutter), 1440px) - 60px) / 4.5);
    --home-hero-space: calc(100svh - 234px - var(--home-tiles-height));
    --home-hero-preferred: calc(1.1 * clamp(241.5px, 51.75svh - 155.25px, 368px));
    min-height: calc(min(var(--home-hero-preferred), var(--home-hero-space)) - 32px);
  }
  .v2-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 1099px) {
  .v2-desktop-nav { display: none; }
  .v2-header-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px 16px; padding-block: 12px; }
  .v2-mobile { display: block; grid-column: 1; grid-row: 1; }
  .v2-logo-link { grid-column: 2; grid-row: 1; }
  .v2-quote-entry { grid-column: 3; grid-row: 1; }
  .v2-content-page .v2-mobile { display: none; }
  .v2-content-page .v2-logo-link { grid-column: 1 / 3; }
  .v2-content-page .v2-static-menu {
    display: block;
    grid-column: 3;
    grid-row: 1;
    margin-left: auto;
    padding-block: 8px;
    border-bottom: 1px solid var(--border);
  }
  .v2-static-menu summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 2px;
    list-style: none;
    cursor: pointer;
  }
  .v2-static-menu summary::-webkit-details-marker { display: none; }
  .v2-static-menu nav { position: absolute; z-index: 5; inset-inline: var(--gutter); display: grid; padding: 12px; border: 1px solid var(--border); background: var(--surface); box-shadow: 0 16px 40px rgb(15 23 42 / 12%); }
  .v2-static-menu:not([open]) > nav { display: none; }
  .v2-static-menu nav a { color: var(--cta); }
  .v2-search { grid-column: 1 / -1; grid-row: 2; width: 66.6667%; justify-self: center; }
  .v2-home-hero > .v2-container { padding-block: 24px; }
}

@media (max-width: 767px) {
  .v2-search { width: 100%; }
  .v2-search:has(select:not([hidden])) input { padding-inline-end: 48px; }
  .v2-search:has(select:not([hidden])) button { min-width: 48px; padding-inline: 5px; }
  .v2-footer-people p { grid-template-columns: minmax(100px, 1fr) 1fr; }
  .v2-home-hero > .v2-container { min-height: clamp(380px, 100vw, 460px); }
  .v2-home-hero-copy { width: 100%; max-width: 570px; gap: 16px; }
  .v2-home-hero-image { inset-block: 10%; mask-image: linear-gradient(transparent, #000 12% 88%, transparent); }
  .v2-home-hero-image img { object-position: 68% center; }
  .v2-home-hero::after { background: linear-gradient(90deg, rgb(4 24 38 / 84%), rgb(4 24 38 / 66%)); }
  .v2-home-hero h1 { font-size: clamp(26px, 7vw, 34px); }
  .v2-home-hero-actions { gap: 8px; }
  .v2-home-hero-actions a { width: 100%; justify-content: center; }
  .v2-tile span { padding: 12px; font-size: 12px; }
  .v2-process-image { max-width: 360px; }
  .v2-home-consult .v2-asset { max-width: 430px; }
  .v2-home-special .v2-asset { max-width: 330px; }
  .v2-footer-bottom { display: grid; }
}

@media (max-width: 360px) {
  .v2-header-row { column-gap: 8px; }
}
