/* Digitaal decorative layer: original shape assets, olive-tinted with CSS.
   Layout references: index-6 services-section-seven; index-5 projects-section-five;
   index-4 services-section-eight; index-3 about-section-five / video-section-two. */
main { overflow: clip; }
.digitaal-decor { pointer-events:none; user-select:none; object-fit:contain; }
.template-icon { width:58px; height:58px; object-fit:contain; filter:grayscale(1) sepia(.65) saturate(.7); }
.card-symbol:has(.template-icon) { position:static; }

.welcome .editorial-intro > div { grid-column:2; }
.welcome-carousel { max-width:750px; margin-inline:auto; padding-bottom:clamp(28px, 5vw, 52px); }
.welcome-deck { display:grid; position:relative; isolation:isolate; width:64%; aspect-ratio:16 / 10; margin-inline:auto; }
.welcome-brand {
  position:absolute;
  z-index:2;
  inset:0 0 auto;
  padding:10px 16px;
  border-radius:12px 12px 0 0;
  background:#faf9f5;
}
.welcome-brand img { display:block; width:160px; max-width:100%; height:auto; }
.welcome-slide {
  grid-area:1 / 1;
  display:grid;
  align-items:end;
  position:relative;
  min-width:0;
  min-height:0;
  margin:0;
  overflow:hidden;
  border-radius:12px;
  background:#171d17;
  opacity:.72;
  transition:transform .55s ease, opacity .55s ease;
}
.welcome-slide[data-position="previous"] { transform:translateX(-34%) scale(.84); }
.welcome-slide[data-position="next"] { transform:translateX(34%) scale(.84); }
.welcome-slide[data-position="current"] { z-index:1; opacity:1; }
.welcome-slide img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.welcome-slide figcaption {
  position:relative;
  padding:24px 16px 14px;
  background:linear-gradient(transparent, #101510e8);
  color:#fff;
  font-size:clamp(1rem, 2vw, 1.35rem);
  line-height:1.25;
}
.welcome-slide[aria-hidden="true"] figcaption { visibility:hidden; }
.welcome-controls:not([hidden]) { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:16px; }
.welcome-controls button {
  min-height:44px;
  padding:6px 12px;
  border:1px solid #6b613170;
  border-radius:100px;
  background:transparent;
  color:var(--ink);
  font:inherit;
  font-size:.875rem;
  cursor:pointer;
}
.welcome-controls button:hover { background:#6b61311a; }
.capabilities .service-block-four { display:flex; flex-direction:column; }
.capabilities .service-block-four p { margin-bottom:clamp(28px, 4.2vw, 42px); }
.capabilities .card-symbol:has(.template-icon) { margin-top:auto; }
.capabilities .template-icon { display:block; object-position:left bottom; }
/* The support icon has transparent padding below the artwork. */
.capabilities .template-icon[src$="/theme-icon8.png"] { transform:translateY(10%); }

@media (max-width:650px) {
  .welcome-deck { width:min(100%, 480px); }
  .welcome-slide[aria-hidden="true"] { opacity:0; transform:none; }
}
@media (prefers-reduced-motion:reduce) {
  .welcome-slide { transition:none; }
}

.safety-phone { container-type:inline-size; }
.safety-phone > img { display:block; }
/* Fit the HTML display to the screen in landing2.png at every image width. */
.safety-phone-screen {
  position:absolute;
  inset:6.16% 45.02% 48.68% 36.45%;
  display:grid;
  grid-template-rows:15% 42% 1fr;
  overflow:hidden;
  background:#faf9f5;
  color:#252a22;
  text-align:center;
}
.safety-phone-brand { background:url('../img/theme/brand-logo.png') 12% center / 78% auto no-repeat; }
.safety-phone-title {
  display:grid;
  place-items:center;
  background:linear-gradient(#141a16a6,#141a16a6),url('../images/bannerrisk.jpg') center / cover;
  color:#fff;
  font-size:2.12cqi;
  font-weight:600;
  line-height:1.15;
}
.safety-phone-caption {
  align-self:center;
  padding-inline:8%;
  font-size:1.55cqi;
  font-weight:600;
  line-height:1.2;
  text-transform:uppercase;
}

.home-hero { position:relative; isolation:isolate; background:radial-gradient(ellipse at 80% 60%,#9d9e3533,transparent 60%),radial-gradient(ellipse at 7% 5%,#77764c35,transparent 65%),var(--ink); }
.hero-media { overflow:visible; }
.hero-media>img:not(.digitaal-decor),.hero-media::after { border-radius:inherit; }
.hero-media .hero-sculpture { position:absolute; z-index:4; width:240px; height:240px; right:-35px; bottom:-34px; filter:grayscale(1) sepia(.3); animation:sculpture-float 9s ease-in-out infinite; }
.hero-slide[data-slide="2"] .hero-sculpture { object-fit:contain; }
.glow-section { position:relative; isolation:isolate; }
.capabilities { background:radial-gradient(ellipse at 4% 70%,#a6a85926,transparent 58%),var(--surface); }
.capabilities .service-block-four { background:linear-gradient(135deg,#c5ca9409,transparent 60%); }
.section-orbit { position:absolute; width:260px; height:260px; right:-100px; top:80px; opacity:.45; filter:grayscale(.9) sepia(.5); animation:orbit-turn 40s linear infinite; z-index:-1; }
.scroll-title { position:relative; overflow:hidden; width:100%; height:clamp(75px,12vw,180px); margin:0 0 45px; pointer-events:none; }
.scroll-title span { display:block; width:max-content; max-width:none; white-space:nowrap; font-size:clamp(68px,12vw,180px); line-height:1; font-weight:600; text-transform:uppercase; letter-spacing:-.04em; color:transparent; -webkit-text-stroke:1px #c5ca9440; transform:translateX(var(--scroll-travel,0px)); will-change:transform; }
.page-title .title-sculpture { position:absolute; right:6%; bottom:24px; width:190px; height:190px; z-index:-1; opacity:.8; filter:grayscale(1) sepia(.35); animation:sculpture-float 11s ease-in-out infinite; }
.page-title .title-wire { position:absolute; right:-10%; top:-55%; width:750px; height:600px; z-index:-1; opacity:.6; filter:brightness(2) sepia(.6); animation:orbit-turn 80s linear infinite; }
.page-title.has-image::after { background:linear-gradient(90deg,#141c14f7,#141c14c9 62%,#141c1480),radial-gradient(ellipse at 85% 70%,#c5ca9466,transparent); }
.page-title h1 { max-width:calc(100% - 190px); }
.service-feature { position:relative; isolation:isolate; }
.service-feature h2 { font-size:clamp(32px,3.5vw,54px); }
.service-feature p { line-height:1.9; }
.service-feature figure { position:relative; }
.service-feature figure>img:not(.digitaal-decor) { width:100%; height:100%; object-fit:cover; border-radius:var(--radius); }
.feature-copy { min-width:0; }
/* Home 6's numbered service rows: title rail over image/detail columns. */
.feature-row { padding-block:75px; border-block:1px solid var(--line); background:linear-gradient(115deg,#c5ca9406,transparent 55%); }
.row-heading { display:grid; grid-template-columns:100px 1fr 65px; align-items:center; gap:32px; padding-bottom:40px; }
.row-heading h2 { margin:0; }
.feature-number { font-size:30px; color:var(--accent); letter-spacing:-.04em; }
.row-icon { width:55px; height:55px; filter:grayscale(1) sepia(.65); }
.row-detail { display:grid; grid-template-columns:.85fr 1.2fr; gap:80px; align-items:center; margin-left:132px; }
.row-detail figure { height:280px; }
/* Home 3's full-width visual break + editorial two-column text. */
.feature-wide { background:radial-gradient(ellipse at 15% 15%,#a9ae4826,transparent 50%); }
.wide-photo { position:relative; height:390px; margin-bottom:55px; }
.wide-photo>img:not(.digitaal-decor) { width:100%; height:100%; object-fit:cover; border-radius:var(--radius); }
.wire-orbit { position:absolute; bottom:-65px; right:40px; width:175px; height:175px; filter:grayscale(1) sepia(.45); animation:orbit-turn 35s linear infinite; }
.wide-editorial { display:grid; grid-template-columns:1fr 1.2fr; gap:95px; }
.wide-editorial h2 { max-width:470px; }
.page-risk-analysis .wide-editorial h2 { max-inline-size:none; font-size:clamp(1.375rem, 3.45vw, 3.375rem); }
/* Home 4 services-section-eight's inset panel, with a contrasting olive surface. */
.feature-panel { padding-top:40px; }
.panel-inner { position:relative; display:grid; grid-template-columns:.8fr 1fr; gap:70px; padding:60px; background:linear-gradient(120deg,#c5ca94,#a8ad7c); color:var(--ink); border-radius:24px; overflow:hidden; }
.panel-inner .feature-copy { position:relative; z-index:1; }
.panel-inner p { color:#343c2f; }
.panel-inner .eyebrow { color:#4e5739; }
.panel-photo { position:relative; z-index:1; min-height:400px; }
.panel-photo img { width:100%; height:100%; object-fit:cover; position:absolute; border-radius:14px; }
/* Home 5's asymmetric project composition becomes an editorial service spotlight. */
.feature-spotlight { background:radial-gradient(ellipse at 20% 65%,#aeb44629,transparent 55%); }
.spotlight-grid { display:grid; grid-template-columns:.9fr 1fr; gap:100px; }
.spotlight-title { position:sticky; top:140px; align-self:start; }
.spotlight-title h2 { max-width:430px; }
.spotlight-sculpture { width:210px; height:210px; margin:45px 0 0 60px; filter:grayscale(1) sepia(.3); animation:sculpture-float 10s ease-in-out infinite; }
.spotlight-body figure { height:330px; margin-bottom:35px; }
/* Home 6 about composition with offset photo rather than alternating repeated rows. */
.offset-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:90px; align-items:start; }
.offset-grid figure { height:420px; margin-top:90px; }
.accent-sparks { position:absolute; top:-35px; right:-25px; width:75px; height:75px; filter:grayscale(1) sepia(.6); animation:sparks-breathe 5s ease-in-out infinite; }
@keyframes sculpture-float { 0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-18px) rotate(7deg)} }
@keyframes sparks-breathe { 0%,100%{transform:scale(.94) rotate(-5deg)}50%{transform:scale(1.06) rotate(5deg)} }
@keyframes orbit-turn { to{transform:rotate(360deg)} }
@media(max-width:1199px){
 .hero-media .hero-sculpture{width:195px;height:195px;right:-20px}
 .row-detail{gap:45px;margin-left:90px}.row-heading{grid-template-columns:60px 1fr 55px;gap:30px}
 .panel-inner{gap:40px;padding:40px}.spotlight-grid{gap:55px}.wide-editorial,.offset-grid{gap:50px}
}
@media(max-width:900px){
 .hero-media .hero-sculpture{width:150px;height:150px;bottom:-20px;right:-10px}
 .page-title .title-sculpture{width:130px;height:130px;right:20px}.page-title h1{max-width:calc(100% - 110px)}
 .row-detail{margin-left:0;gap:30px}.wide-photo{height:320px}.wide-editorial{gap:35px}
 .panel-inner{grid-template-columns:1fr;gap:32px}.panel-photo{min-height:300px}.panel-photo img{position:relative;height:300px}
 .spotlight-grid{gap:35px}.spotlight-title{position:static}.spotlight-sculpture{margin:30px 0 0;width:160px;height:160px}
 .offset-grid{gap:35px}.offset-grid figure{height:360px}
}
@media(max-width:650px){
 .hero-media .hero-sculpture{width:140px;height:140px;right:-5px;bottom:-15px}.hero-media .hero-sparks{width:44px;height:44px;left:-8px;top:10px}
 .slider-controls{margin-top:20px}.template-icon{width:48px;height:48px}.card-symbol:has(.template-icon){margin-top:28px}
 .scroll-title{margin-bottom:28px;height:76px}.scroll-title span{font-size:76px}.section-orbit{width:180px;height:180px;right:-80px}
 .page-title h1{max-width:100%}.page-title .title-sculpture{width:85px;height:85px;bottom:auto;top:15px;opacity:.5}.page-title .title-wire{width:400px;height:400px}
 .feature-row{padding-block:50px}.row-heading{grid-template-columns:45px 1fr;gap:15px;padding-bottom:28px}.row-heading h2{font-size:30px}.feature-number{font-size:23px}.row-icon{display:none}
 .row-detail,.wide-editorial,.spotlight-grid,.offset-grid{grid-template-columns:1fr;gap:28px}.row-detail figure{height:240px}
 .wide-photo{height:245px;margin-bottom:35px}.wire-orbit{width:110px;height:110px;right:10px;bottom:-20px}
 .wide-editorial h2{margin-bottom:0}.panel-inner{padding:25px;gap:28px;border-radius:18px}.panel-photo{min-height:220px}.panel-photo img{height:220px}
 .panel-inner h2{font-size:32px}.feature-panel{padding-top:25px}.spotlight-title{position:relative;padding-right:65px}.spotlight-title h2{margin:0}
 .spotlight-sculpture{position:absolute;right:-8px;top:-5px;width:80px;height:80px;margin:0;opacity:.65}.spotlight-body figure{height:260px;margin-bottom:28px}
 .offset-grid figure{height:280px;margin-top:0}.accent-sparks{width:45px;height:45px;right:-8px;top:-20px}
}
@media(prefers-reduced-motion:reduce){.digitaal-decor{animation:none!important}.scroll-title span{transform:none!important;will-change:auto}}

/* Additional original Digitaal shapes, distributed across pages. */
.shape-stage{position:relative;isolation:isolate;overflow:hidden}
.page-shape{position:absolute;z-index:-1;pointer-events:none;object-fit:contain;filter:grayscale(.7) sepia(.25)}
.page-shape-solid{width:clamp(95px,14vw,200px);height:clamp(95px,14vw,200px);right:5%;bottom:20px;opacity:.48;animation:sculpture-float 12s ease-in-out infinite}
.page-shape-wire{width:clamp(180px,30vw,380px);height:clamp(180px,30vw,380px);right:-9%;top:-70px;opacity:.22;animation:orbit-turn 65s linear infinite}
.digitaal-decor[src*="shape-style25"],.digitaal-decor[src*="shape-style36"],.digitaal-decor[src*="shape-style10"]{animation-name:shape-drift;animation-duration:13s}
.digitaal-decor[src*="shape-style14"],.digitaal-decor[src*="shape-style23"]{animation-name:shape-tilt;animation-duration:17s}
.digitaal-decor[src*="shape-style32"],.digitaal-decor[src*="shape-3.png"]{animation-name:sparks-breathe;animation-duration:8s}
@keyframes shape-drift{0%,100%{transform:translate(0,0) rotate(-8deg)}50%{transform:translate(10px,-16px) rotate(8deg)}}
@keyframes shape-tilt{0%,100%{transform:rotate(-10deg) scale(.96)}50%{transform:rotate(12deg) scale(1.04)}}
@media(max-width:650px){.page-shape-solid{right:-20px;bottom:8px;opacity:.22}.page-shape-wire{right:-90px;opacity:.16}}
@media(prefers-reduced-motion:reduce){.digitaal-decor{animation:none!important}}
