:root{--teal:#007F91;--deep:#174752;--ivory:#FAF7F0;--champagne:#DDD3C4;--ink:#303735;--muted:#687471;--white:#fff;--line:#deded4;}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--ink);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}h1,h2,h3,.name{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.08;color:var(--deep);margin:0}h1{font-size:clamp(3.2rem,6.1vw,6.2rem);letter-spacing:-.065em}h2{font-size:clamp(2.1rem,3.5vw,3.5rem);letter-spacing:-.045em}h3{font-size:1.8rem;letter-spacing:-.025em}p{margin:0 0 1em}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button,.btn{cursor:pointer}.wrap{max-width:1260px;margin:0 auto;padding:0 42px}.preview{background:var(--deep);color:white;padding:12px 0;font-size:12px;line-height:1.45}.preview .wrap{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.preview strong{font-size:12px;letter-spacing:.11em;text-transform:uppercase}.preview label{border:1px solid #d1e5e0;border-radius:5px;padding:7px 13px;cursor:pointer;white-space:nowrap}.preview input{position:absolute;opacity:0;width:1px;height:1px}.preview label:focus-within{outline:2px solid white}.preview small{color:#c3d8d6;display:block}header{border-bottom:1px solid var(--line);background:var(--ivory)}header .wrap{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-top:20px;padding-bottom:20px}.brand{display:flex;align-items:center;gap:12px;color:var(--teal);white-space:nowrap}.brand svg{width:82px;height:60px}.name{font-size:27px;letter-spacing:-.05em}.brand small{display:block;font-size:9px;font-weight:700;letter-spacing:.21em;color:var(--teal);margin-top:5px}.nav{display:flex;gap:21px;align-items:center;flex-wrap:wrap;font-size:13px;font-weight:550}.nav a:hover{color:var(--teal)}.login{border:1px solid var(--teal);color:var(--teal);padding:9px 15px;border-radius:4px}.hero{padding:56px 0 48px;display:grid;grid-template-columns:1fr 1.03fr;gap:60px;align-items:center}.eyebrow{color:var(--teal);text-transform:uppercase;letter-spacing:.19em;font-size:11px;font-weight:750;margin-bottom:18px}.hero p{font-size:19px;max-width:510px;color:#4b5854;margin:23px 0 27px}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--teal);color:white;border:1px solid var(--teal);padding:12px 20px;min-height:48px;border-radius:4px;font-size:14px;font-weight:650}.btn.alt{background:transparent;color:var(--deep);border-color:#8ea6a0}.buttons{display:flex;gap:10px;flex-wrap:wrap}.micro{margin-top:23px!important;font-size:12px!important;letter-spacing:.02em;color:var(--muted)!important}.photo{position:relative;overflow:hidden;isolation:isolate;background:#e5ebea;display:grid;place-items:center;min-height:220px;border-radius:5px}.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none}.photo.loaded img{display:block}.placeholder{position:relative;padding:24px;text-align:center;color:var(--deep);max-width:360px}.placeholder svg{width:145px;opacity:.2;color:var(--teal);display:block;margin:0 auto 15px}.placeholder strong{display:block;font-size:16px;font-weight:600}.placeholder small{font-size:12px;color:var(--muted);display:block;line-height:1.5}.photo.loaded .placeholder{display:none}.hero-photo{height:510px;background:#dbe7e7;border-radius:100px 5px 5px 5px}.photo-cap{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;margin-top:9px;gap:8px}.photo-controls{display:none;gap:5px}.photo.loaded .photo-controls{display:flex;position:absolute;z-index:2;bottom:10px;right:10px}.photo-controls button{border:0;background:#faf7f0ed;color:var(--deep);border-radius:3px;padding:4px 10px}.pillars{background:var(--deep);color:white}.pillars .wrap{display:grid;grid-template-columns:repeat(3,1fr);padding-top:26px;padding-bottom:26px}.pillar{padding:12px 32px;border-left:1px solid #ffffff30}.pillar:first-child{border-left:0;padding-left:0}.pillar span{display:block;color:#b5d9d4;font-size:10px;font-weight:700;letter-spacing:.17em;margin-bottom:7px}.pillar h3{font-size:24px;color:var(--ivory);margin-bottom:7px}.pillar p{font-size:13px;margin:0;color:#d9e9e6}.section{padding:72px 0}.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.split .photo{height:370px}.split p{margin-top:18px;color:#4b5854}.link{color:var(--teal);font-weight:650;border-bottom:1px solid var(--teal);display:inline-block}.soft{background:#f0ece3}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.section-head p{max-width:450px;margin:0;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:var(--ivory);border:1px solid var(--line);border-radius:5px;overflow:hidden}.card .photo{height:260px;border-radius:0}.card-text{padding:22px}.card-text p{font-size:14px;color:#56625d;margin:12px 0}.status{display:inline-block;color:var(--teal);font-size:10px;text-transform:uppercase;font-weight:750;letter-spacing:.14em;margin-bottom:12px}.litter-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.litter-grid .card .photo{height:300px}.family{background:var(--deep);color:white}.family .wrap{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-top:54px;padding-bottom:54px}.family h2{color:white}.family p{color:#dce9e6;margin:12px 0 0}.family .btn{background:var(--ivory);color:var(--deep);border-color:var(--ivory)}footer .wrap{padding-top:40px;padding-bottom:40px;display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}footer .brand svg{width:54px;height:42px}footer p{font-size:12px;color:var(--muted);max-width:500px}.footlinks{display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:13px}.review{font-size:12px;color:var(--muted);padding:0 0 22px}.gallery-note{background:#e1eef0;padding:12px 16px;font-size:13px;margin-top:20px;border-left:3px solid var(--teal)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1000px){header .wrap{flex-wrap:wrap}.hero{gap:32px}.nav{gap:15px}.hero-photo{height:440px}.wrap{padding-left:26px;padding-right:26px}.split{gap:32px}}@media(max-width:740px){.wrap{padding-left:20px;padding-right:20px}.hero,.split{grid-template-columns:1fr;gap:26px}.hero{padding-top:34px}.hero-photo{height:360px;border-radius:55px 5px 5px 5px}.pillars .wrap,.cards,.litter-grid{grid-template-columns:1fr}.pillar{padding:17px 0;border-left:0;border-top:1px solid #ffffff30}.pillar:first-child{border-top:0}.section{padding:48px 0}.section-head,.family .wrap{align-items:start;flex-direction:column}.nav{font-size:12px}.brand svg{width:65px}.name{font-size:24px}.card .photo{height:300px}.split .photo{height:320px}.preview .wrap{gap:8px}h1{font-size:3.55rem}}

/* Shared page system */
:focus-visible{outline:3px solid var(--teal);outline-offset:4px} .skip{position:absolute;left:12px;top:-100px;background:var(--ivory);padding:12px;z-index:20}.skip:focus{top:12px}.nav a[aria-current="page"]{color:var(--teal);text-decoration:underline;text-underline-offset:6px}.page-hero{padding:64px 0 38px}.page-hero h1{max-width:900px;font-size:clamp(2.8rem,5.5vw,5rem)}.lead{font-size:clamp(1.05rem,2vw,1.3rem);max-width:760px;color:#4b5854;margin-top:22px}.page-content{padding-bottom:64px}.page-content .section{padding:30px 0}.page-content h2{margin:22px 0 14px;font-size:clamp(1.85rem,3vw,2.6rem)}.page-content p{max-width:850px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.grid .card{padding:24px}.grid .card:has(.photo){padding:0}.grid .card p{margin-top:12px}.grid .tag{color:var(--teal);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.13em;margin-bottom:10px}.callout{background:#e1eef0;border-left:3px solid var(--teal);padding:16px 20px;margin-top:24px;font-size:.92rem}.page-content li{margin:8px 0}.page-content a:not(.btn){color:var(--teal);text-decoration:underline;text-underline-offset:3px}.page-content .btn{margin-top:12px}.page-content .photo{min-height:260px}.page-content .card .photo{height:290px}.photo-note{color:var(--muted);font-size:12px}.menu-toggle{display:none}.profile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}.profile-list .card{padding:0}.profile-list .card .card-text{padding:24px}.page-content .photo img{object-fit:cover}.page-content .photo .placeholder strong{font-size:18px} .profile-link{display:inline-block;margin-top:5px}
@media(max-width:740px){.grid,.profile-list{grid-template-columns:1fr}.page-hero{padding-top:38px}.page-content{padding-bottom:40px}.page-content .section{padding:16px 0} .menu-toggle{display:inline-flex;border:1px solid var(--teal);color:var(--teal);background:transparent;border-radius:4px;padding:9px 12px;min-height:44px;align-items:center}.nav{width:100%;display:none;gap:4px;flex-direction:column;align-items:stretch}.nav.open,.nav:not([data-enhanced]){display:flex}.nav a{padding:10px 4px;min-height:44px;font-size:15px}.nav .login{padding-left:12px}.brand{white-space:normal}.brand svg{flex-shrink:0}.name{font-size:24px}header .wrap{gap:12px}.hero h1{font-size:clamp(2.65rem,11vw,3.55rem)}.preview label{min-height:40px;display:flex;align-items:center}.page-content .card .photo{height:260px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.dog-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin:20px 0}.dog-facts div{border-top:1px solid #ccd9d9;padding-top:10px}.dog-facts dt{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--teal);font-weight:700}.dog-facts dd{margin:4px 0;font-size:15px}.ped-controls{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.ped-controls button{border:1px solid #77989d;background:transparent;padding:10px 14px;border-radius:5px;color:var(--deep);cursor:pointer}.ped-controls button[aria-pressed=true]{background:var(--deep);color:white}.ped-scroll{overflow:auto;max-width:100%;padding:5px 4px 15px}.ped-grid{display:grid;grid-template-columns:repeat(var(--depth),minmax(160px,1fr));grid-template-rows:repeat(var(--rows),minmax(54px,auto));gap:5px 13px;min-width:calc(var(--depth)*175px)}.ped-node{align-self:stretch;display:flex;flex-direction:column;justify-content:center;background:#fffefa;border:1px solid #b4c8cc;border-left:3px solid #277d8b;padding:7px 8px;font-size:11px;line-height:1.3;border-radius:3px;overflow-wrap:anywhere}.ped-node strong{font-weight:600}.ped-node small{font-size:10px;color:#51666b;margin-top:4px}.ped-node.unknown{background:#f3f1ed;border-style:dashed;color:#697575}.ped-node a{color:var(--deep)}.logo-story{background:#e0e9e9;color:#174752;min-height:250px;display:grid;place-items:center;border-radius:6px}.logo-story svg{width:65%;max-width:250px}.photo-controls[hidden],.ped-panel[hidden]{display:none!important}@media(max-width:740px){.dog-facts{grid-template-columns:1fr}.ped-grid{grid-template-columns:repeat(var(--depth),minmax(145px,1fr));min-width:calc(var(--depth)*160px)}}@media print{header,footer,.preview,.page-hero,.page-content,.ped-controls,.skip{display:none!important}.pedigree-section{padding:0;background:white}.ped-scroll{overflow:visible}.ped-grid{min-width:0;grid-template-columns:repeat(var(--depth),1fr);grid-template-rows:repeat(var(--rows),minmax(20px,auto));gap:2px}.ped-node{font-size:7pt;padding:2px;break-inside:avoid}.ped-node small{font-size:6pt}@page{size:landscape;margin:8mm}} .ped-generation-head{display:grid;grid-template-columns:repeat(var(--depth),minmax(160px,1fr));min-width:calc(var(--depth)*175px);gap:5px 13px;margin:0 0 8px;color:var(--deep);font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.07em}.ancestor-photo{width:min(100%,115px);height:100px;object-fit:contain;border-radius:4px;margin:0 auto 7px;background:#f1eee6}.ancestor-source{font-size:10px;text-decoration:underline;margin-top:4px}.ped-node{min-width:0}.ped-node:has(.ancestor-photo){align-items:center;text-align:center}@media(max-width:740px){.ped-generation-head{grid-template-columns:repeat(var(--depth),minmax(145px,1fr));min-width:calc(var(--depth)*160px)}}@media print{.ped-generation-head{min-width:0;grid-template-columns:repeat(var(--depth),1fr);gap:2px;font-size:7pt}.ancestor-photo{height:36px;width:45px}.ancestor-source{display:none}} 
/* Shared photography policy: preserve the whole photograph, including feet and head. */
.brand img{width:82px;height:60px;object-fit:contain}.photo,.page-content .photo{background:var(--champagne)}
.photo img,.page-content .photo img{object-fit:contain;object-position:center}.photo.hero-photo img{object-fit:contain}.photo[data-fit="cover"] img{object-fit:cover;object-position:var(--crop-position,50% 50%)}
.photo-controls button{min-height:32px}.photo-controls a{background:var(--ivory);color:var(--deep);border-radius:3px;padding:4px 10px;font-size:13px}.photo-controls a:hover{text-decoration:underline}.brand .name{white-space:normal}
@media(max-width:600px){.brand img{width:62px;height:50px}.photo,.page-content .photo{min-height:200px}.card .photo,.page-content .card .photo{height:clamp(240px,65vw,380px)}}

/* Shared family experience */
.family-portal{padding-top:44px;padding-bottom:60px}.portal-intro h1{font-size:clamp(2.8rem,5vw,4.6rem)}.portal-intro p{font-size:18px;color:var(--muted);margin:14px 0 24px}.portal-notice{background:var(--white);border:1px solid var(--line);border-left:3px solid var(--teal);padding:14px 18px;border-radius:5px;font-size:14px}.portal-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:25px 0}.portal-toolbar label,.family-portal form label{display:block;font-size:13px;font-weight:650;margin-bottom:5px}.portal-toolbar select{min-width:220px;padding:10px;background:var(--white);border:1px solid var(--line);border-radius:5px;color:var(--ink)}.portal-layout{display:grid;grid-template-columns:195px minmax(0,1fr);gap:30px;align-items:start}.portal-nav{display:flex;flex-direction:column;gap:4px}.portal-nav button{border:0;text-align:left;padding:12px 14px;background:transparent;border-radius:5px;color:var(--deep);font-weight:600;font-size:14px}.portal-nav button[aria-pressed=true]{background:var(--deep);color:var(--white)}.portal-nav button:hover:not([aria-pressed=true]){background:var(--champagne)}#portal-content>h2{font-size:clamp(2rem,4vw,3.2rem)}#portal-content>.eyebrow{margin-bottom:10px}.portal-subtitle{color:var(--muted);margin:10px 0 20px}.portal-welcome{display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--deep);color:white;padding:24px;border-radius:8px}.portal-welcome h3,.portal-welcome .eyebrow{color:white}.portal-welcome p{margin:10px 0}.portal-monogram{font:68px Georgia;flex:0 0 100px;height:100px;display:grid;place-items:center;border:1px solid #ffffff77;border-radius:50%}.portal-chip{font-size:12px;border:1px solid #ffffff88;border-radius:20px;padding:5px 10px;display:inline-block}.portal-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.portal-metrics>div,.portal-card,.portal-tile{background:var(--white);border:1px solid var(--line);border-radius:7px;padding:20px}.portal-metrics small,.portal-metrics strong,.portal-tile small,.portal-tile strong,.portal-docs small{display:block}.portal-metrics small,.portal-tile small,.portal-docs small{font-size:12px;color:var(--muted)}.portal-metrics strong{font-size:16px;color:var(--deep);margin-top:3px}.portal-card{margin:0 0 16px}.portal-card h3{font-size:1.6rem;margin-bottom:15px}.portal-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.portal-tile{text-align:left;color:var(--deep);font:inherit}.portal-tile span{display:block;margin-top:10px;font-size:13px;color:var(--teal)}.portal-timeline{padding:0;margin:0;list-style:none}.portal-timeline li{border-left:2px solid var(--line);padding:0 0 18px 16px;margin-left:4px}.portal-timeline li:last-child{padding-bottom:0}.portal-timeline small,.portal-timeline strong{display:block}.portal-timeline small{font-size:12px;color:var(--muted)}.portal-timeline p{margin:4px 0 0}.temperament-report dt{color:var(--deep);font-weight:650}.temperament-report dd{margin:4px 0 15px;padding-bottom:12px;border-bottom:1px solid var(--line)}.portal-disclaimer,.portal-foot{font-size:13px;color:var(--muted)}.portal-foot{margin-top:30px}.portal-chart>div{display:grid;grid-template-columns:75px 1fr 58px;gap:12px;align-items:center;margin:12px 0;font-size:13px}.portal-bar{background:var(--ivory);height:13px;border-radius:4px;overflow:hidden}.portal-bar i{display:block;background:var(--teal);height:100%;border-radius:4px}.family-portal textarea{display:block;width:100%;min-height:95px;margin:8px 0 12px;padding:12px;border:1px solid var(--line);background:var(--ivory);border-radius:5px;font:inherit}.portal-docs>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.portal-doc-preview{padding:18px 0 0}.portal-card .btn,.portal-toolbar .btn{min-height:40px;padding:8px 12px}.family-portal button:focus-visible,.family-portal select:focus-visible{outline:3px solid var(--teal);outline-offset:3px}@media(max-width:800px){.portal-layout{grid-template-columns:1fr;gap:18px}.portal-nav{flex-direction:row;overflow-x:auto;padding-bottom:5px}.portal-nav button{white-space:nowrap}.portal-metrics>div{padding:12px}.portal-toolbar select{min-width:0;width:100%}.portal-monogram{flex-basis:70px;height:70px;font-size:44px}}@media(max-width:450px){.portal-tiles{grid-template-columns:1fr}.portal-metrics{grid-template-columns:1fr}.portal-welcome{padding:16px}.portal-card{padding:15px}.portal-docs>div{align-items:start;flex-direction:column}}@media print{body:has([data-portal]) header,body:has([data-portal]) footer,body:has([data-portal]) .preview,.portal-intro,.portal-notice,.portal-toolbar,.portal-nav,.portal-foot,.family-portal button{display:none!important}.portal-layout{display:block}.portal-card{break-inside:avoid}.family-portal{padding:0}.portal-disclaimer{color:#555}}

.about-family-photo{float:right;width:min(42%,340px);margin:0 0 1.2rem 1.8rem}.about-family-photo img{display:block;width:100%;height:auto;border-radius:5px}.about-family-photo figcaption{font-size:.85rem;color:var(--muted);margin-top:.45rem}.shyre-history{clear:both}@media(max-width:700px){.about-family-photo{float:none;width:100%;max-width:420px;margin:1rem 0}}

.about-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,340px);gap:2rem;align-items:center}.about-hero .about-family-photo{float:none;width:100%;margin:0}.about-hero h1{font-size:clamp(2.6rem,4.5vw,4.4rem)}@media(max-width:850px){.about-hero{grid-template-columns:1fr}.about-hero .about-family-photo{max-width:440px}}

/* v0.14 editorial and lineage layouts */
.editorial-photo{margin:0;min-width:0}.editorial-photo img{width:100%;height:auto;max-height:540px;object-fit:contain;display:block;border-radius:5px;background:#eee8dd}.editorial-photo figcaption{font-size:13px;color:var(--muted);margin-top:8px}.development-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:54px 0}.development-grid article{border-top:1px solid var(--line);padding-top:18px}.development-grid .editorial-photo img{height:300px}.development-grid .tag{margin-top:18px;color:var(--teal);font-size:11px;letter-spacing:.15em;text-transform:uppercase}.lineage-panel{border:1px solid var(--line);padding:24px;border-radius:5px;background:#fffdf8}.lineage-path{display:flex;align-items:center;gap:12px;margin:16px 0;flex-wrap:wrap}.lineage-node{display:flex;flex-direction:column;align-items:center;width:112px;text-decoration:none!important;font-size:15px;gap:6px}.lineage-node img{width:100px;height:100px;object-fit:contain;background:#eee8dd;border-radius:4px}.line-arrow{color:var(--teal);font-size:24px}.contract-copy{max-width:850px;line-height:1.6;margin-top:25px}.contract-copy p{margin:16px 0}@media(max-width:740px){.development-grid{grid-template-columns:1fr;gap:26px}.lineage-node{width:76px;font-size:12px}.lineage-node img{width:70px;height:70px}.lineage-path{gap:5px}.line-arrow{font-size:16px}}@media print{header,footer,.preview,.btn{display:none!important}.contract-copy{font-size:11pt}}

/* v0.15 program editorial */
.program-intro{max-width:100%;margin-bottom:3rem}.program-intro>p,.program-section>p{max-width:78ch}.program-jump{display:flex;flex-wrap:wrap;gap:.65rem 1.2rem;margin-top:1.5rem;padding:1rem 0;border-top:1px solid #ded8ce;border-bottom:1px solid #ded8ce}.program-jump a{font-weight:600;font-size:.95rem}.program-section{margin:3.2rem 0;padding-top:2.2rem;border-top:1px solid #ded8ce;scroll-margin-top:1.5rem}.program-split{margin:1.7rem 0 2.4rem;align-items:start}.program-split h3{margin-top:0}.program-split .editorial-photo img{max-height:460px;width:100%;object-fit:contain}.program-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.8rem 0}.program-steps article{padding:1.3rem;border:1px solid #ded8ce;border-radius:6px;min-width:0}.program-steps span{color:#007f91;font-size:.8rem;font-weight:bold;letter-spacing:.1em}.program-steps h3{margin:.5rem 0}.program-steps p{margin-bottom:0}.program-example{background:#edf2ee;border-left:3px solid #007f91;padding:1.4rem 1.6rem;margin:1.8rem 0;max-width:85ch}.program-example p:last-child{margin-bottom:0}.source-note{font-size:.9rem;color:#566665}.program-section h2{margin-top:.3rem}.program-section h3{font-size:1.55rem}.program-photo-row figure{margin:0;min-width:0}.program-photo-row img{height:230px;width:100%;object-fit:contain}.program-photo-row figcaption{font-size:.9rem}@media(max-width:740px){.program-steps{grid-template-columns:1fr}.program-section{margin:2rem 0;padding-top:1.5rem}.program-example{padding:1rem}.program-split .editorial-photo img{max-height:350px}}

/* v0.18 editorial photographs and stable deep links */
html{scroll-behavior:auto}.about-time-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(220px,1fr);gap:2rem;align-items:start;margin-top:1rem}.about-lineage-photos{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.about-lineage-photos img{max-height:260px}.about-inline-photo{float:right;clear:right;width:min(34%,300px);margin:.5rem 0 1.4rem 2rem}.about-inline-photo img{width:100%;height:auto;display:block;border-radius:5px}.about-inline-photo figcaption{font-size:.85rem;color:var(--muted);margin-top:.45rem}.about-time-grid p{max-width:78ch}.program-section{scroll-margin-top:24px}.about-family-photo img,.editorial-photo img{height:auto}.program-photo-row img{height:230px}.about-time-grid+.about-inline-photo{clear:both}@media(max-width:740px){.about-time-grid{grid-template-columns:1fr;gap:1rem}.about-inline-photo{float:none;width:100%;max-width:340px;margin:1rem 0}.about-lineage-photos{max-width:480px}}

/* v0.21 pedigree navigation */
.pedigree-section{scroll-margin-top:24px}.pedigree-jump{margin-top:1rem}.pedigree-summary{font-size:.9rem;color:var(--muted);margin:.55rem 0 0}

/* v0.24 resource pages */
.resource-layout{max-width:1000px}.resource-article{max-width:80ch;margin:auto}.resource-article h2{margin-top:2.3rem}.resource-section{margin:2.1rem 0;border-top:1px solid var(--line);padding-top:.5rem}.resource-note{font-size:.9rem;color:var(--muted)}.resource-photo{margin:1.6rem 0}.resource-photo img{max-width:100%;width:100%;height:auto;max-height:480px;object-fit:contain;background:#f1ece3;border-radius:5px}.resource-photo figcaption{font-size:.85rem;color:var(--muted);margin-top:.5rem}.resource-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.resource-gallery .resource-photo{margin:0}.resource-faq details{border-bottom:1px solid var(--line);padding:1rem 0}.resource-faq summary{font-weight:600;cursor:pointer}.resource-faq p{margin:.7rem 0 0}.resource-back{margin-top:2rem}@media(max-width:600px){.resource-gallery{grid-template-columns:1fr}}

/* Configurable social navigation */
.nav .social-link,.footlinks .social-link{color:var(--teal);font-weight:750;white-space:nowrap}.hero .home-social{font-size:14px;margin:15px 0 0}.home-social a{line-height:1.5}

.family-tree-scroll{overflow-x:auto;padding:1rem 0}.family-tree-svg{width:100%;min-width:850px;height:auto;display:block}.family-tree-svg a:focus rect,.family-tree-svg a:hover rect{stroke:#473a2b;stroke-width:3}.application-form{max-width:760px;display:grid;gap:1rem}.application-form label{display:grid;gap:.4rem}.application-form input:not([type=checkbox]),.application-form textarea,.application-form select{width:100%;font:inherit;padding:.6rem;border:1px solid #b8aa95;border-radius:.3rem;background:white;color:#292520}.application-form textarea{min-height:90px}.application-form fieldset{border:1px solid #b8aa95;padding:1rem}.application-form input[type=checkbox]{width:auto}

/* First images are real HTML; gallery controls appear only after enhancement. */
.photo.loaded:not(.gallery-enhanced) .photo-controls{display:none}

/* Hero artwork uses its native ratio, preserving the photographer credit. */
.photo.hero-photo{height:auto;aspect-ratio:1200/835;}
.photo.hero-photo img{object-fit:contain;}

/* Health record presentation */
.health-records{display:grid;gap:1rem;margin:1rem 0 2rem;max-width:850px}.health-record-group{border:1px solid var(--line);border-radius:6px;background:rgba(255,255,255,.46);overflow:hidden}.health-record-group h4{font-family:inherit;font-size:.82rem;letter-spacing:.07em;text-transform:uppercase;font-weight:700;color:var(--teal);background:rgba(0,112,121,.055);padding:.8rem 1rem;margin:0}.health-record-group dl{margin:0;padding:0 1rem}.health-record-group dl>div{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,1.7fr);gap:.75rem;border-top:1px solid var(--line);padding:.75rem 0;align-items:baseline}.health-record-group dt{font-weight:650;font-size:.92rem}.health-record-group dd{margin:0;font-size:.92rem;overflow-wrap:anywhere}.health-record-note{font-size:.85rem;color:var(--muted);margin:.4rem 0 .7rem}.health-source{overflow-wrap:anywhere;margin:.75rem 0 .25rem}.health-records .health-record-note{margin:0}@media(max-width:520px){.health-record-group dl>div{grid-template-columns:1fr;gap:.2rem}.health-record-group h4{padding:.65rem .8rem}.health-record-group dl{padding:0 .8rem}}
