/* RLYSIMPL home — bold blocks with per-project contrast */

@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@500;600;700&family=Archivo+Black&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;0,9..40,800;1,9..40,400&family=Fredoka:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&family=Inter:wght@500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.home {
  background: #111111;
  color: #f5f5f5;
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.4;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ——— Hero ——— */
.home-hero {
  background: #111111;
  min-height: min(72vh, 720px);
  display: flex;
  flex-direction: column;
  padding: 28px 40px 72px;
}

.home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.home-logo {
  font-family: 'Archivo Black', 'Arial Black', sans-serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.home-hi {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 10px 22px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.home-hi:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.home-nav__side {
  display: flex;
  align-items: center;
  gap: 20px;
}

.home-nav__blog {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  color: #8a8a8a;
  transition: color 0.15s ease;
}

.home-nav__blog:hover {
  color: #fff;
}

.home-hero__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1280px;
  width: 100%;
  margin: 48px auto 0;
}

.home-hero__title {
  font-family: 'Archivo Black', 'Arial Black', sans-serif;
  font-size: clamp(2.6rem, 8.5vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.home-hero__title .line {
  display: block;
  color: #fff;
}

.home-hero__title .line--muted {
  color: #5c5c5c;
}

/* ——— Shared band shell ——— */
.band {
  display: block;
  width: 100%;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.band:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

.band__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

.band__name {
  font-size: clamp(1.6rem, 4.2vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.band__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  text-align: right;
}

.band__desc {
  font-size: 14px;
  line-height: 1.35;
  max-width: 280px;
}

.band__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}

.band__arrow-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.band:hover .band__arrow {
  transform: translate(4px, -4px);
}

/* Desktop: 2×2 project grid, full-width bands below */
@media (min-width: 721px) {
  .home-bands {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-bands > .band:not(.band--full) {
    min-height: 220px;
    display: flex;
    align-items: center;
  }

  .home-bands > .band:not(.band--full) .band__inner {
    max-width: none;
    width: 100%;
  }

  .band--full {
    grid-column: 1 / -1;
  }

  .band--carpe {
    border-top: none;
    border-bottom: none;
    border-left: 1px solid #c9c6bc;
  }

  .band--steady {
    border-top: none;
    border-left: 1px solid #c6d8da;
  }

  .band--health {
    border-top: 1px solid #2a2a2a;
  }
}

@media (max-width: 720px) {
  .home-hero {
    padding: 22px 22px 56px;
    min-height: auto;
  }

  .home-hero__copy {
    margin-top: 64px;
    padding-bottom: 24px;
  }

  .band__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .band__meta {
    text-align: left;
    width: 100%;
    justify-content: space-between;
  }

  .band__desc {
    max-width: none;
  }
}

/* ——— Imagine Anything: coral / gold / teal / sky (site palette) ——— */
.band--imagine {
  background:
    linear-gradient(
      118deg,
      #e76f51 0%,
      #e9a441 28%,
      #7bb369 52%,
      #2a9d8f 74%,
      #4b96c4 100%
    );
  color: #2a1e10;
  position: relative;
  overflow: hidden;
}

.band--imagine::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 90%, rgba(255, 248, 236, 0.35) 0%, transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(255, 214, 106, 0.4) 0%, transparent 30%);
  pointer-events: none;
}

.band--imagine .band__inner {
  position: relative;
}

.band--imagine .band__name {
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  color: #2a1e10;
  text-shadow: 0 1px 0 rgba(255, 248, 236, 0.25);
}

.band--imagine .band__desc {
  font-family: 'Fredoka', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #2a1e10;
}

.band--imagine .band__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2a1e10;
  color: #ffd66a;
}

.band--imagine:hover {
  filter: saturate(1.08) brightness(1.03);
}

/* ——— Getting Away: deep navy + teal accent (site palette) ——— */
.band--gettingaway {
  background: #0a1e38;
  color: #ffffff;
  position: relative;
}

.band--gettingaway::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 50%, rgba(0, 194, 176, 0.18) 0%, transparent 45%),
    linear-gradient(180deg, #0d2a4e 0%, #050e1c 100%);
  pointer-events: none;
}

.band--gettingaway .band__inner {
  position: relative;
}

.band--gettingaway .band__name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.5rem, 3.8vw, 2.8rem);
  color: #ffffff;
}

.band--gettingaway .band__desc {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.58);
  max-width: 320px;
}

.band--gettingaway .band__arrow {
  background: #00c2b0;
  color: #050e1c;
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

.band--gettingaway:hover {
  filter: brightness(1.08);
}

.band--gettingaway:hover .band__arrow {
  background: #30d4c4;
}

/* ——— Carpe: cream / brick red editorial ——— */
.band--carpe {
  background: #f1f0eb;
  color: #1a1a18;
  border-top: 1px solid #c9c6bc;
  border-bottom: 1px solid #c9c6bc;
}

.band--carpe .band__name {
  font-family: -apple-system, 'SF Pro', 'DM Sans', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  color: #1a1a18;
  position: relative;
  padding-bottom: 10px;
}

.band--carpe .band__name::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: #d6431f;
}

.band--carpe .band__desc {
  font-family: -apple-system, 'SF Pro', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d6431f;
  max-width: 240px;
}

.band--carpe .band__arrow {
  background: #d6431f;
  color: #f1f0eb;
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

.band--carpe:hover {
  background: #ebe9e2;
}

/* ——— SchengenIO: EU blue, precise Inter ——— */
.band--schengen {
  background: #0055a4;
  color: #fcf9f8;
  position: relative;
}

.band--schengen .band__inner {
  border-left: 4px solid #e63946;
  padding-left: 28px;
}

.band--schengen .band__name {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.band--schengen .band__name span {
  opacity: 0.55;
  font-weight: 600;
}

.band--schengen .band__desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(252, 249, 248, 0.82);
  max-width: 260px;
}

.band--schengen .band__arrow {
  background: #fcf9f8;
  color: #0055a4;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.band--schengen:hover {
  background: #0660b5;
}

/* ——— Health: dark / amber (temporary home link) ——— */
.band--health {
  background: #0f0f0f;
  color: #f5f0eb;
  position: relative;
  border-top: 1px solid #2a2a2a;
}

.band--health::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(232, 168, 56, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.band--health .band__inner {
  position: relative;
}

.band--health .band__name {
  font-family: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  color: #f5f0eb;
}

.band--health .band__desc {
  font-family: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #e8a838;
  max-width: 300px;
}

.band--health .band__arrow {
  background: #e8a838;
  color: #0f0f0f;
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.band--health:hover {
  filter: brightness(1.08);
}

/* ——— Steady: mist / teal calm ——— */
.band--steady {
  background: #edf3f2;
  color: #21444d;
  position: relative;
  border-top: 1px solid #c6d8da;
}

.band--steady::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 45%, rgba(62, 110, 121, 0.14) 0%, transparent 48%);
  pointer-events: none;
}

.band--steady .band__inner {
  position: relative;
}

.band--steady .band__name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  color: #21444d;
}

.band--steady .band__desc {
  font-family: 'Albert Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #3e6e79;
  max-width: 300px;
}

.band--steady .band__arrow {
  background: #3e6e79;
  color: #fbfaf7;
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.band--steady:hover {
  background: #e4eeed;
}

/* ——— Footer ——— */
.home-footer {
  background: #111111;
  padding: 56px 40px 40px;
  border-top: 1px solid #222;
}

.home-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px 48px;
}

.home-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-footer__logo {
  font-family: 'Archivo Black', 'Arial Black', sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.home-footer__tagline {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  color: #8a8a8a;
  max-width: 260px;
  line-height: 1.5;
}

.home-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-footer__label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c5c5c;
}

.home-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-footer__links a {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #c8c8c8;
  transition: color 0.15s ease;
}

.home-footer__links a:hover {
  color: #fff;
}

.home-footer__bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  color: #8a8a8a;
}

.home-footer__bottom a {
  color: #8a8a8a;
}

.home-footer__bottom a:hover {
  color: #fff;
}

.home-footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .home-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .home-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .home-footer {
    padding: 40px 22px 32px;
  }

  .home-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .band--schengen .band__inner {
    padding-left: 18px;
  }
}
