/* ==========================================================================
   Renewal Brands Group, LLC — site styles
   Palette: Renewal Teal #418E91 · Transformation Gold #D0831E · Charcoal
   No frameworks. No build step. Single stylesheet.
   ========================================================================== */

:root {
  --teal: #418e91;
  --teal-deep: #2b6466;   /* accessible teal for text/links on light bg */
  --teal-tint: #eef4f4;
  --gold: #d0831e;
  --gold-deep: #8a5610;   /* accessible gold for small text, if ever needed */
  --gold-tint: #faf3e8;

  --ink: #17191a;         /* headings */
  --ink-body: #3c4143;    /* body copy */
  --ink-muted: #5d6467;   /* meta / captions */

  --paper: #ffffff;
  --shell: #faf8f5;       /* very light neutral */
  --line: #e6e1da;

  --maxw: 1080px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(3.5rem, 9vw, 7rem);

  --serif: "Lora", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------- reset -- */

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

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

a { color: var(--teal-deep); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------- helpers -- */

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

/* Narrow measure for readable text, but flush-left with every other section
   so all content shares one left edge across the page. */
.wrap--narrow > * { max-width: 780px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-size: 0.9rem;
}
.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  color: #fff;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 1rem;
}

.rule {
  width: 52px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.75rem;
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: var(--ink-body);
}

.tm { font-size: 0.7em; vertical-align: 0.45em; letter-spacing: 0; }

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.1rem;
}

.brandmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
}

.brandmark__name {
  font-family: var(--serif);
  font-size: 1.1875rem;
  letter-spacing: 0.005em;
  line-height: 1.1;
}

.brandmark__suffix {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.5rem;
}

.nav a {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--ink-body);
  text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a:focus-visible { color: var(--ink); border-bottom-color: var(--gold); }

.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

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

.hero {
  background: var(--shell);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3.75rem, 10vw, 7.5rem);
}

.hero h1 {
  font-size: clamp(2.125rem, 5.6vw, 3.5rem);
  margin-bottom: 0.75rem;
  max-width: 16ch;
}

.hero__disciplines {
  font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 2rem;
}

.hero__copy {
  max-width: 62ch;
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-body);
}

/* ------------------------------------------------------------ sections -- */

.section { padding-block: var(--section-y); }

.section--tint {
  background: var(--shell);
  border-block: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(1.625rem, 3.4vw, 2.25rem);
}

.section__head { max-width: 62ch; margin-bottom: 2.5rem; }
.section__head :last-child { margin-bottom: 0; }

/* ------------------------------------------------- flagship / five Rs -- */

.flagship__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  padding: clamp(1.75rem, 4.5vw, 3rem);
}

/* Approved TRE monogram — flagship section only, never the parent identity */
.flagship__mark {
  width: clamp(64px, 9vw, 84px);
  height: auto;
  margin-bottom: 1.5rem;
}

.flagship__card h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.375rem);
  margin-bottom: 1rem;
}

.fiverrs {
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  /* 3 + 2 on desktop, 2 on tablet, 1 on phone — readability before symmetry */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.five-r {
  background: var(--shell);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  padding: 1.5rem 1.5rem 1.625rem;
}

.five-r__num {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin: 0 0 0.5rem;
}

.five-r__name {
  font-family: var(--serif);
  font-size: clamp(1.1875rem, 2.2vw, 1.375rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.6rem;
  padding: 0;
  border: 0;
}

.five-r__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-body);
  margin: 0;
}

.tagline {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin: 2rem 0;
}

.btn {
  display: inline-block;
  background: var(--teal-deep);
  color: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.9rem 1.75rem;
  border: 1px solid var(--teal-deep);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.btn:hover,
.btn:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ------------------------------------------------------ what we develop -- */

.develop {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.25rem 3rem;
}

.develop h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
}

.develop p {
  font-size: 1rem;
  color: var(--ink-body);
  margin: 0;
}

/* ------------------------------------------------------------- contact -- */

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.4rem;
}

.contact__value {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  margin: 0;
  word-break: break-word;
}

.contact__value a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* -------------------------------------------------------------- policy -- */

.page-head {
  background: var(--shell);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
}

.page-head h1 {
  font-size: clamp(1.875rem, 4.6vw, 2.75rem);
  margin-bottom: 0.4rem;
}

.page-head__sub {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--ink-body);
  margin: 0 0 1.25rem;
}

.page-head__meta {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  margin: 0;
}

.policy { padding-block: clamp(2.75rem, 7vw, 4.5rem); }

.policy h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.policy h2:first-of-type { margin-top: 2rem; }

.policy h3 {
  font-size: 1.0625rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 2rem;
  margin-bottom: 0.4rem;
}

.policy ul { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.policy li { margin-bottom: 0.45rem; }

.policy .callout {
  background: var(--teal-tint);
  border-left: 3px solid var(--teal);
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 1rem;
}

.policy .callout p { margin-bottom: 0.4rem; }
.policy .callout p:last-child { margin-bottom: 0; }

.back-home {
  display: inline-block;
  margin-top: 3rem;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

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

.site-footer {
  background: var(--shell);
  border-top: 1px solid var(--line);
  padding-block: 2.75rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.site-footer a { color: var(--teal-deep); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--ink); border-bottom-color: var(--gold); }

.site-footer__legal { margin: 0; }

@media (max-width: 640px) {
  /* Five Rs stack vertically with comfortable spacing */
  .fiverrs { grid-template-columns: 1fr; gap: 1rem; }
  .five-r { padding: 1.375rem 1.25rem 1.5rem; }
}

@media (max-width: 560px) {
  .site-header__inner { justify-content: flex-start; }
  .nav { gap: 0.25rem 1.1rem; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .tagline { padding-left: 1rem; }
}

@media print {
  .site-header, .site-footer__links, .skip-link { display: none; }
  body { color: #000; }
}
