/* ========================================
   GREGORY BUTERA — SHARED STYLESHEET
   ======================================== */

:root {
  --tiger: #E35205;
  --tiger-50: #FEF3ED;
  --tiger-600: #B84304;
  --ink: #1A1A1A;
  --ink-light: #2D2D2D;
  --ink-muted: #6B6B6B;
  --cream: #FAFAF8;
  --cream-warm: #F5F5F0;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ========================================
   LAYOUT
   ======================================== */
.container { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.container--mid { max-width: 768px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 640px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section--cream { background-color: var(--cream); }
.section--warm { background-color: var(--cream-warm); }

.section__header { max-width: 640px; margin-bottom: 48px; }
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.section__desc {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: sticky;
  top: 0;
  background-color: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
  z-index: 50;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav__links { display: flex; gap: 32px; }
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav__link:hover, .nav__link.active {
  color: var(--tiger);
  border-bottom-color: var(--tiger);
}
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  width: 28px;
  height: 28px;
}
.nav__hamburger svg { width: 28px; height: 28px; }

@media (max-width: 700px) {
  .nav__hamburger { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--cream);
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }
  .nav__links.open { display: flex; }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  padding: 120px 24px 96px;
  background-color: var(--cream);
  overflow: hidden;
}
.hero__bg {
  display: none;
}
.hero__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.hero__content { position: relative; }
.hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tiger);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  background-color: var(--tiger-50);
  border-radius: 2px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}
.accent { color: var(--tiger); }
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}
.hero__body {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.5s forwards;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  text-decoration: none;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background-color: var(--tiger);
  color: white;
  border-color: var(--tiger);
}
.btn--primary:hover {
  background-color: var(--tiger-600);
  border-color: var(--tiger-600);
}
.btn--outline {
  background-color: transparent;
  color: var(--ink);
  border-color: rgba(26, 26, 26, 0.15);
}
.btn--outline:hover {
  border-color: var(--ink);
}

/* ========================================
   LINK STYLES
   ======================================== */
.link--tiger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tiger);
  transition: color 0.2s ease;
  text-decoration: none;
}
.link--tiger svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.link--tiger:hover { color: var(--tiger-600); }
.link--tiger:hover svg { transform: translateX(4px); }

/* ========================================
   CARDS
   ======================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.card-grid--wide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.card {
  padding: 32px;
  background-color: white;
  border: 1px solid rgba(26, 26, 26, 0.05);
  border-radius: 2px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card--interactive { cursor: pointer; }
.card--interactive:hover {
  border-color: rgba(227, 82, 5, 0.2);
  box-shadow: 0 4px 24px rgba(227, 82, 5, 0.06);
}
.card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--tiger-50);
  border-radius: 2px;
  margin-bottom: 20px;
}
.card__icon svg { width: 22px; height: 22px; color: var(--tiger); }
.card__subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tiger);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.card__title--lg { font-size: 1.75rem; }
.card__text {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ========================================
   CREDENTIALS BAR
   ======================================== */
.credentials {
  padding: 64px 0;
  background-color: var(--cream);
  border-top: 1px solid rgba(26, 26, 26, 0.04);
}
.credentials__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
.credentials__item { text-align: center; }
.credentials__value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--tiger);
}
.credentials__label {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 4px;
}
.credentials__divider {
  width: 1px;
  height: 48px;
  background-color: rgba(26, 26, 26, 0.1);
}
@media (max-width: 600px) {
  .credentials__divider { display: none; }
  .credentials__inner { gap: 32px; }
}

/* ========================================
   SCENARIO DETAIL VIEW
   ======================================== */
.sim-detail { margin-top: 32px; }

.sim-back {
  display: inline-flex;
  align-items: center;
  color: var(--ink-muted);
  font-size: 0.875rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 32px;
  padding: 0;
  transition: color 0.2s ease;
  text-decoration: none;
}
.sim-back:hover { color: var(--ink); }
.sim-back svg { width: 16px; height: 16px; margin-right: 8px; }

.sim-detail__subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tiger);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.sim-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--ink);
}
.sim-detail__tagline {
  font-size: 1.25rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 32px;
}
.sim-detail__format {
  font-size: 0.875rem;
  color: var(--ink-muted);
  padding: 12px 16px;
  background-color: var(--cream-warm);
  border-left: 3px solid var(--tiger);
  margin-bottom: 48px;
}
.sim-detail__section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
}
.sim-detail__desc {
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.sim-detail__context-item {
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}
.sim-detail__context-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--tiger);
  border-radius: 50%;
}
.theme-tag {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--tiger-50);
  color: var(--tiger-600);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 2px;
  margin: 0 8px 8px 0;
}
.sim-detail__note {
  padding: 32px;
  background-color: var(--cream-warm);
  border-radius: 2px;
  margin-bottom: 48px;
  color: var(--ink-muted);
  line-height: 1.75;
  font-size: 0.95rem;
  font-style: italic;
}

/* Simulation launch box */
.sim-launch {
  margin: 32px 0;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--cream-warm) 0%, white 100%);
  border: 2px solid rgba(227, 82, 5, 0.15);
  border-radius: 2px;
  text-align: center;
}
.sim-launch__icon {
  margin: 0 auto 16px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sim-launch__icon svg { width: 48px; height: 48px; color: var(--tiger); }
.sim-launch__label {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}
.sim-launch__btn {
  display: inline-flex;
  font-size: 1.05rem;
  padding: 18px 40px;
}
.sim-launch__note {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 16px;
}

/* ========================================
   BLOG
   ======================================== */
.blog-post {
  padding: 40px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}
.blog-post:last-of-type { border-bottom: none; }
.blog-post__date {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-post__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.25;
}
.blog-post__excerpt {
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Coming soon post */
.blog-post--forthcoming {
  opacity: 0.7;
}
.blog-post__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  background-color: var(--cream-warm);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ========================================
   PAGE TITLES
   ======================================== */
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--ink);
}
.page-desc {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  padding: 28px;
  background-color: white;
  border: 1px solid rgba(26, 26, 26, 0.05);
  border-radius: 2px;
}
.contact-card__icon {
  width: 44px;
  height: 44px;
  background-color: var(--tiger-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 2px;
}
.contact-card__icon svg { width: 22px; height: 22px; color: var(--tiger); }
.contact-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.contact-card__link {
  color: var(--tiger);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  text-decoration: none;
}
.contact-card__link:hover { color: var(--tiger-600); }
.contact-card__text {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.areas-of-interest {
  padding: 32px;
  background-color: var(--cream-warm);
  border-radius: 2px;
}
.areas-of-interest__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
}
.areas-of-interest__item {
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}
.areas-of-interest__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--tiger);
  border-radius: 50%;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-hero {
  padding: 96px 24px 64px;
  background-color: var(--cream);
}
.about-hero__inner {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.about-hero__text { flex: 1; }
.about-hero__photo {
  flex-shrink: 0;
  width: 200px;
}
.about-hero__photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid #E35205;
}
@media (max-width: 700px) {
  .about-hero__inner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .about-hero__photo { width: 180px; }
  .about-hero__photo img { width: 180px; height: 180px; }
}

.about-section {
  padding: 0 24px 64px;
}
.about-section__inner {
  max-width: 768px;
  margin: 0 auto;
}
.about-section__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}
.about-section p {
  color: var(--ink-muted);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.about-section p:last-child { margin-bottom: 0; }

.about-recognition {
  padding: 32px;
  background-color: var(--cream-warm);
  border-radius: 2px;
  margin-top: 16px;
}
.about-recognition p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.about-vision {
  padding: 32px;
  border-left: 3px solid var(--tiger);
  background-color: var(--cream-warm);
  border-radius: 0 2px 2px 0;
  margin: 24px 0;
}
.about-vision p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-light);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  max-width: 1152px;
  margin: 0 auto;
}
.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.footer__strapline {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-bottom: 16px;
}
.footer__disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.65;
  margin-top: 16px;
}
.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer__link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer__link:hover { color: white; }
.footer__ext-link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer__ext-link:hover { color: white; }
.footer__contact { font-size: 0.875rem; margin-bottom: 8px; }
.footer__bottom {
  max-width: 1152px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__legal {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}
.fade-in--d1 { animation-delay: 0.1s; }
.fade-in--d2 { animation-delay: 0.2s; }
.fade-in--d3 { animation-delay: 0.3s; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 600px) {
  .hero__title { font-size: 2.4rem; }
  .hero { padding: 80px 24px 64px; }
  .section { padding: 64px 0; }
  .card-grid, .card-grid--wide { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
