/* ===================================================
   Michael Ian Kirsch — Shared Styles
   =================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('fonts/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 100 900;
  font-display: block;
  src: url('fonts/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('fonts/Jost-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 100 900;
  font-display: block;
  src: url('fonts/Jost-Italic-VariableFont_wght.ttf') format('truetype');
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #2A2520;
  color: #F2EDE3;
  padding: 0.5rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

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

/* VARIABLES */
:root {
  --parchment: #F2EDE3;
  --parchment-dark: #E8E0D0;
  --charcoal: #2A2520;
  --charcoal-mid: #4A3F35;
  --charcoal-light: #7A6E64;
  --gold: #C4912A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', sans-serif;
}

/* BASE */
html { scroll-behavior: smooth; }
body { background-color: var(--parchment); color: var(--charcoal); font-family: var(--sans); font-weight: 300; line-height: 1.7; -webkit-font-smoothing: antialiased; }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(242, 237, 227, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid rgba(196, 145, 42, 0.2);
}
.nav-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* UTILITIES */
.gold-rule { width: 60px; height: 0.5px; background: var(--gold); margin: 0 auto; }
.body-text {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--charcoal-mid);
  margin-bottom: 1.5rem;
}
.body-text:last-child { margin-bottom: 0; }

.section-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: block;
}

/* SECONDARY BUTTON */
.secondary-button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--parchment);
  text-decoration: none;
  border: 0.5px solid var(--gold);
  padding: 0.9rem 2.5rem;
  transition: background 0.3s, color 0.3s;
}
.secondary-button:hover { background-color: #C4912A !important; color: #F2EDE3 !important; }

/* CTA BUTTON */
.cta-button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  border: 0.5px solid var(--gold);
  padding: 1.1rem 3rem;
  transition: background 0.3s, color 0.3s;
}
.cta-button:hover { background: var(--gold); color: var(--parchment); }

/* QUOTE SECTION — used on homepage + about */
.quote-section { background: var(--charcoal); padding: 7rem 4rem; }
.quote-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.quote-text {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--parchment);
}

/* SUN LION SECTION — used on homepage + about */
.sunlion-section { background: var(--charcoal); padding: 7rem 4rem; }
.sunlion-inner {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 5rem;
  align-items: center;
}
.sunlion-labyrinth { width: 160px; height: 160px; object-fit: cover; opacity: 0.75; }
.sunlion-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}
.sunlion-heading {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 300;
  color: var(--parchment);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.sunlion-heading em { font-style: italic; }
.sunlion-body {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(242, 237, 227, 0.65);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}
.sunlion-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(196, 145, 42, 0.5);
  padding-bottom: 3px;
  transition: border-color 0.3s;
}
.sunlion-link:hover { border-color: var(--gold); }

/* FOOTER */
footer {
  border-top: 0.5px solid rgba(196, 145, 42, 0.22);
  padding: 2.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.footer-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--charcoal); text-decoration: none; }
.footer-legal-link { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal-light); text-decoration: none; transition: color 0.3s; }
.footer-legal-link:hover { color: var(--gold); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal-light); }

.footer-legal {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.footer-legal-separator { padding: 0 0.5rem; color: var(--charcoal-light); }
.footer-copyright { color: var(--charcoal); }
.footer-legal-links { display: flex; gap: 0.5rem; align-items: center; justify-content: center; }
.footer-legal-links a { font-family: 'Jost', sans-serif; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal); text-decoration: none; }
.footer-legal-links a:hover { color: var(--gold); }

.right-fit-section { scroll-margin-top: 80px; }

.name-break { display: none; }
@media (max-width: 900px) {
  .name-break { display: block; }
  .page-title { white-space: normal; }
}

/* HAMBURGER BUTTON — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* ===================================================
   RESPONSIVE — TABLET (≤768px)
   =================================================== */
@media (max-width: 768px) {
  nav { padding: 1.25rem 2rem; }
  .nav-name { font-size: 1.1rem; letter-spacing: 0.15em; }

  /* Show hamburger, hide horizontal links */
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 2rem 3rem;
    background: rgba(242, 237, 227, 0.98);
    backdrop-filter: blur(8px);
    border-top: 0.5px solid rgba(196, 145, 42, 0.2);
    border-bottom: 0.5px solid rgba(196, 145, 42, 0.2);
  }
  .nav-links a { font-size: 0.7rem; letter-spacing: 0.28em; padding: 0.75rem 0.5rem; }

  /* Open state */
  nav.nav--open .nav-links { display: flex; }
  nav.nav--open .nav-hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  nav.nav--open .nav-hamburger span:nth-child(2) { opacity: 0; }
  nav.nav--open .nav-hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .quote-section { padding: 5rem 2rem; }

  .sunlion-section { padding: 5rem 2rem; }
  .sunlion-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .sunlion-labyrinth { width: 100px; height: 100px; margin: 0 auto; }

  footer { padding: 2rem; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1.25rem; }

  html { scroll-padding-top: 90px; }

  .hero { padding: 7rem 2rem 2rem !important; min-height: auto !important; }
  .hero-heading { margin-bottom: 1.5rem !important; }
  .hero-body { margin-bottom: 1rem !important; }
  .hero-scroll { display: flex !important; position: relative !important; bottom: auto !important; margin-top: 2rem; justify-content: flex-start !important; align-self: flex-start !important; }

  .offerings-cta-inner { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

  .right-fit-section { padding-top: 3rem !important; padding-bottom: 3rem !important; scroll-margin-top: 80px; }

  .form-submit { display: block; width: 100%; text-align: center; }

  .footer-legal { flex-direction: column; gap: 0.15rem; }
  .footer-legal-separator { display: none; }
  .footer-legal-links { gap: 1rem; }
  .right-fit-section .content-section { padding-top: 5rem !important; }
  .bio-section .cta-button {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .right-fit-section .cta-button,
  .right-fit-section .secondary-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    border: none;
    box-shadow: inset 0 0 0 0.5px var(--gold);
    color: var(--parchment);
  }
}

/* ===================================================
   RESPONSIVE — MOBILE (≤480px)
   =================================================== */
@media (max-width: 480px) {
  nav { padding: 1rem 1.25rem; }
  .nav-name { font-size: 1.05rem; letter-spacing: 0.07em; }

  .quote-section { padding: 4rem 1.5rem; }
  .sunlion-section { padding: 4rem 1.5rem; }
  .sunlion-heading { font-size: 1.8rem; }

  footer { padding: 2rem 1.5rem; }
}
