@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/crimsonpro-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/crimsonpro-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --petrol: #1d3237;
  --petrol-light: #2f484f;
  --cream: #fcefcf;
  --paper: #fbf9f4;
  --white: #fff;
  --ink: #252525;
  --muted: #526266;
  --line: #d8dbd6;
  --line-dark: #657575;
  --on-dark: #e0e7e6;
  --serif: "Crimson Pro", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --content: 76rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.7 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.25em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[id] { scroll-margin-block-start: 1.25rem; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--content)); margin-inline: auto; }

h1, h2, h3 {
  margin: 0;
  color: var(--petrol);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.026em;
}
h2 { font-size: clamp(2.65rem, 4.6vw, 4.75rem); }
h3 { font-size: clamp(1.9rem, 2.65vw, 2.7rem); }
p { margin: 0; }

.skip-link {
  position: fixed;
  z-index: 2;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.55rem 0.9rem;
  transform: translateY(-180%);
  color: var(--petrol);
  background: var(--cream);
}
.skip-link:focus { transform: none; }

.site-header, .hero, .contact, .site-footer { color: var(--white); background: var(--petrol); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.header-inner { min-height: 6rem; border-bottom: 1px solid var(--line-dark); }
.brand { display: inline-block; flex: none; width: clamp(12.2rem, 22vw, 16.4rem); }
.brand img { width: 100%; }
.primary-nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem clamp(1.1rem, 3vw, 2.65rem); }
.primary-nav a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--on-dark);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.primary-nav a:hover, .site-footer nav a:hover { color: var(--cream); text-decoration: underline; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(2.5rem, 6.4vw, 6.25rem);
  padding-block: clamp(4rem, 6.25vw, 6.25rem) clamp(3.1rem, 5.8vw, 5.25rem);
}
.hero-copy { container-type: inline-size; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.115em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: 0 0 1.65rem; height: 1px; background: currentColor; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 14.8cqi, 6.25rem);
  line-height: 0.89;
  letter-spacing: -0.038em;
}
.hero h1 span { display: block; color: var(--cream); }
.hero-description { max-width: 32rem; margin-top: 1.6rem; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.35rem; margin-top: 1.85rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.button-light { color: var(--petrol); background: var(--cream); }
.button-light:hover { background: var(--white); }
.button-light:focus-visible { outline-color: var(--cream); }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.9rem; font-weight: 600; }
.hero .text-link, .contact .text-link { color: var(--cream); }
.hero .text-link:hover, .contact .text-link:hover { color: var(--white); }
.hero-figure { min-width: 0; margin: 0; }
.hero-image { padding: 0.48rem; border: 1px solid var(--line-dark); }
.hero-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 57%; }
.hero-figure figcaption { margin-top: 0.7rem; color: var(--on-dark); font-size: 0.875rem; text-align: right; }

.section { padding-block: clamp(3.65rem, 7vw, 6.7rem); }
.section-intro { display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: end; gap: 1.15rem 2.8rem; margin-bottom: 2.1rem; }
.section-intro p { max-width: 34rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(1rem, 2.2vw, 1.85rem); }
.service { min-width: 0; border: 1px solid var(--line); background: var(--white); }
.service-photo { position: relative; background: var(--petrol-light); }
.service-photo img { width: 100%; aspect-ratio: 1.95; object-fit: cover; }
.service-photo::after { content: ""; position: absolute; inset: 0; background: var(--petrol); opacity: 0.13; }
.service-body { padding: clamp(1rem, 2vw, 1.55rem); }
.service-body > p { margin: 0.68rem 0 1rem; color: var(--muted); }
.service details { border-top: 1px solid var(--line); }
.service summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  min-height: 2.85rem;
  padding-block: 0.6rem 0.05rem;
  color: var(--petrol);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.service summary::-webkit-details-marker { display: none; }
.service summary::after {
  content: "";
  flex: 0 0 0.95rem;
  height: 0.95rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}
.service details[open] summary::after { background-size: 100% 1px, 0 0; }
.service summary:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.service details > p, .service-detail { margin: 0.65rem 0 0; }
.service-detail dt { color: var(--petrol); font-weight: 700; }
.service-detail dd { margin: 0 0 0.85rem; }
.service-detail dd:last-child { margin-bottom: 0; }

.team { border-top: 1px solid var(--line); background: var(--white); }
.team-grid, .contact-grid { display: grid; grid-template-columns: 1.1fr 0.95fr 0.95fr; gap: 1.7rem clamp(1.5rem, 4vw, 3.7rem); }
.team-intro p, .profile > p { margin-top: 0.8rem; color: var(--muted); }
.profile { border-top: 1px solid var(--line); padding-top: 1rem; }
.profile .role { color: var(--petrol-light); font-weight: 600; }

.contact { background: var(--petrol-light); }
.contact h2, .contact h3 { color: var(--white); }
.contact-intro > p { margin-top: 0.8rem; }
.contact-phone {
  display: block;
  width: fit-content;
  margin-top: 0.65rem;
  color: var(--cream);
  font: 500 clamp(2.1rem, 3.4vw, 3.4rem)/1.1 var(--serif);
  text-decoration: none;
}
.contact-phone:hover { text-decoration: underline; }
.contact-email { margin-top: 0.2rem; overflow-wrap: anywhere; }
.location { border-top: 1px solid #90a09f; padding-top: 1rem; }
.location address { margin-block: 0.6rem; }
.location p, .contact-intro p { color: var(--on-dark); }
.location .text-link { margin-top: 0.35rem; }

.footer-inner { min-height: 6.8rem; padding-block: 1rem; }
.site-footer .brand { width: 12.3rem; }

.legal-main { padding-block: clamp(3.25rem, 7vw, 6rem); }
.legal-copy { max-width: 49rem; margin: 0; overflow-wrap: anywhere; }
.legal-copy h1 { margin-block: 0.4rem 2rem; font-size: clamp(3.35rem, 6.5vw, 6rem); }
.legal-copy h2 { margin-block: 2rem 0.65rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; }
.legal-copy p, .legal-copy address, .legal-copy ul { margin-block: 0.65rem; }
.legal-copy ul { padding-inline-start: 1.4em; }
.legal-copy a { color: var(--petrol-light); }

@media (max-width: 64rem) {
  .hero-inner { gap: clamp(1.65rem, 4vw, 3rem); }
  .team-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-intro, .contact-intro { grid-column: 1 / -1; }
}

@media (max-width: 50rem) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 3rem 2.65rem; }
  .hero h1 { font-size: clamp(2.5rem, 14.8cqi, 5.6rem); }
  .hero-image img { aspect-ratio: 1.6; }
  .section-intro { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .service-photo img { height: 100%; aspect-ratio: auto; min-height: 11rem; }
}

@media (max-width: 37rem) {
  .header-inner { justify-content: center; flex-direction: column; gap: 0.45rem; padding-block: 1rem 0.35rem; }
  .primary-nav { justify-content: center; gap: 0 1.2rem; }
  .hero-description { margin-top: 1.2rem; }
  .hero-actions { margin-top: 1.3rem; }
  .service, .team-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-photo img { height: auto; aspect-ratio: 1.95; min-height: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 0.45rem; padding-block: 1.5rem 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
