/* VOICE: a hand-made 1990s homepage kept by someone who notices things; plain, warm, a little odd
   IDEA: an old image-map front page and a scrapbook of ordinary sightings
   PICTURE: your photographs in ridged frames, used as doors
   COLOUR and TYPE: black, safety yellow, concrete grey, trail-blaze blue; Times everywhere, default link blues
   LAYOUT: centred cover with three photo doors; inner pages are one narrow column under a colour band */

:root{color-scheme:light;--yellow:#f2c12e;--black:#111;--concrete:#cfccc4;--blaze:#2f8fc9}
*{box-sizing:border-box;min-width:0}
html,body{margin:0}
body{background:#fff;color:#111;font:19px/1.5 "Times New Roman",Times,Georgia,serif;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:#0000ee}
a:visited{color:#551a8b}
a:focus-visible{outline:3px solid var(--blaze);outline-offset:2px}
hr{border:0;border-top:2px groove #bbb;margin:36px 0 10px}
.updated{font-size:15px;font-style:italic;color:#666;margin:0}

/* ---------- writing prompts (these disappear once your words go in) ---------- */
.prompt{overflow:hidden;background:#fffbe6;border:2px dashed #b59a3a;padding:10px 14px;margin:0 0 18px;
  font:16px/1.5 Verdana,Tahoma,"DejaVu Sans",sans-serif;color:#4a3d10}
.prompt p{margin:0}
.prompt .tag{font-weight:700}
.prompt .len{margin-top:4px;font-style:italic;color:#7a6a2a}
.fill{display:inline-block;background:#fffbe6;border:1px dashed #b59a3a;padding:0 7px;
  font:15px/1.6 Verdana,Tahoma,"DejaVu Sans",sans-serif;color:#4a3d10}

/* ---------- crown molding (every page) ---------- */
html{background:#ece6d8}
body{background:#ece6d8;padding:clamp(22px,3.4vw,48px)}
.room{position:relative;max-width:1240px;margin:0 auto;background:#fff;
  box-shadow:0 0 0 3px #fbf8f0,0 0 0 5px #b2a991,0 0 0 9px #f4efe2,0 0 0 11px #c6bda5,0 0 0 15px #fbf7ee,0 0 0 17px #8c836d,0 10px 26px 17px rgba(60,50,30,.22)}
.crown{height:clamp(42px,5vw,58px);border-bottom:3px solid #9b927b;
  background:
    linear-gradient(#fbf8f0 0 5px,#9b927b 5px 7px,#f4efe2 7px 10px,#b2a991 10px 11px,#0000 11px) top/100% 100% no-repeat,
    linear-gradient(90deg,#8f866f 0 4%,#f7f2e6 4% 64%,#8f866f 64% 68%,#cfc6af 68% 96%,#8f866f 96%) 0 13px/24px 13px round no-repeat,
    linear-gradient(#cfc6ae,#fbf8f0 45%,#e2dbc8 75%,#b9b098) bottom/100% calc(100% - 28px) no-repeat,
    #f4efe2}

/* ---------- cover: oriel window on a night wall ---------- */
body.cover{text-align:center}
.night{background:#101010 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Crect width='120' height='60' fill='%23101010'/%3E%3Cg fill='%231d1b1a'%3E%3Crect x='1' y='1' width='58' height='28'/%3E%3Crect x='61' y='1' width='58' height='28' fill='%23211e1c'/%3E%3Crect x='-29' y='31' width='58' height='28' fill='%231a1918'/%3E%3Crect x='31' y='31' width='58' height='28'/%3E%3Crect x='91' y='31' width='58' height='28' fill='%231a1918'/%3E%3C/g%3E%3C/svg%3E");color:#eee;padding-bottom:clamp(30px,6vh,60px)}
.night h1{margin:clamp(26px,5vh,48px) 0 6px;font:400 clamp(34px,6vw,58px)/1.1 "Times New Roman",Times,serif;color:#fff;letter-spacing:.5px}
.night .rule{width:min(420px,70%);height:10px;margin:0 auto clamp(26px,5vh,44px);
  background:repeating-linear-gradient(-45deg,var(--yellow) 0 12px,var(--black) 12px 24px)}
.oriel{width:min(760px,calc(100% - 28px));margin:0 auto}
.roof{height:clamp(44px,8vw,80px);margin:0 4%;clip-path:polygon(9% 0,91% 0,100% 100%,0 100%);
  background:repeating-linear-gradient(90deg,#6c9c8a 0 20px,#4d7465 20px 22px),#6c9c8a;
  box-shadow:inset 0 -14px 18px rgba(0,0,0,.25)}
.cornice{height:clamp(14px,2vw,20px);margin:0 1%;
  background:linear-gradient(#a9c7ba 0 3px,transparent 3px),repeating-linear-gradient(90deg,#86ab9c 0 10px,#3f6457 10px 15px) 0 6px/100% 8px no-repeat,#5f8a7a}
.bay{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:clamp(6px,1.2vw,12px);
  padding:clamp(8px,1.4vw,14px) clamp(8px,1.4vw,14px) 0;margin:0 3%;
  background:linear-gradient(90deg,#cfc8b4,#ece6d6 30%,#ece6d6 70%,#cfc8b4);
  box-shadow:0 0 70px rgba(242,193,46,.22)}
.pane{display:flex;flex-direction:column;text-decoration:none}
.glass{display:block;border:clamp(4px,.8vw,8px) solid #f8f4ea;outline:1px solid #9b927b;background:#f2c12e}
.glass img{width:100%;height:clamp(140px,30vw,330px);object-fit:cover;transition:filter .2s}
.pane.l .glass{clip-path:polygon(0 5%,100% 0,100% 100%,0 95%)}
.pane.r .glass{clip-path:polygon(0 0,100% 5%,100% 95%,0 100%)}
.pane.l img,.pane.r img{filter:brightness(.86)}
.pane:hover img{filter:brightness(1.1)}
.tab{display:inline-block;align-self:center;margin:clamp(8px,1.2vw,12px) 0;padding:1px clamp(6px,1vw,10px);font-size:clamp(14px,2.4vw,24px);color:#111}
.pane.y .tab{background:var(--yellow)}
.pane.b .tab{background:var(--blaze);color:#fff}
.pane.g .tab{background:var(--concrete)}
.pane:focus-visible{outline:3px solid #fff;outline-offset:3px}
.sill{height:clamp(12px,1.8vw,18px);margin:0 1%;background:linear-gradient(#f8f4ea,#c9c1ab);box-shadow:0 6px 10px rgba(0,0,0,.45)}
.corbel{height:clamp(52px,9vw,96px);margin:0 20%;
  background:linear-gradient(#ddd6c3,#9e9681);
  clip-path:polygon(0 0,100% 0,100% 18%,95% 18%,95% 38%,88% 38%,88% 58%,78% 58%,78% 78%,66% 78%,66% 100%,34% 100%,34% 78%,22% 78%,22% 58%,12% 58%,12% 38%,5% 38%,5% 18%,0 18%)}
.night .small{margin-top:clamp(26px,5vh,44px);font-size:17px}
.night .small a,.night .small a:visited{color:#9cc9ee}
.night .updated{color:#999;margin-top:10px}

/* ---------- inner pages ---------- */
.band{background:var(--c);padding:0 0 14px}
.mosaic{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(3,1fr);height:clamp(120px,19vw,200px)}
.band-in,.col{max-width:700px;margin:0 auto}
.band-in{padding:0 16px}
.band h1{display:inline-block;margin:-34px 0 0;position:relative;padding:6px 16px 4px;background:var(--c);
  font:400 clamp(40px,7vw,60px)/1 "Times New Roman",Times,serif;color:var(--ink,#111)}
.band nav{margin-top:8px;font-size:17px;color:var(--ink,#111)}
.band nav a{color:var(--ink,#111)}
.band nav a[aria-current]{text-decoration:none;font-weight:700}
.col{padding:28px 16px 40px}
.col::after{content:"";display:block;clear:both}
.framed{border:7px ridge #b9b6ae}
.left{float:left;width:260px;margin:4px 22px 12px 0}
.wide{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:50% 62%;margin-bottom:26px}

/* reading list */
.books{margin:0 0 18px;padding-left:1.3em;list-style:square}
.books li{margin:0 0 12px}
.books li::marker{color:var(--blaze)}
.books .note{display:block;margin-top:4px}

/* noticing */
.seen{columns:2;column-gap:26px;margin-top:34px}
.seen figure{margin:0 0 26px;break-inside:avoid}
.seen img{width:100%}
blockquote{margin:22px 0 22px 0;padding:4px 0 4px 20px;border-left:6px solid var(--yellow)}

/* contact */
table.card{border-collapse:separate;border-spacing:4px;border:4px ridge #b9b6ae;width:100%;font-size:18px}
.card th{background:var(--concrete);text-align:left;vertical-align:top;padding:8px 12px;font-weight:700;width:9em}
.card tr:nth-child(1) th{background:var(--yellow)}
.card tr:nth-child(2) th{background:var(--concrete)}
.card tr:nth-child(3) th{background:var(--blaze);color:#fff}
.card td{background:#f6f5f1;padding:8px 12px;vertical-align:top}
.card td .fill{margin:0 0 4px}

@media (max-width:600px){
  body{font-size:18px;padding:20px 20px 28px}
  .left{float:none;width:100%;max-width:340px;margin:0 0 18px}
  .seen{columns:1}
  .card th{width:auto}
  .card tr{display:grid}
}
@media (prefers-reduced-motion:reduce){.glass img{transition:none}}

/* writing section */
h2.sub{font:400 34px/1.1 "Times New Roman",Times,serif;margin:44px 0 14px;padding-bottom:6px;border-bottom:3px solid var(--blaze);display:inline-block}
.work p{margin:0 0 12px}
.work .wtitle{font-weight:700}
.work .avail{font-style:italic;color:#555}
.books.more{margin-top:26px}

/* ---------- per-page rooms ---------- */
body{min-height:100vh}

/* noticing: a barn */
html:has(body.t-barn){background:#cdbfa6}
body.t-barn{background:repeating-linear-gradient(90deg,#d3c6ae 0 46px,#bcae94 46px 48px,#cdbfa6 48px 94px,#b8a98e 94px 96px)}
.t-barn .room{box-shadow:0 0 0 4px #f3efe4,0 0 0 14px #922f21,0 0 0 18px #f3efe4,0 0 0 21px #4f170f,0 12px 28px 21px rgba(60,30,15,.28)}
.t-barn .crown{height:clamp(46px,6vw,64px);border-bottom:4px solid #4f170f;
  background:
    linear-gradient(#f3efe4,#f3efe4) top/100% 7px no-repeat,
    linear-gradient(90deg,#0000 0 37%,#4a3526 37% 63%,#0000 63%) 0 7px/64px 18px round no-repeat,
    linear-gradient(#0000,rgba(0,0,0,.28)) 0 7px/100% 18px no-repeat,
    linear-gradient(#f3efe4,#f3efe4) bottom/100% 6px no-repeat,
    linear-gradient(90deg,#9c3526 0 44%,#6f2116 44% 56%,#9c3526 56%) 0 0/34px 100% round,
    #9c3526}

/* greetings: approachable */
html:has(body.t-warm){background:#f8f0d8}
body.t-warm{background:#f8f0d8}
.t-warm .room{border-radius:16px;overflow:hidden;box-shadow:0 0 0 5px #fffaf0,0 0 0 11px #f2c12e,0 0 0 15px #fffaf0,0 10px 30px 15px rgba(150,110,20,.18)}
.t-warm .crown{height:clamp(40px,5vw,54px);border:0;
  background:
    radial-gradient(farthest-side at 50% 0,#f2c12e 0 82%,#0000 88%) 0 100%/26px 12px round no-repeat,
    linear-gradient(#fffaf0 0 6px,#f6dc86 6px 8px,#fffaf0 8px 40%,#fbedc0)}

/* reading and writing: a study */
html:has(body.t-study){background:#24392d}
body.t-study{background:repeating-linear-gradient(90deg,#24392d 0 24px,#2b4436 24px 48px)}
.t-study .room{box-shadow:0 0 0 3px #b08d47,0 0 0 10px #4a2e1c,0 0 0 12px #24160d,0 0 0 17px #6a4329,0 0 0 19px #b08d47,0 0 0 22px #1c110a,0 14px 34px 22px rgba(0,0,0,.45)}
.t-study .crown{height:clamp(48px,6.4vw,68px);border-bottom:3px solid #b08d47;
  background:
    linear-gradient(#b08d47 0 2px,#3a2416 2px 8px,#b08d47 8px 9px,#0000 9px) top/100% 100% no-repeat,
    linear-gradient(90deg,#1c110a 0 18%,#7a4e2f 18% 82%,#1c110a 82%) 0 13px/22px 13px round no-repeat,
    radial-gradient(farthest-side,#d1ab5f 0 78%,#0000 86%) 0 calc(100% - 3px)/18px 14px round no-repeat,
    linear-gradient(#2b1a10,#6b4429 45%,#3a2416)}

/* smaller bookstore photo, tucked beside the reading list */
.right{float:right;width:220px;margin:4px 0 14px 24px}
h2.sub{clear:both}
@media (max-width:600px){.right{width:42%;margin:4px 0 10px 16px}}

@media (max-width:600px){
  body{padding:28px 26px 34px}
  .room{box-shadow:0 0 0 2px #fbf8f0,0 0 0 4px #b2a991,0 0 0 7px #f4efe2,0 0 0 9px #c6bda5,0 0 0 12px #fbf7ee,0 0 0 14px #8c836d,0 8px 18px 14px rgba(60,50,30,.2)}
  .t-barn .room{box-shadow:0 0 0 3px #f3efe4,0 0 0 11px #922f21,0 0 0 14px #f3efe4,0 0 0 16px #4f170f,0 8px 18px 16px rgba(60,30,15,.25)}
  .t-warm .room{box-shadow:0 0 0 4px #fffaf0,0 0 0 9px #f2c12e,0 0 0 12px #fffaf0,0 8px 20px 12px rgba(150,110,20,.16)}
  .t-study .room{box-shadow:0 0 0 2px #b08d47,0 0 0 8px #4a2e1c,0 0 0 10px #24160d,0 0 0 14px #6a4329,0 0 0 16px #b08d47,0 0 0 18px #1c110a,0 8px 20px 18px rgba(0,0,0,.4)}
}

/* ---------- drawn oriel ---------- */
.oriel{position:relative;width:min(640px,calc(100% - 16px));margin:0 auto}
.oriel-art{display:block;width:100%;height:auto;overflow:visible}
.oriel-art a image{transition:filter .2s}
.oriel-art a:hover image{filter:brightness(1.14)}
.plaque{position:absolute;top:69.5%;transform:translate(-50%,-50%);padding:1px clamp(5px,1vw,10px);
  font:clamp(12px,2.3vw,22px)/1.2 "Times New Roman",Times,serif;text-decoration:none;white-space:nowrap;
  border:1px solid #241d17;box-shadow:2px 2px 0 rgba(36,29,23,.35)}
.plaque.y,.plaque.y:visited{background:var(--yellow);color:#111}
.plaque.b,.plaque.b:visited{background:var(--blaze);color:#fff}
.plaque.g,.plaque.g:visited{background:var(--concrete);color:#111}
.plaque:hover{filter:brightness(1.08)}
.plaque:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.oriel-art a image{transition:none}}
.oriel-art .door image{transition:filter .2s}
.oriel-art .door:hover image{filter:brightness(1.14)}
.oriel-art .door:hover .sign{filter:brightness(1.08)}
.oriel-art .door:focus-visible{outline:none}
.oriel-art .door:focus-visible .sign{stroke:#fff;stroke-width:3}
