/* ─── TMF 2026 THEME STYLES ─── */

:root {
  --cream: #f5f2ed;
  --warm-white: #faf8f5;
  --charcoal: #1a1a1a;
  --steel: #4a6178;
  --steel-light: #6b8599;
  --steel-wash: #e8edf2;
  --warm-grey: #8a8279;
  --warm-grey-light: #b5aea6;
  --rule: #d8d3cc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: all 0.4s ease;
}
.site-nav.scrolled {
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}

.site-nav .nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { position: relative; height: 22px; width: 130px; }
.nav-logo img {
  position: absolute; top: 0; left: 0;
  height: 22px; width: auto; transition: opacity 0.4s;
}
.nav-logo .logo-white { opacity: 1; }
.nav-logo .logo-color { opacity: 0; }
.site-nav.scrolled .nav-logo .logo-white { opacity: 0; }
.site-nav.scrolled .nav-logo .logo-color { opacity: 1; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.3s;
}
.site-nav.scrolled .nav-links a { color: var(--warm-grey); }
.nav-links a:hover { color: #fff; }
.site-nav.scrolled .nav-links a:hover { color: var(--charcoal); }

.nav-links .nav-cta {
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
  padding: 0.5rem 1.2rem; border-radius: 2px;
  font-size: 0.72rem; letter-spacing: 0.12em;
  border: 1px solid rgba(255,255,255,0.18); transition: all 0.3s;
}
.site-nav.scrolled .nav-links .nav-cta {
  background: var(--charcoal); color: var(--warm-white); border-color: var(--charcoal);
}
.nav-links .nav-cta:hover { background: rgba(255,255,255,0.22); }
.site-nav.scrolled .nav-links .nav-cta:hover { background: var(--steel); border-color: var(--steel); }

/* Mobile nav */
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: #fff; transition: color 0.4s;
}
.site-nav.scrolled .mobile-toggle { color: var(--charcoal); }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(250,248,245,0.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule); padding: 1.5rem 2rem; z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none;
  padding: 0.75rem 0; border-bottom: 1px solid var(--rule);
}

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background: #ffffff;
}

.hero-video-wrap {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden; z-index: 0;
}

.hero-video-wrap iframe {
  position: absolute;
  top: 50%; left: 60%;
  width: 177.78vh; height: 100vh;
  min-width: 120%; min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.78) 0%,
    rgba(10,10,10,0.55) 35%,
    rgba(10,10,10,0.2) 65%,
    rgba(10,10,10,0.1) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  max-width: none; margin: 0; padding: 8rem 2rem 4rem 5vw;
  width: 100%;
}

.hero-label {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.7s ease forwards 0.3s;
}

.hero h1 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.1;
  color: #fff; max-width: 580px;
  opacity: 0; animation: fadeUp 0.7s ease forwards 0.45s;
}
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.6); }

.hero-sub {
  margin-top: 1.8rem;
  font-size: 1rem; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.5); max-width: 440px;
  opacity: 0; animation: fadeUp 0.7s ease forwards 0.6s;
}

.hero-actions {
  margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s ease forwards 0.75s;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; color: var(--charcoal);
  padding: 0.85rem 1.8rem; border: none; border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: all 0.25s;
}
.btn-primary:hover { background: var(--cream); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: rgba(255,255,255,0.75);
  padding: 0.85rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: all 0.25s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

.btn-secondary-dark {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--charcoal);
  padding: 0.85rem 1.8rem;
  border: 1px solid var(--rule); border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: all 0.25s;
}
.btn-secondary-dark:hover { border-color: var(--charcoal); }

/* ─── SECTIONS ─── */
.tmf-section { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; }

.section-label {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--warm-grey-light); margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.2; margin-bottom: 1rem;
}
.section-desc {
  font-weight: 300; font-size: 0.95rem; line-height: 1.7;
  color: var(--warm-grey); max-width: 560px; margin-bottom: 3.5rem;
}

/* ─── GEAR GRID ─── */
.gear-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.gear-card {
  background: var(--cream); border: 1px solid transparent;
  border-radius: 4px; padding: 2rem 1.8rem 1.8rem;
  cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.gear-card:hover {
  border-color: var(--rule); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.gear-card.active-card { border-color: var(--steel-light); background: var(--steel-wash); }

.gear-card-icon {
  width: 100%; height: 120px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; overflow: hidden;
}
.gear-card-icon img {
  height: 120px; width: auto; max-width: 100%;
  object-fit: contain; opacity: 0.75; transition: opacity 0.3s;
}
.gear-card:hover .gear-card-icon img { opacity: 1; }

.gear-card h3 {
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  font-size: 0.92rem; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.gear-card p {
  font-size: 0.8rem; font-weight: 300; line-height: 1.55; color: var(--warm-grey);
}

.gear-card .card-arrow {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 18px; height: 18px;
  opacity: 0; transform: translate(-4px, 4px);
  transition: all 0.3s ease; color: var(--steel);
}
.gear-card:hover .card-arrow,
.gear-card.active-card .card-arrow { opacity: 1; transform: translate(0, 0); }

/* ─── GEAR DETAIL ─── */
.gear-detail {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
  opacity: 0; grid-column: 1 / -1;
  background: var(--cream); border-radius: 4px; border: 1px solid var(--rule);
}
.gear-detail.active { max-height: 800px; opacity: 1; }

.gear-detail-inner { padding: 2rem 2.5rem; }

.gear-detail-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.gear-detail h4 {
  font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 1.3rem;
}
.gear-detail-close {
  background: none; border: none; cursor: pointer;
  color: var(--warm-grey); font-size: 1.4rem; padding: 0.25rem;
  line-height: 1; transition: color 0.2s;
}
.gear-detail-close:hover { color: var(--charcoal); }

.gear-detail-items {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem;
}
.gear-detail-items .item {
  font-size: 0.84rem; font-weight: 300; color: var(--charcoal);
  padding: 0.7rem 0; border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex; justify-content: space-between; gap: 1.5rem;
}
.item-name { flex: 1; }
.item-note { color: var(--warm-grey-light); font-size: 0.76rem; white-space: nowrap; }

.gear-detail-footer {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
}
.gear-detail-footer p { font-size: 0.76rem; color: var(--warm-grey-light); font-style: italic; }
.gear-detail-footer .btn-secondary-dark { padding: 0.45rem 1rem; font-size: 0.7rem; }

/* ─── PHOTO BREAK ─── */
.photo-break {
  width: 100%; overflow: hidden; max-height: 420px;
}
.photo-break img {
  width: 100%; height: 420px; object-fit: cover; object-position: center 35%;
}

/* ─── ABOUT ─── */
.about-strip {
  background: var(--cream);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.about-inner {
  max-width: 1200px; margin: 0 auto; padding: 5rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-text h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; margin-bottom: 1.5rem;
}
.about-text p {
  font-weight: 300; font-size: 0.92rem; line-height: 1.8;
  color: var(--warm-grey); margin-bottom: 1rem;
}
.about-text a {
  color: var(--steel); text-decoration: none;
  border-bottom: 1px solid var(--steel-wash); transition: border-color 0.2s;
}
.about-text a:hover { border-color: var(--steel); }

.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.about-detail-item { padding-top: 1rem; border-top: 1px solid var(--rule); }
.about-detail-item .label {
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--warm-grey-light); margin-bottom: 0.4rem;
}
.about-detail-item .value { font-size: 0.88rem; font-weight: 400; line-height: 1.5; }

/* ─── CONTACT ─── */
.contact-section {
  text-align: center; padding: 7rem 2rem; max-width: 600px; margin: 0 auto;
}
.contact-section h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.2; margin-bottom: 1rem;
}
.contact-section h2 em { font-style: italic; color: var(--steel); }
.contact-section p {
  font-weight: 300; font-size: 0.92rem; line-height: 1.7;
  color: var(--warm-grey); margin-bottom: 2.5rem;
}
.contact-methods { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.contact-method { text-align: center; }
.contact-method .label {
  font-size: 0.63rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--warm-grey-light); margin-bottom: 0.3rem;
}
.contact-method a {
  font-size: 0.9rem; color: var(--charcoal); text-decoration: none;
  border-bottom: 1px solid var(--rule); transition: border-color 0.2s;
}
.contact-method a:hover { border-color: var(--charcoal); }

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--rule); padding: 3rem 2rem;
  max-width: 1200px; margin: 0 auto;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 2rem;
}
.footer-left .footer-logo { height: 28px; width: auto; margin-bottom: 0.5rem; display: block; }
.footer-left p { font-size: 0.78rem; color: var(--warm-grey-light); font-weight: 300; }
.footer-right { display: flex; gap: 3rem; }
.footer-col h5 {
  font-size: 0.63rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--warm-grey-light); margin-bottom: 0.6rem; font-weight: 400;
}
.footer-col a {
  display: block; font-size: 0.82rem; font-weight: 300;
  color: var(--charcoal); text-decoration: none;
  margin-bottom: 0.35rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--steel); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule);
  font-size: 0.72rem; color: var(--warm-grey-light); font-weight: 300;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a {
  color: var(--warm-grey-light); text-decoration: none;
  border-bottom: 1px solid transparent; transition: all 0.2s;
}
.footer-bottom a:hover { color: var(--warm-grey); border-color: var(--warm-grey); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .gear-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .photo-break img { height: 280px; }
  .hero-video-wrap iframe { left: 50%; min-width: 100%; }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10,10,10,0.7) 0%,
      rgba(10,10,10,0.4) 50%,
      rgba(10,10,10,0.65) 100%
    );
  }
}

@media (max-width: 640px) {
  .gear-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero-content { padding: 7rem 1.5rem 3rem; }
  .tmf-section { padding: 4rem 1.5rem; }
  .about-inner { padding: 3.5rem 1.5rem; }
  .about-details { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .contact-methods { flex-direction: column; align-items: center; }
  .gear-detail-items { grid-template-columns: 1fr; }
  .photo-break img { height: 220px; }
}
