/* ===================================================================
   The Tailor Fitted
   Single stylesheet for all pages. Visual language taken from the
   approved homepage: dashed chalk frame with corner notches,
   Instrument Serif italic headlines, Inter for structure.
   =================================================================== */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --bg: #060608;
  --text: #E8E4DF;
  --muted: #7A7672;
  --chalk: rgba(232, 228, 223, 0.22);
  --accent: #C9A96E;
  --accent-dim: rgba(201, 169, 110, 0.18);
  --grid: rgba(232, 228, 223, 0.028);
  --glow: rgba(201, 169, 110, 0.07);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

html[data-theme="light"] {
  --bg: #FFFFFF;
  --text: #000000;
  --muted: #4A4A4A;
  --chalk: rgba(20, 33, 61, 0.18);
  --accent: #1C2B4A;
  --accent-dim: rgba(28, 43, 74, 0.15);
  --grid: rgba(20, 33, 61, 0.04);
  --glow: rgba(20, 33, 61, 0.06);
}

html { font-size:16px; -webkit-font-smoothing:antialiased; scroll-behavior:smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 2rem;
  overflow-x: hidden;
  position: relative;
  transition: background-color .4s ease, color .4s ease;
}

/* Chalk grid, pattern cutting table */
body::before {
  content:'';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  transition: background-image .4s ease;
}
body::after {
  content:'';
  position: fixed;
  top:-35%; right:-20%;
  width:60vw; height:60vw;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  pointer-events:none; z-index:0;
  transition: background .4s ease;
}

a { color: inherit; }
a:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* ===== The pattern piece ===== */
.page {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: 100%;
  padding: 3.5rem clamp(1.75rem, 5vw, 3.5rem);
  border: 1px dashed var(--chalk);
  transition: border-color .4s ease;
}
.page--wide { max-width: 900px; }

.notch {
  position: absolute;
  width: 9px; height: 9px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  opacity: 0.85;
}
.notch.tl { top:-1px; left:-1px; border-top-width:1px; border-left-width:1px; }
.notch.tr { top:-1px; right:-1px; border-top-width:1px; border-right-width:1px; }
.notch.bl { bottom:-1px; left:-1px; border-bottom-width:1px; border-left-width:1px; }
.notch.br { bottom:-1px; right:-1px; border-bottom-width:1px; border-right-width:1px; }

/* ===== Masthead: wordmark and nav inside the frame ===== */
.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px dashed var(--chalk);
}
.masthead .wordmark {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .25s ease;
}
.masthead .wordmark:hover { color: var(--text); }

.site-nav { display: flex; align-items: baseline; gap: clamp(0.85rem, 2.5vw, 1.5rem); flex-wrap: wrap; }
.site-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color .25s ease;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active { color: var(--accent); }

/* ===== Type ===== */
.title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.3rem, 7vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.subtitle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3rem;
}
.subtitle i {
  display:inline-block;
  width:0.5em; height:0.5em;
  background: var(--accent);
  border-radius:50%;
  position:relative; top:-0.02em;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.35; transform:scale(0.75); }
}

.headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}
.headline em { font-style: italic; color: var(--accent); }

.page-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.9rem;
}
.page-title em { font-style: italic; color: var(--accent); }

.body-text {
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.75rem;
}

.tag {
  display:inline-block;
  font-size:0.63rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color: var(--muted);
  border:1px dashed var(--chalk);
  padding:0.45em 1em;
  margin-bottom: 2.75rem;
  transition: border-color .4s ease, color .4s ease;
}

/* ===== Cutlist ===== */
.cutlist { margin-bottom: 2.75rem; }
.cutlist .row {
  display: flex;
  align-items: baseline;
  gap: clamp(0.9rem, 2.5vw, 1.6rem);
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--chalk);
  text-decoration: none;
}
.cutlist .row:first-child { padding-top: 0; }
.cutlist .row:last-child { border-bottom: none; }
.cutlist a.row:hover .service { color: var(--accent); }
.cutlist .num {
  flex: none;
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.6;
  letter-spacing: 0.05em;
}
.cutlist .word {
  flex: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  width: clamp(84px, 18vw, 136px);
  white-space: nowrap;
}
.cutlist .service {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  color: var(--text);
  line-height: 1.3;
  transition: color .25s ease;
}

/* ===== Cutline, doubles as the theme toggle ===== */
.cutline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 2.75rem 0;
  color: var(--muted);
}
.theme-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  margin: -8px;
  padding: 8px;
  background: none;
  border: 1px solid var(--chalk);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .25s ease, border-color .4s ease;
}
.theme-toggle:hover, .theme-toggle:focus-visible {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.theme-toggle:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.scissors {
  flex: none;
  width: 15px; height: 15px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.4;
  opacity: 0.9;
  transition: transform .3s ease, stroke .4s ease;
}
.theme-toggle:hover .scissors, .theme-toggle:active .scissors { transform: rotate(14deg); }
.cutline .rule {
  flex: 1;
  height: 1px;
  background-image: linear-gradient(90deg, var(--chalk) 0 6px, transparent 6px 12px);
  background-size: 12px 1px;
  transition: background-image .4s ease;
}

/* ===== Sections ===== */
.section { padding: 1.75rem 0; border-bottom: 1px dashed var(--chalk); }
.section:first-of-type { padding-top: 0; }
.section:last-of-type { border-bottom: none; }
.section-num {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 3.2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 0.9rem;
}
.section h2 em { font-style: italic; color: var(--accent); }
.section p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: 1.25rem;
}
.section p:last-child { margin-bottom: 0; }
.section ul { list-style: none; display: grid; gap: 0.55rem; }
.section ul li {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text);
  padding-left: 1.1rem;
  position: relative;
}
.section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.section ul.cols-2 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.section ul.cols-3 { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }

/* ===== Work entries ===== */
.work-entry { padding: 1.75rem 0; border-bottom: 1px dashed var(--chalk); }
.work-entry:first-of-type { padding-top: 0; }
.work-entry:last-of-type { border-bottom: none; }
.work-entry h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}
.work-entry p { font-family: var(--sans); font-weight: 300; font-size: 1.05rem; color: var(--muted); line-height: 1.75; max-width: 46ch; }

/* ===== CTA ===== */
.cta { margin-bottom: 3rem; }
.cta .label {
  display:block;
  font-size:0.68rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.cta p { font-weight: 300; color: var(--muted); margin-bottom: 1rem; max-width: 46ch; line-height: 1.75; }
.btn, .cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 0.22em;
  transition: border-color .3s ease;
}
.btn:hover, .btn:focus-visible,
.cta a:hover, .cta a:focus-visible { border-bottom-color: var(--accent); }

/* ===== Form ===== */
.form-grid { display: grid; gap: 1.1rem; max-width: 520px; margin: 1.5rem 0 0; }
.form-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-field input, .form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px dashed var(--chalk);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: border-color .25s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
  border-bottom-style: solid;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-submit {
  justify-self: start;
  margin-top: 0.5rem;
  font-family: var(--sans);
  background: none;
  color: var(--accent);
  border: 1px dashed var(--chalk);
  padding: 0.7rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease;
}
.form-submit:hover { border-color: var(--accent); background: var(--accent-dim); }
.form-note { font-size: 0.78rem; font-weight: 300; color: var(--muted); margin-top: 1rem; line-height: 1.6; }

/* ===== Talent: spec rows ===== */
.spec { display: grid; margin-bottom: 2.75rem; }
.spec > div {
  display: flex;
  align-items: baseline;
  gap: clamp(0.9rem, 2.5vw, 1.6rem);
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--chalk);
}
.spec > div:first-child { padding-top: 0; }
.spec > div:last-child { border-bottom: none; }
.spec dt {
  flex: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  width: clamp(84px, 18vw, 136px);
}
.spec dd { font-size: 0.95rem; font-weight: 300; color: var(--text); line-height: 1.6; }

/* ===== Talent: photographs ===== */
.gallery { display: grid; gap: 0.4rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.gallery figure { margin: 0; }
.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--accent-dim);
  border: 1px dashed var(--chalk);
}
.gallery figure.wide { grid-column: span 2; }
.gallery figure.wide img { aspect-ratio: 8 / 5; }

/* ===== Talent: mixes ===== */
.mix { margin-bottom: 1.25rem; }
.mix iframe { display: block; width: 100%; border: 1px dashed var(--chalk); }
.mix p { font-size: 0.8rem; font-weight: 300; color: var(--muted); margin: 0.5rem 0 0; }

/* ===== Talent: quotes ===== */
.quotes { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.quote { margin: 0; }
.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 0.75rem;
  max-width: 34ch;
}
.quote figcaption { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ===== Small print, copy button ===== */
.fineprint { font-size: 0.78rem; font-weight: 300; color: var(--muted); line-height: 1.65; max-width: 52ch; margin-top: 1rem; }
.copybtn {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: none;
  border: none;
  border-bottom: 1px solid var(--accent-dim);
  padding: 0 0 0.25em;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: border-color .3s ease;
}
.copybtn:hover, .copybtn:focus-visible { border-bottom-color: var(--accent); }

/* ===== Footer ===== */
.legal-block {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--chalk);
}
.footer-links { display: flex; gap: 1.35rem; align-items: center; margin-bottom: 1.1rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s ease;
}
.footer-links a:hover { color: var(--accent); }
.sep { width:3px; height:3px; border-radius:50%; background:var(--muted); opacity:.4; }
.legal {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.6;
  transition: color .4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .subtitle i { animation: none; }
  * { transition: none !important; }
}

@media (max-width: 560px) {
  body { padding: 1.5rem 1rem; }
  .page { padding: 2.5rem 1.5rem; }
  .masthead { margin-bottom: 2rem; }
  .subtitle { margin-bottom: 2.25rem; }
  .body-text, .tag, .cutlist { margin-bottom: 2.25rem; }
  .cutline { margin: 2.25rem 0; }
  .cutlist .row { flex-wrap: wrap; row-gap: 0.35rem; }
  .cutlist .service, 
/* Homepage: the big title is the wordmark, so the masthead carries nav only */
.masthead--home { justify-content: flex-start; }

/* Roster: a bounded list, so one artist still reads as a list */
.cutlist--roster { border-top: 1px dashed var(--chalk); }
.cutlist--roster .row:first-child { padding-top: 0.95rem; }
.cutlist--roster .row:last-child { border-bottom: 1px dashed var(--chalk); }

/* Plain divider: the scissors as a mark, not a control.
   Used where a page needs a break but already has a theme toggle. */
.cutline--mark { margin: 2.75rem 0; }
.cutline--mark .scissors { opacity: 0.55; }
