/* ==========================================================================
   Storm Development — inner pages (loaded after main.css)
   ========================================================================== */

/* ---------- nav dropdown ---------- */

.nav .has-sub { position: relative; }
.nav .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.nav .has-sub .caret { width: 12px; height: 12px; transition: transform 0.25s; }
.nav .has-sub:hover .caret { transform: rotate(180deg); }
.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 270px;
  background: rgba(8, 20, 36, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  z-index: 50;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu a { display: block; border-radius: 10px; padding: 10px 14px !important; font-size: 0.88rem !important; }
.sub-menu a:hover { background: rgba(0, 204, 255, 0.1); color: var(--cyan) !important; }

@media (max-width: 860px) {
  .nav.open .has-sub { display: contents; }
  .nav.open .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none;
    text-align: center; padding: 0;
  }
  .nav.open .sub-menu a { font-size: 1rem !important; }
  .nav.open { overflow-y: auto; padding: 90px 0 40px; justify-content: flex-start; }
}

/* ---------- page hero ---------- */

.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  /* top clearance guarantees the fixed header never overlaps the heading —
     min-height alone isn't enough once a long H1 wraps to 3-4 lines on a
     narrow phone, which pushes the bottom-aligned content up into the
     header's zone */
  padding: calc(var(--header-h) + 40px) 0 70px;
}
.page-hero .ph-bg {
  position: absolute; inset: -6%;
  background-position: center;
  background-size: cover;
  transform: scale(1.05);
  animation: ph-zoom 16s ease-out forwards;
}
@keyframes ph-zoom { to { transform: scale(1.14); } }
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 18% 80%, rgba(18, 102, 181, 0.42), transparent 55%),
    linear-gradient(180deg, rgba(6, 14, 26, 0.78) 0%, rgba(6, 14, 26, 0.45) 45%, rgba(6, 14, 26, 0.94) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: var(--cyan); }

.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; max-width: 22ch; margin-bottom: 18px; }
.page-hero .lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, 0.78); max-width: 62ch; font-weight: 300; }
.page-hero .hero-ctas { margin: 34px 0 0; }

/* ---------- generic content blocks ---------- */

.section { padding: 110px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #fff; }
.section.ink { background: var(--ink); color: #fff; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split .img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.split .img-wrap:hover img { transform: scale(1.05); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.info-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dark .info-tile, .ink .info-tile {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.info-tile .ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px -8px rgba(0, 170, 255, 0.5);
}
.info-tile .ico svg { width: 22px; height: 22px; }
.info-tile h3 { font-size: 1.05rem; margin-bottom: 10px; }
.info-tile p { font-size: 0.9rem; color: var(--muted); }
.dark .info-tile p, .ink .info-tile p { color: rgba(255, 255, 255, 0.7); }

/* ---------- process steps ---------- */

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.step .num {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(120deg, #7ed6ff, #00ccff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.68); }

/* ---------- pricing ---------- */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(0, 204, 255, 0.4); }
.price-card h3 { font-size: 1.08rem; padding-right: 30px; }
.price-card .desc { font-size: 0.88rem; color: var(--muted); flex: 1; }
.price-card .price { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.price-card .price small { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.price-card .ongoing { font-size: 0.8rem; color: var(--blue); font-weight: 600; }
.price-card.flagship {
  background: linear-gradient(140deg, var(--navy), #123a63);
  color: #fff;
  border-color: rgba(0, 204, 255, 0.3);
}
.price-card.flagship .desc { color: rgba(255, 255, 255, 0.72); }
.price-card.flagship .ongoing { color: var(--cyan); }
.price-card .pc-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 204, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 204, 255, 0.4);
}

.bundle {
  margin-top: 40px;
  border-radius: var(--radius);
  padding: 40px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 24px 60px -18px rgba(0, 170, 255, 0.55);
}
.bundle h3 { font-size: 1.4rem; margin-bottom: 6px; }
.bundle p { opacity: 0.9; font-size: 0.95rem; }
.bundle .btn { background: #fff; color: var(--blue); }

/* ---------- accordion ---------- */

.accordion { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.acc-item.open { box-shadow: var(--shadow-sm); border-color: rgba(0, 204, 255, 0.4); }
.acc-item button {
  width: 100%;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
}
.acc-item .acc-icon {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-out), background 0.35s;
}
.acc-item .acc-icon svg { width: 14px; height: 14px; }
.acc-item.open .acc-icon { transform: rotate(45deg); background: var(--grad); color: #fff; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-out); }
.acc-body p { padding: 0 26px 24px; color: var(--muted); font-size: 0.94rem; }

/* ---------- team ---------- */

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card .avatar {
  width: 92px; height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(0, 170, 255, 0.55);
}
.team-card .avatar svg { width: 44px; height: 44px; }
.team-card h3 { font-size: 1.2rem; }
.team-card .role { color: var(--blue); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; margin: 6px 0 14px; }
.team-card p { font-size: 0.9rem; color: var(--muted); }

/* ---------- gallery strip ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid a {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  cursor: zoom-in;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.gallery-grid a:hover img { transform: scale(1.08); }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 14, 26, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 70px 70px 56px; overflow: hidden; }
.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  touch-action: pan-y;
}
.lb-img.is-swiping { transition: none; }
.lb-close, .lb-arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lb-close:hover, .lb-arrow:hover { background: rgba(255, 255, 255, 0.18); }
.lb-close svg, .lb-arrow svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; width: 46px; height: 46px; z-index: 2; }
.lb-arrow { top: 50%; width: 52px; height: 52px; transform: translateY(-50%); }
.lb-arrow:hover { transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; margin: 0; }

@media (max-width: 640px) {
  .lb-stage { padding: 90px 14px 60px; }
  .lb-close { top: 14px; right: 14px; }
  .lb-arrow { width: 44px; height: 44px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ---------- quotes ---------- */

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 6px; left: 22px;
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.5;
}
.quote-card p { font-size: 0.95rem; margin: 26px 0 18px; }
.quote-card cite { font-style: normal; font-weight: 600; font-size: 0.88rem; }
.quote-card cite small { display: block; color: var(--muted); font-weight: 400; }

/* ---------- portfolio showcase ---------- */

.showcase { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.showcase-pin { overflow: hidden; }
.showcase-track {
  display: flex;
  align-items: center;
  gap: 5vw;
  padding: 0 8vw;
  width: max-content;
  will-change: transform;
}
.project-panel {
  width: min(72vw, 980px);
  flex: none;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 44px;
  align-items: center;
}
.project-panel .p-info h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 10px 0 16px; }
.project-panel .p-info p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; margin-bottom: 26px; }
.p-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 204, 255, 0.4);
  background: rgba(0, 204, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
}
.p-num {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  display: block;
  margin-bottom: 12px;
}

.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  background: #0e1c30;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.browser-frame:hover { transform: translateY(-8px) scale(1.015); box-shadow: 0 60px 110px -30px rgba(0, 170, 255, 0.35); }
.bf-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bf-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.bf-bar i:nth-child(1) { background: #ff5f57; }
.bf-bar i:nth-child(2) { background: #febc2e; }
.bf-bar i:nth-child(3) { background: #28c840; }
.bf-bar .bf-url {
  margin-left: 12px;
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bf-shot { height: 420px; overflow: hidden; position: relative; }
.bf-shot img {
  width: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
/* screenshot slowly pans on hover */
.bf-shot.pan img { transition: object-position 6s ease-in-out; }
.bf-shot.pan:hover img { object-position: bottom; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card { display: block; }
.work-card .browser-frame { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.work-card .bf-shot { height: 260px; }
.work-card .bf-bar { background: #eef4fa; border-color: var(--line); }
.work-card .bf-url { background: #fff; color: var(--muted); }
.work-meta { display: flex; align-items: center; justify-content: space-between; padding: 16px 6px 0; gap: 10px; }
.work-meta b { font-size: 0.98rem; }
.work-meta small { display: block; color: var(--muted); font-size: 0.78rem; }
.work-meta .visit {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--blue);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.work-card:hover .visit { background: var(--grad); color: #fff; transform: rotate(45deg); border-color: transparent; }
.work-meta .visit svg { width: 15px; height: 15px; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow-lg);
}
.contact-form h2 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-form > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.82rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 13px 16px;
  border: 1.5px solid #dde7f0;
  border-radius: 12px;
  background: #f8fbfd;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  width: 100%;
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 204, 255, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.75rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: 0.9rem; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #14904d; }
.form-status.err { display: block; color: #c8383b; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.contact-aside { display: grid; gap: 22px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 1.02rem; margin-bottom: 16px; }
.contact-card ul { display: grid; gap: 13px; }
.contact-card li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.9rem; }
.contact-card li svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }
.contact-card a:hover { color: var(--blue); }
.contact-card .w3w { color: #e11f26; font-weight: 700; }

/* ---------- wales tech map ---------- */

.wales-section { position: relative; overflow: hidden; }
.wales-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 204, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 204, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 75%);
}
.wales-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.wales-map-box { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.wales-map-box svg { width: 100%; height: auto; display: block; overflow: visible; }

.wales-land {
  fill: rgba(18, 102, 181, 0.12);
  stroke: rgba(0, 204, 255, 0.75);
  stroke-width: 1.6;
}
.wales-land-glow {
  fill: none;
  stroke: rgba(0, 204, 255, 0.18);
  stroke-width: 7;
}
.net-line {
  stroke: rgba(0, 204, 255, 0.35);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  animation: net-flow 2.6s linear infinite;
}
@keyframes net-flow { to { stroke-dashoffset: -20; } }

.town { cursor: pointer; }
.town .dot {
  fill: var(--cyan);
  stroke: #fff;
  stroke-width: 1.4;
  filter: drop-shadow(0 0 6px rgba(0, 204, 255, 0.9));
  transition: r 0.25s;
}
.town .ring, .town .ring2 {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}
.town:hover .ring, .town:focus .ring { animation: radar 1.6s ease-out infinite; }
.town:hover .ring2, .town:focus .ring2 { animation: radar 1.6s ease-out 0.55s infinite; }
@keyframes radar {
  0% { opacity: 0.9; transform: scale(0.25); }
  100% { opacity: 0; transform: scale(3.2); }
}
.town text {
  fill: rgba(255, 255, 255, 0.85);
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
  paint-order: stroke;
  stroke: rgba(6, 14, 26, 0.85);
  stroke-width: 3px;
  transition: fill 0.25s;
}
.town:hover text { fill: var(--cyan); font-weight: 600; }

.hq .dot { fill: #fff; stroke: var(--cyan); stroke-width: 2; }
.hq .pulse {
  fill: none;
  stroke: rgba(0, 204, 255, 0.8);
  stroke-width: 1.6;
  transform-origin: center;
  transform-box: fill-box;
  animation: radar 2.4s ease-out infinite;
}
.hq text { fill: #fff; font-weight: 700; }

.map-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.map-scan::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -12%;
  height: 10%;
  background: linear-gradient(180deg, transparent, rgba(0, 204, 255, 0.1) 50%, transparent);
  animation: scanline 7s linear infinite;
  will-change: transform;
}
@keyframes scanline { to { transform: translateY(1250%); } }

.coverage-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.coverage-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
}
.coverage-list li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 204, 255, 0.9);
}

/* ---------- google map embed ---------- */

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  position: relative;
  height: 420px;
}
.map-embed iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.9) invert(0.92) hue-rotate(185deg) saturate(3.2) brightness(0.9) contrast(1.05);
}
.map-embed .w3w-chip {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(6, 14, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
}
.map-embed .w3w-chip b { color: #e11f26; }
.map-embed .w3w-chip a { color: var(--cyan); font-weight: 600; }

/* ---------- weather embeds ---------- */

.embed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.embed-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px;
  color: #fff;
}
.embed-card h3 { font-size: 1.02rem; margin-bottom: 16px; }
.embed-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 20px; }
.embed-16x9 { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #06101d; }
.embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-tall { border-radius: 12px; overflow: hidden; background: #06101d; height: 420px; }
.embed-tall iframe { width: 100%; height: 100%; border: 0; }
.embed-wide { border-radius: 12px; overflow: hidden; background: #06101d; height: 500px; }
.embed-wide iframe { width: 100%; height: 100%; border: 0; }
.embed-card.cam-link { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.embed-card.full-width { margin-bottom: 24px; }
.embed-card.full-width:last-child { margin-bottom: 0; }
.embed-willy { border-radius: 12px; overflow: hidden; background: #fff; height: 1300px; }
.embed-willy iframe { width: 100%; height: 100%; border: 0; }
.embed-windguru { border-radius: 12px; overflow: hidden; background: #06101d; height: 720px; }
.embed-windguru iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .embed-grid { grid-template-columns: 1fr; }
  .embed-tall, .embed-wide { height: 360px; }
  .embed-willy { height: 1000px; }
  .embed-windguru { height: 560px; }
}

/* ---------- kite weather dashboard (wwkw port) ---------- */

.wwkw-live-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px; padding: 7px 16px; margin-bottom: 26px;
}
.wwkw-live-badge.on { color: #4ade80; border-color: rgba(74,222,128,0.4); }
.wwkw-pulse { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; animation: wwkw-pulse 1.6s ease-out infinite; }
@keyframes wwkw-pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); } 100% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } }

.wwkw-section {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius);
  padding: 30px; margin-bottom: 26px; color: #fff;
}
.wwkw-section-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 1.05rem; margin-bottom: 26px; }
.wwkw-updated { font-size: 0.75rem; font-weight: 400; color: rgba(255,255,255,0.5); }
.wwkw-updated a { color: var(--cyan); }

.wwkw-gauges-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.wwkw-gauge-wrap { text-align: center; }
.wwkw-gauge-wrap canvas { max-width: 100%; margin-inline: auto; }
.wwkw-gauge-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.wwkw-gauge-value { margin-top: 10px; }
.wwkw-bearing { font-size: 1.5rem; font-weight: 800; color: var(--cyan); }
.wwkw-deg { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-left: 6px; }

.wwkw-speed-stats { display: grid; gap: 8px; margin-top: 14px; text-align: left; }
.wwkw-stat { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.82rem; color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.05); border-radius: 10px; padding: 8px 14px; }
.wwkw-stat strong { color: #fff; font-size: 0.92rem; }
.wwkw-beaufort.kitesurf strong { color: #22c55e; }
.wwkw-beaufort.hydrofoil strong { color: #f59e0b; }
.wwkw-beaufort.too-light strong { color: #94a3b8; }
.wwkw-beaufort.strong strong { color: #f97316; }
.wwkw-beaufort.danger strong { color: #ef4444; }

.wwkw-conditions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.wwkw-cond-item { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.wwkw-cond-icon { font-size: 1rem; }
.wwkw-cond-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); }
.wwkw-cond-value { font-weight: 700; font-size: 0.95rem; }
.wwkw-data-source { margin-top: 14px; font-size: 0.7rem; color: rgba(255,255,255,0.4); text-align: left; }

.wwkw-kite-rating { display: inline-block; font-weight: 700; font-size: 0.95rem; padding: 12px 22px; border-radius: 999px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); margin-bottom: 20px; }
.wwkw-kite-rating.kitesurf { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.5); color: #4ade80; }
.wwkw-kite-rating.hydrofoil { background: rgba(245,158,11,0.14); border-color: rgba(245,158,11,0.45); color: #fbbf24; }
.wwkw-kite-rating.too-light { color: rgba(255,255,255,0.6); }
.wwkw-kite-rating.strong { background: rgba(249,115,22,0.15); border-color: rgba(249,115,22,0.5); color: #fb923c; }
.wwkw-kite-rating.danger { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.5); color: #f87171; }

.wwkw-direction-strip { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.05); border-radius: 14px; padding: 14px 20px; margin-bottom: 18px; font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.wwkw-direction-strip strong { color: #fff; }
.wwkw-direction-arrow { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.3rem; font-weight: 800; transition: transform 0.8s var(--ease-out); }

.wwkw-sun-tide-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.wwkw-sun-item { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); border-radius: 12px; padding: 10px 18px; font-size: 0.88rem; }
.wwkw-sun-label { color: rgba(255,255,255,0.55); }
.wwkw-sun-value { font-weight: 700; }

#wwkw-best-spot-panel { display: grid; gap: 12px; }
.wwkw-spot-card { display: flex; align-items: center; gap: 16px; background: rgba(0,204,255,0.07); border: 1px solid rgba(0,204,255,0.3); border-radius: 14px; padding: 16px 20px; }
.wwkw-spot-emoji { font-size: 1.7rem; }
.wwkw-spot-info { flex: 1; }
.wwkw-spot-name { font-weight: 700; font-size: 1.02rem; }
.wwkw-spot-tip { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 2px; }
.wwkw-spot-map { flex: none; font-size: 0.8rem; font-weight: 600; color: var(--cyan); border: 1px solid rgba(0,204,255,0.4); border-radius: 999px; padding: 8px 16px; transition: background 0.25s; }
.wwkw-spot-map:hover { background: rgba(0,204,255,0.15); }
.wwkw-no-spot { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

.wwkw-tides-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.wwkw-tide-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 20px; }
.wwkw-tide-card-header { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; }
.wwkw-tide-bst-badge { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; background: rgba(0,204,255,0.15); color: var(--cyan); border: 1px solid rgba(0,204,255,0.4); border-radius: 999px; padding: 4px 12px; }
.wwkw-tide-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.wwkw-tide-table th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.wwkw-tide-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.wwkw-tide-time { font-weight: 700; color: var(--cyan); }
.wwkw-tide-loading { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.wwkw-tide-loading a { color: var(--cyan); }
.wwkw-tide-disclaimer { margin-top: 14px; font-size: 0.64rem; letter-spacing: 0.14em; color: rgba(255,255,255,0.35); text-align: center; }

.wwkw-cal-header { font-weight: 700; margin-bottom: 12px; }
.wwkw-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.wwkw-cal-day-label { font-size: 0.66rem; text-transform: uppercase; color: rgba(255,255,255,0.45); text-align: center; padding: 6px 0; }
.wwkw-cal-cell { text-align: center; padding: 8px 0; font-size: 0.82rem; border-radius: 9px; }
.wwkw-cal-date { cursor: pointer; transition: background 0.2s; }
.wwkw-cal-date:hover { background: rgba(255,255,255,0.1); }
.wwkw-cal-date.today { border: 1px solid rgba(0,204,255,0.5); }
.wwkw-cal-date.selected { background: var(--grad); font-weight: 700; }
.wwkw-cal-date.past { color: rgba(255,255,255,0.35); }
.wwkw-cal-nav { display: flex; justify-content: space-between; margin-top: 14px; }
.wwkw-cal-btn { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-family: inherit; font-size: 0.78rem; font-weight: 600; border-radius: 999px; padding: 7px 18px; transition: background 0.25s; }
.wwkw-cal-btn:hover { background: rgba(0,204,255,0.2); }

@media (max-width: 900px) {
  .wwkw-gauges-row, .wwkw-tides-layout { grid-template-columns: 1fr; }
}

/* ---------- misc ---------- */

.center-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.center-head .section-lead { margin-inline: auto; }
.cta-min {
  text-align: center;
  padding: 90px 0;
}
.text-block { max-width: 780px; }
.text-block p + p { margin-top: 16px; }
.text-block h2 { margin: 40px 0 16px; font-size: 1.6rem; }
.text-block ul { display: grid; gap: 10px; margin: 18px 0; }
.text-block ul li { display: flex; gap: 12px; align-items: flex-start; }
.text-block ul li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  flex: none;
  margin-top: 9px;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .card-grid, .card-grid.cols-4, .team-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .wales-wrap { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .project-panel { grid-template-columns: 1fr; width: 84vw; gap: 26px; }
  .bf-shot { height: 300px; }
}
@media (max-width: 640px) {
  .pricing-grid, .card-grid, .card-grid.cols-2, .card-grid.cols-4, .team-grid, .work-grid, .form-row, .coverage-list { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .contact-form { padding: 28px 22px; }
  .steps { grid-template-columns: 1fr; }
}

/* ---------- cookie consent ---------- */

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(6, 14, 26, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, 0.6);
  padding: 22px 0;
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .container { max-width: 1100px; }
.cookie-banner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 260px; color: #fff; }
.cookie-banner-text h3 { font-size: 1rem; margin-bottom: 6px; }
.cookie-banner-text p { font-size: 0.86rem; color: rgba(255, 255, 255, 0.68); line-height: 1.6; }
.cookie-banner-text a { color: var(--cyan); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.cookie-banner-actions .btn { padding: 12px 20px; font-size: 0.85rem; white-space: nowrap; }
.cookie-banner-actions .btn-text {
  background: none;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  padding: 12px 8px;
  font-size: 0.85rem;
  font-weight: 500;
}
.cookie-banner-actions .btn-text:hover { color: #fff; }

.cookie-prefs {
  max-width: 1100px;
  margin: 18px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}
.cookie-prefs.open { display: block; }
.cookie-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cookie-pref-row:last-of-type { border-bottom: 0; }
.cookie-pref-info h4 { font-size: 0.9rem; color: #fff; margin-bottom: 4px; }
.cookie-pref-info p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); max-width: 640px; }
.cookie-toggle {
  flex: none;
  width: 46px; height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.25s;
}
.cookie-toggle::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s;
}
.cookie-toggle.on { background: var(--grad); border-color: transparent; }
.cookie-toggle.on::after { transform: translateX(20px); }
.cookie-toggle.disabled { opacity: 0.6; cursor: not-allowed; }
.cookie-prefs-save { margin-top: 16px; text-align: right; }

/* gated third-party embeds */
.consent-gate {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  background:
    linear-gradient(rgba(6, 14, 26, 0.86), rgba(6, 14, 26, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 10px, transparent 10px 20px);
}
.consent-gate-inner { max-width: 320px; }
.consent-gate-inner p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 16px; }
.consent-gate-inner .btn { padding: 10px 20px; font-size: 0.82rem; }
.consent-gate-inner small { display: block; margin-top: 12px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.45); }
.consent-gate-inner small a { color: var(--cyan); }

@media (max-width: 700px) {
  .cookie-banner-row { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; }
  .cookie-pref-row { flex-direction: column; }
}
