/* =========================================================
   BROKEN COLORS — site stylesheet
   One fixed palette, tuned to be easy on the eyes in any
   lighting. No light/dark toggle — this IS the theme.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Spectral:ital,wght@0,400;0,500;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  /* base */
  --ink:        #1b191d;   /* page background — soft near-black, not pure #000 */
  --ink-2:      #242026;   /* panel / card background, one step up */
  --ink-3:      #2c272b;   /* hover / raised surface */

  /* text */
  --bone:       #d9d1c4;   /* primary text — warm bone, not pure white */
  --bone-dim:   #a89e91;   /* secondary text */
  --bone-faint: #766c62;   /* tertiary / meta text */

  /* accents */
  --wine:       #7a3140;   /* primary accent — dried wine, not neon blood */
  --wine-bright:#96434f;   /* hover state for wine */
  --rust:       #8e6248;   /* secondary accent — tarnished rust */
  --gold:       #a68a5b;   /* sparing highlight — old brass */
  --fog:        #46414a;   /* borders, dividers, quiet lines */

  --radius: 3px;
  --max-w: 880px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Spectral', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a{ color: var(--rust); text-decoration: none; border-bottom: 1px solid transparent; }
a:hover{ color: var(--gold); border-bottom-color: currentColor; }
a:focus-visible, button:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }

h1,h2,h3{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--bone);
  letter-spacing: 0.02em;
  margin: 0 0 0.4em 0;
}

.eyebrow{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6em;
}

/* ---------- layout shell ---------- */

.wrap{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header{
  border-bottom: 1px solid var(--fog);
  background: linear-gradient(var(--ink-2), var(--ink));
}

.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-title{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--bone);
}
.site-title span{ color: var(--wine-bright); font-style: normal; }

nav.site-nav ul{
  list-style:none;
  display:flex;
  flex-wrap: wrap;
  gap: 22px;
  margin:0;
  padding:0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
nav.site-nav a{
  color: var(--bone-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
nav.site-nav a:hover,
nav.site-nav a[aria-current="page"]{
  color: var(--bone);
  border-bottom-color: var(--wine-bright);
}

main{ padding: 56px 0 40px; }

section + section{ margin-top: 52px; }

footer.site-footer{
  border-top: 1px solid var(--fog);
  margin-top: 64px;
  padding: 28px 0 48px;
  color: var(--bone-faint);
  font-size: 0.85rem;
}
footer.site-footer a{ color: var(--bone-dim); }

/* ---------- signature element: the crack divider ---------- *
 * A hairline that fractures partway across, with a faint
 * bleed of colour at the break — echoes "Broken Colors"     *
 * without leaning on a stock horror trope.                  */

.crack{
  height: 26px;
  margin: 8px 0 8px;
  background-image:
    linear-gradient(var(--fog), var(--fog)),
    radial-gradient(ellipse at 42% 50%, rgba(122,49,64,0.55), transparent 60%),
    radial-gradient(ellipse at 61% 50%, rgba(142,98,72,0.35), transparent 55%);
  background-repeat: no-repeat;
  background-size: 100% 1px, 140px 26px, 90px 26px;
  background-position: center 50%, 42% 50%, 63% 50%;
  clip-path: polygon(
    0 50%, 38% 50%, 40% 38%, 41% 62%, 43% 44%, 45% 50%,
    59% 50%, 60% 60%, 62% 42%, 64% 50%, 100% 50%,
    100% calc(50% + 1px), 0 calc(50% + 1px)
  );
  opacity: 0.9;
}

/* ---------- hero ---------- */

.hero{
  padding: 18px 0 8px;
  text-align: left;
}
.hero h1{
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.05;
}
.hero .tagline{
  color: var(--bone-dim);
  font-style: italic;
  font-size: 1.05rem;
  max-width: 46ch;
}

/* ---------- cards / grids ---------- */

.grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 620px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  background: var(--ink-2);
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.card:hover{
  background: var(--ink-3);
  border-color: var(--wine);
}
.card h3{ font-size: 1.5rem; margin-bottom: 0.25em; }
.card .role{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display:block;
  margin-bottom: 0.7em;
}
.card p{ color: var(--bone-dim); margin: 0; }

/* ---------- socials row ---------- */

.socials{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.socials a{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--fog);
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--bone-dim);
}
.socials a:hover{
  border-color: var(--wine-bright);
  color: var(--bone);
}

/* ---------- buttons ---------- */

.btn{
  display:inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--wine);
  color: var(--bone);
  background: transparent;
}
.btn:hover{
  background: var(--wine);
  border-color: var(--wine);
  color: var(--bone);
}
.btn.ghost{ border-color: var(--fog); }
.btn.ghost:hover{ background: var(--ink-3); border-color: var(--bone-dim); }

.btn-row{ display:flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }

/* ---------- faq ---------- */

.faq-item{ border-bottom: 1px solid var(--fog); padding: 20px 0; }
.faq-item:first-child{ padding-top: 0; }
.faq-item h3{ font-size: 1.25rem; margin-bottom: 0.3em; }
.faq-item p{ color: var(--bone-dim); margin:0; }

/* ---------- gallery ---------- */

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 700px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
.gallery-grid figure{
  margin:0;
  background: var(--ink-2);
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  overflow:hidden;
}
.gallery-grid img{
  display:block;
  width:100%;
  height: 220px;
  object-fit: cover;
}
.gallery-grid figcaption{
  padding: 8px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--bone-faint);
}

/* ---------- utility ---------- */

.dim{ color: var(--bone-dim); }
.center{ text-align:center; }
.note{
  font-size: 0.85rem;
  color: var(--bone-faint);
  border-left: 2px solid var(--fog);
  padding-left: 14px;
}
