/* =========================================================
   STYLE FILE — this controls how every page LOOKS.
   You usually only need to touch the "COLORS" section below.
   ========================================================= */

/* ---------- COLORS & FONTS (safe to change) ---------- */
:root {
  --background: #121212;   /* page background (the "gallery wall") */
  --panel:      #1b1b1b;   /* slightly lighter boxes */
  --text:       #ebe6dd;   /* main text color */
  --muted:      #9a958c;   /* softer grey text */
  --accent:     #e0a96d;   /* highlight color for links & hovers */
  --line:       #2c2c2c;   /* thin divider lines */

  --font-title: "Uncial Antiqua", Georgia, serif;
  --font-body:  "Poppins", Helvetica, Arial, sans-serif;
}

/* ---------- Basics (no need to touch) ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header / menu ---------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: .02em;
}

.site-header nav { display: flex; gap: 28px; }

.site-header nav a {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.site-header nav a:hover,
.site-header nav a.current { color: var(--text); border-bottom-color: var(--accent); }

/* ---------- Home page: slanted art bands ---------- */
:root {
  --slant: 0deg;       /* tilt of the art band edges. 0deg = straight. Try -3deg for slanted */
  --slant-undo: 0deg;  /* always the same number as above, without the minus */
  --corner: 0px;       /* roundness of the band corners. 0px = square, try 90px */
}

.band-wrap { overflow: hidden; position: relative; }

.band {
  position: relative;
  overflow: hidden;
  transform: skewY(var(--slant));
  background: #000;
}

/* the artwork inside a band (moves slowly while you scroll) */
.band-art {
  position: absolute;
  left: 0;
  top: -20%;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center;   /* which part of the art stays visible: try "top" or "bottom" */
  transform: skewY(var(--slant-undo));
  will-change: transform;
}

/* a soft dark layer over the art so text stays readable */
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);  /* 0 = no darkening, .6 = very dark */
  pointer-events: none;
}

/* Top band: flat top, slanted rounded bottom */
.band-top .band {
  height: calc(82vh + 8vw);
  margin-top: -8vw;
  border-radius: 0 0 var(--corner) var(--corner);
}

.band-content {
  position: absolute;
  inset: 8vw 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 0 16px;
  transform: skewY(var(--slant-undo));
}
.band-content h1 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.pill {
  font-family: var(--font-title);
  background: rgba(18,18,18,.8);
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 400;
}
.pill:hover { background: var(--accent); color: var(--background); }
.small-link { font-size: .8rem; color: rgba(255,255,255,.8); text-shadow: 0 1px 8px rgba(0,0,0,.8); }

/* Bottom band: slanted rounded top, flat bottom */
.band-bottom .band {
  height: calc(65vh + 8vw);
  margin-bottom: -8vw;
  border-radius: var(--corner) var(--corner) 0 0;
}
.band-top .band::after { background: rgba(0,0,0,0); }   /* darkening on the top art: 0 = none */
.band-bottom .band::after { background: rgba(0,0,0,.45); }

/* Intro section between the bands */
.home main.intro-bar { max-width: none; padding: 0; }

.intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 24px 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-text p { color: var(--muted); max-width: 48ch; }
.intro-text .buttons { justify-content: flex-start; }

.intro-pics { position: relative; aspect-ratio: 1 / .9; }
.blob {
  position: absolute;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;       /* perfect circles */
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.blob-1 { width: 60%; left: 0; top: 0; }
.blob-2 { width: 48%; right: 0; bottom: 0; }

.footer-name {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: .02em;
}

.tagline {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .8rem;
  margin: 0 0 28px;
}

.buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.button {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid var(--text);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  transition: all .2s;
}
.button:hover { background: var(--text); color: var(--background); }
.button.ghost { border-color: var(--line); color: var(--muted); }
.button.ghost:hover { border-color: var(--accent); background: transparent; color: var(--accent); }

/* ---------- Page titles ---------- */
.page-title { text-align: center; padding: 40px 0 44px; }
.page-title h1 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0;
}
.page-title p { color: var(--muted); margin: 6px 0 0; }

/* ---------- Gallery (masonry) ---------- */
.gallery {
  columns: 3 280px;   /* 3 columns on big screens, fewer on phones */
  column-gap: 18px;
  padding-bottom: 80px;
}

.gallery figure {
  margin: 0 0 18px;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--panel);
}

.gallery img {
  width: 100%;
  height: auto;
  transition: transform .5s ease, opacity .3s;
}

.gallery figure:hover img { transform: scale(1.03); opacity: .85; }

.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  font-size: .85rem;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  opacity: 0;
  transition: opacity .3s;
}
.gallery figure:hover figcaption { opacity: 1; }

/* ---------- Big image viewer (lightbox) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,.96);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 100;
  padding: 40px 70px;
}
.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

.lightbox-caption { margin-top: 16px; color: var(--muted); text-align: center; font-size: .9rem; }

.lightbox .print-link {
  margin-top: 14px;
  display: none;
  padding: 10px 24px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.lightbox .print-link.show { display: inline-block; }
.lightbox .print-link:hover { background: var(--accent); color: var(--background); }

/* little "print available" tag on gallery thumbnails */
.gallery figure[data-print]:not([data-print=""])::after {
  content: "print available";
  position: absolute;
  top: 10px; right: 10px;
  padding: 3px 9px;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(0,0,0,.6);
  color: var(--accent);
  opacity: 0;
  transition: opacity .3s;
}
.gallery figure[data-print]:not([data-print=""]):hover::after { opacity: 1; }

.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 10px 16px;
  opacity: .6;
  font-family: var(--font-body);
  font-weight: 300;
}
.lightbox button:hover { opacity: 1; color: var(--accent); }
.lightbox .close { top: 14px; right: 18px; }
.lightbox .prev  { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .next  { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact page ---------- */
.contact {
  max-width: 620px;
  margin: 0 auto;
  padding-bottom: 80px;
  text-align: center;
}
.contact .email {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.3rem, 3.6vw, 1.9rem);
  margin: 10px 0 36px;
  border-bottom: 1px solid var(--accent);
  word-break: break-word;
}
.contact ul {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.contact ul a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--line);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.contact ul a:hover { border-color: var(--accent); }
.contact .note {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px 28px;
  color: var(--muted);
  text-align: left;
}
.contact .note h2 {
  font-family: var(--font-title);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 6px;
  font-size: 1.4rem;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 28px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .06em;
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .site-header { justify-content: center; padding: 22px 16px; }
  .site-header nav { gap: 20px; }
  main { padding: 0 16px; }
  
  .band-top .band { height: calc(70vh + 8vw); }
  .band-bottom .band { height: calc(45vh + 8vw); }
  .intro { grid-template-columns: 1fr; gap: 40px; padding: 56px 16px 72px; text-align: center; }
  .intro-text p { margin-left: auto; margin-right: auto; }
  .intro-text .buttons { justify-content: center; }
  .intro-pics { width: 100%; max-width: 420px; margin: 0 auto; }
  .gallery figure[data-print]:not([data-print=""])::after { opacity: 1; }
  .gallery { column-gap: 12px; }
  .gallery figure { margin-bottom: 12px; }
  .gallery figcaption { opacity: 1; }
  .lightbox { padding: 50px 10px; }
  .lightbox .prev, .lightbox .next { top: auto; bottom: 10px; transform: none; }
}

/* ---------- Major buttons in the title font ---------- */
.button,
.pill,
.lightbox .print-link {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: none;
  letter-spacing: .04em;
  font-size: 1rem;
}
.lightbox .print-link { font-size: 1.05rem; padding: 10px 26px; }

/* commissions status line on the home page */
.intro-text .status { color: var(--text); font-style: italic; }
.intro-text .status a,
.contact .note a:not(.button) { color: var(--accent); border-bottom: 1px solid currentColor; }

.contact .note-button { margin-top: 18px; }
