/* ============================================================
   maxwellgatz.com - Styles
   Warmer, more editorial than The Forge. Same DNA, different register.
   ============================================================ */

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

:root {
  --bg:        #0c0a08;
  --bg-warm:   #111009;
  --white:     #ede8df;
  --off-white: #c8c0b4;
  --gray-1:    #8a7d6e;
  --gray-2:    #4a4035;
  --border:    #221e18;
  --gold:      #9a7c4a;
  --surface:   #141210;
}

html { scroll-behavior: smooth; }

/* Grain overlay - warmth without images */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ------------------------------------------- */

h1, h2, h3 {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.cinzel { font-family: 'Cinzel', serif; font-weight: 900; }

.cormorant {
  font-family: 'Cormorant Garamond', serif;
}

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

/* ---- Nav -------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: linear-gradient(to bottom, rgba(12,10,8,0.97) 0%, transparent 100%);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav__name {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.nav__links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav__links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-1);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--white); }

/* ---- Hero ------------------------------------------------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 100px;
  position: relative;
}

.hero__mark {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 48px;
}

.hero__name {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(42px, 9vw, 104px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 28px;
}

.hero__rule {
  width: 1px;
  height: 52px;
  background: var(--gray-2);
  margin: 0 auto 28px;
}

.hero__tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(18px, 2.8vw, 26px);
  color: var(--off-white);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: var(--gray-2);
}

/* ---- Photo Section ---------------------------------------- */

.photo-section {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: flex-end;
}

.photo-section__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.55) contrast(1.1) sepia(0.15);
}

.photo-section__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gray-2);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px dashed var(--gray-2);
  margin: 40px;
}

.photo-section__caption {
  position: relative;
  z-index: 2;
  padding: 40px 48px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(237, 232, 223, 0.5);
  letter-spacing: 0.05em;
}

/* ---- Bio -------------------------------------------------- */

.bio {
  padding: 120px 48px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  border-top: 1px solid var(--border);
}

.bio__aside {
  position: sticky;
  top: 120px;
}

.bio__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: 24px;
}

.bio__name {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 24px;
}

.bio__short {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--off-white);
  line-height: 1.7;
}

.bio__body p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--off-white);
  line-height: 1.75;
  margin-bottom: 28px;
}

.bio__body p:last-child { margin-bottom: 0; }

.bio__body strong {
  color: var(--white);
  font-weight: 600;
  font-style: normal;
}

.bio__closer {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--white);
  margin-top: 48px !important;
}

/* ---- Disciplines ------------------------------------------ */

.disciplines {
  border-top: 1px solid var(--border);
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.disciplines__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: 40px;
}

.disciplines__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.discipline-tag {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-1);
  border: 1px solid var(--border);
  padding: 10px 20px;
}

/* ---- Creations -------------------------------------------- */

.creations {
  border-top: 1px solid var(--border);
  padding: 120px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.creations__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: 16px;
}

.creations__heading {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 64px;
}

.creations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
}

.creation-card {
  background: var(--bg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
  text-decoration: none;
}

.creation-card:hover { background: var(--surface); }

.creation-card--disabled {
  pointer-events: none;
}

.creation-card__mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 4px;
}

.creation-card__category {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.creation-card__name {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.creation-card__desc {
  font-size: 14px;
  color: var(--gray-1);
  line-height: 1.7;
  flex: 1;
}

.creation-card__status {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-top: 8px;
}

.creation-card__arrow {
  font-size: 18px;
  color: var(--gray-2);
  align-self: flex-start;
  margin-top: 8px;
  transition: color 0.2s;
}

.creation-card:hover .creation-card__arrow {
  color: var(--white);
}

/* ---- Creed ------------------------------------------------ */

.creed {
  border-top: 1px solid var(--border);
  padding: 120px 48px;
  text-align: center;
}

.creed__quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(22px, 4vw, 44px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto 40px;
}

.creed__attribution {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-1);
}

/* ---- Footer ----------------------------------------------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__mark {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: 0.6;
}

.footer__name {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-1);
}

.footer__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer__links a {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-2);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--white); }

.footer__copy {
  font-size: 11px;
  color: var(--gray-2);
  letter-spacing: 0.05em;
}

/* ---- Responsive ------------------------------------------- */

@media (max-width: 900px) {
  .bio {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .bio__aside { position: static; }
}

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav__links { gap: 24px; }
  .creations, .bio, .disciplines, .creed { padding-left: 24px; padding-right: 24px; }
  .footer { flex-direction: column; align-items: flex-start; padding: 48px 24px; }
  .creations-grid { grid-template-columns: 1fr; }
  .photo-section__caption { padding: 24px; }
}
