
/* =========================================
   VENTURES PAGE
   Mohammad Mushir Alam Shaikh
========================================= */

/* 1. Design tokens */

:root {
  --navy: #101b2b;
  --navy-light: #19283c;
  --cream: #f7f5ef;
  --white: #ffffff;
  --gold: #c8a96b;
  --gold-light: #e4d2a5;
  --text: #242c36;
  --muted: #737984;
  --border: rgba(16, 27, 43, 0.12);
  --container: 1200px;
  --transition: 220ms ease;
}

/* 2. Reset */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  color: var(--text);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  color: var(--navy);
  background: var(--gold-light);
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 9999;
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy);
}

.skip-link:focus {
  top: 20px;
}

/* 3. Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 239, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.header-container {
  width: min(1320px, calc(100% - 64px));
  min-height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 27px;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.brand-text strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2.2px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav > a {
  position: relative;
  color: #555d68;
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition);
}

.primary-nav > a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.primary-nav > a:hover,
.primary-nav > a.active {
  color: var(--navy);
}

.primary-nav > a:hover::after,
.primary-nav > a.active::after {
  transform: scaleX(1);
}

.primary-nav .nav-contact {
  padding: 12px 16px;
  color: var(--white);
  background: var(--navy);
  transition: background var(--transition), color var(--transition);
}

.nav-contact span {
  margin-left: 8px;
  color: var(--gold-light);
}

.primary-nav .nav-contact:hover {
  color: var(--navy);
  background: var(--gold-light);
}

.primary-nav .nav-contact:hover span {
  color: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--navy);
  transition: transform var(--transition);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* 4. Shared elements */

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1px;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #737984;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.eyebrow-line {
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-label span:first-child {
  color: var(--gold);
}

/* 5. Hero */

.ventures-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 30px;
  color: var(--white);
  background:
    radial-gradient(
      ellipse at 85% 35%,
      rgba(200, 169, 107, 0.13),
      transparent 35%
    ),
    var(--navy);
}

.ventures-hero::after {
  position: absolute;
  top: 0;
  right: 9%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  content: "";
}

.ventures-hero .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 58px;
  color: #b9c0ca;
}

.ventures-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.ventures-hero-copy {
  max-width: 650px;
}

.hero-kicker {
  margin-bottom: 20px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ventures-hero-copy h1 {
  color: var(--white);
  font-size: clamp(44px, 5.7vw, 76px);
  line-height: 1.1;
}

.ventures-hero-copy h1 span {
  display: block;
  margin-top: 8px;
  color: var(--gold-light);
}

.hero-description {
  max-width: 520px;
  margin-top: 28px;
  color: #c0c7d0;
  font-size: 14px;
  line-height: 2;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-bottom: 9px;
  color: var(--white);
  border-bottom: 1px solid rgba(200, 169, 107, 0.65);
  font-size: 12px;
  transition: gap var(--transition);
}

.hero-link:hover {
  gap: 26px;
}

.hero-link span {
  color: var(--gold-light);
}

/* 6. Decorative hero graphic */

.hero-art {
  position: relative;
  display: grid;
  width: min(100%, 430px);
  aspect-ratio: 1 / 1;
  place-items: center;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(228, 210, 165, 0.28);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.01)
  );
}

.art-ring {
  position: absolute;
  border: 1px solid rgba(200, 169, 107, 0.3);
  border-radius: 50%;
}

.ring-one {
  width: 52%;
  aspect-ratio: 1;
}

.ring-two {
  width: 74%;
  aspect-ratio: 1;
}

.ring-three {
  width: 96%;
  aspect-ratio: 1;
  border-style: dashed;
  opacity: 0.5;
}

.art-letter {
  position: relative;
  z-index: 1;
  color: var(--gold-light);
  font-family: "Playfair Display", serif;
  font-size: clamp(150px, 21vw, 240px);
  line-height: 1;
}

.art-caption {
  position: absolute;
  bottom: 22px;
  left: 20px;
  color: #aab4c0;
  font-size: 8px;
  letter-spacing: 2px;
}

/* 7. Hero category strip */

.hero-bottom-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 72px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-bottom-line span {
  color: #aab4c0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
}

/* 8. Introduction */

.ventures-intro {
  padding: 105px 0;
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}

.intro-grid > .section-label {
  padding-top: 10px;
}

.intro-content {
  max-width: 750px;
}

.intro-content h2 {
  color: var(--navy);
  font-size: clamp(36px, 4vw, 53px);
}

.intro-content h2 span {
  display: block;
  color: #b49456;
}

.intro-content p {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

/* 9. Venture portfolio */

.venture-list {
  padding: 110px 0 120px;
  background: #eeece5;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 55px;
}

.section-heading .section-label {
  margin-bottom: 25px;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(36px, 4.2vw, 54px);
}

.section-heading h2 span {
  display: block;
  color: #b49456;
}

.section-heading > p {
  max-width: 550px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

/* 10. Venture cards */

.venture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.venture-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 420px;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(16, 27, 43, 0.1);
  background: var(--cream);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.venture-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.venture-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 169, 107, 0.6);
  box-shadow: 0 22px 55px rgba(16, 27, 43, 0.08);
}

.venture-card:hover::before {
  transform: scaleX(1);
}

.venture-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.venture-category {
  color: #777e87;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.venture-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--navy);
  border: 1px solid rgba(200, 169, 107, 0.7);
  font-family: "Playfair Display", serif;
  font-size: 22px;
}

/* Brand names */

.venture-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
}

.venture-wordmark > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.venture-wordmark small {
  margin-top: 3px;
  color: #7b8189;
  font-size: 9px;
  letter-spacing: 3px;
}

.wordmark-icon {
  display: grid;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  place-items: center;
  color: var(--gold-light);
  background: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 27px;
  font-weight: 500;
}

.rewrite-wordmark .wordmark-icon {
  color: var(--navy);
  background: var(--gold-light);
}

.magnificent-wordmark .wordmark-icon {
  color: var(--gold-light);
  background: #54443a;
}

.venture-card h3 {
  margin-top: 28px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.3;
}

.venture-description {
  max-width: 520px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.venture-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.venture-tags span {
  padding: 6px 10px;
  color: #606873;
  border: 1px solid rgba(16, 27, 43, 0.13);
  font-size: 9px;
  line-height: 1.5;
}

.venture-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 25px;
}

.venture-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6f7680;
  font-size: 10px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.venture-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
}

.venture-link span {
  color: #b49456;
  transition: transform var(--transition);
}

.venture-link:hover span {
  transform: translate(3px, -3px);
}

.portfolio-note {
  margin-top: 28px;
  color: #777e87;
  font-size: 10px;
  line-height: 1.8;
}

/* 11. Collaboration CTA */

.collaboration-section {
  padding: 90px 0;
  color: var(--white);
  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(200, 169, 107, 0.14),
      transparent 30%
    ),
    var(--navy);
}

.collaboration-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.cta-eyebrow {
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.collaboration-copy h2 {
  margin-top: 20px;
  color: var(--white);
  font-size: clamp(35px, 4vw, 52px);
}

.collaboration-copy h2 span {
  display: block;
  color: var(--gold-light);
}

.collaboration-copy > p {
  max-width: 520px;
  margin-top: 18px;
  color: #c0c7d0;
  font-size: 13px;
  line-height: 1.9;
}

.collaboration-button {
  display: inline-flex;
  min-width: 230px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 20px;
  color: var(--navy);
  border: 1px solid var(--gold-light);
  background: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  transition:
    color var(--transition),
    background var(--transition);
}

.collaboration-button:hover {
  color: var(--white);
  background: transparent;
}

.collaboration-button span {
  font-size: 15px;
}

/* 12. Footer */

.site-footer {
  color: var(--white);
  background: #0b1421;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.footer-brand .brand-mark {
  color: var(--navy);
  background: var(--gold-light);
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-brand .brand-text small {
  color: #aab4c0;
}

.footer-message {
  color: #aab4c0;
  font-size: 11px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a,
.footer-bottom a {
  color: #c0c7d0;
  font-size: 10px;
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #8e99a7;
  font-size: 10px;
}

.powered-by {
  text-align: center;
}

.powered-by a {
  color: var(--gold-light);
  font-weight: 700;
}

.powered-by a:hover {
  color: var(--white);
}

/* 13. Tablet */

@media (max-width: 1050px) {
  .header-container {
    width: calc(100% - 40px);
  }

  .primary-nav {
    gap: 18px;
  }

  .ventures-hero-grid {
    gap: 35px;
  }

  .intro-grid {
    gap: 60px;
  }

  .venture-card {
    padding: 25px;
  }

  .footer-main {
    flex-wrap: wrap;
  }
}

/* 14. Mobile navigation */

@media (max-width: 900px) {
  .header-container {
    min-height: 76px;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 76px 0 0;
    z-index: 1001;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 25px 24px 40px;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity var(--transition),
      visibility var(--transition),
      transform var(--transition);
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav > a {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }

  .primary-nav > a:not(.nav-contact)::after {
    display: none;
  }

  .primary-nav .nav-contact {
    margin-top: 20px;
    padding: 16px;
    text-align: center;
  }

  .ventures-hero-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 25px;
  }

  .ventures-hero-copy h1 {
    font-size: clamp(40px, 6vw, 60px);
  }

  .hero-bottom-line {
    margin-top: 55px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .venture-grid {
    grid-template-columns: 1fr 1fr;
  }

  .venture-card {
    min-height: 440px;
  }

  .collaboration-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    flex-wrap: wrap;
  }
}

/* 15. Small screens */

@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-container {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 24px;
  }

  .brand-text strong {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .ventures-hero {
    padding: 40px 0 25px;
  }

  .ventures-hero .eyebrow {
    margin-bottom: 40px;
  }

  .ventures-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ventures-hero-copy h1 {
    font-size: clamp(39px, 10.5vw, 54px);
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-art {
    width: min(100%, 360px);
    justify-self: center;
  }

  .art-letter {
    font-size: 175px;
  }

  .hero-bottom-line {
    justify-content: flex-start;
    gap: 14px 22px;
    margin-top: 45px;
  }

  .hero-bottom-line span {
    font-size: 8px;
  }

  .ventures-intro {
    padding: 75px 0;
  }

  .intro-content h2,
  .section-heading h2 {
    font-size: 37px;
  }

  .venture-list {
    padding: 75px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .venture-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .venture-card {
    min-height: 410px;
    padding: 25px;
  }

  .venture-wordmark {
    font-size: 17px;
  }

  .venture-card h3 {
    font-size: 25px;
  }

  .collaboration-section {
    padding: 70px 0;
  }

  .collaboration-copy h2 {
    font-size: 37px;
  }

  .collaboration-button {
    width: 100%;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .footer-nav {
    gap: 15px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom p {
    line-height: 1.8;
  }

  .powered-by {
    text-align: left;
  }
}

/* 16. Reduced motion */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
