@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap');

:root {
  --hub-ink: #222421;
  --hub-muted: #61665f;
  --hub-bg: #f6f6ef;
  --hub-surface: #ffffff;
  --hub-lime: #d9f36a;
  --hub-green: #dfe9d8;
  --hub-blue: #dbe7ee;
  --hub-pink: #eddadf;
  --hub-border: rgba(34, 36, 33, 0.12);
  --hub-radius-lg: 2rem;
  --hub-radius-md: 1.4rem;
  --hub-shadow: 0 18px 50px rgba(27, 32, 27, 0.06);
  --hub-shell: 1180px;
}

.hub-page {
  background: var(--hub-bg);
  color: var(--hub-ink);
  overflow: hidden;
}

.hub-shell {
  width: min(calc(100% - 2rem), var(--hub-shell));
  margin-inline: auto;
}

.hub-eyebrow {
  margin: 0 0 .85rem;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hub-hero {
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 7rem);
}

.hub-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.hub-hero__title,
.hub-section-heading h2,
.hub-about h2,
.hub-cta h2,
.hub-card h3 {
  margin: 0;
  line-height: .98;
  letter-spacing: -.04em;
}

.hub-hero__title {
  max-width: 10ch;
  font-size: clamp(3.5rem, 7.8vw, 7.25rem);
  font-weight: 500;
}

.hub-hero__intro {
  max-width: 42rem;
  margin-top: 1.75rem;
  color: var(--hub-muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.hub-button {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.75rem;
  padding: .95rem 1.25rem;
  border-radius: 999px;
  background: var(--hub-lime);
  color: var(--hub-ink);
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hub-button:hover,
.hub-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--hub-shadow);
}

.hub-hero__media {
  position: relative;
}

.hub-hero__image-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 48% 48% 44% 44% / 35% 35% 50% 50%;
  background: var(--hub-green);
}

.hub-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-handwritten {
font-family: "Caveat", cursive;
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  line-height: 1.1;
}

.hub-hero__note {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  max-width: 12rem;
  transform: rotate(-5deg);
}

.hub-explore {
  padding: clamp(4rem, 7vw, 7rem) 0;
  border-top: 1px solid var(--hub-border);
}

.hub-section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, .55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.hub-section-heading h2,
.hub-about h2,
.hub-cta h2 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 500;
}

.hub-cta h2{
 color: var(--hub-green);   
}


.hub-section-heading__copy {
  margin: 0;
  color: var(--hub-muted);
  line-height: 1.7;
}

.hub-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hub-card {
  min-height: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius-lg);
  color: var(--hub-ink);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

a.hub-card:hover,
a.hub-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--hub-shadow);
}

.hub-card--portfolio { background: var(--hub-green); }
.hub-card--plugins { background: var(--hub-blue); }
.hub-card--connect { background: var(--hub-pink); }

.hub-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: 1rem 1rem 0;
  border-radius: calc(var(--hub-radius-md) - .25rem);
}

.hub-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem;
}

.hub-card h3 {
  font-size: clamp(2.25rem, 3vw, 3.5rem);
  font-weight: 500;
}

.hub-card__title-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.hub-card__title-row span {
  font-size: 2rem;
}

.hub-card__content > p:last-child {
  margin-top: auto;
  margin-bottom: 0;
  max-width: 26ch;
  line-height: 1.6;
}

.hub-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: auto;
}

.hub-socials a {
  padding: .7rem .9rem;
  border: 1px solid rgba(34, 36, 33, .18);
  border-radius: 999px;
  color: var(--hub-ink);
  text-decoration: none;
  background: rgba(255,255,255,.35);
}

.hub-about {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.hub-about__grid {
  display: grid;
  grid-template-columns: .8fr .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hub-richtext {
  color: var(--hub-muted);
  line-height: 1.7;
}

.hub-about__image-wrap {
  overflow: hidden;
  border-radius: var(--hub-radius-lg);
  aspect-ratio: 3 / 4;
}

.hub-about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-cta {
  margin: 0 0 1rem;
}

.hub-cta__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-radius: var(--hub-radius-lg);
  background: #222421;
  color: #f5f6ef;
}

.hub-cta__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(245, 246, 239, .72);
  line-height: 1.7;
}

.hub-eyebrow--light {
  color: rgba(245, 246, 239, .65);
}

.hub-button--light {
  align-self: flex-start;
  background: var(--hub-lime);
  color: var(--hub-ink);
}

@media (max-width: 900px) {
  .hub-hero__grid,
  .hub-section-heading,
  .hub-about__grid,
  .hub-cta__grid {
    grid-template-columns: 1fr;
  }

  .hub-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hub-card--connect {
    grid-column: 1 / -1;
    min-height: 20rem;
  }

  .hub-hero__title {
    max-width: 12ch;
  }

  .hub-hero__media {
    max-width: 38rem;
  }
}

@media (max-width: 620px) {
  .hub-shell {
    width: min(calc(100% - 1.25rem), var(--hub-shell));
  }

  .hub-hero {
    padding-top: 3rem;
  }

  .hub-card-grid {
    grid-template-columns: 1fr;
  }

  .hub-card,
  .hub-card--connect {
    grid-column: auto;
    min-height: 26rem;
  }

  .hub-hero__note {
    right: .25rem;
    bottom: -2rem;
  }

  .hub-cta__grid {
    padding: 2rem 1.4rem;
  }
}


/* Force header logo size */
.site-header .site-header__brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
}

.site-header .site-header__brand img.custom-logo {
  display: block;
  width: auto !important;
     height: auto !important;
    max-width: 235px !important;
    max-height: 100px !important;
  object-fit: contain;
}

@media (max-width: 767px) {
  .site-header .site-header__brand img.custom-logo {
    height: auto !important;
    max-width: 235px !important;
    max-height: 100px !important;
  }
}


/* =========================================
   Header
========================================= */

.site-header {
  position: relative;
  z-index: 100;
  padding: 1.1rem 0;
  background: var(--hub-bg);
  border-bottom: 1px solid var(--hub-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}


/* Logo */

.site-header__brand {
  flex-shrink: 0;
  margin-right: auto;
}

.site-header__brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-header__brand img.custom-logo {
  display: block;
  width: auto !important;
  height: 34px !important;
  max-width: 155px !important;
  max-height: 34px !important;
  object-fit: contain;
}

.site-header__brand-text {
  color: var(--hub-ink);
  font-weight: 700;
  text-decoration: none;
}


/* =========================================
   Navigation
========================================= */

.site-header__nav {
  display: flex;
  align-items: center;
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__menu li {
  margin: 0;
}

.site-header__menu a {
  position: relative;
  display: inline-block;
  color: var(--hub-ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-header__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--hub-lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.site-header__menu a:hover::after,
.site-header__menu a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* =========================================
   Social Icons
========================================= */

.site-socials {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.site-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  color: var(--hub-ink);
  background: transparent;

  border: 1px solid rgba(34, 36, 33, 0.18);
  border-radius: 50%;

  text-decoration: none;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.site-socials svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex-shrink: 0;
}

.site-socials a:hover,
.site-socials a:focus-visible {
  color: var(--hub-ink);
  background: var(--hub-lime);
  border-color: var(--hub-lime);
  transform: translateY(-2px);
}

.site-socials a:focus-visible {
  outline: 2px solid var(--hub-ink);
  outline-offset: 3px;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 900px) {

  .site-header__inner {
    gap: 1.25rem;
  }

  .site-header__menu {
    gap: 1rem;
  }

  .site-header__menu a {
    font-size: 0.75rem;
  }

}


/* =========================================
   Mobile
========================================= */

@media (max-width: 767px) {

  .site-header {
    padding: 0.9rem 0;
  }

  .site-header__inner {
    gap: 0.75rem;
  }

  .site-header__brand {
    margin-right: auto;
    min-width: 0;
  }

  .site-header__brand img.custom-logo {
    height: 29px !important;
    max-width: 130px !important;
    max-height: 29px !important;
  }

  /* No hamburger and no mobile nav */
  .site-header__nav {
    display: none;
  }

  /* Keep social icons visible */
  .site-socials {
    display: flex;
    gap: 0.3rem;
  }

  .site-socials a {
    width: 34px;
    height: 34px;
  }

  .site-socials svg {
    width: 15px;
    height: 15px;
  }

}