/* Landing. Mobile first: base styles are for phones, wider screens add on top.
   Two doors. Consulting leads. Each door looks like the room behind it. */
body.landing {
  --ink: #0e0e10; --muted: #55565e; --line: #e6e6ea; --cobalt: #2b3cff; --cobalt-deep: #1b27c4;
  --focus: #2b3cff; --on-focus: #fff;
  --display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  background: #fff; color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
}

/* Name band */
.name-band { padding: 1.5rem 1.25rem 1.25rem; }
.split-name { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 17vw, 10rem); letter-spacing: -.06em; line-height: .85; color: var(--ink); }
.name-band p { margin: .75rem 0 0; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; color: var(--muted); }

/* Doors: stacked on phones */
.split { display: flex; flex-direction: column; }
.panel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; text-decoration: none; min-height: 72svh; }
.panel-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: .7rem; padding: 1.25rem; margin: 1rem; }
.panel-kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.panel-label { font-size: clamp(2.4rem, 11vw, 4.8rem); line-height: .95; }
.panel-desc { font-size: 1.05rem; line-height: 1.5; max-width: 32ch; }
.panel-go { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 700; font-size: 1rem; }
.panel-go::after { content: "\2192"; transition: transform .25s; }

/* Consulting door */
.panel-consult { background: #fff; color: var(--ink); border-top: 1px solid var(--line); border-bottom: 6px solid var(--cobalt); min-height: 0; padding-top: 1.5rem; }
.panel-consult::before { content: ""; position: absolute; right: -30%; top: -10%; width: 110%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #e9ebff 0%, rgba(233,235,255,0) 65%); }
.agent-grid { position: relative; display: grid; grid-template-columns: repeat(13, 1fr); gap: 5px; margin: 0 1.25rem; max-width: 30rem; }
.agent-grid i { aspect-ratio: 1; border-radius: 3px; background: var(--cobalt); animation: blink 3.9s ease-in-out infinite; animation-delay: calc(var(--i) * .1s); }
.agent-grid i:nth-child(4n+2) { background: #6f7bff; } .agent-grid i:nth-child(4n+3) { background: #a7aeff; } .agent-grid i:nth-child(4n) { background: #d9dcff; }
@keyframes blink { 0%, 100% { opacity: .25; transform: scale(.82); } 45% { opacity: 1; transform: scale(1); } }
.panel-consult .panel-body { margin: 0; padding: 1.5rem 1.25rem 2rem; }
.panel-consult .panel-kicker { color: var(--cobalt-deep); }
.panel-consult .panel-label { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; }
.panel-consult .panel-desc { color: #33343b; }
.panel-consult .panel-go { color: var(--cobalt-deep); }

/* Photography door: text sits on a near-solid plate so it reads over any photo */
.panel-photo { background: #0a0a0a; color: #f5f3ee; border-bottom: 6px solid #8e1b1f; }
.slides { position: absolute; inset: 0; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: fade 20s infinite; animation-delay: calc(var(--n) * 5s); }
.slides img:first-child { opacity: 1; }
@keyframes fade { 0% { opacity: 0; transform: scale(1.06); } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.panel-photo .panel-body { background: rgba(10, 10, 10, .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-left: 4px solid #8e1b1f; }
.panel-photo .panel-kicker { color: #e8c05a; }
.panel-photo .panel-label { font-family: Didot, "Bodoni 72", "Bodoni MT", "Hoefler Text", Georgia, serif; font-weight: 400; }
.panel-photo .panel-desc { color: #e9e5dc; }
.panel-photo .panel-go { color: #e8c05a; }
.panel-photo:focus-visible { outline: 3px solid #e8c05a; outline-offset: -6px; }

/* Below the doors */
.landing-about { padding: 3rem 1.25rem; }
.landing-about p { max-width: 58ch; margin: 0 0 1rem; color: #33343b; }
.landing-lede { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 7vw, 2.8rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 1rem; color: var(--ink); }
.landing-email { display: inline-block; min-height: 44px; font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 6vw, 2.2rem); letter-spacing: -.03em; color: var(--ink); text-decoration-color: var(--cobalt); text-decoration-thickness: 3px; word-break: break-word; }
body.landing .site-footer { border-top: 1px solid var(--line); padding: 1.5rem 1.25rem 2rem; font-size: .9rem; color: var(--muted); }
body.landing .site-footer a { color: var(--ink); display: inline-block; padding: .65rem 0; }

.landing-portrait { margin: 0 0 1.5rem; }
.landing-portrait img { width: 8rem; height: 8rem; object-fit: cover; border-radius: 50%; }

/* Tablet and up */
@media (min-width: 760px) {
  .name-band { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 2.5rem 3rem 2rem; }
  .name-band p { margin: 0 0 .4rem; font-size: 1.5rem; }
  .split { flex-direction: row; min-height: max(78svh, 560px); }
  .panel { flex: 1; transition: flex .6s cubic-bezier(.2,.7,.2,1); min-height: 0; }
  .split:hover .panel { flex: .82; }
  .split .panel:hover, .split .panel:focus-visible { flex: 1.25; }
  .panel:hover .panel-go::after { transform: translateX(6px); }
  .panel-body { margin: 2rem; padding: 1.75rem; max-width: 34rem; }
  .panel-consult { border-top: 0; padding-top: 0; justify-content: flex-end; }
  .panel-consult .panel-body { margin: 0 2rem 2rem; padding: 1.75rem 0; }
  .agent-grid { position: absolute; top: 16%; left: 3rem; right: 3rem; margin: 0; gap: 7px; }
  .landing-about { text-align: center; padding: 5rem 1.5rem; }
  .landing-about p { margin: 0 auto 1rem; }
  .landing-portrait img { margin: 0 auto; }
  body.landing .site-footer { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .slides img { animation: none; } .slides img:first-child { opacity: 1; }
  .agent-grid i { animation: none; opacity: .85; }
  .panel { transition: none; }
}

/* 404 */
.not-found { max-width: 36rem; margin: 0 auto; padding: 4rem 1.25rem; }
.not-found ul { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.not-found li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); }

/* Text me */
.landing-actions { margin: 1.5rem 0 .75rem; }
.landing-text { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.4em; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.landing-text:hover { background: var(--cobalt); }
.landing-about .cta-note { font-size: .95rem; color: var(--muted); }
