/* resources.celestecurrie.com - the claim page for what comes with the
   Society Manual: the martial arts resources and the exercise demonstrations.

   The Den's palette, kept deliberately in its own file rather than shared:
   this is a different Netlify site and a stylesheet it cannot reach is worse
   than fourteen duplicated custom properties.

   Bronze on black. #9C6B30 is the brand bronze and it is a FILL colour - it
   measures 4.6:1 against white and never carries text on black. --accent is
   the same hue lifted until it clears AAA, and that is what every piece of
   bronze text uses.

   No gradients, no rounded corners, no drop shadows. */

:root {
  --black: #000000;
  --surface: #0B0805;
  --bronze: #9C6B30;
  --bronze-lift: #8C602B;
  --accent: #CB904D;
  --text: #F1E6DC;
  --text-mute: #BFAC9A;
  --edge: rgba(203, 144, 77, 0.24);
  --edge-soft: rgba(241, 230, 220, 0.09);
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

/* Her banner. A background rather than an <img> so a missing or slow file
   leaves a black band instead of a broken icon, and the page below it is
   never pushed about while it loads. The ratio matches the artwork, so
   nothing is cropped off the ends of it. */
.hero {
  aspect-ratio: 1120 / 560;
  margin-bottom: 44px;
  background: var(--surface) url('/assets/resources.jpg') center / cover no-repeat;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.title {
  margin: 0 0 24px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* The only paragraph on the page, so it reads as the lede it now is rather
   than as a footnote under the title. */
.note { margin: 0 0 36px; font-size: 18px; color: var(--text); }
.note strong { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------------ FORM */

.claim { margin: 0 0 40px; }

.field {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--edge-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;   /* 16px or iOS zooms the page on focus */
}

.field::placeholder { color: var(--text-mute); }
.field:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: transparent; }

.cta {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 17px 28px;
  background: var(--bronze);
  border: 1px solid var(--bronze);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.cta:hover,
.cta:focus-visible { background: var(--bronze-lift); border-color: var(--bronze-lift); }

.cta[disabled] {
  background: transparent;
  border-color: var(--edge-soft);
  color: var(--text-mute);
  cursor: default;
}

.said { margin: 16px 0 0; min-height: 1.65em; font-size: 14px; color: var(--accent); }

/* Off screen rather than display:none, so a bot filling every field in still
   finds it and a screen reader does not read it out. */
.trap {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ DONE */

.done {
  margin: 0 0 40px;
  padding: 30px 32px;
  background: var(--surface);
  border: 1px solid var(--edge);
}

.done-head { margin: 0 0 14px; font-size: 19px; font-weight: 600; color: var(--accent); }
.done p { margin: 0 0 20px; }
.done p:last-child { margin: 0; }

.foot { margin: 0; font-size: 14px; color: var(--text-mute); }
.foot a { color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

@media (max-width: 460px) {
  .page { padding: 36px 20px 56px; }
  .title { font-size: 32px; }
  .done { padding: 24px 22px; }
}
