/* ======================================================
   _style-typography.css  (R3 / Oakland v1.4)
   Purpose: Modern readable rhythm + headings + text utilities
   NOTE: Color variables, buttons, dividers, and theme logic
         live in _style-theme.css
   ====================================================== */

/* ---------- Base Text & Page ---------- */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

/* Paragraph rhythm */
p {
  margin: 0 0 1.25em;
}

/* Small text utility */
.small,
.text-small {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Links (colors come from theme variables) */
a {
  color: var(--link);
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--brand);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 1.6em 0 0.5em; /* slightly tighter */
}

/* Responsive sizes with clamp() */
h1 { font-size: clamp(34px, 4vw, 40px); }
h2 { font-size: clamp(28px, 3.2vw, 36px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); }
h4 { font-size: clamp(18px, 2.2vw, 24px); }
h5 { font-size: clamp(16px, 2vw, 20px); }
h6 {
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Section titles + helpers */
.section-title,
.section h2,
h2.left {
  font-size: 2rem;
  margin-top: 0;          /* no extra top space inside section */
  margin-bottom: 24px;    /* slightly tighter */
}

/* Global alignment: center section titles */
.section-title {
  text-align: center;
}

/* Service card typography */
.service-title {
  font-size: 1.3rem;
  font-weight: 600;
}

.service-text {
  font-size: 18px;
  line-height: 1.45;
}

/* ---------- Lists & Font Awesome Bullets ---------- */
ul,
ol {
  margin: 0.8em 0 1.4em 1.4em;
  padding-left: 1.2em;
}

ul li,
ol li {
  margin-bottom: 0.45em;
  line-height: 1.55;
}

/* Quick spacing variants */
ul.tight li,
ol.tight li {
  margin-bottom: 0.25em;
}
ul.loose li,
ol.loose li {
  margin-bottom: 0.65em;
}

/* Font Awesome as bullets */
.fa-ul {
  margin-left: 1.6em;
}
.fa-li {
  left: -1.5em;
}
.fa-li i,
li i.fa,
li i.fas,
li i.far,
li i.fal,
li i.fab {
  margin-right: 0.6em;
  color: var(--brand);
  line-height: 1.6;
  vertical-align: middle;
}

/* Duotone bullet circle:
   outer circle = Oakland maroon, inner = neutral gray */
.orr-bullet-circle {
  --fa-primary-color: var(--brand);
  --fa-primary-opacity: 1;
  --fa-secondary-color: #777;
  --fa-secondary-opacity: 1;
}

/* ---------- Section Helpers ---------- */
.section {
  padding: 40px 0;    /* was 56px */
}
.section--narrow {
  padding: 32px 0;
}

/* Narrow reading column */
.measure {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;    /* breathing room on phones/tablets */
}

/* Remove side padding on desktop */
@media (min-width: 768px) {
  .measure {
    padding: 0;
  }
}

/* Alignment helpers */
.center {
  text-align: center;
}
.left {
  text-align: left;
}

/* ---------- For Gallery ----------*/
/* Wider, centered container for image galleries */
.gallery-wrap {
  max-width: 1200px;   /* wider than .measure */
  margin: 0 auto;      /* center on the page */
}

/* Optional: light vertical spacing for rows inside galleries */
.gallery-wrap .gallery-row {
  margin-top: 16px;
}

/* Slightly smaller note text under galleries */
.gallery-note {
  font-size: 0.9rem;
  color: var(--muted-fg, #666);
}
