/* Rhythm & Rose site styles. Built to the Brand Standard v2.2; values come from tokens.css.
   House rules: seven colours only, no radius, two typefaces, one Instrument Serif element per view,
   gold is metal (hairline, mark, icons on navy) and never text on ivory. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rr-bg);
  color: var(--rr-fg);
  font-family: var(--rr-text);
  font-weight: 300;
  font-size: var(--rr-size-body);
  line-height: var(--rr-leading-body);
  letter-spacing: var(--rr-track-text);
  -webkit-font-smoothing: antialiased;
}
[data-rr-ground="dark"] { background: var(--rr-bg); color: var(--rr-fg); }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
strong, b { font-weight: 500; }

:focus-visible { outline: 2px solid var(--rr-deep-rose); outline-offset: 4px; }
[data-rr-ground="dark"] :focus-visible { outline-color: var(--rr-silk-gold); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--rr-ivory-silk); color: var(--rr-ink-navy);
  padding: 10px 16px; font-weight: 500; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- shared pieces ---------- */
.label {
  font-family: var(--rr-text); font-weight: 500;
  font-size: var(--rr-size-label); line-height: 1.4;
  text-transform: uppercase; letter-spacing: var(--rr-track-label);
  color: var(--rr-muted);
}

.display-m {
  font-family: var(--rr-display); font-weight: 400;
  font-size: clamp(34px, 4.6vw, var(--rr-size-display-m));
  letter-spacing: var(--rr-track-display);
  line-height: 1.08;
}

.hair-gold { height: 1px; border: 0; margin: 0; background: var(--rr-silk-gold); }

.lockup { display: block; height: auto; aspect-ratio: 4.381; color: var(--rr-fg); }

.ico { display: block; width: 44px; height: 44px; fill: currentColor; stroke: none; flex: 0 0 auto; }

.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: var(--rr-radius);
  background: var(--rr-ink-navy);
  color: var(--rr-ivory-silk);
  font: 500 var(--rr-size-body-s)/1 var(--rr-text);
  text-decoration: none;
  transition: background-color .2s;
}
.btn:hover { background: var(--rr-deep-rose); }

/* ---------- header ---------- */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px clamp(16px, 5vw, 72px);
  border-bottom: 1px solid var(--rr-rule);
}
.site-head__home { display: block; }
.site-head .lockup { width: clamp(150px, 18vw, 210px); }
.site-head__nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); font-size: var(--rr-size-body-s); font-weight: 400; }
.site-head__nav a { text-decoration: none; color: var(--rr-pearl-grey); }
.site-head__nav a:hover { color: var(--rr-ivory-silk); }
.site-head__nav .site-head__enquire { color: var(--rr-ivory-silk); border-bottom: 1px solid var(--rr-silk-gold); padding-bottom: 3px; }

/* ---------- hero (navy ground) ---------- */
.hero {
  min-height: calc(100svh - 84px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: var(--rr-space-5);
  padding: clamp(64px, 12vh, 140px) clamp(16px, 5vw, 72px) clamp(32px, 6vh, 56px);
}
.hero__inner { max-width: 760px; }
.hero__title {
  font-family: var(--rr-display); font-weight: 400;
  font-size: clamp(52px, 8.4vw, var(--rr-size-display-xl));
  letter-spacing: var(--rr-track-display);
  line-height: var(--rr-leading-display);
}
.hero__title em { font-style: italic; }
.hero__hair { width: 72px; margin: clamp(28px, 4vw, 40px) 0 var(--rr-space-3); }
.hero__lede { max-width: 34ch; color: var(--rr-pearl-grey); font-size: clamp(18px, 1.8vw, 20px); }
.hero__cta {
  display: inline-block; margin-top: var(--rr-space-4);
  /* Fuchsia carries text on navy at large size only (3.9:1). */
  color: var(--rr-hot-fuchsia);
  font-size: var(--rr-size-heading); font-weight: 500; line-height: 1.3;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.hero__cta:hover { color: var(--rr-blush); }

.iconrow { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(10px, 2vw, 22px); color: var(--rr-silk-gold); }
.iconrow li { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.iconrow li + li::before {
  content: ""; width: 1px; height: calc(clamp(32px, 3.8vw, 44px) * .7);
  background: rgba(201, 161, 83, .5);
}
.iconrow .ico { width: clamp(32px, 3.8vw, 44px); height: auto; aspect-ratio: 1; }

/* ---------- two steps (ivory ground) ---------- */
.build { padding: var(--rr-space-6) clamp(16px, 5vw, 72px); }
.build__head { max-width: 640px; margin-bottom: var(--rr-space-5); }
.build__head h2 { margin-bottom: var(--rr-space-3); }
.build__head p { color: var(--rr-muted); max-width: var(--rr-measure); }

.steps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--rr-space-5);
}
.step { border-top: 1px solid var(--rr-ink-navy); padding-top: var(--rr-space-3); }
.step .label { margin-bottom: var(--rr-space-2); }
.step__title {
  font-family: var(--rr-text); font-weight: 400;
  font-size: var(--rr-size-heading); line-height: 1.25;
  color: var(--rr-deep-rose);
  margin-bottom: var(--rr-space-2);
}
.step__desc { color: var(--rr-ink-navy); max-width: 46ch; margin-bottom: var(--rr-space-4); }

.menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--rr-space-3); }
.menu li {
  display: flex; align-items: center; gap: var(--rr-space-2);
  padding: 14px 0;
  border-top: 1px solid var(--rr-rule);
  font-size: var(--rr-size-body-s); font-weight: 400;
}
.menu .ico { width: 40px; height: 40px; color: var(--rr-ink-navy); }

/* ---------- interlude (navy ground) ---------- */
.beat {
  padding: var(--rr-space-6) clamp(16px, 5vw, 72px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--rr-space-3);
}
.beat__title {
  font-family: var(--rr-display); font-weight: 400; font-style: italic;
  font-size: clamp(44px, 6.4vw, var(--rr-size-display-l));
  letter-spacing: var(--rr-track-display); line-height: 1.04;
  color: var(--rr-hot-fuchsia);
}
.beat__hair { width: 48px; }
.beat p { color: var(--rr-blush); max-width: 28ch; }

/* ---------- enquire (ivory ground) ---------- */
.enquire {
  padding: var(--rr-space-6) clamp(16px, 5vw, 72px);
  display: grid; justify-items: start; gap: var(--rr-space-3);
}
.enquire p { max-width: 48ch; color: var(--rr-ink-navy); }
.enquire .btn { margin-top: var(--rr-space-1); }
.enquire__addr { font-size: var(--rr-size-small); }
.enquire__addr a { color: var(--rr-deep-rose); }

/* ---------- footer (navy ground) ---------- */
.site-foot {
  padding: var(--rr-space-5) clamp(16px, 5vw, 72px);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--rr-space-2) var(--rr-space-4);
  border-top: 1px solid var(--rr-silk-gold);
  color: var(--rr-pearl-grey); font-size: var(--rr-size-small);
}
.lockup--foot { width: 160px; margin-right: auto; }
.site-foot a { text-decoration: none; border-bottom: 1px solid var(--rr-rule); }
.site-foot a:hover { color: var(--rr-ivory-silk); }
.site-foot__small { color: var(--rr-muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-head__nav a:not(.site-head__enquire) { display: none; }
  .site-head .lockup { width: 140px; }
  .hero { min-height: 0; }
  .menu { grid-template-columns: 1fr; }
  .lockup--foot { width: 140px; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- cookie banner (navy ground) ---------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--rr-space-2) var(--rr-space-4);
  padding: var(--rr-space-3) clamp(16px, 5vw, 72px);
  background: var(--rr-ink-navy);
  border-top: 1px solid var(--rr-silk-gold);
  color: var(--rr-pearl-grey);
  font-size: var(--rr-size-small); line-height: 1.6;
}
.consent__text { max-width: 62ch; }
.consent__text a { color: var(--rr-ivory-silk); }
.consent__actions { display: flex; gap: var(--rr-space-1); }
.consent__btn {
  font: 500 var(--rr-size-small)/1 var(--rr-text);
  padding: 13px 22px; border-radius: var(--rr-radius); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.consent__btn--decline { background: transparent; color: var(--rr-ivory-silk); border: 1px solid var(--rr-rule-on-dark); }
.consent__btn--decline:hover { border-color: var(--rr-pearl-grey); }
.consent__btn--accept { background: var(--rr-ivory-silk); color: var(--rr-ink-navy); border: 1px solid var(--rr-ivory-silk); }
.consent__btn--accept:hover { background: var(--rr-pearl-grey); border-color: var(--rr-pearl-grey); }
@media (max-width: 640px) {
  .consent__actions { width: 100%; }
  .consent__btn { flex: 1 1 0; }
}

/* ---------- footer links ---------- */
.site-foot__links { display: flex; flex-wrap: wrap; gap: var(--rr-space-1) var(--rr-space-3); }
.site-foot button.linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; border-bottom: 1px solid var(--rr-rule);
}
.site-foot button.linklike:hover { color: var(--rr-ivory-silk); }

/* ---------- legal pages (ivory ground) ---------- */
.legal { padding: var(--rr-space-6) clamp(16px, 5vw, 72px); max-width: calc(62ch + 2 * 72px); }
.legal__title {
  font-family: var(--rr-display); font-weight: 400;
  font-size: clamp(40px, 6vw, var(--rr-size-display-l));
  letter-spacing: var(--rr-track-display); line-height: 1.04;
  margin-bottom: var(--rr-space-2);
}
.legal__updated { color: var(--rr-muted); font-size: var(--rr-size-small); margin-bottom: var(--rr-space-5); }
.legal h2 {
  font-family: var(--rr-text); font-weight: 400;
  font-size: var(--rr-size-heading); line-height: 1.25;
  color: var(--rr-deep-rose);
  margin: var(--rr-space-5) 0 var(--rr-space-2);
  padding-top: var(--rr-space-3); border-top: 1px solid var(--rr-rule);
}
.legal p, .legal li { max-width: var(--rr-measure); }
.legal p + p { margin-top: var(--rr-space-2); }
.legal ul { list-style: disc; padding-left: 1.2em; margin: var(--rr-space-2) 0; }
.legal li + li { margin-top: var(--rr-space-1); }
.legal a { color: var(--rr-deep-rose); }
.legal strong { font-weight: 500; }
