/* ==========================================================================
   I Want To Be A Model — makemeamodel.org.uk
   Editorial / fashion-magazine system, built around a "red flag" motif.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Work+Sans:wght@400;500;600&family=Space+Grotesk:wght@500;600&display=swap');

:root {
  --paper: #F7F4EE;
  --paper-dim: #EFEBE1;
  --ink: #1B1B18;
  --red: #C41E3A;
  --red-dark: #8F1428;
  --gold: #B99A56;
  --grey: #6E6B62;
  --line: #D8D3C7;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', Arial, sans-serif;
  --font-eyebrow: 'Space Grotesk', Arial, sans-serif;

  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand span { color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  padding: 0.4rem 0.6rem;
  font-family: var(--font-eyebrow);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-eyebrow);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--red); border-color: var(--red); }

.nav-links .nav-resources a {
  color: var(--red-dark);
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--line);
    margin-top: 0.75rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 0.85rem 0.1rem; }
  .nav-bar { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.2;
  min-height: 340px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27,27,24,0.72) 0%, rgba(27,27,24,0.28) 42%, rgba(27,27,24,0.06) 70%);
}

.hero-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(1.5rem, 5vw, 3.5rem) var(--gutter) clamp(2rem, 6vw, 3.5rem);
  color: var(--paper);
  max-width: var(--max);
  margin: 0 auto;
}

.hero-copy .eyebrow { color: var(--gold); }

.hero-copy h1 {
  color: var(--paper);
  font-size: clamp(2.1rem, 6vw, 4rem);
  margin-top: 0.5rem;
  max-width: 16ch;
}

.hero-copy p {
  max-width: 46ch;
  margin: 1rem 0 0;
  font-size: 1.05rem;
  color: #EFEBE1;
}

.stamp {
  position: absolute;
  top: clamp(1rem, 4vw, 2.5rem);
  right: clamp(1rem, 4vw, 3rem);
  width: clamp(84px, 12vw, 128px);
  height: clamp(84px, 12vw, 128px);
  border: 3px solid var(--red);
  border-radius: 50%;
  transform: rotate(-14deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--red);
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: clamp(0.62rem, 1.4vw, 0.78rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  background: rgba(247,244,238,0.08);
  padding: 0.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--paper);
  font-family: var(--font-eyebrow);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.section-head {
  max-width: 62ch;
  margin-bottom: 2.4rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin-top: 0.5rem;
}
.section-head p { color: var(--grey); margin: 0.9rem 0 0; }

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 500;
  font-style: italic;
  max-width: 34ch;
  color: var(--ink);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 780px) {
  .intro-grid { grid-template-columns: 1fr; }
}
.intro-grid .lede { grid-column: 1; }
.intro-grid .body-copy { grid-column: 2; }
@media (max-width: 780px) {
  .intro-grid .lede, .intro-grid .body-copy { grid-column: 1; }
}
.body-copy p { margin: 0 0 1rem; color: #33322E; }
.body-copy p:last-child { margin-bottom: 0; }

/* ---------- Red flag cards ---------- */
.flag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.flag-card {
  background: #FFFDF9;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.flag-card .flag-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
}
.flag-card img { width: 100%; height: 100%; object-fit: cover; }

.flag-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-eyebrow);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
  transform: rotate(-2deg);
}

.flag-body { padding: 1.1rem 1.2rem 1.4rem; }
.flag-body h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}
.flag-body p { margin: 0; color: var(--grey); font-size: 0.94rem; }

/* ---------- Scam explainer rows ---------- */
.scam-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  padding: 2.4rem 0;
}
.scam-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.scam-row.reverse .scam-media { order: 2; }
.scam-row.reverse .scam-copy { order: 1; }

@media (max-width: 760px) {
  .scam-row, .scam-row.reverse { grid-template-columns: 1fr; }
  .scam-row.reverse .scam-media,
  .scam-row.reverse .scam-copy { order: initial; }
}

.scam-media { border-radius: 3px; overflow: hidden; border: 1px solid var(--line); }
.scam-copy .eyebrow { display: block; margin-bottom: 0.6rem; }
.scam-copy h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.scam-copy p { color: #33322E; margin: 0 0 0.8rem; }
.scam-copy p:last-child { margin-bottom: 0; }

/* ---------- Checklist (what real agencies do) ---------- */
.checklist-section { background: var(--ink); color: var(--paper); }
.checklist-section .section-head p { color: #C9C6BC; }
.checklist-section .eyebrow { color: var(--gold); }

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem 2.5rem;
}
.check-item { display: flex; gap: 0.8rem; align-items: flex-start; }
.check-mark {
  flex: none;
  width: 1.5rem; height: 1.5rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-eyebrow);
  font-size: 0.85rem;
  color: var(--gold);
  margin-top: 0.15rem;
}
.check-item p { margin: 0; color: #E7E4DA; font-size: 0.96rem; }
.check-item strong { color: var(--paper); }

/* ---------- Before you sign / audience split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
}
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }

.split-card {
  border: 1px solid var(--line);
  background: #FFFDF9;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 3px;
}
.split-card .media { border-radius: 3px; overflow: hidden; margin-bottom: 1.2rem; border: 1px solid var(--line); }
.split-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.split-card ol, .split-card ul { margin: 0; padding-left: 1.2rem; color: #33322E; }
.split-card li { margin-bottom: 0.55rem; }
.split-card li:last-child { margin-bottom: 0; }

/* ---------- Resources (replaces contact page) ---------- */
.resources-section { background: var(--paper-dim); }

.resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.resource-card {
  background: #FFFDF9;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 1.3rem 1.4rem;
  border-radius: 2px;
}
.resource-card .eyebrow { color: var(--grey); }
.resource-card h3 { font-size: 1.1rem; margin: 0.4rem 0 0.5rem; }
.resource-card p { margin: 0 0 0.8rem; color: #33322E; font-size: 0.94rem; }
.resource-card a {
  font-family: var(--font-eyebrow);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red-dark);
  border-bottom: 1.5px solid var(--red-dark);
  padding-bottom: 2px;
}
.resource-card a:hover { color: var(--red); border-color: var(--red); }

.crisis-note {
  margin-top: 2.2rem;
  padding: 1.2rem 1.4rem;
  border: 1.5px solid var(--red);
  background: #FBEEEF;
  border-radius: 2px;
  max-width: 62ch;
}
.crisis-note p { margin: 0; font-size: 0.94rem; }
.crisis-note strong { color: var(--red-dark); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 3rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-note {
  max-width: 46ch;
  color: var(--grey);
  font-size: 0.88rem;
  margin: 0.6rem 0 0;
}
.footer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.footer-links a {
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.footer-links a:hover { border-color: var(--ink); }
