
:root{
  --ink:#1f2a1f;
  --bg:#f6f8f5;
  --card:rgba(255,255,255,0.72);
  --line:rgba(31,42,31,0.14);
  --shadow:0 12px 34px rgba(0,0,0,0.07);
  --soft:rgba(246,248,245,0.7);
}

*{box-sizing:border-box;}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--ink);
  background:var(--bg);
}

/* Whole-page watermark (more obvious) */
body::before{
  content:"";
  position:fixed;
  inset:-10%;
  background-image:url("assets/logo-mark.png");
  background-repeat:repeat;
  background-size:420px auto;
  background-position:center;
  opacity:0.065;
  filter:blur(0px);
  pointer-events:none;
  z-index:0;
}

/* a light wash to keep readability */
body::after{
  content:"";
  position:fixed;
  inset:0;
  background:radial-gradient(circle at 20% 10%, rgba(255,255,255,0.55), rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.00) 70%);
  pointer-events:none;
  z-index:0;
}

.wrap{
  position:relative;
  z-index:1;
  max-width:980px;
  margin:0 auto;
  padding:2.5rem 1.25rem 3rem;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:2.25rem 2rem;
  margin:1.25rem 0;
  backdrop-filter: blur(10px);
}

.hero{
  text-align:center;
  padding:3rem 2rem;
  position:relative;
  overflow:hidden;
}

.logo{
  width:min(360px, 90%);
  height:auto;
  filter:saturate(0.88) contrast(0.98) brightness(1.03);
  opacity:0.9;
}

.strap{
  max-width:760px;
  margin:1.25rem auto 0;
  font-size:1.1rem;
  line-height:1.55;
}

h2{
  margin:0 0 0.75rem;
  font-weight:560;
  letter-spacing:-0.01em;
}

.intro{line-height:1.65; margin-top:0.25rem;}
.bullets{padding-left:1.1rem; margin:0.75rem 0 0;}
.bullets li{margin:0.35rem 0;}

.callout{
  margin-top:1.25rem;
  padding:1rem 1.1rem;
  border-left:4px solid rgba(31,42,31,0.22);
  background:var(--soft);
  border-radius:16px;
  font-style:italic;
}

/* speech bubbles for a bit of life */
.bubbles{
  display:flex;
  gap:0.6rem;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:1.25rem;
}
.bubble{
  position:relative;
  padding:0.55rem 0.85rem;
  border-radius:999px;
  background:rgba(255,255,255,0.62);
  border:1px solid rgba(31,42,31,0.14);
  box-shadow:0 6px 18px rgba(0,0,0,0.05);
  font-size:0.92rem;
  opacity:0.95;
}
.bubble::after{
  content:"";
  position:absolute;
  left:14px;
  bottom:-8px;
  width:14px;
  height:14px;
  background:rgba(255,255,255,0.62);
  border-left:1px solid rgba(31,42,31,0.14);
  border-bottom:1px solid rgba(31,42,31,0.14);
  transform:rotate(45deg);
  border-bottom-left-radius:4px;
}

.centred{ text-align:center; }
.confidence{ margin:0; font-size:1.15rem; line-height:1.6; }

.built{ margin:0.25rem 0 0; font-weight:600; }
.tags{ margin:0.25rem 0 1rem; opacity:0.78; }

.experience, .position, .aside, .note{ line-height:1.65; }

.contactlines a{ color:inherit; }

.foot{
  text-align:center;
  margin-top:1.75rem;
  opacity:0.8;
}


/* Hero map */
.hero-map{
  position:relative;
  margin-top:2rem;
  border-radius:18px;
  overflow:hidden; /* keeps the pulse inside the map image */
}

.hero-map__image{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
}

/* Pulse hub (stronger + shimmery, still uses the existing centre icon on the map) */
.map-hub{
  position:absolute;
  left:50%;
  top:52%;
  transform:translate(-50%, -50%);
  width:98px;
  height:98px;
  pointer-events:none;
}

.map-hub__ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  opacity:0;
  transform:scale(0.92);
  animation:hubRippleStrong 2.9s ease-out infinite;
}

/* Outer shimmer layer */
.map-hub__ring::before{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:50%;
  background:radial-gradient(circle,
    rgba(95,140,110,0.28) 0%,
    rgba(95,140,110,0.18) 28%,
    rgba(95,140,110,0.06) 55%,
    rgba(95,140,110,0.00) 72%);
  filter:blur(0.6px);
  transform:scale(1);
  opacity:0.9;
}

/* Inner crisp ring (gives that 'pulsier' feel over the fixed rings in the image) */
.map-hub__ring::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  border:3px solid rgba(95,140,110,0.5);
  box-shadow:
    0 0 0 12px rgba(95,140,110,0.09),
    0 0 30px rgba(95,140,110,0.22);
  opacity:0.95;
}

/* Stagger so it feels like waves travelling */
.map-hub__ring--2{ animation-delay:0.35s; }
.map-hub__ring--3{ animation-delay:0.7s; }

@keyframes hubRippleStrong{
  /* Heartbeat-style pulse (two quick bumps), then it shimmers out to the town labels */
  0%   { opacity:0.85; transform:scale(0.92); }
  10%  { opacity:1;    transform:scale(1.06); }
  18%  { opacity:0.75; transform:scale(0.99); }
  26%  { opacity:1;    transform:scale(1.14); }
  34%  { opacity:0.72; transform:scale(1.02); }
  /* Max scale tuned so the wave reaches the three town labels without spilling past them */
  68%  { opacity:0.32; transform:scale(2.45); }
  80%  { opacity:0;    transform:scale(2.45); }
  100% { opacity:0;    transform:scale(2.45); }
}

@media (prefers-reduced-motion: reduce){
  .map-hub__ring{
    animation:none !important;
    opacity:0 !important;
  }
}
