/* ==========================================================================
   Digital Responsibility Forum: static port of digitalresponsibilityforum.com
   Palette and type taken from the original GoDaddy theme.
   ========================================================================== */

/* Fonts are self-hosted so no visitor data is sent to Google. */
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/quicksand.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/quicksand-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
}

:root {
  --gold: #e0d69f;          /* brand accent (theme colour) */
  --gold-light: #f8f2d5;
  --gold-mid: #d5cda0;
  --olive: #7d7756;         /* accent text on light backgrounds */
  --olive-dark: #4b4733;
  --ink: #1b1b1b;
  --text: #474747;
  --muted: #5e5e5e;
  --line: #e2e2e2;
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --dark: #161616;

  --font-head: "Quicksand", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --max: 1180px;
  --radius: 6px;
  --shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--olive-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--gold { background: var(--gold-light); }

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.8rem auto 0;
}
.section-intro { text-align: center; max-width: 720px; margin: -1.5rem auto 2.5rem; color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--gold-mid); border-color: var(--gold-mid); color: var(--ink); }
.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Header and navigation ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  color: #fff;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}
.logo:hover { color: var(--gold); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--gold); color: #fff; }

/* Mobile menu: CSS only, no scripts */
.nav-toggle { display: none; }
.nav-toggle summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border: 2px solid #fff;
  border-radius: var(--radius);
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle ul {
  list-style: none;
  position: absolute;
  right: 1.25rem;
  margin: 0.6rem 0 0;
  padding: 0.6rem 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 200px;
}
.nav-toggle li a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
}
.nav-toggle li a[aria-current="page"] { background: var(--gold-light); }

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  background: #222 url("../images/hero.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.6) 100%);
}
.hero__content { position: relative; padding: 8rem 0 5rem; max-width: 900px; margin-inline: auto; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero__tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gold);
  margin-bottom: 2rem;
}

/* Inner page banner */
.page-banner {
  position: relative;
  color: #fff;
  text-align: center;
  background: #222 url("../images/hero.jpg") center / cover no-repeat;
  padding: 9.5rem 0 4.5rem;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; margin: 0; }
.page-banner p { color: var(--gold); font-family: var(--font-head); font-weight: 600; margin: 0.6rem 0 0; }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 2rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card__img--contain { object-fit: contain; background: #fff; padding: 1rem; }
.card__body { padding: 1.5rem 1.6rem 1.8rem; flex: 1; }
.card__body h3, .card__body h4 { margin-bottom: 0.7rem; }
.card__body > :last-child { margin-bottom: 0; }

.sub-head {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--olive-dark);
  margin: 1rem 0 0.3rem;
}
.sub-head:first-child { margin-top: 0; }

/* Overlay cards ("Why Digital Responsibility?") */
.overlay-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  box-shadow: var(--shadow);
}
.overlay-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.82) 55%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
}
.overlay-card__body { position: relative; z-index: 2; padding: 1.8rem; }
.overlay-card h3 { color: var(--gold); }
.overlay-card p { margin: 0 0 0.8em; }
.overlay-card strong { color: #fff; }

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  text-align: center;
  color: #fff;
  background: #222 url("../images/banner-help.jpg") center / cover no-repeat;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.cta-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.cta-banner .container { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: 1.5rem; }

/* ---------- FAQ (native details element) ---------- */

.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.2rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  padding: 1.1rem 2.5rem 1.1rem 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--olive);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.2rem; }

/* ---------- Media + text rows ---------- */

.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.media-row img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.media-row--reverse > :first-child { order: 2; }
@media (max-width: 820px) {
  .media-row { grid-template-columns: 1fr; }
  .media-row--reverse > :first-child { order: 0; }
}

.option-label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.5rem;
}

/* ---------- Team ---------- */

.team-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.member {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.member__photo { aspect-ratio: 1 / 1; object-fit: cover; object-position: center 25%; width: 100%; }
.member__body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.member h3 { margin-bottom: 0.8rem; }

.member__facts { margin: 0 0 1rem; font-size: 0.95rem; }
.member__facts div { margin-bottom: 0.3rem; }
.member__facts dt { display: inline; font-weight: 700; color: var(--olive-dark); }
.member__facts dt::after { content: ": "; }
.member__facts dd { display: inline; margin: 0; }

.member details { margin-top: auto; }
.member summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--olive-dark);
  padding-top: 0.4rem;
}
.member summary::-webkit-details-marker { display: none; }
.member summary::after { content: " \25BE"; }
.member details[open] summary { margin-bottom: 0.8rem; }
.member details[open] summary .more { display: none; }
.member details:not([open]) summary .less { display: none; }
.member details[open] summary::after { content: " \25B4"; }
.member details p, .member details li { font-size: 0.97rem; }
.member ul { padding-left: 1.2rem; }

.member--join { background: var(--gold-light); }

/* ---------- Contact ---------- */

.contact-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.contact-box h2 { font-size: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { margin-bottom: 0.6rem; }

/* ---------- Subscribe ---------- */

.subscribe { text-align: center; }
.subscribe p { max-width: 560px; margin: 0 auto 1.5rem; }

/* ---------- Prose (privacy policy) ---------- */

.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose ol[type="a"] { padding-left: 1.4rem; }
.prose a { word-break: break-word; }

/* ---------- Placeholder marker (for content still to be supplied) ---------- */

.placeholder {
  background: #fff4c2;
  border-left: 4px solid #c9a400;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: #cfcfcf;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  align-items: flex-start;
}
.footer-brand { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.2rem; margin-bottom: 0.4rem; }
.footer-nav ul, .footer-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: #a9a9a9;
}
