:root {
  --ember: #e25f30;
  --iron: #151413;
  --peach: #f6c3a8;
  --stone: #ede7df;
  --cream: #f8f3eb;
  --muted: #574c44;
  --rule: #bfb4aa;
}
body { background: var(--cream); color: var(--iron); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; box-shadow: 0 0 0 2px var(--cream); }
:where(main, nav, footer)[tabindex="-1"]:focus-visible { outline-offset: -4px; }
.skip-links a { position: absolute; z-index: 10; inset: 1rem auto auto 1rem; transform: translateY(calc(-100% - 2rem)); }
.skip-links a:focus { transform: none; padding: .75rem 1rem; background: var(--cream); }
.site-header { border-bottom: 1px solid var(--rule); }
.masthead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-block: .9rem; }
.logo { display: block; width: clamp(12rem, 25vw, 16rem); }
.logo img { display: block; width: 100%; height: auto; }
.menu { gap: 0 clamp(.8rem, 2vw, 1.8rem); font-size: .9rem; font-weight: 650; }
.menu a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.menu a:hover { text-decoration: underline; text-underline-offset: .2em; }
.kicker { margin-bottom: .7rem; font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 800; }
h1 { font-size: clamp(2.4rem, 7vw, 6.6rem); line-height: 1; letter-spacing: -.065em; }
h2 { max-width: 19ch; font-size: clamp(2.1rem, 4.8vw, 4.5rem); line-height: 1.04; letter-spacing: -.06em; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.65rem); line-height: 1.2; letter-spacing: -.03em; }
.intro { display: grid; background: var(--iron); color: var(--cream); }
.intro-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 43%; }
.intro-content { padding-block: 2.5rem 3rem; }
.intro-content .kicker { color: var(--peach); }
.intro-description { max-width: 35ch; margin-top: 1.15rem; color: var(--stone); font-size: 1.1rem; }
.action { display: inline-flex; align-items: center; gap: .85rem; min-height: 3rem; margin-top: 1.35rem; padding: .7rem 1.2rem; border-radius: .45rem; background: var(--iron); color: white; font-weight: 750; }
.action:hover { background: #3a302a; }
.intro .action { background: var(--ember); color: var(--iron); }
.intro .action:hover { background: var(--peach); }
.block-space { padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.split { display: grid; gap: clamp(1.5rem, 5vw, 4rem); }
.services-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.services-heading a { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; text-decoration: underline; text-underline-offset: .2em; font-weight: 700; }
.service-list { display: grid; gap: 1rem; }
.service-list article { overflow: hidden; border-radius: .85rem; background: var(--stone); }
.service-list article img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.service-list article > div { padding: 1.4rem; border-top: 4px solid var(--ember); }
.service-list article p { margin-top: .5rem; color: var(--muted); }
.company img, .gallery img { display: block; width: 100%; height: auto; object-fit: cover; }
.company p:not(.kicker) { color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.showcase { background: var(--iron); color: var(--cream); }
.showcase .kicker { color: var(--peach); }
.showcase-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2rem; }
.showcase-heading > p { max-width: 34ch; }
.gallery { display: grid; gap: 2rem; }
.gallery img { aspect-ratio: 16 / 10; border-radius: .35rem; filter: saturate(.75) sepia(.12); }
.gallery h3 { margin-top: .85rem; }
.gallery p { margin-top: .45rem; color: var(--stone); }
.company { align-items: center; }
.company img { border-radius: .4rem; aspect-ratio: 4 / 3; }
.company p:not(.kicker) { margin-top: 1rem; }
.contact { background: var(--peach); }
.site-footer { background: var(--iron); color: var(--cream); border-top: .3rem solid var(--ember); }
.footer-main { display: grid; align-items: center; justify-items: center; gap: 1.25rem; padding-block: clamp(2rem, 5vw, 4rem); }
.footer-logo { display: block; width: min(100%, 17rem); }
.footer-logo img { width: 100%; height: auto; }
.footer-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 1.3rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; }
.footer-nav a:hover { color: var(--peach); text-decoration: underline; text-underline-offset: .25em; }
.footer-copyright { padding-block: 1.5rem; border-top: 1px solid #ffffff38; color: var(--stone); text-align: center; font-size: .88rem; }
@media (width < 48rem) {
  .masthead { flex-direction: column; align-items: stretch; }
  .masthead .logo { align-self: center; }
  .masthead .menu { justify-content: center; }
}
@media (min-width: 48rem) {
  .intro { position: relative; isolation: isolate; min-height: clamp(33rem, 50vw, 47rem); align-items: center; }
  .intro-photo { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 78%; height: 100%; aspect-ratio: auto; object-position: 66% 42%; }
  .intro::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--iron) 19%, #151413f5 30%, #151413a8 47%, transparent 76%); content: ""; }
  .intro-content { padding-block: 4rem; }
  .intro-content h1 { max-width: 14ch; }
  .service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.45rem; }
}

.logo-section { background: var(--stone); }
.logo-content { display: grid; gap: 1.25rem; }
.logo-window { overflow: hidden; container-type: inline-size; }
.logo-track { display: flex; width: max-content; animation: logos-scroll 34s linear infinite; }
.logo-grid {
  display: grid;
  flex: none;
  width: max(42rem, 100cqw);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
  padding-inline-end: .85rem;
}
.logo-grid li { display: grid; place-items: center; height: 6.5rem; padding: .85rem; overflow: hidden; border-radius: .55rem; background: #fff; }
.logo-grid img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
@keyframes logos-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-grid[aria-hidden="true"] { display: none; }
  .logo-track { display: block; width: auto; animation: none; }
  .logo-grid { width: auto; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); padding-inline-end: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.cookie-banner {
  position: fixed;
  z-index: 20;
  inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  width: auto;
  max-width: 28rem;
  margin-inline-start: auto;
  padding: 1.1rem;
  border: 1px solid var(--rule);
  border-radius: .75rem;
  background: var(--cream);
  color: var(--iron);
  box-shadow: 0 .5rem 2rem #15141326;
}
.cookie-banner h2 { font-size: 1.2rem; letter-spacing: normal; }
.cookie-banner p { margin-top: .55rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.cookie-actions button {
  flex: 1 1 auto;
  min-height: 2.75rem;
  padding: .45rem .65rem;
  border: 1px solid var(--iron);
  border-radius: .35rem;
  background: transparent;
  color: var(--iron);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.cookie-actions button[value="accepted"] { background: var(--iron); color: var(--cream); }
.cookie-actions button:hover { text-decoration: underline; }
