/* Young Creatives Collective — shared styles
   Layout: a paper pinboard. Beige ground, plum ink, orange + dusty blue as the
   two secondary colors (one per track). Flat surfaces, 2px ink outlines and hard
   offset shadows instead of gloss. Index cards, tickets and a printed programme
   carry the "homey" part; big grotesque type carries the "contemporary" part. */

:root {
  --paper: #F0E3C6;
  --paper-2: #E6D3AE;
  --card: #FAF3E2;
  --ink: #1C1420;
  --ink-2: #5E4E5A;
  --line: rgba(28, 20, 32, .16);
  --plum: #3A0A52;
  --plum-2: #5B2A74;
  --on-plum: #F3E7CE;
  --on-plum-2: #CDB8C9;
  --band: #3A0A52;
  --band-card: #4A1A63;
  --orange: #CF5F28;
  --orange-soft: #F2C7A4;
  --blue: #3C6A8F;
  --blue-soft: #BCD0DE;
  --plum-soft: #D9C3E2;
  --shadow: #1C1420;
  --tape: rgba(207, 95, 40, .38);
  --rule-red: #CF5F28;
  --rule-blue: rgba(60, 106, 143, .28);

  --f-display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 44px);
  --max: 1180px;
  --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #16111A; --paper-2: #1E1723; --card: #221A28;
    --ink: #F0E4CC; --ink-2: #BFAFB8; --line: rgba(240, 228, 204, .16);
    --plum: #CDA6E2; --plum-2: #B48ACB; --on-plum: #F3E7CE; --on-plum-2: #CDB8C9;
    --band: #2A1336; --band-card: #371B45;
    --orange: #EC8A55; --orange-soft: #5A3020; --blue: #8DB3D2; --blue-soft: #233746; --plum-soft: #3B2448;
    --shadow: #000000; --tape: rgba(236, 138, 85, .30);
    --rule-red: #EC8A55; --rule-blue: rgba(141, 179, 210, .18);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #16111A; --paper-2: #1E1723; --card: #221A28;
  --ink: #F0E4CC; --ink-2: #BFAFB8; --line: rgba(240, 228, 204, .16);
  --plum: #CDA6E2; --plum-2: #B48ACB; --on-plum: #F3E7CE; --on-plum-2: #CDB8C9;
  --band: #2A1336; --band-card: #371B45;
  --orange: #EC8A55; --orange-soft: #5A3020; --blue: #8DB3D2; --blue-soft: #233746; --plum-soft: #3B2448;
  --shadow: #000000; --tape: rgba(236, 138, 85, .30);
  --rule-red: #EC8A55; --rule-blue: rgba(141, 179, 210, .18);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
/* paper grain, very faint */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 750; letter-spacing: -.025em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -.015em; line-height: 1.1; }
p { margin: 0; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.eyebrow { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-2); }

/* The mark: logo PNG used as a mask so it takes the theme's plum */
.mark {
  display: block; aspect-ratio: 316 / 480; background: var(--plum);
  -webkit-mask: url("ycc-mark.png") center / contain no-repeat;
  mask: url("ycc-mark.png") center / contain no-repeat;
}

/* Buttons: flat, outlined, a hard shadow that presses in */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 1rem/1 var(--f-body); text-decoration: none; letter-spacing: -.005em;
  padding: .85em 1.25em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--card); color: var(--ink);
  box-shadow: 3px 3px 0 var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--shadow); }
.btn--plum { background: var(--plum); color: var(--paper); }
.btn--small { font-size: .9rem; padding: .6em 1em; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn .arr { transition: none; } }

/* Header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--paper); border-bottom: 2px solid var(--ink);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand .mark { width: 26px; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 750; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.05; }
.brand-name small { display: block; font: 500 .7rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: clamp(10px, 2.2vw, 28px); }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { text-decoration: none; font-weight: 550; font-size: .98rem; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }
@media (max-width: 760px) {
  .nav .nav-extra { display: none; }
  .brand-name small { display: none; }
}
@media (max-width: 420px) {
  .site-head .wrap { gap: 10px; }
  .brand { gap: 9px; }
  .brand .mark { width: 22px; }
  .brand-name { font-size: .92rem; }
  .nav { gap: 12px; }
  .nav a:not(.btn) { font-size: .9rem; }
  .nav .btn--small { padding: .55em .85em; font-size: .85rem; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

/* Marquee band of disciplines */
.marquee { background: var(--band); color: var(--on-plum); border-block: 2px solid var(--ink); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -.02em; padding: 14px 0; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee-track span::after { content: "✺"; color: var(--orange); margin-inline: .8em; font-size: .8em; }
.marquee-track span:nth-child(even) { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Track / pillar colour hooks */
.t-music { --t: var(--orange); --t-soft: var(--orange-soft); }
.t-lit { --t: var(--plum); --t-soft: var(--plum-soft); }
.t-visual { --t: var(--blue); --t-soft: var(--blue-soft); }
.t-cross { --t: var(--ink); --t-soft: var(--paper-2); }

.chip {
  display: inline-flex; align-items: center; gap: .45em;
  font: 500 .74rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
  padding: .5em .75em; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--card); white-space: nowrap;
}
.chip::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--t, var(--ink)); }
.chip--plain::before { display: none; }

.stamp {
  display: inline-block; font: 500 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); border: 1.5px dashed var(--orange); padding: .45em .7em; border-radius: 6px; transform: rotate(-3deg);
}

/* Footer */
.site-foot { background: var(--band); color: var(--on-plum); border-top: 2px solid var(--ink); }
.site-foot .wrap { padding-block: clamp(48px, 7vw, 80px) 32px; display: grid; gap: 40px; }
.foot-top { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: end; }
.foot-top .mark { width: clamp(64px, 9vw, 104px); background: var(--on-plum); }
.foot-name { font-family: var(--f-display); font-weight: 750; font-size: clamp(2rem, 5.4vw, 4.4rem); letter-spacing: -.035em; line-height: .95; }
.foot-name .serif { color: var(--orange); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 24px; border-top: 1px solid rgba(243, 231, 206, .22); font-size: .92rem; color: var(--on-plum-2); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-bottom a { text-decoration: none; color: var(--on-plum); }
.foot-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Social + contact */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-flex; align-items: center; gap: .55em; text-decoration: none;
  font: 600 .95rem/1 var(--f-body); padding: .7em 1em; border-radius: 999px;
  border: 2px solid currentColor;
}
.social svg { width: 1.1em; height: 1.1em; flex: none; }
.social:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.site-foot .social { color: var(--on-plum); }
.site-foot .social:hover { background: var(--on-plum); color: var(--band); border-color: var(--on-plum); }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--f-mono); font-size: .92rem; }
.email-line a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.copy-btn {
  font: 500 .75rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
  padding: .5em .75em; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit;
}
.foot-mid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.foot-mid p { color: var(--on-plum-2); max-width: 46ch; }
@media (max-width: 760px) { .foot-mid { grid-template-columns: 1fr; } }

/* Idea label: anything that is not a scheduled event */
.idea-tag {
  display: inline-block; font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); border: 1.5px dashed var(--ink-2); padding: .45em .7em; border-radius: 6px;
}

/* Small phones: the logo carries the brand so all nav items fit */
@media (max-width: 560px) {
  .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand .mark { width: 26px; }
}
