@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #faf9f6;
  --white: #fff;
  --stone: #efeee8;
  --ink: #1b2422;
  --muted: #555d56;
  --line: #dcded6;
  --accent: #a93b1e;
  --accent-dark: #8b2c14;
  --on-dark: #d7dcd6;
  --round: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 500 16px/1.62 Manrope, system-ui, sans-serif;
}
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #bd694d; outline-offset: 4px; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.09; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 4vw, 3.25rem); letter-spacing: -.055em; }
h3 { font-size: 1.25rem; letter-spacing: -.032em; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 2 * clamp(20px, 4.8vw, 76px), 1320px); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }

.site-header { position: relative; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; width: fit-content; text-decoration: none; }
.logo { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; }
.logo img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.21); }
.wordmark { font-size: 1.53rem; line-height: .98; font-weight: 800; letter-spacing: -.065em; }
.wordmark > span { color: var(--accent); }
.wordmark small {
  display: block;
  padding-top: 5px;
  text-transform: uppercase;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .2em;
}
.main-nav { display: flex; align-items: center; gap: clamp(17px, 2.4vw, 39px); }
.main-nav a, .mobile-menu nav a { text-decoration: none; font-size: .9rem; font-weight: 800; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current], .mobile-menu nav a[aria-current] { color: var(--accent); }
.main-nav a[aria-current] { text-decoration: underline; }
.mobile-menu { display: none; }

.button, .text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: .72rem;
  font-weight: 800;
  text-decoration: none;
}
.button {
  min-height: 52px;
  padding: 12px 19px;
  background: var(--accent);
  color: var(--white);
  border-radius: 8px;
  line-height: 1.2;
}
.button:hover { background: var(--accent-dark); }
.header-quote { min-height: 44px; font-size: .9rem; }
.text-link { min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.arrow { line-height: 1; font-family: system-ui, sans-serif; }

.home-hero {
  padding: clamp(26px, 4.5vw, 68px) 0;
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.03fr; align-items: center; gap: clamp(33px, 5vw, 78px); }
.hero-copy { padding-block: 14px; }
.eyebrow {
  display: flex;
  gap: .66rem;
  align-items: center;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .135em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
h1 { font-size: clamp(2.5rem, 5.1vw, 5.2rem); letter-spacing: -.075em; }
.home-hero h1 { text-wrap: initial; }
.home-hero h1 span { display: block; color: var(--accent); }
.lead { max-width: 53ch; margin-top: 22px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.21rem); line-height: 1.52; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 23px; margin-top: 28px; }
.hero-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1.23;
  background: #53665f;
  border-radius: var(--round);
  isolation: isolate;
}
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #101715d6 0%, #15211d15 47%, transparent 65%); }
.hero-photo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% center;
}
.hero-photo figcaption { position: absolute; inset: auto 22px 22px; color: white; line-height: 1.27; }
.hero-photo small { display: block; font-size: .78rem; color: #fff; }
.hero-photo a { display: inline-flex; gap: 9px; align-items: baseline; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 800; text-decoration: none; }
.hero-photo a:hover { text-decoration: underline; }

.section { padding-block: clamp(50px, 7vw, 98px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.section-heading p { margin-top: 10px; color: var(--muted); }
.section-heading h2 { text-wrap: initial; }
.section-heading .text-link { flex: 0 0 auto; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.service-grid-five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.service-grid-five .service-card { grid-column: span 3; }
.service-grid-five .service-card:nth-child(-n + 3) { grid-column: span 2; }
.service-card { min-width: 0; }
.service-card a {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 174px;
  flex-direction: column;
  gap: 9px;
  padding: 24px 63px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-decoration: none;
}
.service-card a:hover { background: #f5f2eb; border-color: #b8b9b0; }
.service-card h3 { text-wrap: initial; }
.service-card p { color: var(--muted); font-size: .95rem; }
.service-card .arrow {
  position: absolute;
  top: 22px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #e6d9d1;
  border-radius: 50%;
  color: var(--accent-dark);
  background: #f9f1eb;
}

.project-band { background: var(--ink); color: var(--white); }
.project-band .section-heading p { color: var(--on-dark); }
.project-band .text-link { color: #ffd2be; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project { overflow: hidden; min-width: 0; background: #283330; border: 1px solid #3e4944; border-radius: 12px; }
.project img { width: 100%; height: auto; aspect-ratio: 1.58; object-fit: cover; }
.project figcaption { padding: 19px 20px 22px; }
.project h3 { text-wrap: initial; }
.project-sector { margin-bottom: 6px; color: #e9ba9f; font-size: .78rem; font-weight: 800; }

.cta-band { padding-block: clamp(38px, 6vw, 82px); }
.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4.2vw, 58px);
  background: var(--stone);
  border-radius: var(--round);
}
.cta-panel h2 { font-size: clamp(1.75rem, 3.1vw, 2.55rem); text-wrap: initial; }
.cta-panel p { margin-top: 10px; color: var(--muted); }
.cta-panel .button { flex: 0 0 auto; }

.page-hero { padding: clamp(42px, 7.2vw, 96px) 0; border-bottom: 1px solid var(--line); background: var(--stone); }
.page-hero h1 { max-width: 19ch; font-size: clamp(2.5rem, 5.15vw, 4.75rem); }
.page-hero .lead { max-width: 60ch; }
.intro-grid, .detail-layout, .contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 6vw, 82px); }
.intro-grid { grid-template-columns: 1fr 1.6fr; }
.intro-grid p + p, .detail-intro p + p { margin-top: 14px; }
.detail-layout h2, .contact-grid h2 { font-size: clamp(1.65rem, 3.5vw, 2.25rem); }
.detail-intro { margin-bottom: 32px; }
.detail-intro h2 { margin-bottom: 12px; }
.detail-intro a { color: var(--accent-dark); }
.detail-list { margin-top: 16px; }
.detail-list article { padding: 17px 0; border-top: 1px solid var(--line); }
.detail-list article p { margin-top: 7px; color: var(--muted); }
.contact-panel {
  align-self: start;
  padding: clamp(22px, 3.3vw, 42px);
  border-radius: var(--round);
  background: var(--ink);
  color: var(--white);
}
.contact-panel p { margin-top: 12px; color: var(--on-dark); }
.contact-panel .button { margin-top: 20px; background: #f0c3af; color: #392018; }
.contact-panel .button:hover { background: #ffd9c7; }
.contact-email { display: block; margin-top: 12px; overflow-wrap: anywhere; font-weight: 800; }
.side-panel .contact-email { font-size: .85rem; }
.contact-list ul { margin: 16px 0 0; padding-left: 1.3em; }
.contact-list li { margin-block: 6px; }
.related-band { padding-top: 0; }

.site-footer { padding: 48px 0 20px; background: #e8e9e2; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1.3fr; gap: 25px; }
.site-footer h2 { margin-bottom: 12px; font-size: .95rem; letter-spacing: 0; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { margin: 4px 0; }
.site-footer p:not(.legal), .footer-grid a:not(.brand) { font-size: .86rem; color: #474f48; overflow-wrap: anywhere; }
.site-footer p:not(.legal) { margin-top: 14px; }
.legal { border-top: 1px solid #cdd1c7; margin-top: 32px; padding-top: 15px; font-size: .8rem; color: #555d56; }
.error-page p { margin-block: 16px; }

@media (max-width: 920px) {
  .header-inner { min-height: 70px; }
  .header-quote { display: none; }
  .hero-grid { gap: 25px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project figcaption { padding: 15px; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 66px; }
  .main-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-weight: 800;
    font-size: .85rem;
    cursor: pointer;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-bars { width: 14px; height: 8px; border-block: 1px solid currentColor; }
  .mobile-menu nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    padding: 8px 20px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 16px #1b242218;
  }
  .mobile-menu nav a { padding: 10px 0; }
  .mobile-menu nav a + a { border-top: 1px solid var(--line); }
  .hero-grid, .intro-grid, .detail-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-block: 4px 0; }
  .hero-photo { aspect-ratio: 1.36; }
  .hero-photo figcaption { inset: auto 15px 15px; }
  .section-heading, .cta-panel { flex-direction: column; align-items: start; gap: 10px; }
  .section-heading { margin-bottom: 18px; }
  .project-grid, .service-grid, .service-grid-five { grid-template-columns: minmax(0, 1fr); }
  .service-grid-five .service-card:nth-child(n) { grid-column: auto; }
  .service-card a { min-height: auto; padding: 19px 58px 19px 18px; }
  .service-card .arrow { top: 17px; right: 15px; }
  .contact-panel, .cta-panel { width: 100%; }
  .cta-panel { gap: 16px; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .actions { margin-top: 19px; }
  .hero-copy .lead { margin-top: 16px; }
}
