/* MADPC modern photography homepage */
:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #687581;
  --paper: #f5f6f4;
  --night: #0b1119;
  --accent: #b9d5c7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; }
.site-header { position: relative; z-index: 5; background: #0b1119; color: #fff; }
.header-inner { width: min(1180px, calc(100% - 48px)); min-height: 88px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #8ca99b; color: #c7e0d2; font-family: Georgia, serif; font-size: 25px; }
.brand-copy { display: grid; line-height: 1.15; letter-spacing: .12em; }
.brand-copy strong { font-size: 16px; }
.brand-copy small { margin-top: 5px; color: #aab5bf; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(14px, 2.5vw, 32px); }
.main-nav a { color: #c5cdd3; text-decoration: none; font-size: 12px; letter-spacing: .04em; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active { box-shadow: 0 2px #b9d5c7; padding-bottom: 8px; }
.hero { min-height: 590px; position: relative; display: flex; align-items: center; overflow: hidden; background: #111b27; color: #fff; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("../Astronomy/Galaxies/M31/M31.jpg") center 45% / cover no-repeat; transform: scale(1.015); }
.hero-shade { background: linear-gradient(90deg, rgba(5,10,17,.88) 0%, rgba(5,10,17,.68) 43%, rgba(5,10,17,.12) 100%), linear-gradient(0deg, rgba(5,10,17,.35), transparent 45%); }
.hero-content { position: relative; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 76px 0 92px; max-width: 1180px; }
.eyebrow { margin: 0 0 18px; color: #d1e4d9; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { max-width: 700px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 86px); font-weight: 400; letter-spacing: -.045em; line-height: .99; }
.hero h1 span { color: #c1ddce; }
.hero-intro { max-width: 510px; margin: 26px 0 30px; color: #d4dbe0; font-size: 16px; line-height: 1.8; }
.button { display: inline-flex; align-items: center; gap: 28px; padding: 13px 18px; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .04em; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: #d4e5dc; color: #15221d; }
.hero-caption { position: absolute; right: max(24px, calc((100% - 1180px) / 2)); bottom: 28px; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .2em; }
.section-wrap { width: min(1180px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; padding-top: 88px; padding-bottom: 42px; }
.eyebrow-dark { color: #637c70; }
.intro h2, .latest h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 48px); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; }
.intro-copy { max-width: 490px; margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 100px; }
.category-card { position: relative; display: block; min-height: 365px; overflow: hidden; background: #26333d; color: #fff; text-decoration: none; }
.category-card img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; transition: transform .6s ease; }
.category-card:hover img { transform: scale(1.055); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,9,14,.86), rgba(4,9,14,.03) 75%); }
.card-content { position: absolute; right: 24px; bottom: 25px; left: 24px; display: grid; }
.card-content small { margin-bottom: 9px; color: #c6ded1; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.card-content strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 2.6vw, 34px); font-weight: 400; line-height: 1.15; }
.card-content em { display: flex; justify-content: space-between; margin-top: 17px; color: #e0e5e8; font-size: 11px; font-style: normal; }
.card-content b { color: #c6ded1; font-size: 17px; font-weight: 400; }
.latest { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(36px, 7vw, 90px); padding-bottom: 105px; }
.latest-image { min-height: 330px; overflow: hidden; background: #101923; }
.latest-image img { display: block; width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.latest-copy p:not(.eyebrow) { max-width: 430px; margin: 22px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.text-link { display: inline-flex; gap: 20px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid #91a99b; color: #253c31; font-size: 12px; font-weight: 700; text-decoration: none; }
.text-link span { font-size: 18px; }
.site-footer { background: #0b1119; color: #d6dde2; }
.footer-inner { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 48px 0 22px; display: grid; grid-template-columns: 1fr auto; gap: 34px; }
.footer-brand { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 25px; text-decoration: none; }
.footer-brand span { color: #b9d5c7; }
.footer-inner p { margin: 5px 0 0; color: #9ba7b0; font-size: 12px; }
.footer-contact { display: grid; align-content: center; gap: 5px; text-align: right; }
.footer-contact span { color: #9fb9aa; font-size: 9px; letter-spacing: .18em; }
.footer-contact a { color: #e8edf0; font-size: 13px; text-decoration: none; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid #26313b; color: #8e9aa4; font-size: 10px; }
.footer-bottom a { color: #cbd6dd; text-decoration: none; }
@media (max-width: 760px) {
  .header-inner { width: min(100% - 32px, 1180px); min-height: 0; padding: 18px 0; align-items: flex-start; flex-direction: column; gap: 18px; }
  .main-nav { justify-content: flex-start; gap: 12px 20px; }
  .main-nav a { font-size: 11px; }
  .hero { min-height: 540px; }
  .hero-content, .section-wrap, .footer-inner { width: calc(100% - 36px); }
  .hero-content { padding: 65px 0 85px; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,10,17,.82), rgba(5,10,17,.38)), linear-gradient(0deg, rgba(5,10,17,.45), transparent 55%); }
  .hero-intro { max-width: 440px; font-size: 14px; }
  .intro { grid-template-columns: 1fr; gap: 18px; padding-top: 62px; }
  .category-grid { grid-template-columns: 1fr; gap: 14px; padding-bottom: 65px; }
  .category-card { min-height: 320px; }
  .latest { grid-template-columns: 1fr; gap: 28px; padding-bottom: 68px; }
  .latest-image, .latest-image img { min-height: 250px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer-contact { text-align: left; }
  .footer-bottom { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
