@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@700;800&display=swap');

:root {
  --bg-color: #F5F5F5;
  --primary-color: #111111;
  --accent-color: #0066FF;
  --gray-color: #D9D9D9;
  --border-width: 4px;
  --border-width-sm: 2px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Mono', monospace;

  /* Layout constraints */
  --max-width: 1440px;
  --header-height: 80px;
}

/* CSS RESET & GENERAL BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
  /* Strict brutalist sharp edges */
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--primary-color);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* DUAL-ELEMENT CUSTOM CURSOR (Only active on desktop with hover capability) */
@media (hover: hover) and (pointer: fine) {
  #cursor-wrapper {
    display: block;
    pointer-events: none;
  }

  #custom-cursor-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(0, 0, 0) translate(-50%, -50%);
    transition: width 0.2s cubic-bezier(0.19, 1, 0.22, 1),
      height 0.2s cubic-bezier(0.19, 1, 0.22, 1),
      border-color 0.2s ease,
      background-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  #custom-cursor-inner {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    pointer-events: none;
    z-index: 10000;
    transform: translate3d(0, 0, 0) translate(-50%, -50%);
    transition: width 0.1s ease, height 0.1s ease, background-color 0.1s ease, opacity 0.15s ease;
  }

  /* Hover states morph */
  #custom-cursor-outer.hovering {
    width: 36px;
    height: 36px;
    border-color: var(--accent-color);
    box-shadow: 4px 4px 0px var(--primary-color);
    background-color: transparent;
  }

  #custom-cursor-inner.hovering {
    opacity: 0;
    width: 0px;
    height: 0px;
  }

  /* Click feedback styles */
  #custom-cursor-outer.clicking {
    width: 16px;
    height: 16px;
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    box-shadow: none;
  }

  #custom-cursor-inner.clicking {
    opacity: 1;
    width: 4px;
    height: 4px;
    background-color: #FFFFFF;
  }
}

#cursor-wrapper {
  display: none;
}

/* BORDERS & SEPARATORS (Brutalist Grid System) */
.border-b {
  border-bottom: var(--border-width) solid var(--primary-color);
}

.border-t {
  border-top: var(--border-width) solid var(--primary-color);
}

.border-l {
  border-left: var(--border-width) solid var(--primary-color);
}

.border-r {
  border-right: var(--border-width) solid var(--primary-color);
}

.border-all {
  border: var(--border-width) solid var(--primary-color);
}

.border-b-sm {
  border-bottom: var(--border-width-sm) solid var(--primary-color);
}

.border-t-sm {
  border-top: var(--border-width-sm) solid var(--primary-color);
}

.border-l-sm {
  border-left: var(--border-width-sm) solid var(--primary-color);
}

.border-r-sm {
  border-right: var(--border-width-sm) solid var(--primary-color);
}

.border-all-sm {
  border: var(--border-width-sm) solid var(--primary-color);
}

/* LAYOUT CONTAINER */
.container-full {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

p {
  font-family: var(--font-body);
  line-height: 1.6;
  font-weight: 400;
}

.text-mono {
  font-family: var(--font-body);
}

.text-accent {
  color: var(--accent-color);
}

/* BUTTONS & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--primary-color);
  background-color: var(--bg-color);
  border: var(--border-width) solid var(--primary-color);
  box-shadow: 4px 4px 0px var(--primary-color);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #FFFFFF;
  box-shadow: 5px 5px 0px var(--primary-color);
}

.btn-primary:hover {
  background-color: #0052cc;
}

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--primary-color);
}

.btn-primary:hover {
  box-shadow: 7px 7px 0px var(--primary-color);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--primary-color);
}

/* NAVIGATION */
header {
  height: var(--header-height);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  position: sticky;
  top: 0;
  background-color: var(--bg-color);
  z-index: 100;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--primary-color);
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
}

.nav-meta {
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-cta .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  box-shadow: 3px 3px 0px var(--primary-color);
}

.nav-cta .btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--primary-color);
}

.nav-cta .btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--primary-color);
}

/* HERO SECTION (Redesigned Swiss Editorial Layout) */
.hero-section {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.hero-header-block {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 4rem 3rem;
  background-color: var(--bg-color);
  overflow: hidden;
}

.hero-header-block .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 11.5vw, 11.5rem);
  font-weight: 800;
  text-align: left;
  line-height: 0.85;
  margin-bottom: 0;
  width: 100%;
  white-space: nowrap;
}

.hero-body-block {
  display: grid;
  grid-template-columns: 4.5fr 5.5fr;
  width: 100%;
}

.hero-content {
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: var(--border-width) solid var(--primary-color);
}

.hero-meta {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.hero-meta::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  margin-right: 10px;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  margin-bottom: 2rem;
  word-wrap: break-word;
}

.hero-subheading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-desc {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* HERO ARTWORK SIDE (Right Side) */
.hero-visual {
  background-color: #EBEBEB;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, var(--gray-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--gray-color) 1px, transparent 1px);
  pointer-events: none;
}

.svg-canvas-container {
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.brutalist-svg {
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 600px;
}

/* INFINITE MARQUEE */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 1.5rem 0;
  display: flex;
  z-index: 10;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  padding: 0 2rem;
  display: inline-flex;
  align-items: center;
}

.marquee-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--accent-color);
  margin-right: 4rem;
  margin-left: 2rem;
}

@keyframes marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ABOUT SECTION */
.about-section {
  padding: 8rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.about-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-lead {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.about-body {
  font-size: 1.2rem;
  color: #333333;
}

/* WHY RYLIXHACKS SECTION */
.why-section {
  padding: 8rem 3rem;
  background-color: var(--bg-color);
}

.why-header {
  margin-bottom: 5rem;
}

.why-title {
  font-size: clamp(2.5rem, 6vw, 6rem);
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.brutalist-card {
  background-color: #FFFFFF;
  border: var(--border-width) solid var(--primary-color);
  padding: 3rem 2.5rem;
  box-shadow: 6px 6px 0px var(--primary-color);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.brutalist-card:hover {
  transform: translate(-6px, -6px) rotate(-1deg);
  box-shadow: 12px 12px 0px var(--accent-color);
}

.card-num {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.card-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.card-desc {
  font-size: 1.1rem;
  color: #333333;
  margin-top: auto;
}

/* LOOKING FOR PARTNERS */
.partners-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 80vh;
}

.partners-content {
  padding: 8rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--accent-color);
  color: #FFFFFF;
  border-right: var(--border-width) solid var(--primary-color);
}

.partners-content .section-label {
  color: var(--primary-color);
}

.partners-title {
  font-size: clamp(3rem, 6vw, 6.5rem);
  margin-bottom: 2rem;
}

.partners-desc {
  font-size: 1.3rem;
  max-width: 600px;
  line-height: 1.6;
}

.partners-list-side {
  padding: 8rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bg-color);
}

.partners-list-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.partner-logo-card {
  background-color: #FFFFFF;
  border: var(--border-width) solid var(--primary-color);
  padding: 2.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  min-height: 120px;
  text-transform: uppercase;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 4px 4px 0px var(--primary-color);
}

.partner-logo-card:not(.vacant):hover {
  transform: translate(-5px, -5px) rotate(-1deg);
  box-shadow: 10px 10px 0px var(--accent-color);
}

.partner-logo-card.vacant {
  border-style: dashed;
  border-color: var(--primary-color);
  color: #777777;
  background-color: transparent;
  box-shadow: none;
}

.partner-logo-card.vacant:hover {
  transform: none;
  box-shadow: none;
}

.partner-status {
  font-size: 0.75rem;
  color: var(--accent-color);
  font-weight: 700;
  margin-top: 6px;
  display: block;
}

.partner-logo-card.be-here {
  background-color: var(--accent-color);
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background-color 0.2s ease,
    color 0.2s ease;
}

.partner-logo-card.be-here:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
  transform: translate(-5px, -5px) rotate(1deg);
  box-shadow: 10px 10px 0px var(--accent-color);
}

.partner-logo-card.be-here:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--primary-color);
}

/* ===========================
   FOUNDER SECTION
=========================== */

.founder-section {
  width: 100%;
  padding: 8rem clamp(2rem, 5vw, 6rem);
  background: var(--bg-color);
}

.founder-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 5rem;
}

/* Full width layout */

.team-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
}

/* Founder card */

.team-card:first-child {
  grid-column: span 8;

  display: grid;
  grid-template-columns: 420px 1fr;

  min-height: 520px;

  background: #fff;
  border: var(--border-width) solid var(--primary-color);
  box-shadow: 8px 8px 0 var(--primary-color);
}

/* Vacancy cards */

.team-card:not(:first-child) {
  grid-column: span 4;
  min-height: 520px;
}

/* Default card */

.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.team-card:not(.vacant):hover {
  transform: translate(-8px, -8px);
  box-shadow: 16px 16px 0 var(--accent-color);
}

/* Image */

.team-img-container {
  width: 100%;
  height: 100%;
  border-right: var(--border-width) solid var(--primary-color);
  border-bottom: none;
  overflow: hidden;
  background: #eee;
}

.team-card:not(:first-child) .team-img-container {
  aspect-ratio: 1;
  height: auto;
  border-right: none;
  border-bottom: var(--border-width) solid var(--primary-color);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(115%);
  transition: .35s;
}

.team-card:hover .team-img {
  filter: none;
  transform: scale(1.04);
}

/* Info */

.team-info {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 3rem;
}

.team-meta {
  font-size: .8rem;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: .15em;
  margin-bottom: .8rem;
}

.team-member-name {
  font-size: clamp(2.2rem, 3vw, 4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: .6rem;
  text-transform: uppercase;
}

.team-role {
  font-size: 1rem;
  font-weight: 700;
  opacity: .75;
  margin-bottom: 2rem;
}

.team-bio {
  max-width: 650px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.team-apply-btn {
  margin-top: auto;
  width: 100%;
  padding: 1rem;
}

/* Vacant */

.team-card.vacant {
  background: transparent;
  border: 3px dashed var(--primary-color);
  box-shadow: none;
}

.team-img-container.vacant-placeholder {
  background: #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vacant-svg {
  width: 120px;
  opacity: .4;
}

/* Tablet */

@media (max-width:1100px) {

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card:first-child {
    grid-column: auto;
    grid-template-columns: 320px 1fr;
  }

  .team-card:not(:first-child) {
    grid-column: auto;
  }

}

/* Mobile */

@media (max-width:768px) {

  .founder-section {
    padding: 5rem 1.5rem;
  }

  .team-card:first-child {
    grid-template-columns: 1fr;
  }

  .team-img-container {
    aspect-ratio: 1;
    border-right: none;
    border-bottom: var(--border-width) solid var(--primary-color);
  }

  .team-info {
    padding: 2rem;
  }

  .team-member-name {
    font-size: 2rem;
  }

}

/* VISION SECTION */
.vision-section {
  padding: 10rem 3rem;
  background-color: var(--primary-color);
  color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vision-quote {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 800;
  max-width: 1200px;
  position: relative;
}

/* CONTACT SECTION */
.contact-section {
  padding: 8rem 3rem;
  background-color: var(--bg-color);
}

.contact-box {
  border: var(--border-width) solid var(--primary-color);
  background-color: #FFFFFF;
  box-shadow: 8px 8px 0px var(--primary-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-info-side {
  padding: 5rem;
  border-right: var(--border-width) solid var(--primary-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 4rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  word-wrap: break-word;
}

.contact-action-side {
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  background-color: #EBEBEB;
}

.contact-lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-action-side .btn {
  width: 100%;
  text-align: center;
}

/* FOOTER */
footer {
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 6rem 3rem 3rem 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6rem;
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.footer-tagline {
  font-size: 1.1rem;
  opacity: 0.7;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.footer-link-group-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link-list a {
  color: var(--bg-color);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.15s ease;
}

.footer-link-list a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  opacity: 0.7;
}

.footer-bottom-statement {
  font-weight: 700;
  text-transform: uppercase;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* =====================================================
   RESPONSIVE DESIGN
===================================================== */


/* =====================================================
   TABLET
===================================================== */

@media (max-width:1024px) {

  header {
    padding: 0 2rem;
  }

  .hero-section {
    width: 100%;
  }

  .hero-header-block .hero-title {
    font-size: clamp(3.5rem, 11vw, 8rem);
  }

  .hero-body-block {
    grid-template-columns: 1fr;
  }

  .hero-content {
    border-right: none;
    border-bottom: var(--border-width) solid var(--primary-color);
    padding: 5rem 2rem;
  }

  .hero-visual {
    height: 450px;
  }

  .about-section {
    grid-template-columns: 1fr;
    padding: 6rem 2rem;
    gap: 3rem;
  }

  .why-section {
    padding: 6rem 2rem;
  }

  .why-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .partners-section {
    grid-template-columns: 1fr;
  }

  .partners-content {
    border-right: none;
    border-bottom: var(--border-width) solid var(--primary-color);
    padding: 6rem 2rem;
  }

  .partners-list-side {
    padding: 6rem 2rem;
  }

  /* ================= Founder ================= */

  .founder-section {
    padding: 6rem 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-card:first-child {
    grid-column: auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: auto;
  }

  .team-card:not(:first-child) {
    grid-column: auto;
    min-height: 420px;
  }

  .contact-section {
    padding: 6rem 2rem;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-info-side {
    border-right: none;
    border-bottom: var(--border-width) solid var(--primary-color);
    padding: 3rem 2rem;
  }

  .contact-action-side {
    padding: 3rem 2rem;
  }

  footer {
    padding: 5rem 2rem 2rem;
  }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width:767px) {

  :root {
    --border-width: 3px;
  }

  header {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-meta {
    display: none;
  }

  .hero-header-block {
    padding: 3rem 1rem 2rem;
  }

  .hero-header-block .hero-title {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
    white-space: normal;
  }

  .hero-content {
    padding: 3rem 1.25rem;
  }

  .hero-subheading {
    font-size: 1.6rem;
  }

  .hero-desc {
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .hero-visual {
    display: none;
  }

  .marquee-item {
    font-size: 1.8rem;
    padding: 0 1rem;
  }

  .marquee-dot {
    width: 10px;
    height: 10px;
    margin: 0 2rem 0 1rem;
  }

  .about-section {
    padding: 5rem 1rem;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .about-lead {
    font-size: 1.4rem;
  }

  .about-body {
    font-size: 1.1rem;
  }

  .why-section {
    padding: 5rem 1rem;
  }

  .why-header {
    margin-bottom: 3rem;
  }

  .why-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .brutalist-card {
    padding: 2rem 1.5rem;
  }

  .card-title {
    font-size: 1.8rem;
  }

  .partners-content {
    padding: 5rem 1rem;
  }

  .partners-title {
    font-size: 2.8rem;
  }

  .partners-desc {
    font-size: 1.1rem;
  }

  .partners-list-side {
    padding: 5rem 1rem;
  }

  .partners-list-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 0;
  }

  /* ================= Founder ================= */

  .founder-section {
    padding: 5rem 1rem;
  }

  .founder-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .team-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .team-card,
  .team-card:first-child,
  .team-card:not(:first-child) {

    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: auto;
  }

  .team-img-container {
    width: 100%;
    aspect-ratio: 1;
    height: auto;

    border-right: none;
    border-bottom: var(--border-width) solid var(--primary-color);
  }

  .team-info {
    padding: 1.5rem;
  }

  .team-meta {
    font-size: .8rem;
  }

  .team-member-name {
    font-size: 2rem;
  }

  .team-role {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .team-bio {
    font-size: 1rem;
    line-height: 1.7;
  }

  .team-apply-btn {
    margin-top: 2rem;
  }

  .vision-section {
    padding: 6rem 1rem;
  }

  .vision-quote {
    font-size: 1.8rem;
  }

  .contact-section {
    padding: 5rem 1rem;
  }

  .contact-info-side {
    padding: 2.5rem 1.25rem;
  }

  .contact-title {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
  }

  .contact-value {
    font-size: 1.6rem;
  }

  .contact-action-side {
    padding: 2.5rem 1.25rem;
  }

  .contact-lead-text {
    font-size: 1.1rem;
  }

  footer {
    padding: 4rem 1rem 2rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
  }

  .footer-logo {
    font-size: 2.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 3rem;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding-top: 2rem;
  }

}