/* =============================================================================
   Surface Light — wisertech.ca umbrella skin
   -----------------------------------------------------------------------------
   The parent site is the daylight surface above the family's Abyssal Light
   venture sites: same type DNA (Fraunces + Inter) and accent spectrum
   (teal→cyan→indigo), inverted onto a light sea-glass ground. The footer dips
   back into the abyss — the visual handshake with the venture sites.
   Loaded by mu-plugin wt-umbrella.php on top of Shapely 1.2.12.
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300..600&family=Inter:wght@300..700&display=swap');

:root {
  /* Typography */
  --wt-serif: "Fraunces", Georgia, serif;
  --wt-sans: "Inter", system-ui, sans-serif;

  /* Ground & Surface */
  --wt-bg: #f6f8fb;
  --wt-bg-2: #eef2f8;
  --wt-surface: #ffffff;
  --wt-line: rgba(12, 20, 48, .10);
  --wt-shadow: 0 18px 48px -24px rgba(12, 20, 48, .25);

  /* Ink */
  --wt-ink: #0c1430;
  --wt-ink-dim: #3c4668;
  --wt-ink-mute: #6b7494;

  /* Accents (family gradient) */
  --wt-teal: #0fa89a;
  --wt-cyan: #1e8fc9;
  --wt-indigo: #6d6ae0;
  --wt-grad: linear-gradient(100deg, #0fa89a 0%, #1e8fc9 45%, #6d6ae0 100%);

  /* Venture hues */
  --wt-v-nautics: #1e8fc9;
  --wt-v-flux: #d64550;
  --wt-v-helio: #c07d00;
  --wt-v-mooring: #1e3a8a;
  --wt-v-airg: #5a57c9;

  /* Abyss (footer) */
  --wt-abyss: #08102a;
  --wt-abyss-2: #060a18;
  --wt-glow: #4ee7d6;
  --wt-glow-hover: #7af0e0;
}

/* --- Ground & typography --- */
body {
  background-color: var(--wt-bg);
  color: var(--wt-ink);
  font-family: var(--wt-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wt-serif);
  color: var(--wt-ink);
  font-weight: 500;
  margin-bottom: 0.5em;
}

p { margin-bottom: 1.2em; }

a {
  color: var(--wt-cyan);
  text-decoration: none;
  transition: color 200ms ease;
}
a:hover { color: var(--wt-teal); }

/* --- Header --- */
div.nav-container {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wt-line);
}

.main-navigation .menu li a {
  font-family: var(--wt-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wt-ink) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.main-navigation .menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--wt-grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.main-navigation .menu li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- Hero --- */
/* The hero image + bottom scrim are painted directly on the parallax window
   (layered backgrounds), replacing the fragile JS parallax mirror: the hero
   can no longer fail to render, with or without JavaScript. */
div.parallax-window.fullscreen {
  background:
    linear-gradient(to top, rgba(6, 10, 24, 0.62) 0%, transparent 45%),
    url('/wp-content/uploads/2020/02/wisertech_front_logo_v2.png') center / cover no-repeat;
}

.wt-hero {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 9vh;
  text-align: center;
}

.wt-hero__kicker {
  font-family: var(--wt-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7af0e0;
  margin-bottom: 1rem;
}

.wt-hero__title {
  font-family: var(--wt-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.wt-hero__sub {
  font-family: var(--wt-sans);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 46ch;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* --- Homepage widget section rhythm --- */
#shapely_home_parallax-4,
#shapely_home_parallax-3,
#shapely_home_parallax-6 {
  display: block;
  padding: 5.5rem 0;
}

#shapely_home_parallax-3 { background-color: var(--wt-bg-2); }

#shapely_home_parallax-4 section h1,
#shapely_home_parallax-3 section h1,
#shapely_home_parallax-6 section h1 {
  margin-bottom: 2.6rem;
}

#shapely_home_parallax-4 section h1::after,
#shapely_home_parallax-3 section h1::after,
#shapely_home_parallax-6 section h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--wt-grad);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* --- Ventures grid (five equals) --- */
/* Five equals: one row of five on wide screens; centered wrap below so a
   partial row never reads as a ranked leftover. */
.wt-ventures {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}

.wt-ventures > li {
  flex: 1 1 280px;
  max-width: 360px;
}

@media (min-width: 1200px) {
  .wt-ventures { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
  .wt-ventures > li { max-width: none; }
  .wt-card { padding: 1.5rem 1.25rem; }
  .wt-card__name { font-size: 1.28rem; }
  .wt-card__body { font-size: 0.92rem; }
}

.wt-card {
  background: var(--wt-surface);
  border: 1px solid var(--wt-line);
  border-radius: 14px;
  box-shadow: var(--wt-shadow);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  position: relative;
  overflow: hidden;
}

.wt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.wt-card__kicker {
  font-family: var(--wt-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem 0;
}

.wt-card__name {
  font-family: var(--wt-serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--wt-ink);
  margin: 0 0 0.8rem 0;
  line-height: 1.2;
}

.wt-card__body {
  font-size: 0.98rem;
  color: var(--wt-ink-dim);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.wt-card__link {
  font-family: var(--wt-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  margin-top: auto;
  text-decoration: none;
  display: inline-block;
  transition: transform 200ms ease, color 200ms ease;
}

.wt-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  transform: translateX(4px);
  color: var(--accent);
}

.wt-card--nautics { --accent: var(--wt-v-nautics); }
.wt-card--flux    { --accent: var(--wt-v-flux); }
.wt-card--helio   { --accent: var(--wt-v-helio); }
.wt-card--mooring { --accent: var(--wt-v-mooring); }
.wt-card--airg    { --accent: var(--wt-v-airg); }

.wt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px -20px rgba(12, 20, 48, .3);
  border-color: var(--accent);
}

/* --- Thread band --- */
.wt-thread {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
}

.wt-thread__line {
  font-family: var(--wt-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  color: var(--wt-ink);
}

.wt-thread__glow {
  background: var(--wt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.wt-thread__note {
  font-family: var(--wt-sans);
  color: var(--wt-ink-mute);
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* --- Proof strip --- */
.wt-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.wt-proof__item {
  background: var(--wt-surface);
  border: 1px solid var(--wt-line);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-family: var(--wt-sans);
  font-size: 0.88rem;
  color: var(--wt-ink-dim);
  display: flex;
  align-items: center;
}

.wt-proof__label {
  font-weight: 600;
  color: var(--wt-ink);
  margin-right: 0.5rem;
}

/* --- Contact & forms --- */
section.contact-section {
  background-color: var(--wt-bg-2);
  padding: 4rem 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  background: var(--wt-surface);
  border: 1px solid var(--wt-line);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: var(--wt-sans);
  color: var(--wt-ink);
  width: 100%;
  transition: border-color 200ms, box-shadow 200ms;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--wt-teal);
  box-shadow: 0 0 0 3px rgba(15, 168, 154, 0.15);
}

/* --- Buttons --- */
.btn, .btn-filled, input[type="submit"] {
  border-radius: 999px;
  background-color: var(--wt-ink);
  color: #fff;
  font-family: var(--wt-sans);
  font-weight: 500;
  padding: 0.8rem 2rem;
  border: none;
  cursor: pointer;
  transition: background 200ms ease, transform 150ms ease;
  display: inline-block;
  text-decoration: none;
}

.btn:hover, .btn-filled:hover, input[type="submit"]:hover {
  background: var(--wt-grad);
  color: #fff;
  transform: translateY(-1px);
}

/* --- Partner logo strip --- */
.logo-carousel img {
  filter: grayscale(0.6) opacity(0.75);
  transition: filter 300ms ease;
}
.logo-carousel img:hover { filter: grayscale(0) opacity(1); }

/* --- Footer: the abyss --- */
footer#colophon.site-footer {
  background: linear-gradient(180deg, var(--wt-abyss) 0%, var(--wt-abyss-2) 100%);
  color: rgba(238, 241, 251, 0.75);
  padding-top: 3rem;
}

.footer-credits, .copyright-text, .site-info {
  color: rgba(238, 241, 251, 0.6);
  font-size: 0.9rem;
}

.footer-credits a, .site-info a, footer#colophon a {
  color: var(--wt-glow);
  text-decoration: none;
}

.footer-credits a:hover, .site-info a:hover, footer#colophon a:hover {
  color: var(--wt-glow-hover);
  text-decoration: underline;
}

.footer-callout:empty { display: none; }

/* Hide the theme-vendor credit line; the © line (.copyright-text) stays. */
.footer-credits { display: none; }

/* --- Inner pages (Ventures, About) --- */
.wt-page {
  max-width: 72ch;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.wt-page img { border-radius: 14px; max-width: 100%; height: auto; }

.wt-venture {
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--wt-line);
}
.wt-venture:last-of-type { border-bottom: none; }

.wt-venture__kicker {
  font-family: var(--wt-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.wt-venture__name {
  font-family: var(--wt-serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.wt-venture__body {
  font-size: 1.1rem;
  color: var(--wt-ink-dim);
  margin-bottom: 1.5rem;
}

.wt-venture__link {
  font-family: var(--wt-sans);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.wt-venture__link:hover { text-decoration: underline; color: var(--accent); }

.wt-venture--nautics { --accent: var(--wt-v-nautics); }
.wt-venture--flux    { --accent: var(--wt-v-flux); }
.wt-venture--helio   { --accent: var(--wt-v-helio); }
.wt-venture--mooring { --accent: var(--wt-v-mooring); }
.wt-venture--airg    { --accent: var(--wt-v-airg); }

.wt-principles {
  list-style: none;
  padding: 0;
}
.wt-principles li {
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  position: relative;
}
.wt-principles li::before {
  content: '•';
  color: var(--wt-teal);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.wt-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}
.wt-team figure { margin: 0; text-align: center; }
.wt-team img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--wt-line);
  box-shadow: var(--wt-shadow);
}
.wt-team figcaption {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--wt-ink-dim);
  line-height: 1.45;
}
.wt-team figcaption strong { color: var(--wt-ink); display: block; }

/* --- Accessibility & motion --- */
:focus-visible {
  outline: 2px solid var(--wt-teal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .wt-card:hover, .wt-card__link:hover { transform: none; }
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .main-navigation {
    background: #fff;
    border-top: 1px solid var(--wt-line);
  }
  .main-navigation .menu li a {
    color: var(--wt-ink) !important;
    padding: 1rem !important;
    display: block;
  }
  .main-navigation .menu li a::after { display: none; }
}

@media (max-width: 560px) {
  .wt-ventures { grid-template-columns: 1fr; }
  .wt-hero__title { font-size: 2rem; }
  .wt-card { padding: 1.5rem; }
}
