/* Strata Atlas — a folding field plate with a surface viewer. */
.theme-d {
  --paper: #f0f1df;
  --ink: #172f28;
  --muted: #4a6055;
  --line: #a1b09a;
  --accent: #214b40;
  --accent-ink: #fff;
  --wash: #dce4ce;
  --head: 'Cormorant Garamond', Georgia, serif;
  --body: 'DM Sans', Arial, sans-serif;
  --ui: 'DM Sans', Arial, sans-serif;
  --measure: ui-monospace, Menlo, Consolas, monospace;
  --chartreuse: #e3f680;
}
.theme-d .site-head, .theme-d .footer { background: var(--ink); color: var(--paper); --muted:#d0daca; --line:#5d7365; --accent:#e3f680; }
.theme-d .site-head .wordmark, .theme-d .footer .wordmark { font-style:italic; }
.theme-d .site-head .nav-link:hover, .theme-d .site-head .current { color:var(--chartreuse); }
.theme-d .btn { border-radius:100px; }
.atlas-hero { max-width:1840px; margin:auto; padding:clamp(1.3rem,2.35vw,3.2rem) var(--edge) clamp(1.8rem,3.5vw,4rem); }
.atlas-mast { display:grid; grid-template-columns:1.1fr 1fr; gap:2rem; align-items:center; margin-bottom:clamp(1.3rem,2.5vw,3rem); }
.atlas-mast h1 { font-size:clamp(5rem,10.5vw,11.4rem); line-height:.88; letter-spacing:-.071em; }
.atlas-mast h1 i { font-family:Georgia,serif; font-size:.82em; font-weight:400; letter-spacing:-.09em; }
.atlas-intro { justify-self:end; max-width:43ch; }
.atlas-intro p { font-size:clamp(1rem,1.35vw,1.35rem); line-height:1.36; margin-bottom:.8rem; }
.atlas-plate { border:1px solid var(--ink); background:#f8f7e9; box-shadow:4px 4px 0 var(--paper),5px 5px 0 var(--ink); }
.atlas-table, .theme-d .art-stage, .study-d .study-cover {
  background-color:#1f4036;
  background-image:linear-gradient(to right,#c5ddb314 1px,transparent 1px),linear-gradient(to bottom,#c5ddb314 1px,transparent 1px);
  background-size:24px 24px;
}
.atlas-table { color:#eff2dc; display:grid; grid-template-columns:minmax(0,3fr) minmax(188px,1fr); }
.atlas-overview, .atlas-specimen { min-width:0; padding:clamp(.9rem,1.85vw,2rem); }
.plate-label, .atlas-series, .plate-facts, .scan-control label, .theme-d .card-caption p, .theme-d .art-info dt, .theme-d .status { font-family:var(--measure); }
.plate-label { display:flex; justify-content:space-between; align-items:center; gap:.5rem; min-height:1.5rem; color:#dce8d0; font-size:.77rem; text-transform:uppercase; letter-spacing:.09em; }
.plate-mount { margin:clamp(.5rem,1vw,1.3rem) 0 .25rem; padding:clamp(.45rem,.7vw,.85rem); position:relative; background:linear-gradient(#c6d8bb,#c6d8bb) left top/13px 1px,linear-gradient(#c6d8bb,#c6d8bb) left top/1px 13px,linear-gradient(#c6d8bb,#c6d8bb) right bottom/13px 1px,linear-gradient(#c6d8bb,#c6d8bb) right bottom/1px 13px; background-repeat:no-repeat; }
.plate-art { position:relative; }
.plate-art img { width:100%; height:auto; box-shadow:0 4px 9px #091c1a55; }
.atlas-plate[data-interactive] .plate-art { cursor:crosshair; touch-action:pan-y; }
.scan-marker { position:absolute; left:var(--marker,60%); top:50%; transform:translate(-50%,-50%); width:clamp(28px,3.5vw,58px); aspect-ratio:1; border:2px solid #f7ffd1; border-radius:50%; box-shadow:0 0 0 1px #213420, inset 0 0 0 1px #213420; pointer-events:none; }
.scan-marker::after { content:""; position:absolute; inset:calc(50% - 2px); background:#fff; outline:1px solid #132d24; border-radius:50%; }
.scan-control { display:flex; align-items:center; gap:1rem; min-height:44px; margin:0 .55rem; }
.scan-control label { color:#f5f8db; font-size:.84rem; white-space:nowrap; }
.scan-control input { flex:1; min-width:0; margin:0; height:44px; background:transparent; appearance:none; cursor:ew-resize; accent-color:var(--chartreuse); }
.scan-control input::-webkit-slider-runnable-track { height:4px; border-radius:2px; background:linear-gradient(to right,var(--chartreuse) var(--scan),#92a68f var(--scan)); }
.scan-control input::-webkit-slider-thumb { appearance:none; margin-top:-8px; width:18px; height:20px; border:2px solid #1e4036; outline:1px solid var(--chartreuse); border-radius:2px; background:var(--chartreuse); }
.scan-control input::-moz-range-track { height:4px; background:#92a68f; }
.scan-control input::-moz-range-thumb { border:0; background:var(--chartreuse); }
.scan-control input:focus-visible { outline:2px solid var(--chartreuse); outline-offset:2px; }
.atlas-specimen { border-left:1px dashed #8b9e8c; display:flex; flex-direction:column; align-items:center; justify-content:space-between; gap:.65rem; }
.atlas-specimen .plate-label { align-self:flex-start; }
.lens-housing { width:min(100%,clamp(150px,16vw,300px)); aspect-ratio:1; border:1px solid #aabf9b; border-radius:50%; padding:clamp(.42rem,.6vw,.8rem); position:relative; }
.lens-housing::before, .lens-housing::after { content:""; position:absolute; background:var(--chartreuse); height:1px; width:10%; top:50%; }
.lens-housing::before { left:-4%; }.lens-housing::after { right:-4%; }
.atlas-lens { width:100%; height:100%; border-radius:50%; border:3px solid var(--chartreuse); background-image:var(--sample); background-position:var(--scan) 50%; background-size:var(--sample-width,520%) auto; background-repeat:no-repeat; }
.pigments { display:flex; width:min(72%,155px); min-height:.6rem; border:1px solid #bacbb6; }
.pigments i { flex:1; }
.atlas-plate figcaption { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:clamp(.85rem,1.7vw,2rem) clamp(1rem,2.25vw,2.7rem); }
.atlas-series { display:block; color:var(--muted); font-size:.84rem; letter-spacing:.08em; text-transform:uppercase; }
.plate-caption a { display:inline-flex; align-items:center; min-height:44px; font:500 clamp(2.15rem,4.1vw,5.4rem)/1.05 var(--head); letter-spacing:-.047em; text-decoration:none; }
.plate-caption a:hover { text-decoration:underline; text-decoration-thickness:1px; }
.plate-facts { display:grid; justify-items:end; font-size:.86rem; }
.plate-facts a { min-height:44px; display:flex; align-items:center; }
.theme-d .featured { border-top:1px solid var(--line); padding-top:clamp(2.2rem,4vw,5rem); }
.theme-d .art-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1.2rem,2.5vw,3rem); align-items:start; }
.theme-d .work-card { padding:clamp(.7rem,1.05vw,1.1rem); border:1px solid var(--line); background:#fbfaed; box-shadow:2px 3px 0 #8396812b; }
.theme-d .card-img { display:grid; place-items:center; background:#e2e7d8; padding:clamp(.6rem,1.3vw,1.4rem); }
.theme-d .card-img img { width:100%; height:auto; max-height:20rem; object-fit:contain; }
.theme-d .card-caption { border-top:1px dotted var(--muted); padding-top:.7rem; margin-top:.8rem; }
.theme-d .card-caption h3 { font-size:clamp(1.45rem,2.1vw,2.4rem); }
.theme-d .card-caption p { color:#45594b; }
.theme-d .catalogue-intro, .theme-d .artist { background:var(--wash); }
.theme-d .catalogue-intro h1, .theme-d .split>h2, .theme-d .section-title h2 { font-style:italic; }
.theme-d .art-stage { padding:clamp(1rem,3.4vw,4rem); }
.theme-d .art-info { padding:1.3rem 0; border-block:1px solid var(--ink); }
.theme-d .artist .portrait, .theme-d .bio .portrait { background:#1f4036; padding:1rem; outline:1px dotted var(--muted); outline-offset:5px; }
.theme-d .bio .portrait img, .theme-d .artist .portrait img { width:100%; }
.theme-d .programmes { background:var(--ink); color:var(--paper); }
.theme-d .programmes .text-link { color:var(--chartreuse); }
.theme-d .exhibitions h3 { padding-bottom:.35rem; border-bottom:2px solid var(--ink); }
.study-d .study-cover { border-color:#1f4036; }
.study-d .study-cover img { width:83%; left:8.5%; top:46%; transform:translateY(-50%); box-shadow:2px 5px 10px #10271a66; }
.study-lens { position:absolute; width:29%; aspect-ratio:1; border-radius:50%; right:9%; top:49%; border:3px solid #e3f680; outline:3px solid #234334; background:#954437 url('/assets/images/stratageo-11-tectonic-red-rock-stars-480.webp') 61% 50% / 470% auto no-repeat; }
.review-home .study nav { flex-wrap:wrap; gap:0 .85rem; }
@media(min-width:1160px) { .review-home .studies { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(min-width:701px) and (max-width:1159px) { .review-home .studies { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:900px) {
  .atlas-mast { grid-template-columns:.92fr 1fr; gap:1rem; }
  .theme-d .art-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
  .atlas-hero { padding-inline:1rem; }
  .atlas-mast { display:block; margin-bottom:1rem; }
  .atlas-mast h1 { font-size:clamp(4.5rem,15.5vw,6.7rem); }
  .atlas-intro { margin-top:.6rem; }
  .atlas-intro p { margin-bottom:.6rem; }
  .atlas-table { display:block; }
  .atlas-overview { padding:.75rem .8rem 0; }
  .atlas-specimen { flex-direction:row; border-left:none; border-top:1px dashed #8b9e8c; justify-content:flex-start; gap:.9rem; padding:.6rem 1rem; }
  .atlas-specimen .plate-label { align-self:center; max-width:9ch; }
  .lens-housing { width:clamp(78px,21vw,115px); margin-left:auto; }
  .pigments { max-width:4rem; height:.7rem; }
  .scan-control { margin:0; gap:.75rem; }
  .atlas-plate figcaption { align-items:flex-start; flex-wrap:wrap; gap:.3rem .9rem; }
  .plate-facts { display:flex; align-items:center; flex-wrap:wrap; gap:.45rem .8rem; font-size:.76rem; }
  .plate-facts a { min-height:44px; }
  .plate-caption a { font-size:clamp(1.85rem,6vw,2.6rem); }
  .theme-d .art-grid { grid-template-columns:minmax(0,1fr); }
  .theme-d .catalogue .card-img img { max-height:60vw; }
}
