:root{
  --dm-black:#121212;
  --dm-white:#fff;
  --dm-coral:#F0655C;
  --dm-cloud:#F7F7F8;
  --glass-bg: rgba(255,255,255,.78);
  --overlay: rgba(255,255,255,.40);
}

*{box-sizing:border-box}
html,body{height:100%;margin:0}

/* Plain body background, dots now handled by .bg-layer */
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--dm-black);
  background:#fff;
}

/* Fixed dotty background layer for all devices */
.bg-layer{
  position:fixed;
  inset:0;
  background:#fff url('assets/cover.png') center/cover no-repeat;
  z-index:-2;
  pointer-events:none;
}

/* Glass overlay over the dots */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background:var(--overlay);
  pointer-events:none;
  z-index:-1;
}
/* ------------------------- */
/*        SKIP LINK          */
/* ------------------------- */

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  background:#000;
  color:#fff;
  padding:8px 12px;
  z-index:30;
}

.skip-link:focus-visible{
  left:10px;
  top:10px;
}

/* ------------------------- */
/*        TOP NAV BAR        */
/* ------------------------- */
.site-nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:10px 14px;
  background:#ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.nav-brand{
  display:none;
  align-items:center;
  gap:6px;
  font-weight:600;
  font-size:16px;
  padding-top: 3px;
}

/* FINAL icon size */
.nav-brand img{
  height:40px;
  width:auto;
  display:block;
  border-radius:4px;
}

.nav-toggle{
  display:none;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:16px;
}

.site-nav a{
  text-decoration:none;
  color:#222;
  padding:8px 10px;
  border-radius:10px;
}
.site-nav a.active,
.site-nav a:hover{
  background:rgba(240,101,92,.12);
  color:#000;
}

/* ------------------------- */
/*         CARD LAYOUT       */
/* ------------------------- */
.wrap{
  min-height:100vh;
  padding:86px 16px 100px;
}

.card{
  width:min(1000px, calc(100% - 24px));
  margin:0 auto;
  background:var(--glass-bg);
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:22px 20px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ------------------------- */
/*          BANNER           */
/* ------------------------- */
.header{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin-top:0.5rem;
  margin-bottom:1rem;
}

.header img.banner{
  width:500px;
  max-width:95%;
  height:auto;
  background:rgba(255,255,255,0.9);
  padding:0.8rem 1.2rem;
  border-radius:18px;
  box-shadow:0 4px 18px rgba(0,0,0,0.08);
}

.hiw-illustration img{
  width:100%;
  max-width:600px;
  height:auto;
  display:block;
  margin:0 auto;
}

/* mobile banner */
@media (max-width:600px){
  .header img.banner{
    width:280px;
    padding:0.5rem 0.8rem;
  }
  .hiw-illustration img{
    max-width:320px;
  }
}

/* ------------------------- */
/*         CONTENT TEXT      */
/* ------------------------- */
.content{
  padding-right:6px;
  overflow-x:hidden;
  overflow-y:visible;
}

.content p{
  margin-bottom:1.2rem;
  line-height:1.6;
}

.content ol{
  margin:1rem 0 1.5rem 1.2rem;
  line-height:1.7;
}

.content ol li{
  margin-bottom:0.8rem;
}
.content h1{
  margin-top:10px;
}

.content h2{
  margin-top:10px;
}

.lead{color:#5B646B}

/* ------------------------- */
/*           FOOTER          */
/* ------------------------- */
.site-footer{ position:relative; }

.footer-card{
  background:rgba(255,255,255,.70);
  border:1px solid rgba(0,0,0,.06);
  border-radius:12px;
  padding:8px 14px;
  text-align:center;
  font-size:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}

.footer-card a{
  color:#111;
  text-decoration:none;
  border-bottom:1px dotted rgba(0,0,0,.35);
}
.footer-card a:hover{
  border-bottom-color:#111;
}

.footer-links{ margin-top:4px; opacity:.9; }
small{ opacity:.75; }

/* ------------------------- */
/*         IMAGE SHOW          */
/* ------------------------- */

.dm-samples {
  padding: 48px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.dm-samples-header {
  text-align: center;
  margin-bottom: 32px;
}

.dm-samples-header h2 {
  font-size: 1.9rem;
  margin: 0 0 8px;
}

.dm-samples-header p {
  margin: 0;
  font-size: 0.98rem;
  color: #555;
}

.dm-samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.dm-sample-card {
  background: var(--glass-bg, rgba(255,255,255,0.88));
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  text-align: center;
}

.dm-sample-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  margin-bottom: 12px;
  object-fit: contain;
}

.dm-sample-card h3 {
  margin: 4px 0 6px;
  font-size: 1.05rem;
}

.dm-sample-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

/* ------------------------- */
/*     MOBILE NAV */
/* ------------------------- */
@media (max-width: 600px) {

  .site-nav{
    justify-content:center;
    padding:10px 40px;
    background:#fff;
  }

  .nav-toggle{
    display:block;
    position:absolute;
    left:12px;
    top:50%;
    transform:translateY(-50%);
    background:none;
    border:none;
    font-size:24px;
    cursor:pointer;
  }

  .nav-brand{
    display:flex;
    font-size:18px;
    font-weight:700;
  }

  .nav-icon-right{
    display:flex;
    align-items:center;
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    font-size:20px;
    opacity:0.9;
    pointer-events:none;
  }

  .nav-links{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    padding:8px 14px 10px;
    border-bottom:1px solid rgba(0,0,0,.06);
    display:none;
  }

  .site-nav.open .nav-links{
    display:flex;
  }

  .nav-links a{
    width:100%;
    padding:6px 4px;
  }

  .wrap{ padding-top:72px; }
}

/* ------------------------- */
/*      BUTTONS / MISC       */
/* ------------------------- */
.btn{
  display:inline-block;
  padding:.6rem .9rem;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
}
.btn-primary{
  background:var(--dm-coral);
  color:#fff;
}
.btn-secondary{
  border:2px solid #AFC6D3;
  color:#111;
}
/* ------------------------- */
/*     ACCESSIBLE FOCUS      */
/* ------------------------- */

.site-nav a:focus-visible,
.footer-card a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline:2px solid #000;
  outline-offset:3px;
}

blockquote{
  margin:8px 0;
  padding-left:12px;
  border-left:3px solid #ddd;
  color:#444;
}
