/* --------------------------
   Traditional Theme (White + Gold + Serif)
--------------------------- */
:root{
  /* Palette */
  --paper: #f9f6eb;       /* warm white */
  --ink: #141414;         /* near-black */
  --muted: #5e5a54;       /* warm gray */
  --gold: #b08a2e;        /* muted gold */
  --gold-2: #d2b463;      /* lighter gold for hovers */
  --line: rgba(20,20,20,.12);

  /* Surfaces + shadows */
  --surface: #ffffff;
  --surface-2: #f6f3ec;
  --shadow: 0 18px 55px rgba(20,20,20,.10);

  --radius: 4px;
  --radius-sm: 12px;

  --container: 1100px;
  --pad: 24px;

  /* Fonts */
  --serif: "EB Garamond", Garamond, "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Vesper Libre", "EB Garamond", Georgia, serif;

  --tracking: 0.2px;
}

:root{
  --hero-bg: #1c1c1c;          /* dark grey */
  --hero-text: #f5f3ee;        /* warm off-white */
  --hero-gold: #c9a24d;        /* rich gold */
  --hero-muted: rgba(245,243,238,.75);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  background: radial-gradient(900px 520px at 20% 0%, #ffffff 0%, var(--paper) 55%) fixed;
  color: var(--ink);
  line-height: 1.6;
  font-family: var(--sans);
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
p{ margin: 0 0 14px; }
ul{ margin: 0; padding-left: 18px; }

.container{
  width: min(var(--container), 100% - (var(--pad) * 2));
  margin-inline: auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
}
.skip-link:focus{ left: 16px; top: 16px; z-index: 9999; }

.section{ padding: 72px 0; }
.section-muted{
  background: linear-gradient(180deg, transparent, rgba(176,138,46,.06), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.section-title{
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: var(--tracking);
}
.section-title::after{
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: .9;
}
.lead{
  color: var(--muted);
  font-size: 1.05rem;
}

/* Gold section divider */
.section::after{
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  margin: 64px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    transparent
  );
  opacity: .6;
  width: 1200px;
}

/* --------------------------
   Header + Nav (gallery-like)
--------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(27, 27, 27);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(176,138,46,.18);
}

.site-header .nav-link{
  color: rgba(245,243,238,.78);
}

.site-header .nav-link:hover{
  color: var(--hero-gold);
  background: rgba(201,162,77,.10);
  border-color: rgba(201,162,77,.35);
}

.site-header .nav-link[aria-current="page"]{
  color: var(--hero-gold);
  background: rgba(201,162,77,.12);
  border-color: rgba(201,162,77,.45);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 10px;
}

@media (max-width: 560px){
  .header-inner{
    justify-content: center;
  }
  .site-nav{
    display: none; /* optional if you want ultra-minimal */
  }
}

.brand{
  display: inline-flex;
  align-items: center;
}

/* Monogram-only variant */
.brand--solo .brand-mark{
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;

  background: #1c1c1c;
  border: 1.5px solid rgba(176,138,46,.55);

  box-shadow:
    0 10px 26px rgba(20,20,20,.10),
    inset 0 0 0 1px rgba(69, 69, 69, 0.85);
}

.brand--solo .brand-mark img{
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand--solo:hover .brand-mark{
  border-color: rgba(176,138,46,.9);
  box-shadow:
    0 14px 34px rgba(176,138,46,.18),
    inset 0 0 0 1px rgba(255,255,255,.9);
}

.brand--solo:focus-visible{
  outline: none;
}
.brand--solo:focus-visible .brand-mark{
  box-shadow:
    0 0 0 4px rgba(176,138,46,.25),
    0 14px 34px rgba(176,138,46,.18);
}

.brand-mark{
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;

  /* very light frame, not a badge */
  border: 1px solid rgba(176,138,46,.45);
  background: #ffffff;

  box-shadow: 0 6px 16px rgba(20,20,20,.06);
}

.brand:hover .brand-mark{
  border-color: rgba(176,138,46,.8);
  box-shadow: 0 8px 22px rgba(176,138,46,.18);
}

.brand-mark img{
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-text{
  font-family: var(--serif);
  font-weight: 650;
}

.brand{
  gap: 12px;
}

.brand-text{
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .3px;
}

.site-nav{
  display: flex;
  gap: 10px;
}
.nav-link{
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav-link:hover{
  border-color: rgba(176,138,46,.35);
  color: var(--ink);
  background: rgba(176,138,46,.06);
}
.nav-link[aria-current="page"]{
  border-color: rgba(176,138,46,.55);
  color: var(--ink);
  background: rgba(176,138,46,.08);
}

/* --------------------------
   Buttons / Pills (subtle)
--------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(176,138,46,.55);
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
  letter-spacing: .2px;
  box-shadow: 0 10px 28px rgba(20,20,20,.06);
}
.btn:hover{
  border-color: rgba(176,138,46,.75);
  background: rgba(176,138,46,.06);
}
.btn:active{ transform: translateY(1px); }

.btn-ghost{
  background: transparent;
  box-shadow: none;
  border-color: rgba(20,20,20,.18);
}
.btn-ghost:hover{
  border-color: rgba(176,138,46,.55);
  background: rgba(176,138,46,.06);
}

.filters{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.pill{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(20,20,20,.14);
  background: rgba(255,255,255,.75);
  color: var(--muted);
  font-size: 14px;
}
.pill:hover{
  border-color: rgba(176,138,46,.55);
  color: var(--ink);
}

.hero .btn{
  background: transparent;
  border-color: var(--hero-gold);
  color: var(--hero-gold);
}

.hero .btn:hover{
  background: rgba(201,162,77,.12);
  border-color: #e0c27a;
}

.hero .btn-ghost{
  border-color: rgba(245,243,238,.35);
  color: var(--hero-text);
}

.hero .btn-ghost:hover{
  border-color: var(--hero-gold);
  color: var(--hero-gold);
}

/* --------------------------
   Hero (centered title page)
--------------------------- */
.hero{
  background: linear-gradient(180deg, #202020 0%, var(--hero-bg) 100%);
  padding: 96px 0 84px;
}

.hero-inner{
  display: flex;
  justify-content: center;
}

.hero-copy{
  max-width: 64ch;
  text-align: center;
}

/* Monogram */
.hero-monogram{
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 26px;
}

/* Gold + readable hero type */
.hero-title{
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--hero-gold);

  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.05;
}

.hero-subtitle{
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: rgba(245,243,238,.85);

  font-size: 1.25rem;   /* ~20px */
  line-height: 1.6;
}

/* Buttons centered */
.hero-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* Divider (put it on the content block, not the hero container) */
.hero-copy::after{
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  margin: 42px auto 0;
  background: linear-gradient(90deg, transparent, var(--hero-gold), transparent);
  opacity: .75;
}

/* Mobile */
@media (max-width: 560px){
  .hero{
    padding: 74px 0 64px;
  }
  .hero-monogram{
    width: 110px;
    margin-bottom: 18px;
  }
    .hero-title{
    font-size: clamp(34px, 9vw, 46px);
  }
  .hero-subtitle{
    font-size: 1.1rem;
  }
}

.hero::after{
  content: none;
}

/* --------------------------
   Gallery Cards (museum labels)
--------------------------- */
.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.card{
  grid-column: span 4;
  border-radius: var(--radius);
  border: 1px solid rgba(20,20,20,.13);
  background: var(--surface);
  overflow: clip;
  box-shadow: 0 10px 30px rgba(20,20,20,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 45px rgba(20,20,20,.12);
}

.card-media{
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}
.card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body{
  padding: 14px 14px 16px;
  border-top: 1px solid rgba(20,20,20,.10);
}
.card-title{
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.04rem;
  letter-spacing: .2px;
}
.card-meta{
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}

/* --------------------------
   About
--------------------------- */
.two-col{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: stretch; /* ← important */
}
.about-card{
  border-radius: var(--radius);
  border: 1px solid rgba(176,138,46,.25);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 16px;
}
.about-row{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(20,20,20,.10);
}
.about-row:last-child{ border-bottom: 0; }
.label{ color: var(--muted); }
.value{ color: var(--ink); }

.about-side{
  display: grid;
  gap: 18px;
}

/* Portrait styling */
.about-portrait{
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(176,138,46,.25);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.about-portrait img{
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-portrait figcaption{
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--muted);
  border-top: 1px solid rgba(20,20,20,.10);
  text-align: center;
}

/* Dark section (matches hero tone) */
.section-dark{
  background: linear-gradient(
    180deg,
    #202020 0%,
    var(--hero-bg) 100%
  );
  color: var(--hero-text);
}

.section-dark .section-title{
  color: var(--hero-gold);
}

.section-dark .lead,
.section-dark p{
  color: rgba(245,243,238,.85);
}

.section-dark .about-portrait{
  background: #1c1c1c;
  border-color: rgba(201,162,77,.35);
}

.section-dark .about-portrait figcaption{
  color: rgba(245,243,238,.75);
  border-top-color: rgba(245,243,238,.18);
}

.section-dark .about-card{
  background: #1c1c1c;
  border-color: rgba(201,162,77,.35);
  box-shadow: none;
}

.section-dark .about-row{
  border-bottom-color: rgba(245,243,238,.15);
}

.section-dark .label{
  color: rgba(245,243,238,.6);
}

.section-dark .value{
  color: var(--hero-text);
}

.section-dark::after{
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  margin: 56px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hero-gold),
    transparent
  );
  opacity: .6;
}

.about-main{
  display: flex;
  flex-direction: column;
}

/* Push card to bottom */
.about-main .about-card{
  margin-top: auto;   /* ← magic line */
}

.about-side{
  display: flex;
  flex-direction: column;
}

.about-portrait{
  height: 100%;
}

.section-dark::after{
  background: linear-gradient(
    90deg,
    transparent,
    var(--hero-gold),
    transparent
  );
  width: 1200px;
  opacity: .5;
}

/* --------------------------
   Contact Form
--------------------------- */
.contact{ max-width: 760px; }
.form{
  margin-top: 16px;
  display: grid;
  gap: 12px;
}
.field{
  display: grid;
  gap: 6px;
  color: var(--muted);
}
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(20,20,20,.16);
  background: rgba(255,255,255,.85);
  color: var(--ink);
  outline: none;
}
input:focus, textarea:focus{
  border-color: rgba(176,138,46,.65);
  box-shadow: 0 0 0 4px rgba(176,138,46,.12);
}

/* --------------------------
   Project Page
--------------------------- */
.project-hero{ padding: 56px 0 18px; }
.project-hero-inner{ display: grid; gap: 12px; }

.back-link{
  display: inline-flex;
  color: var(--muted);
  width: fit-content;
}
.back-link:hover{ color: var(--gold); }

.project-title{
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.1;
}
.project-subtitle{
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

.project-facts{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 0;
}
.fact{
  border-radius: 16px;
  border: 1px solid rgba(176,138,46,.25);
  background: #ffffff;
  padding: 12px;
}
.fact dt{ color: var(--muted); font-size: .9rem; }
.fact dd{ margin: 2px 0 0; }

.project-main{ display: grid; gap: 18px; }

.project-feature{
  margin: 0;
  border-radius: var(--radius);
  overflow: clip;
  border: 1px solid rgba(20,20,20,.13);
  background: #ffffff;
  box-shadow: var(--shadow);
  max-width: 520px;
  margin: 0 auto 6px;
}
.project-feature figcaption{
  padding: 12px 14px;
  color: var(--muted);
  border-top: 1px solid rgba(20,20,20,.10);
  text-align: center;
  font-size: .9rem;
}

.project-feature--icon{
  max-width: 800px;
}

.project-feature--mural{
  max-width: 820px;
}

.project-feature--landscape{
  max-width: 1000px;
}

.project-text{ max-width: 78ch; }
.clean-list{ margin: 0; color: var(--muted); }

.project-gallery{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.thumb{
  grid-column: span 6;
  margin: 0;
  border-radius: var(--radius);
  overflow: clip;
  border: 1px solid rgba(20,20,20,.13);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(20,20,20,.08);
}
.thumb img{
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.thumb figcaption{
  padding: 10px 12px;
  color: var(--muted);
  border-top: 1px solid rgba(20,20,20,.10);
  font-size: .92rem;
}

/* Project facts — inline, catalog-style */
.project-facts--inline{
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--muted);
}

.project-facts--inline > div{
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-right: 14px;
  margin-right: 14px;
  position: relative;
}

/* Vertical separators */
.project-facts--inline > div::after{
  content: "|";
  position: absolute;
  right: 0;
  color: rgba(20,20,20,.35);
}

/* Remove separator on last item */
.project-facts--inline > div:last-child::after{
  content: "";
}

.project-facts--inline dt{
  font-weight: 600;
  color: var(--ink);
}

.project-facts--inline dd{
  margin: 0;
}

@media (max-width: 560px){
  .project-facts--inline{
    flex-direction: column;
    gap: 6px;
  }

  .project-facts--inline > div{
    margin-right: 0;
    padding-right: 0;
  }

  .project-facts--inline > div::after{
    content: "";
  }
}

.series-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.series-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.75rem;
}

@media (max-width: 900px) {
  .series-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .series-gallery {
    grid-template-columns: 1fr;
  }
}

/* --------------------------
   Footer
--------------------------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: rgba(176,138,46,.05);
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}
.footer-links a{
  color: var(--muted);
  margin-left: 12px;
}
.footer-links a:hover{ color: var(--gold); }

/* --------------------------
   Responsive
--------------------------- */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .project-facts{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card{ grid-column: span 6; }
}

@media (max-width: 560px){
  .site-nav{ gap: 6px; }
  .nav-link{ padding: 8px 10px; }
  .section-head{ flex-direction: column; align-items: flex-start; }
  .filters{ justify-content: flex-start; }
  .card{ grid-column: span 12; }
  .thumb{ grid-column: span 12; }
  .thumb img{ height: 220px; }
}