[hidden] { display: none !important; }
/* danconroyjr.com — Conroy family site */
:root {
  --ink: #23262B;
  --muted: #5E646C;
  --paper: #F8F7F3;
  --card: #FFFFFF;
  --line: #E2E0D8;
  --green: #22463B;      /* evergreen */
  --green-2: #2F5D4F;
  --plum: #6B2F6A;       /* Prince page accent */
  --gold: #C9932E;
  --radius: 10px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--green-2); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { background: var(--green); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: 15px; }
.nav a:hover { background: rgba(255,255,255,.12); }
.nav a[aria-current="page"] { background: rgba(255,255,255,.18); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 6px; padding: 7px 12px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--green); flex-direction: column; padding: 8px 12px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 17px; }
}

/* Page heads */
.page-head { padding: 56px 0 28px; }
.page-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; margin: 0 0 12px; letter-spacing: -.01em; }
.page-head p { color: var(--muted); font-size: 19px; max-width: 60ch; margin: 0; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; margin: 0 0 10px; }
section { padding: 32px 0 56px; }

/* Home */
.home-hero { background: var(--green); color: #fff; padding: 64px 0 0; overflow: hidden; }
.home-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 7.5vw, 92px); line-height: .98; margin: 0 0 14px; letter-spacing: -.015em; }
.home-hero p { font-size: 20px; max-width: 46ch; color: #DCE7E2; margin: 0 0 28px; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 40px; }
.mosaic a { aspect-ratio: 1; background: var(--green-2); overflow: hidden; display: block; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mosaic a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(3, 1fr); } .mosaic a:nth-child(n+7) { display: none; } }
.btn { display: inline-block; background: var(--gold); color: #1B1B1B; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 8px; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { background: #DBA43C; }
.btn.secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); margin-left: 8px; }
.btn.dark { background: var(--green); color: #fff; }
.btn.dark:hover { background: var(--green-2); }
.btn[disabled] { opacity: .6; cursor: progress; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: inherit; display: block; }
.tile:hover { border-color: var(--green-2); }
.tile h3 { font-family: var(--serif); font-size: 24px; margin: 0 0 6px; font-weight: 600; color: var(--green); }
.tile p { margin: 0; color: var(--muted); }

/* Video embeds */
.video { position: relative; padding-top: 56.25%; background: #000; border-radius: var(--radius); overflow: hidden; margin: 0 0 28px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prince .page-head { background: var(--plum); color: #fff; margin-bottom: 36px; }
.prince .page-head p { color: #EADCEA; }
.prince .page-head a { color: #fff; }
.link-out { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* Albums */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.album-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: left; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.album-card:hover { border-color: var(--green-2); }
.album-card .cover { aspect-ratio: 4/3; background: #DDD8CC; overflow: hidden; }
.album-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.album-card .meta { padding: 14px 16px 16px; }
.album-card h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.album-card span { color: var(--muted); font-size: 15px; }
.album-view[hidden] { display: none; }
.album-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.back { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; background: #fff; }
.photo-grid { columns: 4 220px; column-gap: 10px; }
.photo-grid button { display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; background: #DDD8CC; border-radius: 6px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.photo-grid img { width: 100%; height: auto; }
.status { color: var(--muted); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(12,14,16,.94); z-index: 50; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 16px; top: 16px; }
.lb-info { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #CFD3D7; font-size: 15px; }
.lb-info a { color: #fff; margin-left: 12px; }
@media (max-width: 760px) { .lb-prev, .lb-next { top: auto; bottom: 56px; transform: none; } }

/* Forms */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-size: 14px; color: var(--muted); margin-top: 4px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field textarea, .field select { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #C9C6BC; border-radius: 8px; background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }
.drop { border: 2px dashed #B8B4A8; border-radius: var(--radius); padding: 28px; text-align: center; background: #FBFAF6; cursor: pointer; }
.drop.over { border-color: var(--green-2); background: #EEF4F1; }
.drop strong { display: block; font-size: 18px; margin-bottom: 4px; }
.file-list { list-style: none; padding: 0; margin: 14px 0 0; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.file-list button { background: none; border: 0; color: #9A3B2E; font: inherit; cursor: pointer; }
.progress { height: 10px; background: #E7E4DB; border-radius: 6px; overflow: hidden; margin: 14px 0 6px; }
.progress div { height: 100%; width: 0; background: var(--green-2); transition: width .2s; }
.notice { padding: 14px 16px; border-radius: 8px; margin: 16px 0 0; }
.notice.ok { background: #E6F2EC; color: #1F4A3A; }
.notice.err { background: #F8E6E3; color: #7A2C21; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; margin-top: 20px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--green-2); }

/* About Dan */
.about-hero { background: var(--green); color: #fff; padding: 64px 0 40px; }
.about-hero .kicker { color: var(--gold); font-weight: 700; margin: 0 0 8px; font-size: 17px; }
.about-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 7vw, 84px); line-height: 1; margin: 0 0 28px; letter-spacing: -.015em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; }
.toc a:hover { background: rgba(255,255,255,.12); }
.story { padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.story:nth-of-type(even) { background: #F1EFE8; }
.story-grid { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 40px; align-items: start; }
.story-text { position: sticky; top: 96px; }
.story-text h2 { margin-bottom: 14px; }
.story-text p { font-size: 18px; margin: 0 0 14px; max-width: 42ch; }
.story-media .sub { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 26px 0 10px; color: var(--green); }
.story-media .sub:first-child { margin-top: 0; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.strip button, .strip .more { aspect-ratio: 1; border: 0; padding: 0; border-radius: 6px; overflow: hidden; background: #DDD8CC; cursor: zoom-in; }
.strip button:first-child { grid-column: span 2; grid-row: span 2; }
.strip.n1 button:first-child { grid-column: span 4; aspect-ratio: 16/10; grid-row: auto; }
.strip.n2 button, .strip.n3 button { grid-column: span 2; grid-row: auto; }
.strip.n3 button:first-child { grid-column: span 4; aspect-ratio: 16/9; }
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.strip button:hover img { transform: scale(1.04); }
.strip .more { display: flex; align-items: center; justify-content: center; text-align: center; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; padding: 10px; cursor: pointer; }
.strip .more:hover { background: var(--green-2); }
.clips { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.clip { background: #000; border-radius: 8px; max-height: 70vh; }
.clip.wide { width: 100%; aspect-ratio: 16/9; }
.clip.tall { width: calc(50% - 5px); aspect-ratio: 9/16; max-width: 320px; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 20px; }
  .story-text { position: static; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip button:first-child { grid-column: span 3; grid-row: auto; aspect-ratio: 4/3; }
  .strip.n2 button, .strip.n3 button { grid-column: auto; }
  .strip.n3 button:first-child, .strip.n1 button:first-child { grid-column: span 3; }
}
@media (prefers-reduced-motion: reduce) { .strip img { transition: none; } }

/* ---------- Blog ---------- */
.blog-head .follow { margin-top: 14px; font-size: 16px; }
.rss { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.rss::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: var(--gold) radial-gradient(circle at 3px 11px, #fff 2px, transparent 2.5px); }
.blog-list-wrap { padding-top: 8px; }
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card a { display: block; color: inherit; text-decoration: none; height: 100%; }
.post-card:hover { border-color: var(--green-2); }
.post-card .cover { aspect-ratio: 3 / 2; background: #DDD8CC; overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .cover img { transform: scale(1.03); }
.post-card .meta { padding: 16px 18px 20px; }
.post-card time { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.post-card h2 { font-size: 25px; margin: 4px 0 8px; color: var(--green); }
.post-card p { margin: 0; color: var(--ink); }
.post-card .count { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .post-card.lead { grid-column: 1 / -1; }
  .post-card.lead a { display: grid; grid-template-columns: 1.4fr 1fr; }
  .post-card.lead .cover { aspect-ratio: auto; min-height: 380px; }
  .post-card.lead .meta { padding: 34px 34px; align-self: center; }
  .post-card.lead h2 { font-size: 38px; line-height: 1.08; }
  .post-card.lead p { font-size: 18px; }
}
.pager { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 34px; font-weight: 600; }
.pager span { color: var(--muted); font-weight: 400; }

.post-head { padding: 48px 20px 22px; }
.crumb { font-weight: 700; text-decoration: none; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.post-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 5.5vw, 60px); line-height: 1.04; margin: 8px 0 10px; letter-spacing: -.01em; }
.post-head time { color: var(--muted); font-weight: 600; }
.post-cover .ph { max-width: 1100px; margin: 0 auto; }
.ph { display: block; width: 100%; padding: 0; border: 0; background: #DDD8CC; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.ph img { width: 100%; height: auto; }
.post-cover img { max-height: 78vh; object-fit: cover; }
.post-body { padding-top: 26px; padding-bottom: 8px; font-size: 19px; line-height: 1.7; }
.post-body p { margin: 0 0 1.1em; }
.post-video { position: relative; aspect-ratio: 16 / 9; margin: 8px 0 24px; background: #111; border-radius: 8px; overflow: hidden; }
.post-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-photos { columns: 3 260px; column-gap: 10px; margin-top: 12px; }
.post-photos .ph { margin: 0 0 10px; break-inside: avoid; }
.post-photos.two { columns: 2 260px; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-label { font-weight: 700; margin-right: 6px; }
.share { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.share:hover { border-color: var(--green-2); }
.share.fb { background: #1877F2; border-color: #1877F2; color: #fff; }
.share.x { background: #111; border-color: #111; color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 10px; }
.post-nav a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; }
.post-nav a span { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.post-nav .older { grid-column: 2; text-align: right; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav .older { grid-column: auto; text-align: left; } }
.home-blog { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }

/* Write page */
.admin .page-head { padding-top: 40px; }
.admin .page-head h1 { font-size: clamp(36px, 5vw, 52px); }
.btn.ghost { background: #fff; color: var(--green); box-shadow: inset 0 0 0 2px var(--line); }
.btn.danger { background: #9A3B2E; color: #fff; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.field .label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input[type=date] { font: inherit; padding: 10px 12px; border: 1px solid #C9C6BC; border-radius: 8px; background: #fff; width: 100%; }
.field input[type=file] { font: inherit; width: 100%; padding: 14px; border: 2px dashed #B8B4A8; border-radius: 8px; background: #FBFAF6; }
.pick-list, .admin-list { list-style: none; padding: 0; margin: 12px 0 0; }
.pick-list li { display: flex; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pick-list img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.pick-list span { flex: 1; }
.pick-list button { background: none; border: 0; color: #9A3B2E; font: inherit; cursor: pointer; padding: 8px; }
.edit-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.ep { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; font-size: 14px; }
.ep img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ep label { display: flex; align-items: center; gap: 6px; padding: 6px 8px 0; font-weight: 600; }
.ep label:last-child { padding-bottom: 8px; }
.admin-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.admin-list img, .admin-list .noimg { width: 84px; height: 64px; object-fit: cover; border-radius: 6px; background: #DDD8CC; flex: none; }
.admin-list strong { display: block; font-size: 18px; }
.admin-list span { display: block; color: var(--muted); font-size: 14px; }
.admin-list .acts { margin-top: 4px; }
.admin-list .acts a { margin-right: 14px; font-weight: 600; font-size: 15px; }
.admin-list .acts .del { color: #9A3B2E; }
.admin-foot { margin: 28px 0 0; color: var(--muted); }
.done-actions .btn { margin: 0 8px 8px 0; }
.done-card .share-bar { margin-top: 14px; }
.home-sub { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 0 0 14px; color: var(--green); }
.home-blog .post-card h2 { font-size: 22px; }
.post-photos.one { columns: 1; max-width: 1100px; }


/* Family tree feature on the home page */
.tree-feature { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.tree-feature-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.tree-feature-photo { display: block; }
.tree-feature-photo svg { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.tree-feature-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.tree-feature-text h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 14px; color: var(--ink); }
.tree-feature-text p { margin: 0 0 14px; max-width: 34em; }
.tree-feature-note { color: var(--muted); font-size: 15px; }
.tree-feature-text .btn { margin-top: 6px; }
@media (max-width: 820px) { .tree-feature { padding: 40px 0; } .tree-feature-inner { grid-template-columns: 1fr; gap: 24px; } }