@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600;700&display=swap');

/* Bobbi Jo Halladay - portfolio site
   Dark editorial theme in a cool jewel palette: deep cool-charcoal base,
   emerald-teal + amethyst jewel accents, Fraunces display serif + Inter body. */

:root {
  --bg: #131821;            /* deep cool charcoal */
  --panel: #1B212C;         /* card surface */
  --panel-2: #232B38;       /* inputs / hover */
  --ink: #ECEAF2;           /* light text */
  --muted: #A6A3B4;         /* secondary text */
  --line: rgba(236, 234, 242, 0.12);  /* hairline */
  --line-strong: rgba(236, 234, 242, 0.22);

  /* Jewel accents (tuned to pop on dark) */
  --green: #34B39A;         /* emerald-teal jewel */
  --green-deep: #2A9583;
  --green-soft: rgba(52, 179, 154, 0.14);
  --rose: #A88CF0;          /* amethyst jewel */
  --rose-soft: rgba(168, 140, 240, 0.16);
  --white: #FFFFFF;

  --maxw: 1060px;
  --radius: 16px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(55% 45% at 88% -5%, rgba(168, 140, 240, 0.13), transparent 60%),
    radial-gradient(50% 40% at -5% 12%, rgba(52, 179, 154, 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.sans, nav, .btn, .eyebrow, .chip { font-family: var(--font-sans); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: 2.7rem; line-height: 1.1; margin: 0 0 .5rem; }
h2 { font-size: 1.9rem; line-height: 1.18; margin: 2.6rem 0 1rem; font-weight: 400; }
h3 { font-size: 1.18rem; margin: 0 0 .4rem; font-weight: 500; }
p { margin: 0 0 1rem; }
a { color: var(--green); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19, 24, 33, 0.72);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: .85rem 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 600; text-decoration: none; color: var(--ink); font-size: 1.02rem;
}
.brand .mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--green) 0%, var(--rose) 130%);
  color: #0B1512; font-size: .78rem; font-weight: 800; letter-spacing: .5px;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  font-size: .82rem; text-decoration: none; color: var(--muted); font-weight: 500;
  text-transform: uppercase; letter-spacing: 1.2px;
}
.nav-links a:hover { color: var(--rose); }
.nav-links a.active { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); cursor: pointer; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .72rem 1.4rem; border-radius: 999px; transition: transform .08s ease, background .15s ease, border-color .15s ease;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #08130F; border-color: var(--green); }
.btn-primary:hover { background: #3ec4a9; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--rose); color: var(--rose); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* ---- Hero (editorial, round portrait) ---- */
.hero { padding: 4.5rem 0 3rem; }
.hero .eyebrow,
.eyebrow {
  display: block; text-transform: uppercase; letter-spacing: 2.6px;
  font-size: .73rem; font-weight: 600; color: var(--rose); margin-bottom: 1.1rem;
}
.hero .eyebrow { display: flex; align-items: center; gap: .8rem; }
.hero .eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--rose); flex: none; }
.hero h1 { font-size: 3.7rem; max-width: 17ch; font-weight: 400; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 54ch; margin-top: 1rem; line-height: 1.6; }

.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 3.2rem; align-items: center; }
.hero-grid .hero-text h1 { max-width: 18ch; }

/* Round avatar with jewel ring */
.avatar {
  display: block; width: 300px; max-width: 100%; margin: 0 auto;
  border-radius: 50%; padding: 5px;
  background: linear-gradient(140deg, var(--green) 0%, var(--rose) 100%);
  box-shadow: var(--shadow);
}
.avatar img {
  position: relative; z-index: 1;
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 50%; background: var(--panel-2);
  border: 4px solid var(--bg);
}
/* keep legacy class working as a round avatar too */
.portrait-frame { position: relative; display: block; width: 300px; max-width: 100%; margin: 0 auto;
  border-radius: 50%; padding: 5px; background: linear-gradient(140deg, var(--green), var(--rose)); box-shadow: var(--shadow); }
.portrait-frame img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; border: 4px solid var(--bg); background: var(--panel-2); }

/* Monogram fallback shown when no headshot file is present */
.avatar, .portrait-frame { position: relative; }
.avatar .mono, .portrait-frame .mono {
  position: absolute; inset: 5px; z-index: 0; border-radius: 50%;
  display: grid; place-items: center; border: 4px solid var(--bg);
  background: radial-gradient(120% 120% at 30% 20%, var(--panel-2), #161b24);
  font-family: var(--font-display); font-size: 3.6rem; font-weight: 500;
  color: var(--rose); letter-spacing: 1px;
}

/* Layered "window" mockup motif behind the hero portrait */
.stage { position: relative; width: 340px; max-width: 100%; margin: 0 auto; }
.stage .avatar { position: relative; z-index: 2; width: 272px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 64px rgba(52,179,154,0.16); }
.wincard {
  position: absolute; z-index: 1; width: 215px; padding: 13px 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.wincard .dots { display: flex; gap: 6px; margin-bottom: 11px; }
.wincard .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.wincard .dots i:nth-child(1) { background: var(--green); }
.wincard .dots i:nth-child(2) { background: var(--rose); }
.wincard .ln { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.09); margin: 9px 0; }
.wincard .ln.short { width: 55%; }
.wincard .ln.accent { background: linear-gradient(90deg, var(--green), var(--rose)); width: 75%; }
.win-a { top: -36px; right: -52px; transform: rotate(8deg); }
.win-b { bottom: -34px; left: -54px; transform: rotate(-9deg); width: 180px; }

/* Editorial section numbers */
.eyebrow-h { display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow-h .num { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--green); letter-spacing: 0; text-transform: none; }
.eyebrow-h .num::after { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--line-strong); margin-left: .7rem; vertical-align: middle; }

/* ---- Poster cover hero (Home) ---- */
.poster-hero { padding: 2.4rem 0 1.5rem; }
.poster {
  position: relative; max-width: 700px; margin: 0 auto;
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(0,0,0,0.45);
}
.poster-img { display: block; width: 100%; }
.poster-avatar {
  position: absolute; top: 9%; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 250px; max-width: 42%; aspect-ratio: 1 / 1; border-radius: 50%; padding: 6px;
  background: linear-gradient(140deg, var(--green) 0%, var(--rose) 100%);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
}
.poster-avatar img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 5px solid rgba(255,255,255,0.92); }
.poster-band {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem 2.1rem 1.5rem;
  background: linear-gradient(180deg, rgba(10,74,65,0) 0%, rgba(10,74,65,0.82) 14%, #0A4A41 34%, #093f37 100%);
}
.pb-name {
  font-family: var(--font-sans); font-weight: 800; text-transform: uppercase;
  font-size: 2.5rem; line-height: 1; letter-spacing: 1px; color: #fff; margin: 0;
}
.pb-title {
  font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 3px;
  font-size: .76rem; font-weight: 600; color: #BFE6DC; margin: .65rem 0 0;
}
.pb-contact {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.22); margin-top: 1.1rem; padding-top: .8rem;
  font-family: var(--font-sans); font-size: .8rem; color: rgba(255,255,255,0.82);
}
.pb-contact a { color: rgba(255,255,255,0.92); text-decoration: none; }
.pb-contact a:hover { color: #fff; }
.pb-badge {
  position: absolute; top: -30px; right: 26px; z-index: 3;
  width: 62px; height: 62px; border-radius: 50%; background: var(--rose); color: #fff;
  display: grid; place-items: center; font-size: 1.5rem; text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,0.4); transition: transform .1s ease;
}
.pb-badge:hover { transform: translateY(-2px); }
.poster-cta { max-width: 680px; margin: 1.8rem auto 0; text-align: center; }
.poster-cta .lede { font-size: 1.12rem; color: var(--muted); line-height: 1.6; }
.poster-cta .btn-row { justify-content: center; }

/* ---- Credibility strip ---- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; padding: 1.3rem 0; }
.chip {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--ink);
  font-size: .82rem; font-weight: 500; padding: .42rem .9rem; border-radius: 999px;
}

/* ---- Sections ---- */
section { padding: 1rem 0; }
.section-pad { padding: 3rem 0; border-top: 1px solid var(--line); }
.eyebrow-h { text-transform: uppercase; letter-spacing: 2.6px; font-size: .72rem; font-weight: 600; color: var(--rose); }

/* ---- Cards grid ---- */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: transform .1s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card h3 { color: var(--ink); }
.card p { color: var(--muted); }
.card .meta { font-size: .82rem; color: var(--muted); font-style: italic; }
.card.feature { position: relative; overflow: hidden; }
.card.feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--rose));
}
.card a.more { font-family: var(--font-sans); font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--green); }
.card a.more:hover { color: var(--rose); }

.pivot .label { font-size: .72rem; text-transform: uppercase; letter-spacing: 1.8px; color: var(--rose); font-weight: 600; font-family: var(--font-sans); margin-bottom: .3rem; }

/* Image-led project cards */
.project {
  display: block; padding: 0; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .12s ease, border-color .15s ease;
}
.project:hover { transform: translateY(-4px); border-color: var(--rose); }
.project .thumb { display: block; }
.project .thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project .body { padding: 1.2rem 1.4rem 1.4rem; }
.project h3 { color: var(--ink); margin-bottom: .35rem; }
.project p { color: var(--muted); font-size: .94rem; margin-bottom: .7rem; }
.project .more { font-family: var(--font-sans); font-weight: 600; font-size: .88rem; color: var(--green); }
.project:hover .more { color: var(--rose); }

/* ---- Collections / artifacts ---- */
.collection { margin-bottom: 2.6rem; }
.collection-head { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.collection p { color: var(--muted); }
.artifacts { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); margin-top: 1.1rem; }
.artifact {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.artifact .t { font-family: var(--font-sans); font-weight: 600; font-size: .98rem; color: var(--ink); }
.artifact .f { font-size: .8rem; color: var(--muted); }
.artifact .tag {
  font-family: var(--font-sans); font-size: .67rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; color: var(--muted);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); padding: .25rem .55rem; border-radius: 6px; white-space: nowrap;
}
a.artifact { text-decoration: none; color: inherit; transition: transform .08s ease, border-color .15s ease, background .15s ease; }
a.artifact:hover { transform: translateY(-2px); border-color: var(--rose); background: var(--panel-2); }
.artifact .tag.live { color: #08130F; background: var(--green); border-color: var(--green); }

/* ---- Timeline ---- */
.timeline { border-left: 1px solid var(--line-strong); margin: 1rem 0 0; padding-left: 1.4rem; }
.timeline .item { position: relative; padding-bottom: 1.4rem; }
.timeline .item p { color: var(--muted); }
.timeline .item::before {
  content: ""; position: absolute; left: -1.59rem; top: .4rem;
  width: 11px; height: 11px; border-radius: 50%; background: var(--rose); border: 2px solid var(--bg);
}
.timeline .yr { font-family: var(--font-sans); font-weight: 700; color: var(--green); font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---- Resume ---- */
.resume-section { margin-bottom: 2rem; }
.resume-section p, .skill-group { color: var(--muted); }
.skill-group { margin-bottom: 1rem; }
.skill-group strong { color: var(--green); }
.job { margin-bottom: 1.3rem; }
.job .role { font-family: var(--font-sans); font-weight: 700; color: var(--ink); }
.job .where { color: var(--muted); font-size: .92rem; }
.job ul { color: var(--muted); }
ul { color: var(--muted); }

/* ---- Callout band (jewel gradient) ---- */
.band {
  background: linear-gradient(135deg, var(--green-deep) 0%, #3a6f9e 50%, var(--rose) 120%);
  color: #fff; border-radius: var(--radius); padding: 2.6rem; margin: 2.6rem 0; text-align: center;
}
.band h2 { color: #fff; margin-top: 0; }
.band p { color: rgba(255,255,255,0.9); }
.band .btn-primary { background: #fff; color: #14202c; border-color: #fff; }
.band .btn-primary:hover { background: #f0eefb; }

/* ---- Contact ---- */
.contact-links { list-style: none; padding: 0; margin: 1.4rem 0; }
.contact-links li { margin-bottom: .9rem; font-size: 1.05rem; }
.contact-links .lbl { font-family: var(--font-sans); font-weight: 700; color: var(--rose); display: inline-block; min-width: 96px; text-transform: uppercase; letter-spacing: 1px; font-size: .78rem; }
form.contact { max-width: 520px; }
form.contact label { display: block; font-family: var(--font-sans); font-weight: 600; font-size: .85rem; margin: .9rem 0 .3rem; color: var(--ink); }
form.contact input, form.contact textarea {
  width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 1rem; background: var(--panel-2); color: var(--ink);
}
form.contact input:focus, form.contact textarea:focus { outline: none; border-color: var(--rose); }
form.contact textarea { min-height: 130px; resize: vertical; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; background: rgba(255,255,255,0.02); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.site-footer p { margin: 0; color: var(--muted); font-size: .9rem; }
.site-footer a { color: var(--green); text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--rose); }

.note { font-size: .82rem; color: var(--muted); font-style: italic; }

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .grid-3, .grid-2, .artifacts { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-grid .hero-photo { order: -1; }
  .avatar, .portrait-frame { width: 230px; }
  .stage { width: 230px; }
  .stage .avatar { width: 230px; }
  .win-a, .win-b { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .hero .eyebrow::before { display: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; gap: 0; background: var(--panel); border-bottom: 1px solid var(--line); padding: .5rem 1.5rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem 0; }
  .nav-toggle { display: block; }
}
