/* ============================================
   TODDMEINS INVESTMENT LLC - Styles
   ============================================ */

/* CSS Variables */
:root {
  --void: #070A12;
  --navy: #0B1426;
  --amber: #C8956C;
  --amber-bright: #E4A97A;
  --ice: #E8E4DE;
  --stone: #9B958C;
  --ice-muted: rgba(232,228,222,0.55);
  --amber-glow: rgba(200,149,108,0.15);
  --divider: rgba(232,228,222,0.08);
  --section-y: clamp(80px, 10vh, 140px);
  --content-max: 1280px;
  --page-x: clamp(24px, 5vw, 80px);
}

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

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ice);
  background-color: var(--void);
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--page-x);
  padding-right: var(--page-x);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  background-color: transparent;
  transition: background-color 300ms, backdrop-filter 300ms;
}

.nav--scrolled {
  background-color: rgba(7, 10, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--page-x);
  padding-right: var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice);
  transition: color 300ms;
}

.nav__logo:hover {
  color: var(--amber);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--stone);
  transition: color 300ms;
}

.nav__link:hover {
  color: var(--ice);
}

.nav__cta {
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 10px 24px;
  border-radius: 9999px;
  background-color: var(--amber);
  color: var(--void);
  transition: background-color 200ms;
}

.nav__cta:hover {
  background-color: var(--amber-bright);
}

.nav__mobile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__mobile-link {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--stone);
  transition: color 300ms;
}

.nav__mobile-link:hover {
  color: var(--ice);
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
  .nav__cta {
    display: block;
  }
  .nav__mobile {
    display: none;
  }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(ellipse at 65% 50%, #0B1426 0%, #070A12 60%);
  overflow: hidden;
}

.hero__globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__globe canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--page-x);
  padding-right: var(--page-x);
}

.hero__text {
  max-width: 520px;
}

.hero__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.hero__headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(52px, 6vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ice);
  margin-top: 16px;
}

.hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ice-muted);
  margin-top: 24px;
  max-width: 440px;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero__btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 10px 24px;
  border-radius: 9999px;
  transition: background-color 200ms, border-color 200ms;
}

.hero__btn--primary {
  background-color: var(--amber);
  color: var(--void);
}

.hero__btn--primary:hover {
  background-color: var(--amber-bright);
}

.hero__btn--secondary {
  border: 1px solid var(--divider);
  color: var(--ice);
}

.hero__btn--secondary:hover {
  border-color: var(--amber);
}

.hero__divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 1px;
  background-color: var(--divider);
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__scroll-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--stone);
}

.hero__scroll-line {
  width: 2px;
  height: 24px;
  background-color: var(--stone);
  animation: pulseLine 2s ease-in-out infinite;
}

@keyframes pulseLine {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes fadeOut {
  to { opacity: 0; pointer-events: none; }
}

.hero__scroll--hidden {
  animation: fadeOut 0.5s ease-out forwards;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ice);
  margin-top: 12px;
}

.section-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ice-muted);
  margin-top: 16px;
}

/* ============================================
   SECTORS
   ============================================ */

.sectors {
  background: linear-gradient(180deg, #0B1426 0%, #070A12 100%);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.sectors__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 64px;
}

@media (min-width: 768px) {
  .sectors__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sectors__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sector-card {
  padding: 40px 32px;
  background-color: rgba(232,228,222,0.04);
  border: 1px solid var(--divider);
  border-radius: 2px;
  transition: border-color 300ms;
}

.sector-card:hover {
  border-color: rgba(200,149,108,0.2);
}

.sector-card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.sector-card__icon {
  margin-top: 20px;
  color: var(--amber);
}

.sector-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--ice);
  margin-top: 16px;
}

.sector-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--stone);
  margin-top: 12px;
}

/* ============================================
   APPROACH
   ============================================ */

.approach {
  background-color: var(--void);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.approach__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (min-width: 1024px) {
  .approach__inner {
    flex-direction: row;
    gap: 5%;
  }
}

.approach__left {
  width: 100%;
}

@media (min-width: 1024px) {
  .approach__left {
    width: 45%;
  }
}

.approach__right {
  width: 100%;
}

@media (min-width: 1024px) {
  .approach__right {
    width: 50%;
  }
}

.approach__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
}

.approach__pillars {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pillar__line {
  width: 40px;
  height: 1px;
  background-color: var(--amber);
  margin-top: 12px;
  flex-shrink: 0;
}

.pillar__title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--ice);
}

.pillar__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--stone);
  margin-top: 8px;
}

/* ============================================
   PORTFOLIO
   ============================================ */

.portfolio {
  background-color: var(--navy);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 64px;
}

@media (min-width: 768px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  cursor: pointer;
}

.project-card__image-wrap {
  overflow: hidden;
  border-radius: 2px 2px 0 0;
}

.project-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 500ms ease-out;
}

.project-card:hover .project-card__image {
  transform: scale(1.03);
}

.project-card__info {
  padding: 28px 24px;
  background-color: rgba(232,228,222,0.03);
  border: 1px solid var(--divider);
  border-top: none;
  border-radius: 0 0 2px 2px;
  transition: border-color 300ms;
}

.project-card:hover .project-card__info {
  border-color: var(--amber-glow);
}

.project-card__category {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.project-card__name {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--ice);
  margin-top: 8px;
}

.project-card__location {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--stone);
  margin-top: 6px;
}

.project-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--stone);
  margin-top: 10px;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
  background-color: var(--void);
  padding-top: var(--section-y);
  padding-bottom: 80px;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact__inner {
    flex-direction: row;
    gap: 5%;
  }
}

.contact__left {
  width: 100%;
}

@media (min-width: 1024px) {
  .contact__left {
    width: 55%;
  }
}

.contact__right {
  width: 100%;
}

@media (min-width: 1024px) {
  .contact__right {
    width: 40%;
  }
}

.contact__details {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact__item-icon {
  color: var(--amber);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact__item-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ice);
}

.contact__item-text--mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--stone);
}

.contact__hours {
  margin-top: 32px;
}

.contact__hours-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.contact__hours-value {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--stone);
  margin-top: 8px;
}

/* Contact Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: transparent;
  color: var(--ice);
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  border: 1px solid var(--divider);
  border-radius: 2px;
  outline: none;
  transition: border-color 200ms;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--amber);
}

.form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239B958C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form__select option {
  background-color: var(--navy);
  color: var(--ice);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 14px 24px;
  border-radius: 9999px;
  background-color: var(--amber);
  color: var(--void);
  transition: background-color 200ms;
}

.form__submit:hover {
  background-color: var(--amber-bright);
}

.form__success {
  padding: 16px;
  background-color: rgba(200,149,108,0.15);
  border: 1px solid var(--amber);
  border-radius: 2px;
  color: var(--ice);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background-color: var(--navy);
  padding: 48px var(--page-x);
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer__brand {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice);
}

.footer__address {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--stone);
  margin-top: 8px;
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--stone);
  transition: color 300ms;
}

.footer__link:hover {
  color: var(--ice);
}

.footer__registered {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--stone);
}

.footer__bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--stone);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

/* Scroll reveal animations - content visible by default, enhanced by JS */
.reveal,
.reveal--right {
  opacity: 1;
}

/* Stagger children visible by default */
.stagger-parent .stagger-child {
  opacity: 1;
}

/* JS adds .animated class for entrance effects */
.reveal.animated {
  animation: fadeUp 0.7s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.reveal--right.animated {
  animation: fadeRight 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.stagger-parent.animated .stagger-child {
  animation: fadeUp 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.stagger-parent.animated .stagger-child:nth-child(1) { animation-delay: 0ms; }
.stagger-parent.animated .stagger-child:nth-child(2) { animation-delay: 100ms; }
.stagger-parent.animated .stagger-child:nth-child(3) { animation-delay: 200ms; }
.stagger-parent.animated .stagger-child:nth-child(4) { animation-delay: 300ms; }
.stagger-parent.animated .stagger-child:nth-child(5) { animation-delay: 400ms; }
.stagger-parent.animated .stagger-child:nth-child(6) { animation-delay: 500ms; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
