:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --white: #fffefa;
  --ink: #122c34;
  --muted: #4b5e60;
  --line: #d9ded8;
  --sage: #e8eee8;
  --orange: #e68652;
  --rust: #9e4123;
  --display: Manrope, "Helvetica Neue", sans-serif;
  --body: "DM Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
h2 { font-size: clamp(2.25rem, 4.3vw, 4rem); line-height: 1.06; letter-spacing: -.06em; }
h3 { font-size: 1.32rem; line-height: 1.2; letter-spacing: -.035em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 5px; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: clamp(4.25rem, 9vw, 8rem); }
.section-label { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.2rem; font-size: .8rem; font-weight: 700; color: var(--rust); }
.section-label::before { content: ""; width: .5rem; height: .5rem; background: var(--orange); flex: 0 0 auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 10; padding: .75rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; width: clamp(11rem, 58vw, 15rem); max-width: 100%; }
.brand img { display: block; width: 100%; height: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2.3rem); font-size: .85rem; font-weight: 700; }
.site-header nav a:not(.button):hover { color: var(--rust); }
.menu-toggle { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  width: fit-content; min-height: 3.2rem; padding: .75rem 1.1rem;
  border-radius: 4px; font-size: .84rem; font-weight: 700; line-height: 1.3;
}
.button span { font-size: 1rem; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #23454b; }
.button-orange { background: var(--orange); color: #20241f; }
.button-orange:hover { background: #f2a678; }
.text-link { display: inline-flex; align-items: center; gap: .75rem; width: fit-content; border-bottom: 1px solid currentColor; padding-block: .25rem; font-size: .84rem; font-weight: 700; }
.text-link:hover { color: var(--rust); }

.hero {
  display: grid; grid-template-columns: .93fr 1.07fr; gap: clamp(2rem, 4vw, 4.2rem);
  align-items: center; padding-block: clamp(2.25rem, 5vw, 5rem);
}
.hero h1 { font-size: clamp(3.2rem, 6.4vw, 6.3rem); line-height: .99; letter-spacing: -.06em; word-spacing: .025em; }
.hero-copy > p:not(.section-label) { font-size: clamp(1rem, 1.35vw, 1.15rem); color: var(--muted); max-width: 26rem; margin-top: 1.7rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.4rem; margin-top: 2rem; }
.hero-visual {
  position: relative; min-width: 0; height: clamp(27rem, 43vw, 37rem); overflow: hidden;
  border-radius: 4px 88px 4px 4px; background: #334f52;
}
.hero-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 57% center; }
.hero-visual figcaption {
  position: absolute; right: .75rem; bottom: .75rem; padding: .26rem .55rem;
  color: white; background: #122c34; border-radius: 3px; font-size: .7rem;
}

.flow-band { background: var(--ink); color: var(--white); }
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin-block: 0; padding: 0; }
.flow-list li { min-height: 4.7rem; position: relative; display: flex; align-items: center; gap: .8rem; font-size: .82rem; font-weight: 700; }
.flow-node { width: .55rem; height: .55rem; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--orange); }
.flow-list li:not(:last-child)::after { content: ""; flex: 1; border-top: 1px solid #6e8485; margin-right: 1.1rem; }

.section-intro { display: grid; grid-template-columns: 1.45fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.3rem; }
.section-intro > p, .approach-heading > p:last-child, .industries p:not(.section-label) { max-width: 25rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { display: flex; flex-direction: column; min-height: 16.5rem; padding: clamp(1.25rem, 2.6vw, 2.2rem); border: solid var(--line); border-width: 0 1px 1px 0; background: var(--white); }
.service-card:hover { background: #f5eee4; }
.service-category { color: var(--rust); font-size: .75rem; font-weight: 700; margin-bottom: 1.2rem; }
.service-card h3 { font-size: clamp(1.15rem, 2.05vw, 1.75rem); }
.service-card p { color: var(--muted); font-size: .92rem; margin-block: .85rem 1.4rem; }
.service-card a { display: flex; justify-content: space-between; gap: .5rem; margin-top: auto; font-size: .78rem; font-weight: 700; }
.service-card a:hover { text-decoration: underline; }

.approach { background: var(--sage); }
.approach-grid, .industries { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 7.5rem); align-items: start; }
.approach-heading p:last-child, .industries p:not(.section-label) { margin-top: 1.25rem; }
.process, .industry-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #b8c5bb; }
.process li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; align-items: start; padding: 1.45rem 0; border-bottom: 1px solid #b8c5bb; }
.step { color: var(--rust); font-size: .82rem; font-weight: 700; }
.process p { color: var(--muted); margin-top: .45rem; }
.industries .text-link { margin-top: 1.4rem; }
.industry-list li { padding: 1.25rem 0; border-bottom: 1px solid #b8c5bb; font: 700 clamp(1.05rem, 2vw, 1.45rem)/1.35 var(--display); }
.industry-list li::before { content: ""; display: inline-block; width: .42rem; height: .42rem; border: 2px solid var(--rust); border-radius: 50%; vertical-align: .16em; margin-right: .9rem; }

.group { border-top: 1px solid var(--line); background: var(--white); }
.group-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3rem, 6vw, 5.5rem); }
.group h2 { font-size: clamp(2rem, 3.3vw, 3.2rem); }
.group-links { border-top: 1px solid var(--line); }
.group-links a { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.group-links a:hover h3 { color: var(--rust); }
.group-links p { margin-top: .35rem; color: var(--muted); font-size: .93rem; }
.group-links a > span { color: var(--rust); font-weight: 700; }

.contact { background: var(--ink); color: var(--white); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(3.25rem, 6.5vw, 6rem); }
.contact p { margin-top: .85rem; color: #d4dedb; }
.contact-action { flex-shrink: 0; }
.contact-action small { display: block; margin-top: .6rem; color: #d4dedb; }
.contact :focus-visible { outline-color: #ffc19b; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: start; gap: 2rem; padding-block: 2.4rem 2rem; }
.footer-inner h2 { font: 700 .81rem/1.3 var(--body); letter-spacing: 0; color: var(--rust); }
.footer-inner p { margin-top: .35rem; font-weight: 700; }
.registration { margin: .5rem 0 0; font-size: .86rem; }
.registration div { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .65rem; }
.registration dt { font-weight: 700; }
.registration dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1rem; color: var(--muted); font-size: .79rem; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
}
@media (max-width: 960px) {
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: .75rem; }
  .site-header nav { width: 100%; flex-wrap: wrap; gap: .5rem 1.2rem; padding-bottom: .75rem; }
  .js .menu-toggle { display: block; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; padding: .4rem .85rem; color: var(--ink); background: transparent; cursor: pointer; font-weight: 700; }
  .js .site-header nav { display: none; }
  .js .site-header nav.open {
    display: grid; align-items: start; position: absolute; top: 100%; left: 0;
    background: var(--paper); padding: 1rem 36px; border-bottom: 1px solid var(--line); box-shadow: 0 1rem 2rem #122c341a;
  }
  .site-header nav a:not(.button) { padding-block: .5rem; }
  .desktop-break { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card h3 { font-size: 1.5rem; }
  .flow-list li { gap: .5rem; }
  .flow-list li:not(:last-child)::after { margin-right: .65rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .site-header .brand { width: clamp(10rem, 53vw, 13rem); }
  .js .site-header nav.open { padding-inline: 20px; }
  .hero { grid-template-columns: 1fr; gap: 1.85rem; padding-top: 2.8rem; }
  .hero h1 { max-width: 10.8ch; font-size: clamp(2.9rem, 11.6vw, 4.6rem); }
  .hero-visual { height: clamp(16rem, 66vw, 27rem); border-top-right-radius: 57px; }
  .hero-copy > p:not(.section-label) { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.35rem; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .flow-list li { min-height: 3rem; font-size: .78rem; }
  .flow-list li:nth-child(even)::after { display: none; }
  .section-intro, .approach-grid, .industries, .group-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-card { min-height: 14.5rem; }
  .service-card h3 { font-size: clamp(1rem, 4.5vw, 1.45rem); }
  .service-card p { font-size: .84rem; }
  .contact-inner { align-items: start; flex-direction: column; gap: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 365px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
