/* Prescott Girls – clean, traditional, responsive.
   Font: prefers Caslon where available; falls back gracefully.
*/
:root{
  --bg: #fbf7ef;
  --paper: #fffdf8;
  --ink: #1f1e1c;
  --muted: #5a554f;
  --rule: #e7dfd1;
  --accent: #8a6a3a;
  --accent2:#2f4b4b;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
  --radius: 16px;
  --max: 1040px;
}

@media (prefers-color-scheme: dark){
  :root{
    --bg:#0f1011;
    --paper:#161719;
    --ink:#f1efe9;
    --muted:#c7c2b8;
    --rule:#2a2c2f;
    --accent:#d6b27a;
    --accent2:#9fc2c2;
    --shadow: 0 10px 28px rgba(0,0,0,.35);
  }
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(1200px 700px at 20% 0%, rgba(138,106,58,.10), transparent 60%),
              radial-gradient(1000px 700px at 90% 10%, rgba(47,75,75,.10), transparent 60%),
              var(--bg);
  color:var(--ink);
  font-family: "Adobe Caslon Pro","Big Caslon","Caslon","Libre Caslon Text","Libre Caslon Display","Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  line-height:1.55;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{color:var(--accent2); text-decoration-thickness: .08em; text-underline-offset: .18em;}
a:hover{color:var(--accent);}

.container{max-width:var(--max); margin:0 auto; padding:0 20px;}
.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:12px; top:12px; width:auto; height:auto; padding:10px 12px;
  background:var(--paper); border:1px solid var(--rule); border-radius:12px; box-shadow:var(--shadow);
  z-index:9999;
}

header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(150%) blur(10px);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom:1px solid var(--rule);
}
.brandbar{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0;}
.brand{
  display:flex; align-items:baseline; gap:12px; text-decoration:none;
}
.brand .mark{
  width:28px; height:28px; border-radius:8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 85%, transparent), color-mix(in srgb, var(--accent2) 85%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper) 25%, transparent);
}
.brand .title{font-size:20px; font-weight:600; letter-spacing:.2px; color:var(--ink);}
.brand .subtitle{font-size:14px; color:var(--muted); display:none;}
@media(min-width:820px){ .brand .subtitle{display:inline;} }

nav{
  display:flex;
  gap:14px;
  flex-wrap:nowrap;
  justify-content:flex-end;
}

nav a{
  padding:8px 10px;
  border-radius:12px;
  text-decoration:none;
  color:var(--ink);
  border:1px solid transparent;
}

nav a[aria-current="page"]{
  border-color:var(--rule);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
}

nav a:hover{
  border-color:var(--rule);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
}

/* iPhone / small screens */

@media (max-width: 640px){

  nav{
    flex-wrap:wrap;
    justify-content:flex-start;
  }

}

main{padding:34px 0 54px;}


.credits{
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  max-width: 60ch;
  margin: 0 auto;
}



/* Full-image hero variant for making-of page */

.hero.hero-image{
  position: relative;
  min-height: 88vh;
  border: 0;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
  background-color: #000;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,.38)),
    url("../assets/images2/Toys with Girls.jpg");
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
}

.hero.hero-image .inner{
  display: block;
  width: 100%;
  padding: 34px 26px;
}

.hero.hero-image .inner > div{
  max-width: 520px;
}

.hero.hero-image{
  justify-content: flex-start;
}

.hero.hero-image .kicker,
.hero.hero-image h1,
.hero.hero-image .lede{
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.hero.hero-image .lede{
  max-width: 42rem;
  color: rgba(255,255,255,.92);
}

.hero.hero-image .sublede{
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,.95);
}

@media(min-width:880px){
  .hero.hero-image .inner{
    padding: 48px 34px;
  }
}

.hero.hero-image h1{
  margin: 6px 0 14px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero.hero-image .lede{
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  max-width: 56ch;
}

.hero.hero-image .kicker{
  font-size: 14px;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

@media (max-width: 640px){
  .hero.hero-image{
    min-height: 72vh;
    background-position: center top;
  }

  .hero.hero-image .inner{
    padding: 24px 20px;
  }
}


.full-bleed{
  position: relative;
  margin: 40px 0;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.full-bleed img{
  width: 100%;
  height: auto;
  display: block;
}

.full-bleed .overlay{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  color: #fff;
}

.full-bleed .overlay p{
  margin: 0;
  max-width: 48ch;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.35;
}




.hero{
  background: var(--paper);
  border:1px solid var(--rule);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero .inner{
  display:grid; gap:18px;
  padding:26px;
}
@media(min-width:880px){
  .hero .inner{grid-template-columns: 1.15fr .85fr; align-items:center; gap:28px; padding:34px;}
}
.kicker{
  color:var(--accent);
  font-variant: small-caps;
  letter-spacing:.08em;
  font-size:14px;
}
h1{margin:6px 0 8px; font-size: clamp(32px, 4vw, 46px); line-height:1.1;}
.lede{margin:0; color:var(--muted); font-size:18px; max-width:60ch;}
.cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px;}
.button{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  color:var(--ink);
  text-decoration:none;
}

h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-size: 1.1em;
  letter-spacing: 0.03em;
  font-weight: 600;
}


.button.primary{
  border-color: color-mix(in srgb, var(--accent) 35%, var(--rule));
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, var(--paper)), var(--paper));
}
.button:hover{transform:translateY(-1px)}
.mini{font-size:14px; color:var(--muted); margin-top:10px;}

.cover{
  border-radius: 18px;
  border:1px solid var(--rule);
  background: linear-gradient(180deg, rgba(0,0,0,.06), transparent 30%), var(--bg);
  overflow:hidden;
}
.cover img{width:100%; height:auto; display:block;}
.cover .cap{padding:12px 14px; color:var(--muted); font-size:14px; border-top:1px solid var(--rule); background: color-mix(in srgb, var(--paper) 88%, transparent);}

.section{margin-top:26px;}
.section h2{font-size:28px; margin:0 0 10px;}
.section p{margin:0 0 12px; max-width:72ch;}
.rule{height:1px; background:var(--rule); margin:22px 0;}

.grid{
  display:grid;
  gap:14px;
  grid-template-columns: 1fr;
}
@media(min-width:720px){ .grid{grid-template-columns: repeat(3, 1fr);} }

.card{
  background: var(--paper);
  border:1px solid var(--rule);
  border-radius: var(--radius);
  padding:16px 16px 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}


.card h3{
  margin: 1.25em 0 0.45em;
  font-size: 1.6rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.card h3:first-child{
  margin-top: 0;
}

.card p{margin:0; color:var(--muted); font-size:15px;}

.card.wide{
  grid-column: span 3;
}

.two{
  display:grid; gap:18px;
  grid-template-columns: 1fr;
}
@media(min-width:900px){ .two{grid-template-columns: 1fr 1fr;} }

.figure{
  background:var(--paper);
  border:1px solid var(--rule);
  border-radius: var(--radius);
  overflow:hidden;
}
.figure img{width:100%; height:auto; display:block;}
.figure .figcap{padding:12px 14px; color:var(--muted); font-size:14px; border-top:1px solid var(--rule);}

.gallery{
  display:grid; gap:12px;
  grid-template-columns: repeat(2, 1fr);
}
@media(min-width:800px){ .gallery{grid-template-columns: repeat(3, 1fr);} }
.gallery a{display:block; border-radius:14px; overflow:hidden; border:1px solid var(--rule); background:var(--paper);}
.gallery img{width:100%; height:auto; display:block;}

.table{
  width:100%;
  border-collapse: collapse;
  border:1px solid var(--rule);
  border-radius: var(--radius);
  overflow:hidden;
  background:var(--paper);
}
.table th,.table td{
  padding:12px 12px;
  border-bottom:1px solid var(--rule);
  text-align:left;
  vertical-align:top;
}
.table th{font-weight:600; background: color-mix(in srgb, var(--paper) 88%, transparent);}
.table tr:last-child td{border-bottom:none;}
.badge{
  display:inline-block; padding:3px 9px; border-radius:999px;
  border:1px solid var(--rule);
  font-size:13px; color:var(--muted);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
}

footer{
  border-top:1px solid var(--rule);
  padding:22px 0;
  color:var(--muted);
  font-size:14px;
}
.footergrid{display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; align-items:center;}
.smalllinks{display:flex; gap:12px; flex-wrap:wrap;}
.smalllinks a{color:var(--muted);}
.smalllinks a:hover{color:var(--ink);}

.note{
  padding:14px 16px;
  border:1px dashed color-mix(in srgb, var(--accent) 40%, var(--rule));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  color:var(--muted);
}

/* downloads section styling */

.download-item p {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.2rem;
  margin: 0.35rem 0;
}

.download-item strong {
  font-weight: 600;
  font-size: 1.25rem;
}

.download-item a {
  margin-left: 20px;
  text-decoration: underline;
  white-space: nowrap;
}

.download-item .subtext {
  display: block;
  margin: 0.15rem 0 1rem 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 68ch;
}

.download-item .subtext strong {
  font-size: inherit;
  font-weight: 600;
}

.download-item.featured {
  margin-bottom: 0.75em;   /* tighten */
}

hr {
  margin-top: 0.75em;
  margin-bottom: 1em;
}




.imprint h2,
.imprint p {
  text-align: center;
}

.imprint p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
