/* GTTG Atlas — the public site.
   The Atlas Design System, built out: assets/tokens.css holds the tokens, this
   holds the layout and the components the archive is made of. Nothing here
   names a colour; everything comes from a token. */

*{box-sizing:border-box;}
html,body{margin:0;padding:0;background:var(--surface-page);color:var(--ink);
  font-family:var(--font-sans);font-size:16px;-webkit-font-smoothing:antialiased;}
a{color:inherit;text-decoration:none;}
button,select,input,textarea{font-family:inherit;color:inherit;}
img{display:block;}
::placeholder{color:var(--ink-muted);opacity:.75;}
::-webkit-scrollbar{width:10px;height:10px;}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:10px;}
::-webkit-scrollbar-track{background:transparent;}
:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px;}
[hidden]{display:none !important;}

.wrap{max-width:1312px;margin:0 auto;padding-left:clamp(20px,4.5vw,64px);
  padding-right:clamp(20px,4.5vw,64px);}
.muted{color:var(--ink-muted);}

/* ---------- type ---------- */
.h-display{font-family:var(--font-display);font-weight:700;letter-spacing:-.03em;margin:0;}
.h-section{font-family:var(--font-display);font-weight:700;letter-spacing:-.02em;margin:0;
  font-size:clamp(28px,3.4vw,46px);line-height:1.05;}
.overline{font:700 13px/16px var(--font-sans);letter-spacing:.2em;text-transform:uppercase;}

/* ---------- controls ---------- */
.btn{min-height:48px;padding:0 24px;border-radius:var(--radius-pill);border:1.5px solid transparent;
  font:800 15px/1 var(--font-sans);cursor:pointer;display:inline-flex;align-items:center;
  justify-content:center;gap:8px;transition:background .16s,border-color .16s,color .16s;}
.btn-sm{min-height:44px;padding:0 18px;font-size:14px;}
.btn-brand{background:var(--brand);color:var(--on-brand);}
.btn-brand:hover{background:var(--brand-hover);}
.btn-accent{background:var(--accent);color:var(--on-accent);}
.btn-accent:hover{filter:brightness(.94);}
.btn-gold{background:var(--gold-400);color:var(--green-900);}
.btn-gold:hover{filter:brightness(.95);}
.btn-white{background:var(--white);color:var(--green-900);}
.btn-outline{background:transparent;color:var(--ink);border-color:var(--border);}
.btn-outline:hover{border-color:var(--ink-muted);}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.5;cursor:not-allowed;}

.chip{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 16px;
  border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--surface-card);
  color:var(--ink);font:700 14px var(--font-sans);cursor:pointer;transition:all .16s;}
.chip:hover{border-color:var(--ink-muted);}
.chip-on{background:var(--brand);border-color:var(--brand);color:var(--on-brand);font-weight:800;}
.chip-on:hover{background:var(--brand-hover);border-color:var(--brand-hover);}
.chip-sm{min-height:36px;padding:0 13px;font-size:13px;}
/* A chip on the hero sits over photographs, so it carries its own dark ground
   rather than trusting whatever frame happens to be behind it. */
.chip-link{border-color:rgba(255,255,255,.34);background:rgba(15,24,21,.62);color:#fff;
  font-weight:700;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);}
.chip-link:hover{background:#fff;border-color:#fff;color:var(--green-900);}

/* ---------- the two search bars ---------- */
.search-bar{display:flex;flex-wrap:wrap;gap:8px;background:var(--surface-card);
  border-radius:var(--radius-md);padding:8px;box-shadow:var(--shadow-card);}
.search-bar select{min-height:56px;border:0;background:var(--surface-sunken);border-radius:10px;
  padding:0 16px;font:700 15px var(--font-sans);color:var(--green-900);cursor:pointer;}
.search-bar input{flex:1 1 260px;min-height:56px;border:0;outline:0;font:500 17px var(--font-sans);
  padding:0 12px;color:var(--green-900);background:transparent;}
.search-bar .btn{min-height:56px;border-radius:10px;padding:0 32px;font-size:16px;}

.search-compact{display:flex;align-items:center;gap:8px;background:var(--surface-page);
  border:1px solid var(--border);border-radius:var(--radius-pill);padding:4px 4px 4px 18px;}
.search-compact input{flex:1;min-width:0;min-height:44px;border:0;outline:0;background:transparent;
  font:500 15px var(--font-sans);color:var(--ink);}

/* ---------- a photo tile ---------- */
.tile{position:relative;display:flex;align-items:flex-end;padding:12px;border-radius:var(--radius-md);
  overflow:hidden;background:var(--surface-sunken);transition:box-shadow .18s,transform .18s;}
.tile:hover{box-shadow:var(--shadow-lift);}
.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.tile > *{position:relative;}
.scrim{background:var(--scrim);color:#fff;border-radius:var(--radius-sm);padding:8px 12px;
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  font:700 14px var(--font-sans);width:100%;}
.scrim span{font-weight:600;color:var(--green-100);}
.scrim-block{background:var(--scrim);color:#fff;border-radius:10px;padding:12px 16px;
  display:flex;flex-direction:column;gap:2px;}
.scrim-block b{font:600 20px var(--font-display);}
.scrim-block span{font:600 13px var(--font-sans);color:var(--green-100);}

/* ---------- site header ---------- */
.site-head{background:var(--surface-card);border-bottom:1px solid var(--border);
  position:sticky;top:0;z-index:60;}
/* One row, always: the logo, a search box that gives way first, the four
   places to browse, then the account. They are sized to fit 1312px together
   rather than left to wrap onto a second line. */
.site-head .wrap{display:flex;flex-wrap:nowrap;align-items:center;gap:20px;
  padding-top:14px;padding-bottom:14px;}
.site-logo{flex:0 0 auto;}
.site-logo img{height:46px;width:auto;}
.site-head .search-compact{flex:1 1 220px;min-width:190px;max-width:400px;padding-left:14px;}
.site-head .search-compact{padding:4px 4px 4px 18px;}
.site-head .search-compact .btn{flex:0 0 42px;width:42px;height:42px;min-height:42px;padding:0;border-radius:50%;}
.site-nav{display:flex;flex-wrap:nowrap;align-items:center;gap:18px;flex:0 0 auto;
  font:700 15px var(--font-sans);white-space:nowrap;}
.site-nav a{color:var(--ink);}
.site-nav a:hover{text-decoration:underline;}
.site-nav a.is-on{color:var(--brand);text-decoration:underline;}
.site-nav .btn{margin-left:0;}

/* Over the hero the header has no bar of its own: it sits on the Night ground
   the hero already lays down, exactly as the mockup draws it. */
.site-head.on-dark{position:absolute;top:0;left:0;right:0;background:transparent;border-bottom:0;}
.site-head.on-dark .site-logo img{height:60px;}
.site-head.on-dark .site-nav a{color:#fff;}
.site-head.on-dark .site-nav a.is-on{color:#fff;}

/* ---------- home ---------- */
.hero{position:relative;background:var(--green-900);overflow:hidden;
  min-height:min(760px,86vh);display:flex;align-items:center;}
/* The wall fills the hero exactly: six columns of four, each cell a photograph,
   so there is never a bare strip at an edge whatever the window does. */
.hero-mosaic{position:absolute;inset:0;display:grid;gap:4px;
  grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(4,1fr);}
.hero-mosaic i{display:block;background-size:cover;background-position:center;
  filter:saturate(.82) brightness(.92);}
.hero-scrim{position:absolute;inset:0;
  background:linear-gradient(104deg,rgba(15,24,21,.97) 0%,rgba(15,24,21,.93) 30%,
    rgba(15,24,21,.72) 58%,rgba(15,24,21,.42) 82%,rgba(15,24,21,.3) 100%),
    linear-gradient(180deg,rgba(15,24,21,.55) 0%,rgba(15,24,21,0) 22%,rgba(15,24,21,0) 70%,rgba(15,24,21,.4) 100%);}
.hero .wrap{position:relative;width:100%;}
.hero-copy{max-width:880px;padding:140px 0 92px;}
.hero h1{font-size:clamp(38px,5.6vw,72px);line-height:1.03;color:#fff;
  text-wrap:balance;text-shadow:0 2px 24px rgba(10,17,14,.45);}
.hero-lede{margin:22px 0 36px;font-size:clamp(16px,1.5vw,19px);line-height:1.55;
  color:var(--green-100);max-width:560px;}
.hero-trending{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:24px;}
.hero-trending > span{font:800 13px var(--font-sans);letter-spacing:.12em;text-transform:uppercase;
  color:#fff;margin-right:6px;text-shadow:0 1px 10px rgba(10,17,14,.6);}

.stats{background:var(--surface-card);border-bottom:1px solid var(--border);}
.stats .wrap{display:flex;flex-wrap:wrap;gap:24px 64px;justify-content:space-between;
  padding-top:28px;padding-bottom:28px;}
.stat{display:flex;align-items:baseline;gap:12px;}
.stat b{font-family:var(--font-display);font-weight:700;letter-spacing:-.02em;
  font-size:clamp(30px,3.4vw,44px);line-height:1;}
.stat span{font:600 14px var(--font-sans);color:var(--ink-muted);}

.band{padding-top:clamp(48px,6vw,80px);}
.band-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;
  gap:12px;margin-bottom:28px;}
.band-link{font:800 15px var(--font-sans);color:var(--brand);text-decoration:underline;}
/* A line under a band's heading. It lives inside a wrapper beside the band's
   link, because a flex item with a max-width keeps its place on the row rather
   than wrapping below, whatever its basis says. */
.band-lede{margin:8px 0 0;max-width:62ch;font-size:15px;line-height:1.55;color:var(--ink-muted);}

.dest-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;}
.dest-grid .tile{min-height:300px;}
.place-mosaic{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  grid-auto-rows:150px;gap:16px;}
.recent-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px;}
.recent-grid a{display:flex;flex-direction:column;gap:10px;}
.recent-grid .shot{aspect-ratio:4/3;border-radius:var(--radius-md);overflow:hidden;
  background:var(--surface-sunken);}
.recent-grid .shot img{width:100%;height:100%;object-fit:cover;}
.recent-grid b{font:800 15px var(--font-sans);}
.recent-grid span{font:600 13px var(--font-sans);color:var(--ink-muted);}

.session-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;}
.session-card{background:var(--surface-card);border:1px solid var(--border);
  border-radius:var(--radius-md);overflow:hidden;display:flex;flex-direction:column;}
.session-card .shot{height:150px;background:var(--surface-sunken);}
.session-card .shot img{width:100%;height:100%;object-fit:cover;}
.session-card .meta{padding:18px 20px;display:flex;flex-direction:column;gap:4px;}
.session-card b{font:800 17px var(--font-sans);}
.session-card span{font:600 14px var(--font-sans);color:var(--ink-muted);}
.session-all{background:var(--green-900);color:#fff;border-radius:var(--radius-md);padding:28px;
  display:flex;flex-direction:column;justify-content:flex-end;gap:6px;min-height:200px;}
.session-all b{font-family:var(--font-display);font-weight:700;letter-spacing:-.02em;
  font-size:clamp(26px,3vw,36px);line-height:1.05;}
.session-all span{font:600 14px var(--font-sans);color:var(--green-100);}

.map-band{background:var(--brand);border-radius:var(--radius-xl);padding:clamp(24px,4vw,56px);
  display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;}
.map-band p{margin:10px 0 0;font-size:17px;line-height:1.5;color:var(--green-100);max-width:520px;}

/* ---------- footer ---------- */
.site-foot{background:var(--green-900);color:var(--green-100);margin-top:clamp(48px,7vw,96px);}
.site-foot .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px;
  align-items:center;padding-top:44px;padding-bottom:44px;}
.site-foot img{height:70px;width:auto;}
.site-foot nav{display:flex;flex-wrap:wrap;gap:28px;font:600 15px var(--font-sans);}
.site-foot a:hover{color:#fff;}

@media (max-width:760px){
  .hero-mosaic{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:120px;}
  .site-nav{gap:16px;font-size:14px;width:100%;margin-left:0;}
  .stats .wrap{gap:16px 32px;}
}

/* ---------- the account end of the header ---------- */
/* Who is signed in, what they may do, and the way out — set apart from the
   places the archive is browsed by, with a rule between them. */
.account{display:flex;align-items:center;gap:10px;padding-left:18px;flex:0 0 auto;
  border-left:1px solid var(--border);}
.account-dash{font-weight:800;}
.account-dash .ic{opacity:.9;}
.account-who{display:flex;align-items:center;gap:10px;}
.account-mark{flex:0 0 36px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;
  background:var(--brand);color:var(--on-brand);font:800 15px var(--font-sans);}
.account-text{display:flex;flex-direction:column;line-height:1.2;}
.account-text b{font:800 14px var(--font-sans);white-space:nowrap;}
.account-text > span{font:700 11px var(--font-sans);letter-spacing:.07em;text-transform:uppercase;
  color:var(--ink-muted);}
.account-out{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 14px;cursor:pointer;
  border:1px solid var(--border);border-radius:var(--radius-pill);background:transparent;
  font:700 13px var(--font-sans);color:var(--ink-muted);transition:all .16s;}
.account-out:hover{border-color:var(--danger);color:var(--danger);background:rgba(168,50,31,.06);}

.site-head.on-dark .account{border-left-color:rgba(255,255,255,.22);}
.site-head.on-dark .account-mark{background:rgba(255,255,255,.16);color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);}
.site-head.on-dark .account-text b{color:#fff;}
.site-head.on-dark .account-text > span{color:var(--green-300);}
.site-head.on-dark .account-out{border-color:rgba(255,255,255,.3);color:var(--green-100);}
.site-head.on-dark .account-out:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.14);}
.site-head.on-dark .btn-white{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.4);}
.site-head.on-dark .btn-white:hover{background:#fff;color:var(--green-900);border-color:#fff;}

/* Measured, not guessed: the logo, the search, five nav links, the bell, the
   dashboard button, a name and a sign-out button need about 1560px between
   them. Below that the name goes (the face stays, and it is the link to the
   profile); below 1400 the two button labels go too. The old thresholds were
   1340 and 1180, which left the sign-out button hanging off the right edge of
   every screen narrower than a very wide desktop. */
@media (max-width:1680px){ .account-text{display:none;} }
@media (max-width:1400px){ .account-out span{display:none;} .account-out{padding:0 12px;}
  .account-dash{padding:0 13px;}
  .account-dash .label{display:none;} .site-nav{gap:16px;} }
@media (max-width:1080px){
  .site-head .wrap{flex-wrap:wrap;}
  .site-head .search-compact{order:3;flex:1 1 100%;max-width:none;}
  .site-nav{margin-left:auto;}
}

/* ---------- the way in ---------- */
/* Half photographs, half form: what you are signing into, then the key. */
.door{min-height:100vh;display:grid;grid-template-columns:1.15fr 1fr;}
.door-art{position:relative;overflow:hidden;background:var(--green-900);display:flex;}
.door-wall{position:absolute;inset:0;display:grid;gap:3px;
  grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,1fr);}
.door-wall i{display:block;background-size:cover;background-position:center;}

.door-scrim{position:absolute;inset:0;
  background:linear-gradient(168deg,rgba(15,24,21,.82) 0%,rgba(15,24,21,.9) 44%,rgba(15,24,21,.97) 100%);}
.door-art-in{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:48px;
  padding:clamp(32px,4.5vw,64px);width:100%;}
.door-art-in img{height:clamp(62px,6vw,80px);width:auto;}
.door-art-in h1{font-size:clamp(34px,4vw,56px);line-height:1.04;color:#fff;max-width:14ch;}
.door-art-in p{margin:18px 0 0;font-size:17px;line-height:1.6;color:var(--green-100);max-width:46ch;}
.door-count{display:flex;flex-wrap:wrap;gap:14px 40px;margin:36px 0 0;
  padding-top:28px;border-top:1px solid rgba(255,255,255,.18);}
.door-count div{display:flex;flex-direction:column;gap:2px;}
.door-count dt{font:700 clamp(24px,2.4vw,32px)/1 var(--font-display);letter-spacing:-.02em;color:#fff;}
.door-count dd{margin:0;font:700 12px var(--font-sans);letter-spacing:.1em;text-transform:uppercase;
  color:var(--green-300);}

.door-form{display:grid;place-items:center;padding:clamp(24px,4vw,56px);background:var(--surface-page);}
.door-form-in{width:100%;max-width:400px;}
.door-over{margin:0 0 14px;font:800 11px var(--font-sans);letter-spacing:.22em;
  text-transform:uppercase;color:var(--brand);}
.door-form h2{margin:0 0 10px;font-size:clamp(34px,3.4vw,44px);}
.door-form .muted{margin:0 0 28px;font-size:15px;line-height:1.6;}
.door-fields{display:flex;flex-direction:column;gap:18px;}
.door-field{display:flex;flex-direction:column;gap:7px;}
.door-field span{font:800 13px var(--font-sans);letter-spacing:.04em;}
.door-field input{min-height:52px;padding:0 16px;border:1.5px solid var(--border);
  border-radius:var(--radius-sm);background:var(--surface-card);font:500 16px var(--font-sans);
  color:var(--ink);outline:none;transition:border-color .16s,box-shadow .16s;}
.door-field input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint);}
.door-error{display:flex;align-items:center;gap:9px;margin:0;padding:12px 14px;border-radius:var(--radius-sm);
  background:rgba(168,50,31,.08);border:1px solid rgba(168,50,31,.3);color:var(--danger);
  font:700 14px var(--font-sans);}
.door-code{margin:0;padding:14px 16px;border-radius:var(--radius-sm);background:var(--surface-sunken);
  border:1px solid var(--border);font:600 13px ui-monospace,SFMono-Regular,Menlo,monospace;overflow-x:auto;}


@media (max-width:900px){
  .door{grid-template-columns:1fr;}
  .door-art{min-height:320px;}
  .door-wall{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);}
  .door-art-in{gap:28px;}
  .door-count{margin-top:24px;padding-top:20px;}
}

/* ---------- the same door, for somebody who has no account yet ----------
   register.php wears login.php's two columns so the pair looks like one
   decision. The only differences are the ones a longer form forces: a wider
   column, a smaller heading, the two passwords side by side, and room under a
   field for the line that says what may go in it. */
.door-join .door-form-in{max-width:452px;}
.door-join .door-form h2{font-size:clamp(28px,2.8vw,38px);}
.door-join .door-form .muted{margin:0 0 24px;}
.door-join .door-fields{gap:15px;}
.door-field .hint{font:600 12px/1.45 var(--font-sans);font-style:normal;color:var(--ink-muted);}
.door-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.door-hint-row{margin:-9px 0 0;font:600 12px/1.45 var(--font-sans);color:var(--ink-muted);}
.door-terms{display:flex;gap:11px;align-items:flex-start;margin:4px 0 2px;
  font:500 13.5px/1.55 var(--font-sans);color:var(--ink-muted);cursor:pointer;}
.door-terms input{width:19px;height:19px;margin-top:1px;flex:none;accent-color:var(--brand);}
/* Said once, quietly, where somebody from the office will read it before they
   fill anything in — not as a warning, because registering here is not a
   mistake, only the wrong door. */
.door-note{margin:26px 0 0;padding:13px 15px;border-radius:var(--radius-sm);
  border:1px solid var(--border);border-left:3px solid var(--accent);background:var(--surface-sunken);
  font:500 13px/1.6 var(--font-sans);color:var(--ink-muted);}
.door-note b{color:var(--ink);}
.door-alt{margin:18px 0 0;font:600 14px var(--font-sans);color:var(--ink-muted);text-align:center;}
.door .link{color:var(--brand);font-weight:800;text-decoration:underline;text-underline-offset:2px;}
.door .link:hover{color:var(--brand-hover);}
@media (max-width:420px){
  .door-pair{grid-template-columns:1fr;gap:15px;}
  .door-hint-row{margin:-9px 0 0;}
}

/* ---------- a page that is not the home page ---------- */
.page-head{padding-top:32px;padding-bottom:4px;}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  font:600 14px var(--font-sans);color:var(--ink-muted);}
.crumbs a:hover{color:var(--brand);text-decoration:underline;}
.crumbs .here{color:var(--ink);font-weight:700;}
.page-title{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;
  gap:16px;margin-top:14px;}
.page-title h1{font-size:clamp(30px,3.6vw,48px);line-height:1.05;}
.page-title p{margin:8px 0 0;font:600 15px var(--font-sans);}
.sorts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
.sorts .muted{font:700 14px var(--font-sans);margin-right:2px;}
.notice-held{margin:18px 0 0;padding:13px 16px;border-radius:var(--radius-sm);
  background:rgba(233,185,73,.16);border:1px solid rgba(233,185,73,.5);
  font:600 14px/1.5 var(--font-sans);color:#6b4a06;}

/* ---------- sessions ---------- */
.shoot-year-band{margin-bottom:44px;}
.year-mark{display:flex;align-items:baseline;gap:14px;margin:0 0 18px;
  font:700 26px var(--font-display);letter-spacing:-.02em;}
.year-mark span{font:700 12px var(--font-sans);letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-muted);}
.shoot-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px;}
.shoot-card{background:var(--surface-card);border:1px solid var(--border);border-radius:var(--radius-lg);
  overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .18s,border-color .18s;}
.shoot-card:hover{box-shadow:var(--shadow-lift);border-color:transparent;}
.shoot-cover{position:relative;height:178px;background:var(--surface-sunken);}
.shoot-cover img{width:100%;height:100%;object-fit:cover;}
.shoot-count{position:absolute;left:12px;bottom:12px;padding:6px 11px;border-radius:var(--radius-pill);
  background:var(--scrim);color:#fff;font:700 12.5px var(--font-sans);}
.shoot-held{position:absolute;right:12px;top:12px;padding:6px 11px;border-radius:var(--radius-pill);
  background:var(--gold-400);color:var(--green-900);font:800 12px var(--font-sans);}
.shoot-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:4px;}
.shoot-body b{font:800 16px var(--font-sans);}
.shoot-meta{font:600 13.5px var(--font-sans);color:var(--ink-muted);}
.shoot-for{font:700 12px var(--font-sans);letter-spacing:.04em;color:var(--brand);}
.shoot-card.is-held .shoot-for{color:#8a6a06;}

/* ---------- the filter bar ---------- */
/* Everything that narrows the archive, in one row under the title — the menus
   all live at the top of this site, and this is one of them. */
.bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:20px;}
.bar .chip{gap:7px;}
.bar .chip .ic{opacity:.75;}
.bar .chip-on .ic{opacity:1;}
.bar .dot{width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(23,35,31,.2);}
.caret{opacity:.6;margin-left:1px;}

.drop{position:relative;}
.drop > summary{list-style:none;cursor:pointer;user-select:none;}
.drop > summary::-webkit-details-marker{display:none;}
.drop[open] > summary{background:var(--brand);border-color:var(--brand);color:var(--on-brand);}
.drop[open] > summary .caret{transform:rotate(180deg);opacity:1;}
.drop-menu{position:absolute;z-index:40;top:calc(100% + 8px);left:0;min-width:260px;max-height:62vh;
  overflow-y:auto;padding:8px;background:var(--surface-card);border:1px solid var(--border);
  border-radius:var(--radius-md);box-shadow:var(--shadow-lift);}
.drop-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;
  padding:6px 10px;border-radius:var(--radius-sm);font:600 14px var(--font-sans);}
.drop-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.drop-row em{font-style:normal;font-weight:700;font-size:12px;color:var(--ink-muted);flex:0 0 auto;}
.drop-row:hover{background:var(--surface-sunken);}
.drop-row.is-on{background:var(--brand);color:var(--on-brand);}
.drop-row.is-on em{color:var(--green-100);}
.drop-row.d1{padding-left:24px;}
.drop-row.d2{padding-left:40px;font-size:13px;color:var(--ink-muted);}
.drop-row.d2.is-on{color:var(--on-brand);}
.drop-colours{display:flex;flex-wrap:wrap;gap:10px;min-width:auto;padding:14px;}
.drop-clear{width:100%;padding-top:6px;font:800 13px var(--font-sans);color:var(--brand);text-decoration:underline;}
.swatch{width:30px;height:30px;border-radius:50%;border:2px solid transparent;
  box-shadow:inset 0 0 0 1px rgba(23,35,31,.14);transition:transform .14s,border-color .14s;}
.swatch:hover{transform:scale(1.12);}
.swatch.is-on{border-color:var(--ink);transform:scale(1.12);}

.pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;}
.pill{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 13px;
  border-radius:var(--radius-pill);background:var(--brand-tint);color:var(--brand);
  font:800 13px var(--font-sans);}
.pill span{opacity:.6;font-size:15px;line-height:1;}
.pill:hover{background:var(--brand);color:var(--on-brand);}

/* ---------- the wall ---------- */
.results{padding-top:24px;padding-bottom:8px;}
.wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  grid-auto-rows:12px;gap:16px;}
.shot{position:relative;margin:0;border-radius:var(--radius-md);overflow:hidden;cursor:pointer;
  background:var(--surface-sunken);transition:box-shadow .22s,transform .22s;outline:none;}
.shot img,.shot-blank{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .4s cubic-bezier(.2,.6,.2,1);}
.shot::after{content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to top,rgba(15,24,21,.82) 0,rgba(15,24,21,.28) 34%,rgba(15,24,21,0) 58%);
  opacity:.9;transition:opacity .22s;}
.shot:hover,.shot:focus-visible{box-shadow:var(--shadow-lift);transform:translateY(-3px);}
.shot:hover img{transform:scale(1.06);}
.shot:hover::after{opacity:1;}
.shot-label{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:16px 16px 14px;
  display:flex;flex-direction:column;gap:3px;color:#fff;}
.shot-label b{font:700 15px/1.3 var(--font-sans);display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden;}
.shot-label span{font:600 12.5px var(--font-sans);color:var(--green-100);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.shot-score{position:absolute;top:12px;right:12px;z-index:3;min-width:38px;height:38px;padding:0 6px;
  border-radius:var(--radius-pill);display:grid;place-items:center;
  font:800 14px var(--font-sans);font-variant-numeric:tabular-nums;
  background:rgba(255,255,255,.94);box-shadow:0 2px 10px rgba(10,17,14,.3);}
.shot-score.is-top{color:#1f4d3f;box-shadow:0 2px 10px rgba(10,17,14,.3),inset 0 0 0 2px #1f4d3f;}
.shot-score.is-good{color:#28694f;box-shadow:0 2px 10px rgba(10,17,14,.3),inset 0 0 0 2px #2f7a62;}
.shot-score.is-mid{color:#a63f22;box-shadow:0 2px 10px rgba(10,17,14,.3),inset 0 0 0 2px #c8502d;}
.shot-score.is-low{color:var(--ink-muted);}

@media (max-width:620px){.wall{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;}}

/* ---------- a destination ---------- */
.dest-banner{background:var(--brand);border-radius:var(--radius-xl);
  padding:clamp(28px,4.5vw,56px);display:flex;flex-wrap:wrap;gap:36px;
  align-items:center;justify-content:space-between;}
.dest-banner-copy{flex:1 1 400px;min-width:0;}
.dest-banner-copy .overline{margin:0 0 12px;color:var(--green-100);}
.dest-banner-copy h1{font-size:clamp(44px,7vw,80px);line-height:1;color:#fff;}
.dest-banner-meta{margin:16px 0 26px;font:600 18px var(--font-sans);color:var(--green-100);}
.dest-banner-grid{flex:1 1 340px;min-width:0;display:grid;gap:10px;
  grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,clamp(88px,9vw,118px));}
.dest-banner-grid i{display:block;border-radius:var(--radius-md);background-size:cover;
  background-position:center;background-color:rgba(255,255,255,.08);}

.place-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:20px;}
.place-card{display:flex;flex-direction:column;gap:12px;background:var(--surface-card);
  border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px;
  transition:box-shadow .18s,border-color .18s;}
.place-card:hover{box-shadow:var(--shadow-lift);border-color:transparent;}
.place-shot{height:168px;border-radius:var(--radius-md);overflow:hidden;background:var(--surface-sunken);}
.place-shot img{width:100%;height:100%;object-fit:cover;transition:transform .4s cubic-bezier(.2,.6,.2,1);}
.place-card:hover .place-shot img{transform:scale(1.05);}
.place-foot{display:flex;justify-content:space-between;align-items:baseline;gap:12px;}
.place-foot b{font:600 20px var(--font-display);letter-spacing:-.01em;}
.place-foot span{font:600 14px var(--font-sans);color:var(--ink-muted);flex:0 0 auto;}

.recent-grid .shot-box{aspect-ratio:4/3;border-radius:var(--radius-md);overflow:hidden;
  background:var(--surface-sunken);}
.recent-grid .shot-box img{width:100%;height:100%;object-fit:cover;
  transition:transform .4s cubic-bezier(.2,.6,.2,1);}
.recent-grid a:hover .shot-box img{transform:scale(1.05);}
.recent-grid b{font:800 15px var(--font-sans);}

.strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(180px,1fr);gap:16px;
  overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:4px;}
.strip a{scroll-snap-align:start;}
.strip a{display:block;aspect-ratio:4/3;border-radius:var(--radius-md);overflow:hidden;
  background:var(--surface-sunken);}
.strip img{width:100%;height:100%;object-fit:cover;transition:transform .4s cubic-bezier(.2,.6,.2,1);}
.strip a:hover img{transform:scale(1.06);}

/* ---------- destinations ---------- */
.place-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;}
.place-chips .chip em{font-style:normal;font-weight:700;font-size:12px;color:var(--ink-muted);
  padding-left:7px;margin-left:1px;border-left:1px solid var(--border);}
.place-chips .chip:hover em{color:inherit;border-left-color:currentColor;}

/* ---------- the map ---------- */
.map-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;
  padding-top:clamp(20px,3vw,32px);}
.map-head h1{font-size:clamp(34px,4.4vw,52px);line-height:1.04;margin-top:6px;}
.map-head .overline{margin:0;}

.map-page{display:flex;flex-wrap:wrap;gap:20px;align-items:stretch;
  padding-top:20px;padding-bottom:clamp(32px,5vw,64px);}
.map-canvas{flex:999 1 560px;min-width:0;height:min(760px,78vh);border-radius:var(--radius-lg);
  overflow:hidden;border:1px solid var(--border);background:var(--surface-sunken);position:relative;}
#atlas-map{position:relative;inset:auto;width:100%;height:100%;}
.map-note{position:absolute;left:16px;bottom:14px;z-index:500;background:var(--surface-card);
  border:1px solid var(--border);border-radius:10px;padding:7px 12px;
  font:600 12px var(--font-sans);color:var(--ink-muted);box-shadow:var(--shadow-card);}

.map-list{flex:1 1 320px;max-width:100%;background:var(--surface-card);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:18px;display:flex;flex-direction:column;gap:14px;
  height:min(760px,78vh);}
.map-count{margin:0;font:700 13px var(--font-sans);color:var(--ink-muted);}
.map-rows{flex:1;min-height:0;overflow-y:auto;margin:0 -6px;padding:0 6px;}
.map-row{display:flex;align-items:center;gap:11px;padding:11px 10px;border-radius:var(--radius-sm);
  border-bottom:1px solid var(--border);transition:background .14s;}
.map-row:last-of-type{border-bottom:0;}
.map-row:hover{background:var(--brand-tint);}
.map-row.is-on{background:var(--brand-tint);border-bottom-color:transparent;}
.map-dot{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--brand);}
.map-row.is-on .map-dot{background:var(--gold-400);box-shadow:inset 0 0 0 2px var(--green-900);}
.map-row.is-off .map-dot{background:transparent;box-shadow:inset 0 0 0 2px var(--border);}
.map-name{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;
  font:800 14.5px var(--font-sans);}
.map-name em{font:600 12px var(--font-sans);font-style:normal;color:var(--ink-muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.map-n{flex:0 0 auto;font:700 13.5px var(--font-sans);color:var(--ink-muted);
  font-variant-numeric:tabular-nums;}
.map-none{margin:10px 8px;font:600 14px var(--font-sans);color:var(--ink-muted);}

/* A pin carries its own name, because the ground under it carries none. */
.map-pin{display:grid;justify-items:center;}
.map-pin span{display:grid;place-items:center;border-radius:50%;background:var(--brand);color:#fff;
  border:3px solid #fff;box-shadow:0 2px 10px rgba(10,17,14,.3);cursor:pointer;
  font:800 13px var(--font-sans);font-variant-numeric:tabular-nums;
  transition:transform .16s,background .16s;}
.map-pin em{margin-top:5px;white-space:nowrap;font:800 12px var(--font-sans);font-style:normal;
  color:var(--green-900);text-shadow:0 0 3px var(--surface-page),0 0 7px var(--surface-page),
  0 0 11px var(--surface-page);pointer-events:none;}
.map-pin:hover span{transform:scale(1.07);background:var(--brand-hover);}
.map-pin.is-on span{background:var(--gold-400);color:var(--green-900);border-color:var(--green-900);}
.map-pin.is-on em{color:var(--green-900);}
.map-pin.is-many span{box-shadow:0 0 0 4px rgba(255,255,255,.6),0 2px 10px rgba(10,17,14,.3);}
.map-pop-list{display:flex;flex-direction:column;margin:-4px 0 12px;}
.map-pop-list a{display:flex;align-items:baseline;gap:10px;padding:7px 0;
  border-bottom:1px solid var(--border);font:700 13.5px var(--font-sans);color:var(--ink);}
.map-pop-list a:last-child{border-bottom:0;}
.map-pop-list a:hover span{color:var(--brand);text-decoration:underline;}
.map-pop-list a span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.map-pop-list a em{font-style:normal;font-weight:700;font-size:12.5px;color:var(--ink-muted);
  font-variant-numeric:tabular-nums;}
.map-pop-list i{display:block;padding:7px 0 0;font:600 12px var(--font-sans);
  font-style:normal;color:var(--ink-muted);}

.leaflet-popup-content-wrapper{border-radius:var(--radius-md);box-shadow:var(--shadow-lift);padding:0;}
.leaflet-popup-content{margin:0;}
.leaflet-popup-tip{box-shadow:none;}
.leaflet-container{font-family:var(--font-sans);background:var(--surface-sunken);}
.leaflet-control-zoom a{border-radius:8px !important;color:var(--ink) !important;
  border-color:var(--border) !important;font-weight:700;}
.map-pop{display:flex;flex-direction:column;gap:3px;padding:14px;width:244px;}
.map-pop-shots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:10px;}
.map-pop-shots i{display:block;height:64px;border-radius:8px;background:var(--surface-sunken) center/cover;}
.map-pop b{font:600 20px/1.15 var(--font-display);letter-spacing:-.01em;color:var(--ink);}
.map-pop span{font:600 13px var(--font-sans);color:var(--ink-muted);margin-bottom:10px;}
.map-pop .btn{width:100%;}
.map-pop .btn-brand,.map-pop .btn-brand:hover{color:#fff;}
.map-pop .btn-outline{color:var(--ink);}

.map-down{height:100%;display:grid;place-items:center;align-content:center;gap:6px;padding:32px;
  text-align:center;}
.map-down b{font:700 20px var(--font-display);letter-spacing:-.02em;}
.map-down span{font:600 14px var(--font-sans);color:var(--ink-muted);max-width:34ch;}

@media (max-width:900px){
  .map-canvas{height:min(540px,62vh);}
  .map-list{height:auto;max-height:520px;}
}
/* ---------- a subject ---------- */
.cat-hero{background:var(--green-900);color:#fff;padding-top:24px;
  padding-bottom:clamp(36px,5vw,56px);}
.crumbs.on-dark{color:var(--green-300);}
.crumbs.on-dark .here{color:#fff;}
.crumbs.on-dark a:hover{color:#fff;}
.cat-hero-in{display:flex;flex-wrap:wrap;gap:40px;align-items:center;
  justify-content:space-between;margin-top:26px;}
.cat-hero-copy{flex:1 1 460px;min-width:0;}
.cat-hero-copy .overline{margin:0 0 14px;color:var(--gold-400);}
.cat-hero-copy h1{font-size:clamp(34px,5vw,64px);line-height:1.02;color:#fff;text-wrap:balance;}
.cat-blurb{margin:18px 0 28px;font:500 18px/1.5 var(--font-sans);color:var(--green-100);max-width:560px;}
.cat-figures{display:flex;flex-wrap:wrap;gap:12px 40px;}
.cat-figures div{display:flex;align-items:baseline;gap:10px;}
.cat-figures b{font:700 clamp(28px,3.4vw,40px)/1 var(--font-display);letter-spacing:-.02em;color:#fff;}
.cat-figures span{font:600 14px var(--font-sans);color:var(--green-300);}
.cat-hero-grid{flex:1 1 360px;min-width:0;display:grid;gap:12px;
  grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,clamp(110px,13vw,150px));}
.cat-hero-grid i{display:block;border-radius:var(--radius-lg);background-size:cover;
  background-position:center;background-color:rgba(255,255,255,.08);}
.cat-hero-grid i:first-child{grid-row:span 2;}
.cat-sort{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:20px;
  border-bottom:1px solid var(--border);padding-bottom:16px;}
.cat-sort .muted{font:700 14px var(--font-sans);margin-right:4px;}
.cat-more{margin:28px 0 0;text-align:center;font:600 14px var(--font-sans);color:var(--ink-muted);}
.cat-tile{min-height:260px;}
.bar .chip em{font-style:normal;font-weight:700;font-size:12px;color:var(--ink-muted);
  padding-left:7px;border-left:1px solid var(--border);}
.bar .chip-on em{color:var(--green-100);border-left-color:rgba(255,255,255,.3);}
/* ---------- one photograph, rebuilt ---------- */
.one{display:flex;flex-wrap:wrap;gap:36px;align-items:flex-start;padding-top:16px;padding-bottom:8px;}
.one-shot{flex:999 1 620px;min-width:0;margin:0;}
.one-frame{border-radius:var(--radius-lg);overflow:hidden;background:var(--surface-sunken);
  width:fit-content;max-width:100%;margin-inline:auto;}
.one-frame img{display:block;max-width:100%;max-height:78vh;width:auto;height:auto;}
.one-tags{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;}
.one-side{flex:1 1 380px;max-width:100%;display:flex;flex-direction:column;gap:20px;
  position:sticky;top:92px;}
.one-side > header h1{font-size:clamp(26px,2.8vw,38px);line-height:1.08;margin-top:6px;}
.one-side > header .overline{margin:0;}
.one-caption{margin:14px 0 0;font:500 16px/1.6 var(--font-sans);color:var(--ink-muted);}

.one-get{background:var(--surface-card);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:20px;display:flex;flex-direction:column;gap:14px;}
.one-dl{min-height:54px;font-size:16px;}
.one-sizes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.one-size{display:flex;flex-direction:column;gap:1px;padding:10px 12px;border-radius:var(--radius-sm);
  border:1px solid var(--border);transition:border-color .16s,background .16s;}
.one-size:hover{border-color:var(--brand);background:var(--brand-tint);}
.one-size b{font:800 13.5px var(--font-sans);}
.one-size span{font:600 11.5px var(--font-sans);color:var(--ink-muted);}
.one-share{display:flex;gap:8px;flex-wrap:wrap;padding-top:4px;}
.one-share .btn{flex:1 1 0;white-space:nowrap;padding:0 10px;font-size:13px;}
.one-link-out{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.one-link-out input{flex:1 1 180px;min-width:0;min-height:42px;padding:0 12px;border-radius:var(--radius-sm);
  border:1px solid var(--border);background:var(--surface-sunken);
  font:600 12.5px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink);}
.one-link-note{flex:1 1 100%;margin:0;font:600 12px/1.5 var(--font-sans);color:var(--ink-muted);}

.one-score{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:var(--radius-lg);
  background:var(--surface-card);border:1px solid var(--border);}
.one-score b{font:700 34px/1 var(--font-display);letter-spacing:-.02em;}
.one-score b i{font:700 15px var(--font-sans);font-style:normal;color:var(--ink-muted);}
.one-score span{font:700 14px var(--font-sans);color:var(--ink-muted);}
.one-score.is-top b{color:#1f4d3f;} .one-score.is-good b{color:#28694f;}
.one-score.is-mid b{color:#a63f22;} .one-score.is-low b{color:var(--ink-muted);}
.one-why{background:var(--surface-card);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:4px 18px;}
.one-why > summary{cursor:pointer;list-style:none;padding:14px 0;font:800 14px var(--font-sans);}
.one-why > summary::-webkit-details-marker{display:none;}
.one-why > summary::after{content:'›';float:right;transform:rotate(90deg);color:var(--ink-muted);}
.one-why[open] > summary::after{transform:rotate(-90deg);}
.one-why ul{list-style:none;margin:0;padding:0 0 14px;display:flex;flex-direction:column;gap:9px;}
.one-why li{display:flex;gap:9px;align-items:baseline;font:600 13px var(--font-sans);}
.one-why li em{display:block;font-style:normal;font-weight:600;font-size:12px;color:var(--ink-muted);}
.one-why .mark{flex:0 0 13px;font-weight:800;}
.one-why .is-yes .mark{color:var(--brand);} .one-why .is-no .mark{color:var(--danger);}
.one-why .is-na .mark{color:var(--ink-muted);opacity:.6;}

.one-meta{margin:0;display:grid;grid-template-columns:auto 1fr;gap:11px 20px;font-size:14px;
  background:var(--surface-card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px;}
.one-meta dt{font-weight:600;color:var(--ink-muted);}
.one-meta dd{margin:0;font-weight:700;}
.one-meta dd a:hover{color:var(--brand);text-decoration:underline;}

@media (max-width:900px){.one-side{position:static;}}

/* ---------- the editor, in the new design ----------
   The markup is the dashboard's and app.js knows it by name, so nothing here
   renames anything: this is the old editor wearing the archive's own clothes.
   Two columns — the photograph, then the record — with the actions held at the
   bottom of the form so Save is always within reach of a long field. */
.overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;
  padding:clamp(12px,2.5vw,32px);background:rgba(23,35,31,.52);backdrop-filter:blur(8px);}
#photo-modal .overlay-close{display:none;}      /* the sheet carries its own */

.sheet{width:100%;max-width:1180px;max-height:calc(100vh - 2 * clamp(12px,2.5vw,32px));
  background:var(--surface-card);border:1px solid var(--border);border-radius:var(--radius-lg);
  box-shadow:0 24px 80px rgba(23,35,31,.28);overflow:hidden;display:flex;align-items:stretch;}
.sheet-image{flex:1.35 1 0;min-width:0;background:var(--green-900);display:grid;place-items:center;
  padding:20px;}
.sheet-image img{max-width:100%;max-height:calc(100vh - 140px);object-fit:contain;display:block;
  border-radius:var(--radius-sm);}
.sheet-form{flex:0 0 420px;max-width:100%;min-width:0;display:flex;flex-direction:column;gap:18px;
  padding:24px 24px 0;overflow-y:auto;border-left:1px solid var(--border);background:var(--surface-card);}

.sheet-row{display:flex;justify-content:space-between;align-items:center;gap:12px;}
.sheet .kicker{font:700 11px var(--font-sans);letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sheet .icon-btn,.export-sheet .icon-btn{flex:0 0 34px;width:34px;height:34px;display:grid;
  place-items:center;border:1px solid var(--border);border-radius:50%;background:var(--surface-card);
  color:var(--ink-muted);font-size:19px;line-height:1;cursor:pointer;transition:border-color .15s,color .15s;}
.sheet .icon-btn:hover,.export-sheet .icon-btn:hover{border-color:var(--ink);color:var(--ink);}

.title-input{width:100%;min-width:0;box-sizing:border-box;background:none;border:0;
  border-bottom:2px solid var(--border);outline:0;padding:0 0 8px;color:var(--ink);
  font:600 26px/1.15 var(--font-display);letter-spacing:-.01em;transition:border-color .15s;}
.title-input:focus{border-bottom-color:var(--brand);}
.title-input::placeholder{color:var(--ink-muted);opacity:.6;}

.sheet-form .field-label,.export-sheet .field-label{display:block;margin:0 0 7px;
  font:800 12px var(--font-sans);letter-spacing:.02em;text-transform:none;color:var(--ink);}
.sheet-form .field-label .muted,.export-sheet .field-label .muted{font-weight:600;color:var(--ink-muted);}
.sheet-form input:not(.title-input),.sheet-form textarea{width:100%;box-sizing:border-box;
  background:var(--surface-page);border:1px solid var(--border);border-radius:var(--radius-sm);
  padding:11px 13px;color:var(--ink);font:500 14px/1.55 var(--font-sans);outline:0;
  transition:border-color .15s,background .15s;}
.sheet-form input:not(.title-input):focus,.sheet-form textarea:focus{border-color:var(--brand);
  background:var(--surface-card);}
.sheet-form textarea{resize:vertical;}
.sheet-form textarea.notes{background:none;border-style:dashed;color:var(--ink);}
.sheet-form label.field-label input{margin-top:7px;}

.btn-ghost{margin-top:10px;min-height:38px;padding:0 14px;background:var(--brand-tint);
  border:1px solid var(--border);border-radius:var(--radius-pill);color:var(--brand);
  font:800 13px var(--font-sans);letter-spacing:0;text-transform:none;cursor:pointer;
  transition:border-color .15s,background .15s;}
.btn-ghost:hover{border-color:var(--brand);background:var(--surface-card);}

.tag-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;}
.tag{background:var(--surface-page);border:1px solid var(--border);border-radius:var(--radius-pill);
  padding:5px 12px;font:700 12px var(--font-sans);color:var(--ink);}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.span-2{grid-column:span 2;}

.btn-soft{min-height:40px;padding:0 14px;background:var(--surface-page);border:1px solid var(--border);
  border-radius:var(--radius-sm);color:var(--ink);font:700 13px var(--font-sans);cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  transition:border-color .15s,background .15s;}
.btn-soft:hover{border-color:var(--brand);background:var(--brand-tint);}

.delete-zone{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:16px;border:1px solid rgba(168,50,31,.28);border-radius:var(--radius-md);
  background:rgba(168,50,31,.045);}
.delete-zone .field-label{color:var(--danger);margin-bottom:3px;}
.delete-zone p{margin:0;font:600 12px/1.5 var(--font-sans);color:var(--ink-muted);}
.btn-delete{flex:0 0 auto;min-height:38px;padding:0 14px;background:none;border:1px solid var(--danger);
  border-radius:var(--radius-sm);color:var(--danger);font:800 13px var(--font-sans);cursor:pointer;
  transition:background .15s,color .15s;}
.btn-delete:hover{background:var(--danger);color:#fff;}
.btn-delete:disabled{opacity:.5;cursor:default;}

/* Save stays put while the record scrolls past it. */
.sheet-foot{position:sticky;bottom:0;margin-top:auto;display:flex;align-items:center;
  justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 0;
  background:var(--surface-card);border-top:1px solid var(--border);}
.sheet-foot .muted{font:600 12.5px var(--font-sans);color:var(--ink-muted);}
.sheet-actions{display:flex;align-items:center;gap:12px;}
.sheet .dot{width:11px;height:11px;border-radius:50%;border:1px solid var(--border);
  display:inline-block;vertical-align:-1px;margin-right:5px;}
.sheet .btn-primary{min-height:44px;padding:0 26px;border:0;border-radius:var(--radius-pill);
  background:var(--brand);color:#fff;font:800 14px var(--font-sans);letter-spacing:0;cursor:pointer;
  box-shadow:none;transition:background .15s;}
.sheet .btn-primary:hover{background:var(--brand-hover);transform:none;box-shadow:none;}
.read-title{margin:0;font:600 26px/1.15 var(--font-display);letter-spacing:-.01em;}
.read-desc{margin:0;font:500 14.5px/1.6 var(--font-sans);color:var(--ink-muted);}

@media (max-width:1040px){
  .sheet{flex-direction:column;overflow-y:auto;}
  .sheet-image{flex:0 0 auto;padding:14px;}
  .sheet-image img{max-height:46vh;}
  .sheet-form{flex:1 1 auto;border-left:0;border-top:1px solid var(--border);overflow:visible;}
  .sheet-foot{position:static;}
}

/* ---------- export, in the new design ---------- */
.export-sheet{width:100%;max-width:960px;max-height:calc(100vh - 64px);overflow-y:auto;
  background:var(--surface-card);border:1px solid var(--border);border-radius:var(--radius-lg);
  box-shadow:0 24px 80px rgba(23,35,31,.28);padding:24px;display:flex;flex-direction:column;gap:18px;}
.export-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;}
.export-head .kicker{font:700 11px var(--font-sans);letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-muted);}
.export-head h3{margin:6px 0 0;font:600 28px/1.1 var(--font-display);letter-spacing:-.01em;}
.export-hint{margin-top:6px;font:600 13px/1.5 var(--font-sans);color:var(--ink-muted);max-width:56ch;}
.export-stage{min-height:240px;display:grid;place-items:center;position:relative;padding:14px;
  background:var(--green-900);border-radius:var(--radius-md);}
.export-stage img{max-width:100%;max-height:52vh;object-fit:contain;display:block;
  border-radius:var(--radius-sm);}
.export-busy{position:absolute;font:700 13px var(--font-sans);color:var(--green-100);}
.export-presets,.crop-ratios{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.export-preset{min-height:38px;padding:0 15px;background:var(--surface-page);
  border:1px solid var(--border);border-radius:var(--radius-pill);color:var(--ink-muted);
  font:700 13px var(--font-sans);cursor:pointer;transition:border-color .15s,color .15s,background .15s;}
.export-preset:hover{color:var(--ink);border-color:var(--brand);}
.export-preset.is-on{background:var(--brand);border-color:var(--brand);color:#fff;}
.crop-ratios .field-label{margin:0 6px 0 0;}
.export-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
  padding-top:16px;border-top:1px solid var(--border);}
.export-foot .muted{font:600 12.5px var(--font-sans);color:var(--ink-muted);}
.export-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.export-sheet .btn-primary{min-height:44px;padding:0 26px;border:0;border-radius:var(--radius-pill);
  background:var(--accent);color:#fff;font:800 14px var(--font-sans);letter-spacing:0;
  display:inline-flex;align-items:center;box-shadow:none;transition:background .15s;}
.export-sheet .btn-primary:hover{background:var(--accent-hover,#b2451f);transform:none;box-shadow:none;}

.share-box{padding:16px;border:1px solid var(--border);border-radius:var(--radius-md);
  background:var(--surface-page);display:flex;flex-direction:column;gap:10px;}
.share-row{display:flex;gap:8px;flex-wrap:wrap;}
.share-row input{flex:1 1 220px;min-width:0;min-height:40px;padding:0 12px;
  border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-card);
  font:600 12.5px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink);}
.share-note{margin:0;font:600 12px/1.55 var(--font-sans);color:var(--ink-muted);}
.share-note a{color:var(--brand);text-decoration:underline;}
.share-warn{color:var(--danger);}

/* The criteria panel inside the editor, built by app.js. */
.gttg-panel{padding:16px;border:1px solid var(--border);border-radius:var(--radius-md);
  background:var(--surface-page);}
.gttg-head{display:flex;align-items:center;gap:12px;}
.gttg-head .field-label{margin:0;flex:0 0 auto;order:3;color:var(--ink-muted);}
.gttg-score{font:700 28px/1 var(--font-display);letter-spacing:-.02em;color:var(--brand);
  font-variant-numeric:tabular-nums;}
.gttg-score small{font:700 11px var(--font-sans);color:var(--ink-muted);}
.gttg-meter{flex:1;min-width:40px;height:7px;border-radius:7px;background:var(--border);overflow:hidden;}
.gttg-meter span{display:block;height:100%;background:var(--brand);border-radius:7px;}
.gttg-summary{margin:10px 0 0;font:500 13px/1.55 var(--font-sans);color:var(--ink-muted);}
.gttg-panel .tag-row{margin-top:12px;}
.gttg-panel details{margin-top:12px;}
.gttg-panel summary{cursor:pointer;list-style:none;font:800 12.5px var(--font-sans);color:var(--ink);}
.gttg-panel summary::-webkit-details-marker{display:none;}
.gttg-panel summary::after{content:'›';float:right;transform:rotate(90deg);color:var(--ink-muted);}
.gttg-panel details[open] summary::after{transform:rotate(-90deg);}
.gttg-checks{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:9px;}
.gttg-checks li{display:grid;grid-template-columns:15px 1fr;gap:4px 8px;
  font:600 12.5px/1.4 var(--font-sans);}
.gttg-checks .why{grid-column:2;font:600 11.5px/1.45 var(--font-sans);color:var(--ink-muted);}
.gttg-checks .ok{color:var(--brand);font-weight:800;}
.gttg-checks .no{color:var(--danger);font-weight:800;}
.gttg-checks .na{color:var(--ink-muted);opacity:.6;}

/* The filter swatches, in the new palette. */
.filter-strip{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 8px;margin-top:4px;
  scrollbar-width:thin;}
.filter-thumb{width:54px;height:54px;border-radius:var(--radius-sm);background-size:cover;
  background-position:center;background-color:var(--surface-sunken);border:2px solid transparent;
  box-shadow:0 0 0 1px var(--border) inset;transition:border-color .15s,transform .15s;}
.filter-swatch:hover .filter-thumb{transform:translateY(-2px);}
.filter-swatch.is-on .filter-thumb{border-color:var(--brand);}
.filter-name{font:700 10.5px var(--font-sans);letter-spacing:.03em;color:var(--ink-muted);}
.filter-swatch.is-on .filter-name{color:var(--ink);}
.filter-thumb.is-none{display:grid;place-items:center;font-size:17px;color:var(--ink-muted);
  background:var(--surface-page);}

/* The trail and the way out stay at the top of the record however far it scrolls. */
.sheet-form > .sheet-row:first-child{position:sticky;top:-24px;z-index:3;
  background:var(--surface-card);padding:4px 0 10px;margin-top:-4px;}

/* ---------- the finder: the hero's search ----------
   One bar, not a row of boxes: a field you can type a sentence into, a scope
   beside it, and the criteria underneath where they belong — they narrow the
   search, so they sit under it rather than in it. */
.hero-copy{text-align:left;}
.hero h1,.hero-lede{margin-left:0;margin-right:auto;}

.finder{max-width:860px;margin:0;}
.finder-bar{display:flex;align-items:center;gap:0;background:var(--surface-card);
  border-radius:var(--radius-pill);padding:7px 7px 7px 22px;
  box-shadow:0 2px 6px rgba(10,17,14,.14),0 18px 50px rgba(10,17,14,.3);}
.finder-ic{flex:0 0 22px;display:grid;place-items:center;color:var(--ink-muted);margin-right:14px;}
.finder-q{flex:1 1 auto;min-width:0;min-height:60px;border:0;outline:0;background:transparent;
  font:500 17px var(--font-sans);color:var(--ink);}
.finder-q::placeholder{color:var(--ink-muted);opacity:.72;}

/* The scope reads as part of the bar, with a hairline keeping it apart. */
.finder-scope{position:relative;flex:0 0 auto;display:flex;align-items:center;
  padding-left:18px;margin-left:10px;border-left:1px solid var(--border);}
.finder-scope select{appearance:none;-webkit-appearance:none;border:0;outline:0;cursor:pointer;
  background:transparent;padding:0 30px 0 0;font:800 14px var(--font-sans);color:var(--ink);}
.finder-scope::after{content:'';position:absolute;right:14px;width:8px;height:8px;
  border-right:2px solid var(--ink-muted);border-bottom:2px solid var(--ink-muted);
  transform:translateY(-3px) rotate(45deg);pointer-events:none;}
.finder-go{flex:0 0 auto;min-height:52px;margin-left:12px;padding:0 32px;border:0;cursor:pointer;
  border-radius:var(--radius-pill);background:var(--gold-400);color:var(--green-900);
  font:800 16px var(--font-sans);transition:background .15s,transform .15s;}
.finder-go:hover{background:#f2c75c;transform:translateY(-1px);}

/* The criteria. Shut, it is one switch and a line saying what it does. */
.finder-crit{margin-top:14px;padding:4px 6px;display:flex;flex-direction:column;gap:14px;}
.crit-switch{display:inline-flex;align-items:center;gap:12px;cursor:pointer;align-self:flex-start;
  padding:9px 18px 9px 14px;border-radius:var(--radius-pill);
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(6px);transition:background .16s,border-color .16s;}
.crit-switch:hover{background:rgba(255,255,255,.17);}
.crit-switch input{position:absolute;opacity:0;pointer-events:none;}
.crit-dot{flex:0 0 38px;width:38px;height:22px;border-radius:22px;position:relative;
  background:rgba(255,255,255,.26);transition:background .18s;}
.crit-dot::after{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;
  border-radius:50%;background:#fff;transition:transform .18s;}
.crit-switch input:checked + .crit-dot{background:var(--gold-400);}
.crit-switch input:checked + .crit-dot::after{transform:translateX(16px);}
.crit-switch b{font:800 14.5px var(--font-sans);color:#fff;}
.crit-switch em{font:600 13px var(--font-sans);font-style:normal;color:var(--green-100);}
.finder.is-open .crit-switch{background:rgba(255,255,255,.17);}

/* Open, it is the whole question — each choice labelled, none of them a mystery. */
.crit-more{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));}
.crit-pick{display:flex;flex-direction:column;gap:5px;}
.crit-pick > span{font:800 11px var(--font-sans);letter-spacing:.12em;text-transform:uppercase;
  color:var(--green-100);padding-left:2px;}
.crit-pick select{appearance:none;-webkit-appearance:none;cursor:pointer;min-height:44px;
  padding:0 34px 0 14px;border-radius:var(--radius-sm);
  background:rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border:1px solid rgba(255,255,255,.22);color:#fff;font:700 14px var(--font-sans);outline:0;
  backdrop-filter:blur(6px);transition:border-color .15s,background-color .15s;}
.crit-pick select:hover{border-color:rgba(255,255,255,.4);}
.crit-pick select:focus{border-color:var(--gold-400);}
.crit-pick select option{color:var(--ink);background:var(--surface-card);}

@media (max-width:760px){
  .finder-bar{flex-wrap:wrap;border-radius:var(--radius-lg);padding:14px;}
  .finder-q{flex:1 1 100%;min-height:48px;}
  .finder-scope{border-left:0;padding-left:0;margin-left:0;}
  .finder-go{flex:1;margin-left:0;}
}

/* ==========================================================================
   On a phone
   --------------------------------------------------------------------------
   Not the desktop page made narrow. A phone holds one column, reaches with a
   thumb, and shows one thing at a time — so the header loses its row of links,
   the places you move between go to a bar at the bottom, and everything that
   was side by side stacks. Nothing is hidden that mattered: it is moved to
   where a hand can get at it.
   ========================================================================== */

.site-phone{display:none;}
.phone-find,.phone-sheet,.phone-tabs{display:none;}

@media (max-width:860px){

  /* ---- the header ---- */
  .site-head .wrap{gap:12px;padding-top:11px;padding-bottom:11px;flex-wrap:nowrap;}
  .site-head .search-compact,.site-head .site-nav,.site-head .account{display:none;}
  .site-logo img{height:38px;}
  .site-head.on-dark .site-logo img{height:40px;}

  .site-phone{display:flex;align-items:center;gap:8px;margin-left:auto;}
  .phone-btn{width:42px;height:42px;display:grid;place-items:center;cursor:pointer;
    border-radius:50%;border:1px solid var(--border);background:var(--surface-card);
    color:var(--ink);transition:background .15s;}
  .phone-btn:active{background:var(--surface-page);}
  .site-head.on-dark .phone-btn{background:rgba(255,255,255,.14);color:#fff;
    border-color:rgba(255,255,255,.26);backdrop-filter:blur(8px);}

  /* ---- the search that drops out of it ---- */
  .phone-find{display:flex;align-items:center;gap:10px;padding:0 16px 12px;
    background:var(--surface-card);border-bottom:1px solid var(--border);}
  .site-head.on-dark .phone-find{background:transparent;border-bottom:0;}
  .phone-find[hidden]{display:none;}
  .phone-find > svg{flex:0 0 20px;color:var(--ink-muted);}
  .site-head.on-dark .phone-find > svg{color:#fff;opacity:.8;}
  .phone-find input{flex:1;min-width:0;min-height:46px;padding:0 14px;
    border:1px solid var(--border);border-radius:var(--radius-pill);
    background:var(--surface-page);font:500 16px var(--font-sans);color:var(--ink);outline:0;}
  .site-head.on-dark .phone-find input{background:rgba(255,255,255,.14);color:#fff;
    border-color:rgba(255,255,255,.26);}
  .site-head.on-dark .phone-find input::placeholder{color:rgba(255,255,255,.7);}
  .phone-find button{flex:0 0 auto;min-height:46px;padding:0 20px;border:0;cursor:pointer;
    border-radius:var(--radius-pill);background:var(--brand);color:#fff;
    font:800 15px var(--font-sans);}

  /* ---- the sheet behind the menu button ---- */
  .phone-sheet{display:block;position:absolute;left:0;right:0;top:100%;z-index:70;
    background:var(--surface-card);border-bottom:1px solid var(--border);
    box-shadow:0 18px 40px rgba(23,35,31,.18);padding:10px 16px 18px;
    animation:phone-drop .18s cubic-bezier(.2,.7,.3,1);}
  .phone-sheet[hidden]{display:none;}
  @keyframes phone-drop{from{opacity:0;transform:translateY(-10px);}}
  .phone-sheet nav{display:flex;flex-direction:column;}
  .phone-sheet nav a{padding:15px 6px;border-bottom:1px solid var(--border);
    font:800 17px var(--font-sans);color:var(--ink);}
  .phone-sheet nav a.is-on{color:var(--brand);}
  .phone-sheet-who{display:flex;align-items:center;gap:12px;padding:16px 6px 14px;}
  .phone-sheet-who .account-mark{flex:0 0 40px;width:40px;height:40px;border-radius:50%;
    display:grid;place-items:center;background:var(--brand);color:#fff;
    font:800 16px var(--font-sans);}
  .phone-sheet-who b{display:block;font:800 15px var(--font-sans);}
  .phone-sheet-who em{display:block;font:700 11.5px var(--font-sans);font-style:normal;
    letter-spacing:.1em;text-transform:uppercase;color:var(--ink-muted);}
  .phone-sheet-do{display:flex;gap:10px;}
  .phone-sheet-do .btn,.phone-sheet-do form{flex:1;}
  .phone-sheet-do .btn{width:100%;justify-content:center;}

  /* ---- the bar across the bottom ---- */
  .phone-tabs{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:80;
    left:0;right:0;bottom:0;background:color-mix(in srgb,var(--surface-card) 92%,transparent);
    backdrop-filter:saturate(1.6) blur(14px);border-top:1px solid var(--border);
    padding-bottom:env(safe-area-inset-bottom);}
  .phone-tabs a{display:flex;flex-direction:column;align-items:center;gap:3px;
    padding:9px 2px 8px;color:var(--ink-muted);
    font:700 10.5px var(--font-sans);letter-spacing:.01em;}
  .phone-tabs a.is-on{color:var(--brand);}
  .phone-tabs a.is-on svg{transform:translateY(-1px);}
  /* Nothing is left underneath the bar. */
  body{padding-bottom:calc(66px + env(safe-area-inset-bottom));}
  .site-foot{margin-bottom:0;}

  /* ---- the hero ---- */
  .hero-copy{padding:104px 0 34px;}
  .hero h1{font-size:clamp(30px,8.4vw,40px);line-height:1.08;}
  .hero-lede{margin:14px 0 22px;font-size:15.5px;max-width:none;}
  .finder-bar{flex-wrap:wrap;gap:10px;border-radius:var(--radius-lg);padding:14px;}
  .finder-ic{display:none;}
  .finder-q{flex:1 1 100%;min-height:46px;padding:0 4px;font-size:16px;}
  .finder-scope{flex:1 1 auto;border-left:0;padding-left:0;margin-left:0;
    border:1px solid var(--border);border-radius:var(--radius-pill);padding:0 0 0 16px;min-height:46px;}
  .finder-go{flex:0 0 auto;margin-left:0;min-height:46px;padding:0 24px;}
  .crit-switch{align-self:stretch;justify-content:flex-start;}
  .crit-switch em{display:none;}
  .crit-more{grid-template-columns:repeat(2,minmax(0,1fr));}
  .hero-trending{gap:8px;margin-top:18px;}
  .hero-trending > span{flex:1 1 100%;margin-bottom:2px;}

  /* ---- the bands down the page ---- */
  .stats .wrap{gap:14px 0;padding-top:20px;padding-bottom:20px;}
  .stats .stat{flex:1 1 46%;gap:8px;align-items:baseline;}
  .band-head{flex-wrap:wrap;gap:8px;}
  .h-section{font-size:clamp(24px,6.6vw,30px);}
  .dest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .dest-grid .tile{min-height:170px;}
  .place-mosaic,.recent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .strip{grid-auto-columns:minmax(140px,1fr);gap:10px;}
  .map-band{padding:26px 20px;}

  /* ---- a wall of photographs ---- */
  .wall{column-gap:8px;}
  .page-title{flex-direction:column;align-items:flex-start;gap:12px;}
  .bar{gap:8px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px;scrollbar-width:none;}
  .bar::-webkit-scrollbar{display:none;}
  .bar .chip,.bar .drop > summary{white-space:nowrap;}
  .sorts{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;}
  .sorts::-webkit-scrollbar{display:none;}

  /* ---- one photograph ---- */
  .one{gap:20px;padding-top:10px;}
  .one-side{position:static;}
  .one-sizes{grid-template-columns:repeat(2,minmax(0,1fr));}
  .one-frame img{max-height:62vh;}

  /* ---- the map ---- */
  .map-page{gap:12px;}
  .map-canvas{height:58vh;}
  .map-list{height:auto;max-height:46vh;}
  .map-head{flex-direction:column;align-items:flex-start;gap:12px;}

  /* ---- the footer ---- */
  .site-foot .wrap{flex-direction:column;align-items:flex-start;gap:18px;}
}

@media (max-width:420px){
  .dest-grid,.place-mosaic,.recent-grid{grid-template-columns:1fr;}
  .crit-more{grid-template-columns:1fr;}
  .phone-tabs a{font-size:10px;}
}

/* ---------- the header's links, with their marks ----------
   An icon beside a word is quicker to find than a word alone, and the map is
   given more than an icon: the archive is called atlas, and the map is what
   that name promises. It carries the brand's gold and keeps its ring whether
   or not you are on it. */
.site-nav a{display:inline-flex;align-items:center;gap:8px;}
.site-nav a svg{flex:0 0 18px;opacity:.75;transition:opacity .15s;}
.site-nav a:hover svg,.site-nav a.is-on svg{opacity:1;}
.site-nav a.is-on{color:var(--brand);text-decoration:none;}
.site-nav a.is-on span{text-decoration:underline;text-underline-offset:5px;}

.site-nav .nav-map{padding:7px 15px 7px 12px;border-radius:var(--radius-pill);
  border:1px solid var(--border);background:var(--surface-page);
  transition:border-color .16s,background .16s,color .16s;}
.site-nav .nav-map svg{opacity:1;color:var(--accent);}
.site-nav .nav-map:hover{border-color:var(--accent);background:var(--peach-100,rgba(200,80,45,.07));
  text-decoration:none;}
.site-nav .nav-map.is-on{background:var(--accent);border-color:var(--accent);color:#fff;}
.site-nav .nav-map.is-on svg{color:#fff;}
.site-nav .nav-map.is-on span{text-decoration:none;}

/* Over the hero the bar has no ground of its own, so the map pill borrows one. */
.site-head.on-dark .site-nav a svg{opacity:.85;}
.site-head.on-dark .site-nav .nav-map{background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.3);backdrop-filter:blur(8px);}
.site-head.on-dark .site-nav .nav-map svg{color:var(--gold-400);}
.site-head.on-dark .site-nav .nav-map:hover{background:rgba(255,255,255,.24);
  border-color:var(--gold-400);}
.site-head.on-dark .site-nav a.is-on{color:#fff;}

@media (max-width:1180px){
  .site-nav a svg{display:none;}
  .site-nav .nav-map svg{display:block;}
}

/* Holds the hero's header to the same measure as every other page's. */
.head-gap{flex:1 1 300px;min-width:210px;max-width:400px;}
@media (max-width:860px){ .head-gap{display:none;} }

/* On the home page the header is not a bar at the top of the window — it sits
   on the photographs, and it reads better with air above it. Every other page
   keeps it flush, where a bar belongs. */
.site-head.on-dark{top:clamp(12px,2.4vw,34px);}
@media (max-width:860px){ .site-head.on-dark{top:6px;} }

/* On the home page the header sits on the photographs rather than in a bar, so
   it is arranged for that: the links gather near the mark, and the account is
   pushed to the far edge. Every other page keeps the search holding them
   apart. The pieces keep the same widths — only where they sit changes. */
.site-head.on-dark .head-gap{flex:0 0 clamp(16px,3vw,56px);min-width:0;max-width:none;}
.site-head.on-dark .account{margin-left:auto;}

/* ---------- asking for photographs ----------
   The panel is the same wherever it is opened from; what changes is the
   question at the top and the search it carries. */
.empty .ask-open{margin-top:18px;}
.ask-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  margin-top:34px;padding:22px 26px;border:1px dashed var(--border);
  border-radius:var(--radius-lg);background:var(--surface-card);}
.ask-foot b{display:block;font:800 16px var(--font-sans);}
.ask-foot span{display:block;margin-top:3px;font:500 14px/1.5 var(--font-sans);color:var(--ink-muted);}

.ask-sheet{position:fixed;inset:0;z-index:120;display:grid;place-items:center;
  padding:clamp(14px,3vw,36px);background:rgba(23,35,31,.52);backdrop-filter:blur(8px);}
.ask-sheet[hidden]{display:none;}
.ask-card{width:100%;max-width:580px;background:var(--surface-card);
  border:1px solid var(--border);border-radius:var(--radius-lg);
  box-shadow:0 24px 80px rgba(23,35,31,.3);padding:28px;display:flex;flex-direction:column;gap:20px;
  animation:ask-rise .2s cubic-bezier(.2,.8,.3,1);}
@keyframes ask-rise{from{opacity:0;transform:translateY(14px);}}
.ask-card > header .overline{margin:0 0 8px;}
.ask-card > header h2{font-size:clamp(24px,3vw,30px);line-height:1.1;}
.ask-field{display:flex;flex-direction:column;gap:8px;}
.ask-field > span{font:800 13px var(--font-sans);}
.ask-field textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:96px;
  padding:13px 15px;border:1px solid var(--border);border-radius:var(--radius-sm);
  background:var(--surface-page);color:var(--ink);font:500 15px/1.55 var(--font-sans);outline:0;
  transition:border-color .15s,background .15s;}
.ask-field textarea:focus{border-color:var(--brand);background:var(--surface-card);}
.ask-field em{font:500 12.5px/1.55 var(--font-sans);font-style:normal;color:var(--ink-muted);}

.ask-seen{padding:14px 16px;border-radius:var(--radius-sm);background:var(--brand-tint);
  display:flex;flex-direction:column;gap:5px;}
.ask-seen[hidden]{display:none;}
.ask-seen-what{font:800 13.5px var(--font-sans);color:var(--brand);}
.ask-seen em{font:500 12.5px/1.55 var(--font-sans);font-style:normal;color:var(--ink-muted);}

.ask-card > footer{display:flex;gap:10px;align-items:center;}
.btn-ghost-line{background:none;border:0;cursor:pointer;color:var(--ink-muted);
  font:700 14px var(--font-sans);text-decoration:underline;padding:0 8px;}
.btn-ghost-line:hover{color:var(--ink);}

@media (max-width:860px){
  .ask-foot{flex-direction:column;align-items:flex-start;gap:14px;padding:18px;}
  .ask-foot .btn{width:100%;justify-content:center;}
  .ask-card{padding:22px 18px;}
}

/* ---------- what is new ---------- */
.bell{position:relative;flex:0 0 auto;}
.bell-btn{position:relative;width:40px;height:40px;display:grid;place-items:center;cursor:pointer;
  border-radius:50%;border:1px solid var(--border);background:var(--surface-card);
  color:var(--ink);transition:border-color .15s,background .15s;}
.bell-btn:hover{border-color:var(--brand);color:var(--brand);}
.bell-btn em{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 5px;
  display:grid;place-items:center;border-radius:999px;background:var(--accent);color:#fff;
  font:800 10.5px var(--font-sans);font-style:normal;border:2px solid var(--surface-card);}
.site-head.on-dark .bell-btn{background:rgba(255,255,255,.14);color:#fff;
  border-color:rgba(255,255,255,.26);backdrop-filter:blur(8px);}
.site-head.on-dark .bell-btn em{border-color:transparent;}

.bell-drop{position:absolute;z-index:70;top:calc(100% + 10px);right:0;width:340px;max-width:86vw;
  background:var(--surface-card);border:1px solid var(--border);border-radius:var(--radius-md);
  box-shadow:var(--shadow-lift);overflow:hidden;
  animation:bell-in .16s cubic-bezier(.2,.8,.3,1);}
.bell-drop[hidden]{display:none;}
@keyframes bell-in{from{opacity:0;transform:translateY(-8px);}}
.bell-drop > header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  padding:13px 16px;border-bottom:1px solid var(--border);
  font:800 12px var(--font-sans);letter-spacing:.1em;text-transform:uppercase;color:var(--ink-muted);}
.bell-drop > header a{font:700 12px var(--font-sans);letter-spacing:0;text-transform:none;
  color:var(--brand);text-decoration:underline;}
.bell-list{max-height:min(420px,56vh);overflow-y:auto;}
.bell-list a{display:flex;flex-direction:column;gap:3px;padding:13px 16px;
  border-bottom:1px solid var(--border);transition:background .14s;}
.bell-list a:last-child{border-bottom:0;}
.bell-list a:hover{background:var(--surface-page);}
.bell-list b{font:800 13.5px var(--font-sans);color:var(--ink);}
.bell-list span{font:500 13px/1.45 var(--font-sans);color:var(--ink-muted);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.bell-list em{font:700 11.5px var(--font-sans);font-style:normal;color:var(--ink-muted);opacity:.8;}
.bell-none{margin:0;padding:24px 16px;text-align:center;
  font:600 13px var(--font-sans);color:var(--ink-muted);}

@media (max-width:860px){ .bell{display:none;} }

/* ─────────────────────────────────────────────────────────── your own account */

/* A face in the header fills its circle; the initial keeps its own colour. */
.account-mark.is-face{object-fit:cover;background:var(--sand);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.10);}
/* The area may shrink; a face may not be squashed to a sliver inside it. */
.account > *{flex:0 0 auto;}
a.account-who{text-decoration:none;color:inherit;border-radius:var(--radius-pill);
  padding:4px 10px 4px 4px;margin:-4px -6px -4px -4px;transition:background .16s;
  flex:0 0 auto;}
a.account-who:hover{background:rgba(31,77,63,.07);}
.site-head.on-dark a.account-who:hover{background:rgba(255,255,255,.12);}

/* The profile page carries its own styling: the dashboard's stylesheet is not
   loaded out here, so none of its card, field or button classes exist. */
/* Who you are on the left, what you can change on the right. Stacking all of
   it in one narrow column left two thirds of a desktop empty, and made a short
   form feel like a long one. */
.profile{padding-top:8px;padding-bottom:clamp(40px,5vw,72px);max-width:1180px;}
.profile-form{display:grid;gap:20px;align-items:start;
  grid-template-columns:minmax(0,320px) minmax(0,1fr);}
.profile-side{display:flex;flex-direction:column;gap:18px;position:sticky;top:96px;}
.profile-main{display:flex;flex-direction:column;gap:18px;min-width:0;}
.profile-card{background:var(--white);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:24px 26px;box-shadow:var(--shadow-card);
  display:flex;flex-direction:column;gap:16px;}
.profile-h{font:800 12px var(--font-sans);letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-muted);margin:0;}
.profile-note{margin:0;font:500 13.5px/1.65 var(--font-sans);color:var(--ink-muted);}
.profile-hint{display:block;margin:0;font:500 12.5px/1.55 var(--font-sans);color:var(--ink-muted);}

.notice-good,.profile .notice-held{margin:0 0 16px;padding:12px 16px;
  border-radius:var(--radius-md);font:600 14px var(--font-sans);}
.notice-good{border:1px solid rgba(31,77,63,.22);background:rgba(31,77,63,.07);color:var(--brand);}

/* Who you are, with your face beside it. */
.profile-who{align-items:center;text-align:center;gap:18px;padding:30px 26px;}
.profile-face{flex:0 0 128px;width:128px;height:128px;border-radius:50%;overflow:hidden;
  display:grid;place-items:center;background:var(--sand);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.10);}
.profile-face img{width:100%;height:100%;object-fit:cover;display:block;}
.profile-letter{font:800 52px var(--font-display);color:var(--brand);}
.profile-id{min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px;}
.profile-id h2,.profile-id p{margin:0;}
.profile-can{font:500 13.5px/1.6 var(--font-sans);color:var(--ink-muted);}
.profile-face-do{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:12px;margin-top:10px;}
.profile-face-do .btn{cursor:pointer;}
.profile-drop{display:inline-flex;align-items:center;gap:7px;cursor:pointer;
  font:600 13px var(--font-sans);color:var(--ink-muted);}
.profile-drop input{width:16px;height:16px;accent-color:var(--accent);}

/* Fields, in the shape the rest of the site uses. */
.profile-grid{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr));}
.profile-field{display:flex;flex-direction:column;gap:7px;
  font:800 12px var(--font-sans);letter-spacing:.02em;color:var(--ink);}
.profile-field input{background:var(--sand);border:1px solid var(--border);
  border-radius:var(--radius-sm);padding:12px 14px;font:500 14.5px var(--font-sans);
  color:var(--ink);outline:none;min-width:0;transition:border-color .15s,box-shadow .15s;}
.profile-field input:focus{border-color:var(--brand);box-shadow:var(--focus-ring);}

.profile-do{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:2px;}

/* What you have done lately — the record the admins read, filtered to you. */
.profile-trail .trail{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;}
.trail li{display:flex;gap:18px;align-items:baseline;padding:12px 0;
  border-top:1px solid var(--border);}
.trail li:first-child{border-top:0;padding-top:0;}
.trail-when{flex:0 0 120px;font:600 12px var(--font-sans);color:var(--ink-muted);
  font-variant-numeric:tabular-nums;}
.trail-what{min-width:0;font:500 14px var(--font-sans);color:var(--ink);}
.trail-what b{font-weight:800;}
.trail-what em{display:block;font-style:normal;font:500 13px/1.5 var(--font-sans);
  color:var(--ink-muted);margin-top:2px;overflow-wrap:anywhere;}

@media (max-width:900px){
  .profile-form{grid-template-columns:minmax(0,1fr);}
  .profile-side{position:static;}
  .profile-who{flex-direction:row;text-align:left;gap:22px;padding:22px 24px;}
  .profile-id{align-items:flex-start;}
  .profile-face-do{justify-content:flex-start;}
}
@media (max-width:680px){
  .profile-grid{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:620px){
  .profile-who{flex-direction:column;align-items:flex-start;gap:18px;}
  .profile-face{flex-basis:92px;width:92px;height:92px;}
  .profile-letter{font-size:36px;}
  .profile-card{padding:20px;}
  .trail li{flex-direction:column;gap:3px;}
  .trail-when{flex-basis:auto;}
  .profile-do .btn{flex:1 1 auto;justify-content:center;}
}

/* ── An operation photograph says whose it is ───────────────────────────────
   A leader's day out is neither a shoot nor a free archive photograph, so it
   does not wear either look. The card is a band of its own on the photo page,
   in the accent rather than the brand green, and it answers the three
   questions an operation photograph always raises: who took it, who it was
   for, and which file it was on. */
.op-card{border:1px solid var(--border);border-left:3px solid var(--accent);
  border-radius:14px;background:var(--surface-card);padding:16px 18px;margin:18px 0;}
.op-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.op-mark{font:800 11px var(--font-sans);letter-spacing:.14em;text-transform:uppercase;
  color:var(--accent);}
.op-logo{max-height:26px;max-width:120px;width:auto;object-fit:contain;}
.op-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:14px 0 0;}
.op-facts div{min-width:0;}
.op-facts dt{font:800 11px var(--font-sans);letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-muted);margin:0 0 3px;}
.op-facts dd{margin:0;font:700 15px var(--font-sans);color:var(--ink);
  overflow-wrap:anywhere;}
.op-facts dd a{color:inherit;text-decoration:underline;text-underline-offset:2px;}
.op-missing{font-weight:600;color:var(--ink-muted);font-style:italic;}
.op-card-all{display:inline-block;margin-top:14px;font:800 14px var(--font-sans);
  color:var(--brand);text-decoration:underline;text-underline-offset:2px;}

/* The same three facts above a grid of them, when a whole operation is open. */
.op-banner{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;
  border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:14px;
  background:var(--surface-card);padding:14px 18px;margin:0 0 20px;}
.op-banner b{font:800 15px var(--font-sans);color:var(--ink);}
.op-banner span{font:600 14px var(--font-sans);color:var(--ink-muted);}
.op-banner .op-logo{margin-left:auto;}

@media (max-width: 560px){
  .op-facts{grid-template-columns:1fr;}
}
