/* ==========================================================================
   Ari Scharf — Sales & Marketing Consultant, New York, NY
   Static stylesheet. Plain CSS3, no frameworks.
   ========================================================================== */

:root {
  --ink:        #14161a;   /* near-black          */
  --charcoal:   #22262d;   /* deep charcoal       */
  --charcoal-2: #2c313a;
  --copper:     #b06a2c;   /* warm copper accent  */
  --copper-lt:  #c98443;
  --copper-dk:  #8d5220;
  --paper:      #ffffff;
  --cream:      #f6f3ee;   /* light neutral       */
  --cream-2:    #ece7de;
  --rule:       #ddd6ca;
  --text:       #24272c;
  --muted:      #6b7078;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, system-ui, sans-serif;

  --wrap: 1140px;
  --pad:  1.25rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: var(--copper-dk); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--copper); }

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

h1 { font-size: clamp(2rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

p { margin: 0 0 1.1em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--copper); color: #fff; padding: .75rem 1.1rem;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: .75rem; top: .75rem; }

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

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

.site-header {
  background: var(--charcoal);
  color: #fff;
  border-bottom: 3px solid var(--copper);
  position: relative;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .8rem;
}

.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: #fff; }
.brand img {
  width: 56px; height: 56px; object-fit: cover; object-position: 50% 18%;
  border-radius: 50%; border: 2px solid var(--copper); flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name  { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #fff; letter-spacing: .01em; }
.brand-tag   { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-lt); }

.header-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 4px; padding: .5rem .6rem;
  font: inherit; font-size: .85rem; cursor: pointer; align-items: center; gap: .5rem;
}
.nav-toggle-bars { display: block; width: 20px; height: 2px; background: #fff; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.site-nav a {
  color: #e9e6e1; text-decoration: none; font-size: .95rem;
  letter-spacing: .04em; text-transform: uppercase; padding-block: .35rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--copper); }

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

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 700; font-size: .95rem;
  letter-spacing: .03em; text-decoration: none; cursor: pointer;
  padding: .8rem 1.35rem; border-radius: 3px; border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-lt); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--charcoal-2); color: #fff; }

.phone-cta {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  color: #fff; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--copper); border-radius: 3px;
  padding: .55rem .95rem; background: rgba(176,106,44,.18);
}
.phone-cta:hover { background: var(--copper); color: #fff; }
.phone-cta svg { flex: 0 0 auto; }

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

.hero {
  background:
    linear-gradient(180deg, rgba(20,22,26,.94) 0%, rgba(34,38,45,.97) 100%);
  color: #f2efea;
  padding-block: clamp(2.6rem, 6.5vw, 4.5rem);
  border-bottom: 1px solid var(--charcoal-2);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.hero .eyebrow {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--copper-lt); margin: 0 0 1rem; font-weight: 700;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p { color: #d6d2cc; font-size: 1.1rem; max-width: 46ch; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.hero-photo {
  border: 1px solid var(--charcoal-2);
  border-top: 4px solid var(--copper);
  background: #1b1e23;
}
.hero-photo img { width: 100%; }

/* ---------- Sections -------------------------------------------------- */

section { padding-block: clamp(2.5rem, 6vw, 4.25rem); }
.section-cream { background: var(--cream); border-block: 1px solid var(--rule); }
.section-dark  { background: var(--charcoal); color: #e6e2dc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: var(--copper-lt); }

.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-tight { padding-block: clamp(2.75rem, 6vw, 4.25rem); padding-bottom: clamp(3.25rem, 7vw, 5rem); }
.section-head .eyebrow {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--copper-dk); font-weight: 700; margin: 0 0 .6rem;
}
.section-dark .section-head .eyebrow { color: var(--copper-lt); }

.prose { max-width: 68ch; }
.prose p { font-size: 1.075rem; }
.lede { font-size: 1.2rem !important; color: var(--charcoal); font-family: var(--serif); }

/* ---------- Credentials strip ---------------------------------------- */

.credo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.credo-item { border-top: 3px solid var(--copper); padding-top: 1rem; }
.credo-item h3 { margin-bottom: .4rem; }
.credo-item p { color: var(--muted); font-size: .98rem; margin: 0; }
.section-dark .credo-item p { color: #b8b3ac; }
.section-dark .credo-item { border-top-color: var(--copper-lt); }

/* ---------- Figures --------------------------------------------------- */

figure { margin: 0 0 1.5rem; }
figure img { width: 100%; border: 1px solid var(--rule); }
figcaption { font-size: .85rem; color: var(--muted); padding: .6rem .35rem .25rem; }

.figure-frame { border: 1px solid var(--rule); background: var(--paper); padding: .5rem; }
.figure-frame img { border: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }

/* ---------- Services list -------------------------------------------- */

.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.services li {
  display: flex; gap: 1rem; align-items: baseline;
  padding: 1rem .25rem; border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
}
.services .num {
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; color: var(--copper); flex: 0 0 2rem;
}

/* ---------- Pull quote ------------------------------------------------ */

.pullquote {
  margin: 0; border-left: 4px solid var(--copper);
  padding: .35rem 0 .35rem 1.5rem; max-width: 46ch;
}
.pullquote p {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  line-height: 1.35; color: var(--ink); font-style: italic; margin-bottom: .6rem;
}
.pullquote cite { font-style: normal; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-dk); font-weight: 700; }
.section-dark .pullquote p { color: #fff; }
.section-dark .pullquote cite { color: var(--copper-lt); }

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

.contact-panel {
  background: var(--charcoal); color: #e6e2dc;
  border-top: 4px solid var(--copper);
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
}
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.contact-grid > *:first-child { align-self: start; }
.contact-panel h2 { color: #fff; margin-bottom: .5rem; }
.contact-panel p { color: #b8b3ac; margin-bottom: 1.25rem; }
.contact-card {
  border-left: 3px solid var(--copper); padding-left: 1.5rem;
}
.contact-phone {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; text-decoration: none;
  letter-spacing: .01em; margin: .35rem 0 .75rem;
}
.contact-meta { font-size: .98rem; line-height: 1.9; color: #b8b3ac; margin: 0; }
.contact-meta a { color: #fff; }
.contact-meta a:hover { color: var(--copper-lt); }
.contact-phone:hover { color: var(--copper-lt); }
.contact-label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-lt); font-weight: 700; }

/* ---------- Blog ------------------------------------------------------ */

.post-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 1.75rem;
  align-items: start; padding: 1.75rem 0; border-bottom: 1px solid var(--rule);
}
.post-card:first-of-type { border-top: 1px solid var(--rule); }
.post-card img { border: 1px solid var(--rule); width: 100%; }
.post-meta { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.post-card h2 { margin-bottom: .5rem; font-size: clamp(1.35rem, 2.8vw, 1.85rem); }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--copper-dk); }

.article-body { max-width: 70ch; }
.article-body p { font-size: 1.12rem; line-height: 1.75; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center;
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 1rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.75rem;
}

.callout {
  background: var(--cream); border-left: 5px solid var(--copper);
  padding: 1.5rem 1.75rem; margin: 1.75rem 0;
  font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; color: var(--ink);
}
.callout p:last-child { margin-bottom: 0; }

.related-heading {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 3.25rem 0 .85rem;
  padding-top: 2rem; border-top: 1px solid var(--rule);
}

/* Tag row under an article — quiet, not shouty */
.tag-row { font-size: .9rem; color: var(--muted); margin-top: 2.25rem; }
.tag-row a {
  color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--rule);
  padding-bottom: 1px; margin-right: .35rem;
}
.tag-row a:hover { color: var(--copper-dk); border-bottom-color: var(--copper); }

.crumbs { font-size: .82rem; letter-spacing: .06em; color: var(--muted); margin-bottom: 2rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--copper-dk); }

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

.site-footer { background: var(--ink); color: #a9a49d; padding-block: 2.5rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 1.75rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .25rem 0; }
.site-footer a { color: #cfcac3; text-decoration: none; }
.site-footer a:hover { color: var(--copper-lt); text-decoration: underline; }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: .5rem; }
.footer-bottom {
  border-top: 1px solid #2c2f36; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .82rem; color: #85807a;
}

/* ---------- 404 ------------------------------------------------------- */

.error-page { text-align: center; padding-block: clamp(3rem, 10vw, 7rem); }
.error-code { font-family: var(--serif); font-size: clamp(4.5rem, 16vw, 9rem); line-height: 1; color: var(--copper); margin: 0; }

/* ---------- Responsive ------------------------------------------------ */

@media (max-width: 900px) {
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .contact-card { border-left: 0; border-top: 3px solid var(--copper); padding-left: 0; padding-top: 1.25rem; }
  .credo { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--charcoal-2); border-top: 1px solid var(--copper);
    border-bottom: 3px solid var(--copper); padding: .5rem 0;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { display: block; padding: .9rem 1.25rem; border-bottom: 0; }
  .header-cta .phone-cta { font-size: .95rem; padding: .5rem .7rem; }
  .post-card { grid-template-columns: 1fr; gap: 1rem; }
  .post-card img { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 1.15rem; }
  .brand-tag { display: none; }
  .header-cta .phone-cta span.phone-label { display: none; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .btn { display: none; }
  body { color: #000; }
}

/* Centered presentation for standalone (non-column) figures */
.figure-center { text-align: center; }
.figure-center img { margin-inline: auto; width: auto; max-width: 100%; }
.figure-center figcaption { text-align: center; }

/* The Save the Children lockup is a small source asset — cap it so it
   never upscales and never dominates a page. */
.figure-mesorah img { max-width: 340px; }

/* Visually distinct subheading used as an eyebrow above a section title */
.eyebrow-styled {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--copper-dk); font-weight: 700; margin: 0 0 .6rem;
}
.section-dark .eyebrow-styled { color: var(--copper-lt); }
