/* Harrogate Dance Centre — "Colour Supplement" (editorial magazine)
   Anton display caps · Work Sans body · paper + ink + one deep green */

@font-face {
  font-family: 'Anton';
  src: url('../fonts/Anton.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/WorkSans-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f7f6f2;
  --ink: #111111;
  --green: #175c4c;
  --line: rgba(17, 17, 17, 0.16);
  --white: #ffffff;
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Work Sans', -apple-system, 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: #e8e6df;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.page {
  overflow-x: clip;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--paper);
  border-inline: 1px solid rgba(17,17,17,0.25);
  min-height: 100vh;
}

/* ---------- type ---------- */
.d1, .d2, .d3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
}
.d1 { font-size: clamp(44px, 6.2vw, 92px); }
.d2 { font-size: clamp(30px, 3.6vw, 54px); }
.d3 { font-size: clamp(22px, 2.2vw, 30px); }
.deck { font-size: 15px; font-weight: 450; max-width: 56ch; }
.small { font-size: 13px; font-weight: 450; color: rgba(17,17,17,0.72); }
.lead { font-size: 17px; font-weight: 450; line-height: 1.65; }

/* ---------- pills & tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.pill::before { content: '●'; font-size: 7px; transform: translateY(-1px); }
.pill:hover { background: var(--ink); color: var(--white); }
.pill--ink { background: var(--ink); color: var(--white); }
.pill--ink:hover { background: var(--green); border-color: var(--green); }
.pill--green::before { color: var(--green); }
.pill--bare::before { content: none; }

.ntag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 12px;
  background: var(--white);
}
.ntag b { font-weight: 800; color: var(--green); }
.ntag--rev { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 0 22px 0 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-right: 1px solid var(--line);
  padding: 12px 20px;
}
.brand__box {
  width: 40px;
  height: 40px;
  border: 2.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1;
  background: var(--white);
  position: relative;
}
.brand__box::after {
  content: '';
  position: absolute;
  left: 6px; right: 6px; bottom: 4px;
  height: 3px;
  background: var(--green);
}
.brand__name {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 17px;
  line-height: 1.05;
  max-width: 120px;
}
.brand__name small {
  display: block;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-top: 3px;
}
.nav { display: flex; align-items: center; margin-left: auto; }
.nav__list { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav__item { position: relative; }
.nav__link {
  display: inline-block;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 24px 14px;
}
.nav__link:hover { color: var(--green); }
.chev { font-size: 9px; opacity: .6; }
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1.5px solid var(--ink);
  list-style: none;
  min-width: 240px;
  max-height: 68vh;
  overflow: auto;
  z-index: 70;
}
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown.active .nav__dropdown { display: block; }
.nav__dropdown li { border-bottom: 1px solid var(--line); }
.nav__dropdown li:last-child { border-bottom: 0; }
.nav__dropdown a {
  display: block;
  padding: 9px 16px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav__dropdown a:hover { background: var(--ink); color: var(--white); }
.mast-cta { display: flex; align-items: center; gap: 10px; }
.nav__item--drawer-only { display: none; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 1.5px solid var(--ink); border-radius: 0; padding: 12px 14px; cursor: pointer; }
.nav__toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ticker ---------- */
.ticker {
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
.ticker__inner {
  display: inline-block;
  animation: tick 28s linear infinite;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.06em;
}
.ticker__inner span { margin: 0 18px; }
.ticker__inner em { font-style: normal; color: var(--green); margin: 0 4px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- full-bleed photo band ---------- */
.band {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  isolation: isolate;
  padding: 90px 24px;
  background: #14120f;
}
.band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.42), rgba(10,10,10,0.18) 40%, rgba(10,10,10,0.5));
  z-index: -1;
}
.band__tag { margin-bottom: 20px; }
.band .ntag { background: transparent; color: var(--white); border-color: var(--white); }
.band .ntag b { color: #9fd8c8; }
.band__deck { margin: 18px auto 26px; max-width: 52ch; font-size: 15px; font-weight: 500; }
.band .pill { border-color: var(--white); background: transparent; color: var(--white); }
.band .pill:hover { background: var(--white); color: var(--ink); }
.band--tall { min-height: 84vh; }
.band--short { min-height: 46vh; }

/* ---------- sections ---------- */
.sec { padding: 84px 24px; }
.sec--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wrap { max-width: 1180px; margin: 0 auto; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

/* ---------- statement ---------- */
.statement { text-align: center; padding: 96px 24px; }
.statement .d2 { max-width: 20ch; margin: 18px auto 0; }
.statement .deck { margin: 22px auto 30px; }
.statement u, .u-green { text-decoration: none; box-shadow: inset 0 -0.32em 0 rgba(23,92,76,0.28); }

/* ---------- story cards ---------- */
.storygrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
}
.storygrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story { text-decoration: none; display: block; }
.story__ph {
  position: relative;
  border: 1.5px solid var(--ink);
  background: var(--white);
  padding: 8px;
  transition: transform .2s ease;
}
.story__ph img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: saturate(1.04); }
.story:hover .story__ph { transform: rotate(-0.6deg) translateY(-3px); }
.story__ph .ntag { position: absolute; top: 16px; left: 16px; z-index: 2; }
.story__meta { display: flex; gap: 8px; align-items: center; margin: 14px 0 8px; }
.story__title { font-family: var(--display); text-transform: uppercase; font-size: 21px; line-height: 1.05; }
.story:hover .story__title { color: var(--green); }
.story__deck { margin-top: 6px; font-size: 13.5px; color: rgba(17,17,17,0.75); }

/* ---------- price / listing rows ---------- */
.rows { border-top: 1.5px solid var(--ink); }
.rows > div {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.rows .t { font-weight: 700; font-size: 15px; }
.rows .t small { display: block; font-weight: 450; font-size: 12.5px; color: rgba(17,17,17,0.68); margin-top: 3px; }
.rows b.price { font-family: var(--display); font-size: 26px; font-weight: 400; }

/* ---------- pull quotes / stubs ---------- */
.pulls { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.pull {
  border: 1.5px solid var(--ink);
  background: var(--white);
  padding: 28px 26px 22px;
  position: relative;
}
.pull::before {
  content: '”';
  position: absolute;
  top: -30px;
  left: 18px;
  font-family: var(--display);
  font-size: 74px;
  color: var(--green);
  line-height: 1;
}
.pull blockquote { font-size: 15.5px; font-weight: 500; line-height: 1.6; }
.pull figcaption { margin-top: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(17,17,17,0.65); }
.pull figcaption b { color: var(--ink); }

/* ---------- FAQ ---------- */
.faqs { border-top: 1.5px solid var(--ink); }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  font-weight: 700;
  font-size: 15px;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs .plus { font-family: var(--display); font-size: 18px; color: var(--green); }
.faqs details[open] .plus { transform: rotate(45deg); }
.faqs .bodyx { padding: 0 4px 20px; max-width: 68ch; font-size: 14.5px; color: rgba(17,17,17,0.8); }

/* ---------- form card ---------- */
.form-card {
  background: var(--white);
  border: 1.5px solid var(--ink);
  padding: 30px 28px;
  position: relative;
}
.form-card .sticker {
  position: absolute;
  top: -16px;
  right: 22px;
  transform: rotate(2deg);
  z-index: 2;
}
.form-intro { font-size: 14px; font-weight: 500; margin: 10px 0 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  font-family: var(--body);
  font-size: 14px;
  padding: 11px 12px;
  color: var(--ink);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: -1px;
}
.req { color: var(--green); font-style: normal; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form-note { font-size: 12px; color: rgba(17,17,17,0.65); }

/* ---------- giant cropped type ---------- */
.giant {
  overflow: hidden;
  padding: 70px 0 26px 24px;
  border-top: 1.5px solid var(--ink);
  background: var(--paper);
}
.giant p {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(84px, 15vw, 230px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.giant p span { color: var(--green); }

/* ---------- footer ---------- */
.footer { border-top: 1.5px solid var(--ink); background: var(--white); }
.footer__cols {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 56px 24px;
}
.footer__cols .ntag { margin-bottom: 14px; }
.footer__blurb { font-size: 13.5px; color: rgba(17,17,17,0.75); max-width: 34ch; }
.footer__reach { margin-top: 14px; font-size: 14px; font-weight: 600; }
.footer__reach a { text-decoration: none; border-bottom: 2px solid var(--green); }
.footer__cols a.fl { display: block; text-decoration: none; font-size: 13.5px; padding: 4px 0; font-weight: 500; }
.footer__cols a.fl:hover { color: var(--green); }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social a {
  width: 34px; height: 34px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800;
  text-decoration: none;
}
.footer__social a:hover { background: var(--ink); color: var(--white); }
.footer__bar {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 65px;
    right: 0;
    bottom: 0;
    left: auto;
    width: 90%;
    background: rgba(8, 8, 8, 0.62);
    box-shadow: -20px 0 44px rgba(0, 0, 0, 0.3);
    display: none;
    overflow: auto;
    color: var(--white);
  }
  .nav.active { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 15px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; }
  .nav__link:hover { color: #9fd8c8; }
  .nav__dropdown {
    position: static;
    border: 0;
    border-left: 3px solid var(--green);
    display: none;
    max-height: none;
    background: transparent;
  }
  .nav__dropdown li { border-bottom-color: rgba(255, 255, 255, 0.1); }
  .nav__dropdown a { color: rgba(255, 255, 255, 0.88); }
  .nav__dropdown a:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
  .nav__item--has-dropdown.active .nav__dropdown { display: block; }
  .nav__toggle { display: flex; }
  .nav__item--drawer-only { display: block; }
  .header { padding-right: 16px; }
  .mast-cta { margin-left: auto; }
  .btn--contact-desktop { display: none; }
  .storygrid, .storygrid--2, .pulls { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .rows > div { grid-template-columns: 64px 1fr auto; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .sec { padding: 60px 18px; }
  .statement { padding: 72px 18px; }
  .band { min-height: 60vh; padding: 70px 18px; }
}
