/* ==========================================================================
   Skye All Trades Limited
   Design system — "The Schedule"
   Palette : slate-black / cool render chalk / site yellow
   Type    : Archivo (display) · Newsreader (body) · IBM Plex Mono (data)
   ========================================================================== */

:root {
  --ink:      #141c27;
  --ink-2:    #1c2733;
  --ink-3:    #29394b;
  --chalk:    #e0eaf2;
  --paper:    #f4f7fa;
  --slate:    #5c6d80;
  --slate-lt: #91a3b7;
  --signal:   #d9a534;
  --ice:      #7d97b2;

  --rule:      rgba(20, 28, 39, 0.15);
  --rule-soft: rgba(20, 28, 39, 0.09);
  --rule-dark: rgba(224, 234, 242, 0.17);

  --display: "Archivo", system-ui, sans-serif;
  --body:    "Newsreader", Georgia, serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max:    76rem;
  --band:   clamp(4rem, 9vw, 8rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.0625rem, 0.35vw + 1rem, 1.1875rem);
  line-height: 1.62;
  font-optical-sizing: auto;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

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

.skip {
  position: absolute;
  left: -9999px;
  background: var(--signal);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

/* --------------------------------------------------------------- type ---- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.021em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); letter-spacing: -0.012em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.2rem, 1.3vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 34em;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--signal);
  flex: none;
}

.ref {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-lt);
}

/* Placeholder marker — search "tbc" to find everything left to fill in. */
.tbc {
  background: rgba(217, 165, 52, 0.30);
  box-shadow: 0 0 0 2px rgba(217, 165, 52, 0.30);
  border-radius: 1px;
  font-style: normal;
}

/* ------------------------------------------------------------- header ---- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 244, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 5.4rem;
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
  margin-right: auto;
}
.wordmark .mark-text span {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--slate);
  margin-top: 0.2rem;
}

.nav { display: flex; gap: clamp(0.9rem, 2vw, 2rem); align-items: center; }

.nav a {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--slate);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--signal); }

.head-tel {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  background: var(--ink);
  color: var(--chalk);
  padding: 0.6rem 1rem;
  white-space: nowrap;
  transition: background 0.18s;
}
.head-tel:hover { background: var(--ink-3); }

@media (max-width: 46rem) {
  .head-inner { flex-wrap: wrap; min-height: 0; padding-block: 0.8rem; row-gap: 0.6rem; }
  .nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--rule-soft); padding-top: 0.6rem; }
}

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

.hero {
  background: var(--ink);
  color: var(--chalk);
  padding-block: clamp(3.5rem, 8vw, 7rem) 0;
}

.hero .eyebrow { color: var(--slate-lt); }

.hero h1 {
  max-width: 14ch;
  margin-bottom: 1.8rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--signal);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
@media (max-width: 54rem) { .hero-grid { grid-template-columns: 1fr; } }

.hero-copy p { color: rgba(233, 233, 228, 0.78); max-width: 38ch; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule-dark);
}
.facts div {
  border-bottom: 1px solid var(--rule-dark);
  padding: 0.95rem 0;
}
.facts div:nth-child(odd) { padding-right: 1rem; }
.facts div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--rule-dark); }
.facts dt {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-lt);
  margin-bottom: 0.35rem;
}
.facts dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
}

/* ---------------------------------------------------------- trade wall --- */

.wall { border-top: 1px solid var(--rule-dark); }

.wall-row {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: clamp(0.7rem, 1.4vw, 1.15rem) 0;
  border-bottom: 1px solid var(--rule-dark);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.25s ease, background 0.25s ease;
}
.wall-row:hover { padding-left: 1rem; background: var(--ink-2); }

.wall-row .code {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--slate);
  flex: none;
  width: 3.6rem;
}
.wall-row .name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.4vw, 2.5rem);
  letter-spacing: -0.028em;
  text-transform: uppercase;
  line-height: 1;
  margin-right: auto;
}
.wall-row .mode {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: right;
}
.wall-row:hover .mode { color: var(--signal); }

@media (max-width: 34rem) {
  .wall-row .mode { display: none; }
  .wall-row .code { width: 2.8rem; }
}

/* -------------------------------------------------------------- bands ---- */

.band { padding-block: var(--band); }
.band--dark { background: var(--ink); color: var(--chalk); }
.band--dark .eyebrow { color: var(--slate-lt); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.band-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 54rem) { .band-head { grid-template-columns: 1fr; } }
.band-head p { color: var(--slate); font-size: 1.05rem; max-width: 42ch; }
.band--dark .band-head p { color: rgba(233, 233, 228, 0.72); }

.page-head {
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem);
}
.page-head h1 { max-width: 18ch; margin-bottom: 1.6rem; }

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

.cols {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.cols > article {
  background: var(--paper);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
}
.cols h3 { margin-bottom: 0.9rem; }
.cols p { color: var(--slate); font-size: 1rem; }

.cols .ref { display: block; margin-bottom: 1.2rem; }

.band--dark .cols { background: var(--rule-dark); border-color: var(--rule-dark); }
.band--dark .cols > article { background: var(--ink); }
.band--dark .cols p { color: rgba(233, 233, 228, 0.72); }
.band--dark .tick { color: var(--chalk); }

.h-sm { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--slate);
  margin-top: 1.4rem;
}
.mt { margin-top: 2.4rem; }
.body-note { margin-top: 2rem; color: var(--slate); font-size: 0.95rem; max-width: 44em; }

.tick {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.tick li { padding-left: 1.25rem; position: relative; }
.tick li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--signal);
}

/* ----------------------------------------------------------- schedule ---- */

.schedule { width: 100%; border-collapse: collapse; text-align: left; }

.schedule caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  padding-bottom: 1rem;
}

.schedule th {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0 1rem 0.8rem 0;
  border-bottom: 2px solid var(--ink);
  vertical-align: bottom;
}

.schedule td {
  padding: 1.15rem 1rem 1.15rem 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
  font-size: 0.98rem;
  color: var(--slate);
}
.schedule td:first-child {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.008em;
  color: var(--ink);
  width: 22%;
}
.schedule td:last-child, .schedule th:last-child { padding-right: 0; }

.schedule tr:hover td { background: rgba(217, 165, 52, 0.07); }

.band--dark .schedule caption { color: var(--slate-lt); }
.band--dark .schedule th { color: var(--slate-lt); border-bottom-color: var(--chalk); }
.band--dark .schedule td { color: rgba(233, 233, 228, 0.75); border-bottom-color: var(--rule-dark); }
.band--dark .schedule td:first-child { color: var(--chalk); }
.band--dark .schedule tr:hover td { background: rgba(217, 165, 52, 0.10); }
.band--dark .record { border-bottom-color: var(--rule-dark); }
.band--dark .record:first-of-type { border-top-color: var(--rule-dark); }
.band--dark .record p { color: rgba(233, 233, 228, 0.72); }
.band--dark .record dd { color: var(--chalk); }
.band--dark .tag { border-color: var(--rule-dark); color: var(--chalk); }
.band--dark .tag--in { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }

.tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--rule);
  color: var(--ink);
}
.tag--in { background: var(--ink); color: var(--chalk); border-color: var(--ink); }

@media (max-width: 44rem) {
  .schedule, .schedule tbody, .schedule tr, .schedule td { display: block; width: 100%; }
  .schedule thead { display: none; }
  .schedule tr { border-bottom: 1px solid var(--rule); padding-block: 1.2rem; }
  .schedule td { border: 0; padding: 0 0 0.5rem; }
  .schedule td:first-child { width: auto; font-size: 1.2rem; margin-bottom: 0.4rem; }
  .schedule td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate-lt);
    margin-bottom: 0.25rem;
  }
}

/* ------------------------------------------------------------ records ---- */

.record {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.8rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.record:first-of-type { border-top: 1px solid var(--rule); }
@media (max-width: 54rem) { .record { grid-template-columns: 1fr; gap: 1rem; } }

.record h3 { margin-bottom: 0.7rem; }
.record p { color: var(--slate); font-size: 1rem; }

.record dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem 1rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.5;
}
.record dt { color: var(--slate-lt); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.64rem; padding-top: 0.12rem; }
.record dd { margin: 0; color: var(--ink); }

/* -------------------------------------------------------------- steps ---- */

.steps { counter-reset: step; display: grid; gap: 1px; background: var(--rule-dark); border-block: 1px solid var(--rule-dark); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.steps > li { background: var(--ink); padding: clamp(1.5rem, 2.4vw, 2.2rem); list-style: none; }
.steps > li::before {
  counter-increment: step;
  content: "Step " counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
}
.steps h3 { margin-bottom: 0.7rem; }
.steps p { color: rgba(233, 233, 228, 0.72); font-size: 0.98rem; }

/* --------------------------------------------------------------- prose --- */

.prose { max-width: 40em; }
.prose h2 { margin-top: 2.6rem; margin-bottom: 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.6rem; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 54rem) { .two-col { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- cta ---- */

.cta {
  background: var(--signal);
  color: var(--ink);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.cta-inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.cta h2 { max-width: 16ch; }
.cta p { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; margin-top: 0.9rem; }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.8rem;
  background: var(--ink);
  color: var(--chalk);
  border: 1px solid var(--ink);
  transition: background 0.18s, color 0.18s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--light { background: transparent; color: var(--chalk); border-color: var(--rule-dark); }
.btn--light:hover { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }

/* --------------------------------------------------------------- form ---- */

.form { display: grid; gap: 1.4rem; max-width: 34rem; }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.85rem 0.9rem;
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.form button {
  justify-self: start;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.8rem;
  background: var(--ink);
  color: var(--chalk);
  border: 1px solid var(--ink);
  transition: background 0.18s, color 0.18s;
}
.form button:hover { background: transparent; color: var(--ink); }

.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.contact-list li { border-bottom: 1px solid var(--rule); padding: 1.2rem 0; }
.contact-list dt, .contact-list .k {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-lt);
  margin-bottom: 0.3rem;
}
.contact-list .v { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.contact-list .v a { text-decoration: none; border-bottom: 2px solid var(--signal); }

/* ------------------------------------------------------------- footer ---- */

.site-foot {
  background: var(--ink);
  color: var(--chalk);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule-dark);
}
.foot-grid h4 {
  font-size: 0.68rem;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-lt);
  margin-bottom: 1.1rem;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 0.55rem; }
.foot-grid a { text-decoration: none; color: rgba(233, 233, 228, 0.8); font-size: 0.95rem; }
.foot-grid a:hover { color: var(--signal); }
.foot-grid p { font-size: 0.95rem; color: rgba(233, 233, 228, 0.8); }

.foot-legal {
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}

/* ------------------------------------------------------------- motion ---- */

.rise { animation: rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.rise:nth-child(2) { animation-delay: 0.07s; }
.rise:nth-child(3) { animation-delay: 0.14s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------- logo ---- */

.wordmark { display: flex; align-items: center; gap: 0.8rem; }
.wordmark img { width: 4rem; height: auto; flex: none; }
.wordmark .mark-text { display: block; }
@media (max-width: 46rem) { .wordmark img { width: 3.2rem; } }

.foot-mark { width: 3.4rem; height: auto; margin-bottom: 1rem; }

/* -------------------------------------------------------------- media ---- */

figure { margin: 0; }

.shot {
  position: relative;
  background: var(--ink-2);
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.shot figcaption {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 0.7rem;
}
.band--dark .shot figcaption { color: var(--slate-lt); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.gallery .shot img { aspect-ratio: 3 / 4; }
.gallery a:hover .shot img, .gallery figure:hover img { transform: scale(1.03); }

.record-shot { align-self: stretch; }
.record-shot img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }

.record--photo {
  grid-template-columns: 8rem minmax(0, 1fr) minmax(0, 0.85fr) 13rem;
}
@media (max-width: 62rem) {
  .record--photo { grid-template-columns: 1fr; }
  .record--photo .record-shot { max-width: 22rem; }
}

.hero-shot {
  border: 1px solid var(--rule-dark);
}
.hero-shot img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }

.split-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 54rem) { .split-media { grid-template-columns: 1fr; } }
.split-media .shot img { aspect-ratio: 4 / 3; }

/* -------------------------------------------------- multi-image records --- */

.shot-stack { display: grid; gap: 0.5rem; align-content: start; }
.shot-stack > .shot img { aspect-ratio: 3 / 4; }
.shot-stack .thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.shot-stack .thumbs img { aspect-ratio: 1 / 1; }
