@font-face{
  font-family: "Manuskript Gotisch";
  src: url("assets/fonts/ManuskriptGotisch.ttf") format("truetype");
  font-display: swap;
}
@font-face{
  font-family: "Goudy Medieval";
  src: url("assets/fonts/GoudyMedieval.ttf") format("truetype");
  font-display: swap;
}

/* Dark theme, matching the homepage — was a light "paper" theme, flipped so
   leaving the homepage doesn't feel like landing on a different site.
   --cream now serves as the light foreground colour (was the light
   background); --ink is the dark tone (was the dark foreground text) and is
   reused as both the page background and the always-dark tile placeholder
   in gallery.css. --paper/--ink-soft/--line keep their original roles
   (panel background / muted text / hairline) — only their actual colours
   flip to work against a dark page instead of a light one. */
:root{
  --cream: #F2EEE5;
  --paper: #1D1A22;
  --ink: #14131A;
  --ink-soft: rgba(242,238,229,0.6);
  --gold: #E7B24C;
  --movie-yellow: #F5CB3C; /* same accent yellow as the homepage cursor/CTA — kept identical across pages */
  --line: rgba(244,241,234,0.14);
  --gothic: "Manuskript Gotisch", "Goudy Medieval", "Fraunces", Georgia, serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --body: Georgia, "Iowan Old Style", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; font-size: 18px; } /* bumps every rem-based size on these pages uniformly */

/* real, separate pages now — plain document flow, footer pinned to the bottom via flex */
body{
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.11rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
main{ flex: 1; display: flex; flex-direction: column; min-height: 0; }

/* contact's content is the one page that still centers vertically on tall screens */
.contact-main{ justify-content: center; }

h1,h2,h3{ font-family: var(--serif); font-weight: 500; margin: 0; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

/* ---------------- custom cursor (desktop, fine-pointer only) ----------------
   Same shape and colour as the homepage now, so the cursor doesn't shift hue
   the moment you leave the landing page. */
.cursor-dot{
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  color: var(--movie-yellow);
  filter: drop-shadow(0 0 4px rgba(245, 203, 60, 0.35));
  transition: opacity 0.25s ease;
}
.cursor-arrow{
  display: block;
  transform-origin: 3px 3px; /* the tip — matches the path's starting point */
  transition: transform 0.2s ease;
}
.cursor-dot.hover .cursor-arrow{ transform: scale(1.12); }

/* Hidden via a pure-CSS media query (not a JS-added class) so it's in effect
   from the very first paint — including right after navigating in from
   another page, before any script has run. The old JS-driven class left a
   gap right after a click/navigation where the native arrow could flash
   back over the custom cursor. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference){
  *{ cursor: none !important; }
}

/* ---------------- header: plain text bar, no box, no button ---------------- */
.bar{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.6rem 6vw;
  font-family: var(--mono);
  font-size: 0.86rem;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.bar-name{ letter-spacing: 0.01em; }
.bar-name-mark{
  font-family: var(--gothic);
  font-size: 1.35em;
  color: var(--gold);
  letter-spacing: 0;
}
.bar-nav{ display: flex; gap: 0.6rem; }
.bar-nav a:hover{ color: var(--movie-yellow); }
.bar-nav a.current{ color: var(--movie-yellow); }
.bar-nav span{ color: var(--line); }

/* faint carryover from the fun landing page — small, static, no animation */
.bar-wizard{ color: var(--gold); margin-right: 0.4rem; font-size: 0.9em; }

/* ---------------- gallery (grid + modal proper live in gallery.css) ---------------- */
.gallery{
  padding: 4vh 6vw 6vh;
}
/* small mono, uppercase, gold label — the same eyebrow treatment as the
   homepage, repeated here so each page opens with the same quiet gesture. */
.index-label{
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 1.2rem;
}
.about-eyebrow{ grid-column: 1 / -1; }

/* ---------------- about ---------------- */
.about{
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 9vh 6vw;
  background:
    linear-gradient(rgba(20,19,26,0.93), rgba(20,19,26,0.93)),
    url("assets/garden-bg.jpg") center 30% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.about-num{ font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.6rem; }
.about p{ max-width: 56ch; font-size: 1.05rem; }
.about-note{ color: var(--ink-soft); font-size: 0.92rem; }

/* ---------------- contact ---------------- */
.contact{ padding: 13vh 6vw 11vh; }
.contact h2{ font-size: clamp(1.9rem, 4.6vw, 3rem); margin-bottom: 1.6rem; max-width: 14ch; }
.contact-email{
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  border-bottom: 1px solid var(--cream);
}
.contact-email:hover{ color: var(--movie-yellow); border-color: var(--movie-yellow); }
.contact-links{ font-family: var(--mono); font-size: 0.85rem; color: var(--ink-soft); margin-top: 2rem; }
.contact-links a:hover{ color: var(--movie-yellow); }

/* ---------------- footer ---------------- */
.foot{
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  justify-content: space-between;
  padding: 2rem 6vw 3rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  flex: none;
  background:
    linear-gradient(rgba(20,19,26,0.94), rgba(20,19,26,0.94)),
    url("assets/garden-bg.jpg") center 70% / cover no-repeat;
}
.foot-home:hover{ color: var(--movie-yellow); }

/* ---------------- responsive ---------------- */
@media (max-width: 780px){
  .about{ grid-template-columns: 1fr; }
  .bar{ padding: 1.2rem 5vw; font-size: 0.78rem; }
}
