/* treymanganaan.com: Trey's own identity, deliberately not Axiom's orange and navy.
   Deep forest green and gold on ivory: high contrast, heavy serif display type,
   dark bands at the top and bottom of every page. */
:root {
  --forest: #0f2e26;
  --forest-deep: #0a1f1a;
  --forest-soft: #1c4237;
  --gold: #c9a24e;
  --gold-bright: #dcb862;
  --gold-deep: #9c7a2c;
  --ink: #142019;
  --ink-soft: #3a4943;
  --muted: #66736d;
  --ivory: #f7f3ea;
  --paper: #ffffff;
  --line: #e2dccd;
  --line-dark: #27493f;
  --max: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--forest); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header sits on the dark hero */
.site-header { background: var(--forest-deep); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--ivory); text-decoration: none; letter-spacing: .02em; }
.brand:hover { color: var(--gold-bright); }
.nav { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; color: #c8d3cd; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.nav a:hover { color: var(--gold-bright); }
.nav a[aria-current="page"] { color: var(--gold-bright); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 16px 30px; border: 2px solid var(--gold); background: var(--gold); color: var(--forest-deep);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--forest-deep); }
.btn.ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn.ghost:hover { background: var(--forest); color: var(--ivory); }
.dark .btn.ghost, .hero .btn.ghost { color: var(--ivory); border-color: rgba(247, 243, 234, .55); }
.dark .btn.ghost:hover, .hero .btn.ghost:hover { background: var(--ivory); color: var(--forest-deep); border-color: var(--ivory); }
.nav a.btn { color: var(--forest-deep); padding: 12px 22px; }

/* Type */
.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--forest); }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.04; margin: 0 0 24px; letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; margin: 0 0 18px; letter-spacing: -.01em; }
h3 { font-size: 1.35rem; line-height: 1.3; margin: 0 0 10px; }
.lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 58ch; margin: 0 0 34px; }
.rule { width: 72px; height: 3px; background: var(--gold); border: 0; margin: 0 0 28px; }

/* Hero: dark, full bleed */
.hero {
  padding: 104px 0 96px;
  background: radial-gradient(120% 140% at 85% 20%, var(--forest-soft) 0%, var(--forest) 45%, var(--forest-deep) 100%);
  color: var(--ivory);
}
.hero h1 { color: var(--ivory); }
.hero .eyebrow { color: var(--gold-bright); }
.hero .lede { color: #d3ddd8; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.portrait-frame { justify-self: end; margin: 0; text-align: center; }
.portrait { width: 240px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--gold); box-shadow: 0 0 0 10px rgba(201, 162, 78, .14), 0 24px 60px rgba(0, 0, 0, .45); }
.portrait-caption { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); margin: 22px 0 0; }

/* Sections */
section.block { padding: 96px 0; }
section.block.paper { background: var(--paper); }
section.block.dark { background: var(--forest); color: var(--ivory); }
section.block.dark h2, section.block.dark h3 { color: var(--ivory); }
section.block.dark p { color: #cdd8d2; }
section.block.dark .eyebrow { color: var(--gold-bright); }
.intro { max-width: 700px; margin-bottom: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-3 > div { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: 34px 30px 26px; }
.grid-3 .num { font-family: var(--serif); font-weight: 700; color: var(--gold-deep); font-size: 2rem; line-height: 1; display: block; margin-bottom: 18px; }
.grid-3 p { color: var(--ink-soft); margin: 0; }
.topics { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--forest); max-width: 860px; }
.topics li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.topics strong { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--forest); }
.topics span { color: var(--ink-soft); }
.split { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.prose { max-width: 720px; }
.prose p { margin: 0 0 18px; color: var(--ink-soft); }
.prose h2 { margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.employer { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: space-between; border-left: 4px solid var(--gold); padding-left: 28px; }
.employer p { margin: 0; color: var(--ink-soft); max-width: 62ch; font-size: 1.08rem; }

/* Photography band */
.lens { background: var(--forest-deep); color: var(--ivory); }
.lens h2 { color: var(--ivory); }
.lens p { color: #c3cec8; max-width: 56ch; }
.lens .eyebrow { color: var(--gold-bright); }
.lens-link { justify-self: end; text-align: right; }
.lens-handle { margin: 16px 0 0; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); }

/* Closing band */
.closing { text-align: center; background: var(--forest); color: var(--ivory); }
.closing h2 { color: var(--ivory); }
.closing .eyebrow { color: var(--gold-bright); }
.closing .lede { color: #d3ddd8; margin-left: auto; margin-right: auto; }
.closing .rule { margin: 0 auto 28px; }
.closing .cta-row { justify-content: center; }

/* Booking page */
.page-head { background: var(--forest); padding: 72px 0 64px; }
.page-head h1 { color: var(--ivory); }
.page-head .eyebrow { color: var(--gold-bright); }
.page-head .lede { color: #d3ddd8; margin-bottom: 0; }
.booking-frame { width: 100%; min-height: 820px; border: 1px solid var(--line); border-top: 4px solid var(--gold); background: var(--paper); }

/* Footer */
.site-footer { background: var(--forest-deep); padding: 36px 0; color: #9fb0a8; font-size: .86rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #d3ddd8; text-decoration-color: var(--gold); }
.site-footer a:hover { color: var(--gold-bright); }

@media (max-width: 860px) {
  .hero { padding: 52px 0 60px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .portrait-frame { justify-self: start; order: -1; text-align: left; }
  .portrait { width: 150px; box-shadow: 0 0 0 7px rgba(201, 162, 78, .14), 0 14px 36px rgba(0, 0, 0, .4); }
  h1 { font-size: clamp(2.3rem, 10vw, 2.9rem); }
  section.block { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .topics li { grid-template-columns: 1fr; gap: 6px; }
  .lens-link { justify-self: start; text-align: left; }
  .employer { padding-left: 20px; }
  .nav { gap: 18px; }
  .page-head { padding: 48px 0 44px; }
}
