/* Photo-led reference page; inherits the public shop's colors and typography. */
html:has(.headstone-guide){scroll-behavior:auto}
.headstone-guide{--guide-green:#40594e;--guide-soft:#e5e9e2;--guide-sand:#eee8df}
.headstone-guide h1,.headstone-guide h2{font-family:var(--serif);letter-spacing:-.035em}
.headstone-guide h3{font:600 18px/1.3 var(--sans);letter-spacing:-.025em}
.headstone-guide p{margin:0;line-height:1.7}
.headstone-guide .eyebrow{margin-bottom:14px;color:var(--guide-green)}
.headstone-guide a:focus-visible,.headstone-guide summary:focus-visible{outline:3px solid var(--guide-green);outline-offset:4px;border-radius:4px}
.guide-hero{display:grid;grid-template-columns:.9fr 1.2fr;gap:7%;align-items:center;padding-block:44px 32px}
.guide-hero h1{font-size:clamp(48px,5.6vw,86px);line-height:1.04;margin:0 0 20px}
.guide-lede{font-size:16px;color:var(--muted);max-width:35ch}
.guide-start{display:inline-flex;align-items:center;gap:35px;min-height:48px;margin-top:22px;border-bottom:1px solid var(--guide-green);font-size:14px;font-weight:600}
.guide-hero-art{margin:0;min-width:0}
.guide-hero-art img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.headstone-guide figcaption{font-size:12px;color:var(--muted);line-height:1.6;margin-top:10px}
.guide-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-block:1px solid var(--line);padding-block:8px;gap:10px}
.guide-nav a{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:600;min-height:48px;padding:8px;border-radius:6px}
.guide-nav a span{font-size:10px;color:var(--muted)}
.guide-nav a:hover{background:var(--guide-soft)}
.guide-section{padding-block:50px;scroll-margin-top:100px}
.guide-heading{max-width:680px;margin-bottom:28px}
.guide-heading h2{font-size:clamp(36px,4vw,58px);margin:0 0 12px;line-height:1.08}
.guide-heading>p:last-child{font-size:15px;color:var(--muted);max-width:62ch}
.guide-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.guide-lettering-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.guide-letter-group>h3{font-size:23px;margin:0 0 10px}
.guide-letter-group>.guide-note{margin:0 0 22px}
.guide-letter-group+.guide-letter-group{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}
.guide-letter-typefaces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.guide-letter-typefaces figure{margin:0;min-width:0}
.guide-letter-typefaces figcaption strong{display:block;font-size:14px;font-weight:600;color:var(--ink)}
.guide-letter-typefaces figcaption span{display:block;font-size:12px;margin-top:3px}
.guide-letter-sheet{position:relative;overflow:hidden;border-radius:7px;aspect-ratio:2;background:#e9e7e1}
.guide-letter-sheet img{display:block;position:absolute;width:calc(var(--cols)*100%);height:calc(var(--rows)*100%);max-width:none;left:calc(var(--col)*-100%);top:calc(var(--row)*-100%)}
.guide-letter-more>.guide-letter-typefaces{padding-block:12px 24px}
.guide-letter-treatment summary>.guide-letter-sheet{margin-bottom:16px}
.guide-style{border:1px solid var(--line);background:#fcfbf8;border-radius:12px;overflow:hidden}
.guide-style summary{display:block;cursor:pointer;padding:12px 12px 0}
.guide-style summary::-webkit-details-marker{display:none}
.guide-style summary h3{margin:8px 8px 8px;font-size:22px}
.guide-style summary p{font-size:14px;color:var(--muted);margin-inline:8px}
.guide-style-art{border-radius:6px;background:#e9e7e1;overflow:hidden;aspect-ratio:3/2}
.guide-style-art img{display:block;width:100%;height:100%;object-fit:cover}
.guide-photo-source{display:block;font-size:10px;letter-spacing:.025em;color:var(--muted);margin:14px 8px 0}
.guide-more{display:flex;justify-content:space-between;align-items:center;min-height:48px;margin:15px 8px 0;font-size:12px;font-weight:600;color:var(--guide-green);border-top:1px solid var(--line)}
.guide-style summary:hover{background:#f2f3ec}
.guide-style .guide-reveal{padding:0 20px 22px;font-size:14px;color:var(--muted)}
.guide-style[open]{border-color:#637765}
.guide-style[open] .guide-more>span,.guide-extra[open]>summary>span,.guide-terms details[open] .guide-plus{transform:rotate(45deg)}
.headstone-guide .guide-note{font-size:12px;color:var(--muted);margin-top:20px;max-width:90ch}
.guide-note a{display:inline-flex;align-items:center;min-height:44px;color:var(--guide-green);text-decoration:underline;text-underline-offset:4px;margin-left:6px}
.guide-anatomy-section{background:var(--guide-soft)}
.guide-two-col{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:7%}
.guide-anatomy-art,.guide-measure-art{margin:0;min-width:0}
.guide-annotated-photo{position:relative;border-radius:10px;overflow:hidden;isolation:isolate}
.guide-annotated-photo>img{display:block;width:100%;height:auto;aspect-ratio:1}
.guide-photo-pin{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fffdf8;color:#263f33;font:600 16px var(--sans);border:1px solid #40594e;box-shadow:0 2px 8px #17201f30}
.guide-photo-pin:hover{background:#e8efd9}
.guide-number{display:inline-grid;place-items:center;border:1px solid #718372;border-radius:50%;width:32px;height:32px;flex-shrink:0;font:500 12px var(--sans);color:var(--guide-green)}
.guide-anatomy-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.guide-anatomy-links a{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 12px;border:1px solid #a3b09e;border-radius:8px;background:#f7f8f2;font-size:12px}
.guide-anatomy-links a:hover{background:#eee4d4}
.guide-anatomy-links .guide-number{width:24px;height:24px;font-size:10px}
.guide-terms details{border-bottom:1px solid #bac4b9;scroll-margin-top:105px}
.guide-terms summary{display:flex;align-items:center;gap:14px;cursor:pointer;min-height:72px;font-size:16px;font-weight:600}
.guide-terms summary::-webkit-details-marker{display:none}
.guide-plus{margin-left:auto;font-size:22px;font-weight:400}
.guide-terms details>p{font-size:14px;padding:0 0 24px 46px;color:#435248}
.guide-terms details:target{border-color:var(--guide-green)}
.guide-samples{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.guide-samples figure{margin:0;min-width:0}
.guide-contact-sheet{position:relative;overflow:hidden;border-radius:10px;background:#e9e7e1}
.guide-contact-sheet img{display:block;position:absolute;width:300%;max-width:none;left:calc(var(--col)*-100%);object-fit:fill}
.guide-color-sheet{aspect-ratio:1}
.guide-color-sheet img{height:200%;top:calc(var(--row)*-100%)}
.guide-finish-sheet{aspect-ratio:4/5;margin-bottom:18px}
.guide-finish-sheet img{height:100%;top:0}
.guide-samples figcaption{font-size:13px;color:var(--ink);text-align:center}
.guide-finishes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:28px;padding-top:26px;border-top:1px solid var(--line)}
.guide-finishes h3{font-size:16px;margin:0 0 8px}
.guide-finishes p{font-size:14px;color:var(--muted)}
.guide-extra{border-block-end:1px solid var(--line);margin-top:22px}
.guide-extra>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:15px;cursor:pointer;min-height:56px;font-size:14px;font-weight:600}
.guide-extra>summary::-webkit-details-marker{display:none}
.guide-extra>summary>span{font-size:22px;font-weight:400}
.guide-extra>p{font-size:14px;color:var(--muted);max-width:85ch;padding-bottom:24px}
.guide-sizing-section{background:var(--guide-sand)}
.guide-measure-overlay{position:absolute;inset:0;width:100%;height:100%}
.guide-dimension{fill:none;stroke:#253e31;stroke-width:5;marker-start:url(#guide-arrow);marker-end:url(#guide-arrow)}
.guide-extension{fill:none;stroke:#40594e;stroke-width:3;stroke-dasharray:10 8}
.guide-measure-text{fill:#253e31;font:600 43px var(--sans)}
.guide-measure-text rect{fill:#fffdf8;fill-opacity:.95}
.guide-size-copy>p{font-size:14px;color:var(--muted)}
.guide-size-copy .guide-size-line{font:500 clamp(36px,4vw,54px)/1.2 var(--serif);letter-spacing:.025em;color:var(--guide-green);margin:0 0 14px}
.guide-unit-list{margin:22px 0 0;font-size:13px}
.guide-unit-list>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #d1c9be;padding-block:10px}
.guide-unit-list dt{font-weight:600}.guide-unit-list dd{margin:0}
.guide-sizing-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding-block:12px 24px}
.guide-sizing-examples h3{font-size:16px;margin:0 0 14px}
.guide-sizing-examples p{font-size:13px;color:var(--muted)}
.guide-sizing-examples .guide-example{font-size:13px;color:var(--guide-green);margin-top:16px;border-left:2px solid #718372;padding-left:14px}
.guide-example span{font-size:12px}
.guide-boundary{font-size:13px;padding:18px 22px;background:#fcfaf5;border-radius:8px;margin-bottom:24px!important;color:#4d584e}
.guide-placement{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;list-style:none;margin:0;padding:0}
.guide-placement h3{font-size:17px;margin:20px 0 12px}
.guide-placement p{font-size:14px;color:var(--muted)}
.guide-next{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center;border:1px solid #c8cfc1;background:var(--guide-soft);border-radius:16px;padding:35px 40px;margin-bottom:25px}
.guide-next h2{font-size:clamp(36px,4vw,56px);margin:0 0 16px}
.guide-next p{font-size:14px;color:#4d5b50;max-width:42ch}
.guide-next-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.guide-next-actions .button{background:var(--guide-green);border-color:var(--guide-green);color:white;gap:22px;letter-spacing:0}
.guide-next-actions>a:not(.button){display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:var(--guide-green);text-decoration:underline;text-underline-offset:4px}
.guide-back{text-align:right;padding-bottom:30px}
.guide-back a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:850px){.guide-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-placement{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-two-col{gap:4%}.guide-nav a{gap:7px;font-size:12px}}
@media(max-width:700px){.guide-hero{grid-template-columns:1fr;padding-block:28px;gap:24px}.guide-hero h1{font-size:48px;margin-bottom:14px}.guide-lede{font-size:14px;max-width:none}.guide-start{margin-top:12px}.guide-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.guide-nav a{font-size:11px;padding:8px 4px;gap:6px}.guide-section{padding-block:36px;scroll-margin-top:85px}.guide-heading{margin-bottom:22px}.guide-heading h2{font-size:36px}.guide-heading>p:last-child{font-size:14px}.guide-two-col{grid-template-columns:1fr;gap:24px}.guide-terms summary{font-size:15px;min-height:64px}.guide-terms details{scroll-margin-top:95px}.guide-terms details>p{padding-left:0}.guide-samples{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 15px}.guide-samples figcaption{font-size:11px}.guide-finishes{grid-template-columns:1fr;gap:20px}.guide-size-copy .guide-size-line{font-size:44px}.guide-sizing-examples{grid-template-columns:1fr;gap:24px}.guide-extra>summary{font-size:13px}.guide-extra>p{font-size:13px}.guide-placement{gap:24px 20px}.guide-placement h3{font-size:15px;margin-top:16px}.guide-placement p{font-size:13px}.guide-next{grid-template-columns:1fr;padding:28px 24px;gap:24px}.guide-next-actions .button{font-size:12px;padding-inline:18px;width:100%;justify-content:space-between}.guide-back{padding-bottom:20px}}
@media(max-width:500px){.guide-style-grid{grid-template-columns:1fr;gap:20px}.guide-style summary h3{font-size:20px}.guide-style-art{aspect-ratio:3/2}}
@media(max-width:360px){.guide-hero h1{font-size:41px}.guide-placement{grid-template-columns:1fr}.guide-anatomy-links a{font-size:11px;padding-inline:8px}.guide-next{padding:25px 18px}.guide-measure-text{font-size:48px}}
@media(max-width:700px){.guide-finishes{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.guide-finishes h3{font-size:13px}.guide-finishes p{font-size:12px}.guide-finish-sheet{margin-bottom:12px}}
@media(max-width:700px){.guide-letter-typefaces{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.guide-lettering-grid{grid-template-columns:1fr}.guide-letter-group>h3{font-size:20px}.guide-letter-typefaces figcaption strong{font-size:13px}.guide-letter-typefaces figcaption span{font-size:11px}}
