/* =========================================================
   DeLuca Financial Planning - Main Stylesheet
   Clean section labels; original CSS rule order preserved.
   ========================================================= */

:root {
  --color-brand: #0B2545;
  --color-brand-hover: #13345F;
  --color-brand-dark: #081C34;

  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-alt: #EAF0F7;

  --color-text: #111827;
  --color-text-secondary: #4B5563;
  --color-text-muted: #6B7280;
  --color-border: #D1D5DB;
  --color-link: #163A6B;
  --color-white: #FFFFFF;

--color-accent: #C5B79B;
--color-accent-dark: #8A6B3D;
--color-accent-soft: #9d947d;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container-width: 1120px;
  --container-padding: 24px;

  --section-spacing: 80px;
  --section-spacing-sm: 56px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.06);

  --transition-fast: 160ms ease;
}

/* =========================================================
   01. RESET / BASE ELEMENTS
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
   overflow-y: scroll;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-brand-hover);
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

p {
  margin: 0 0 1rem;
  color: var(--color-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  color: var(--color-text);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}




h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

small {
  font-size: 0.875rem;
}

ul,
ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  color: var(--color-text-secondary);
}

li + li {
  margin-top: 0.5rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* =========================================================
   02. GLOBAL LAYOUT UTILITIES
   ========================================================= */

.container {
  width: min(100% - (var(--container-padding) * 2), var(--container-width));
  margin: 0 auto;
}

.section {
  padding: var(--section-spacing) 0;
}

.section--alt {
  background-color: var(--color-surface-alt);
}

.section--hero {
  padding-top: 1rem;
  padding-bottom: 0rem;
}

.section:not(.section--alt) {
  border-top: 1px solid rgba(11, 37, 69, 0.10);
  border-bottom: 1px solid rgba(11, 37, 69, 0.04);
}
.content-narrow {
  max-width: 720px;
}

.surface {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.simple-list {
  margin: 1em 0;
  padding-left: 1.2em;
}

.simple-list li {
  margin-bottom: 0.5em;
}

.subtle {
  font-size: 0.9rem;
  color: #6b7280; /* or your muted text color */
  margin-top: 12px;
}
/* =========================================================
   03. TYPOGRAPHY HELPERS
   ========================================================= */

.eyebrow {
  display: inline-block;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
   color: var(--color-accent-dark);
}

.lead {
  max-width: 70ch;
  font-size: 1.25rem;
  color: var(--color-text-secondary);
    
}

.line-break {
  display: block;
  height: 0.4em;
}
.text-muted {
  color: var(--color-text-muted);
}

/* =========================================================
   04. SHARED PANELS / SURFACES
   ========================================================= */

.panel {
  padding: 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(11, 37, 69, 0.12);
  border-radius: var(--radius-lg);
}

.cta-panel {
  padding: 1rem 2rem;
  border: 1px solid rgba(11, 37, 69, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.cta-panel .lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   05. BUTTONS / CARDS
   ========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.125rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background-color: var(--color-brand);
  color: var(--color-white);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.button:hover,
.button:focus {
  background-color: var(--color-brand-hover);
  color: var(--color-white);
  text-decoration: none;
}

.button--secondary {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
  
}

.button--secondary:hover,
.button--secondary:focus {
  background-color: var(--color-surface-alt);
  color: var(--color-text);
}

.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 0rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.card:last-of-type {
  margin-bottom: 0;
}

.card h3 {
  color: var(--color-brand);
}

.service-card-group {
  max-width: 960px;
  margin: 0 auto;
}

.service-card-group__link {
  margin-top: 0rem;
}

@media (max-width: 768px) {
  .card {
    padding: 1.25rem; /* if currently ~1.5–1.75 */
  }
}

/* =========================================================
   06. HEADER / DESKTOP NAV
   ========================================================= */

.site-header {
  position: sticky;
  -webkit-position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
   backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
   isolation: isolate;
     border-bottom: 1.5px solid var(--color-accent);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 2rem;
  min-height: 92px;
}

.site-header__toggle {
  display: none;
}

.site-header__logo {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo img {
  width: auto;
  height: 56px;
  max-width: none;
}

.site-nav {
  grid-column: 2;
  justify-self: end;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list li {
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.site-nav__list a:hover,
.site-nav__list a:focus {
  color: var(--color-brand);
  text-decoration: none;
}

.site-header__cta {
  grid-column: 3;
  justify-self: end;
  white-space: nowrap;
  
}

.site-header__toggle {
  width: 28px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  position: relative;
  cursor: pointer;
}

.site-header__toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-brand);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.site-header__toggle span:nth-child(1) {
  top: 0;
}

.site-header__toggle span:nth-child(2) {
  top: 9px;
}

.site-header__toggle span:nth-child(3) {
  bottom: 0;
}

/* =========================================================
   07. MOBILE MENU
   ========================================================= */

.site-mobile-menu {
  display: none;
}

@media (max-width: 768px) {

  .home .section--hero {
    display: none;
  }

    .site-mobile-menu {
    display: none;
    padding: 0 0 1rem;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-accent);
  }

  .site-mobile-menu.is-open {
    display: block;
  }

  .site-mobile-menu__nav {
    width: min(100% - (var(--container-padding) * 2), var(--container-width));
    margin: 0 auto;
    padding-top: 1rem;
  }

  .site-mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .site-mobile-menu__list li {
    margin: 0;
    border-bottom: 1px solid rgba(11, 37, 69, 0.08);
  }

  .site-mobile-menu__list a {
    display: block;
    padding: 0.9rem 0;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
  }

  .site-mobile-menu__list a:hover,
  .site-mobile-menu__list a:focus {
    color: var(--color-brand);
    text-decoration: none;
  }

  .site-mobile-menu__cta {
    margin-top: 1rem;
    width: 100%;
  }

  .site-header__toggle.is-active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
  }

  .site-header__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .site-header__toggle.is-active span:nth-child(3) {
    bottom: 9px;
    transform: rotate(-45deg);
  }
}

/* =========================================================
   08. HERO
   ========================================================= */

.hero {
  min-height: auto;
  padding-top: 0;
  margin-top: 0;
}

.hero__logo {
  display: flex;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 1rem;
}

.hero__logo img {
  width: 120px;
  max-width: 100%;
  height: auto;
}

.hero--centered .lead,
.hero--centered .hero__intro,
.hero--centered h1,
.hero--centered p {
  max-width: 760px;
}

.hero--centered h1 {
  margin-top: 0;
}

/* =========================================================
   09. AUDIENCE / WHO WE WORK WITH
   ========================================================= */

/* =========================================================
   09. AUDIENCE / WHO WE WORK WITH
   ========================================================= */

.audience-panel {
  margin: 1.75rem 0 2.25rem;
  padding: 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(11, 37, 69, 0.12);
  border-radius: var(--radius-lg);
  max-width: 1050px;
   margin-left: auto;
  margin-right: auto;

}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem 2rem;
}

.audience-item {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  padding-left: 1rem;
  border-left: 2px solid rgba(11, 37, 69, 0.12);
}

.audience-item strong {
  color: var(--color-accent-soft);
  font-weight: 650;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* =========================================================
   10. FOOTER
   ========================================================= */

.site-footer {
  background-color: var(--color-brand);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a {
  color: var(--color-white);
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;

}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--color-white);
  text-decoration: underline;
}

.site-footer__inner {
  padding: 40px 0 24px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.site-footer__column {
  min-width: 0;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-footer__logo img {
  width: auto;
  height: 54px;
  max-width: none;
}

.site-footer__tagline {
  margin-top: 0.75rem;
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.site-footer__heading {
  margin: 0 0 0.75rem;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__disclosure,
.site-footer__meta {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__disclosure {
  margin: 0;
}

.site-footer__meta {
  margin-top: 0.625rem;
}

.site-footer__regulatory {
  font-size: 0.85rem;
  color: #A0A7B5; /* or whatever your muted footer text is */
  margin-top: 10px;
}

/* =========================================================
   11. GLOBAL RESPONSIVE RULES
   ========================================================= */

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
    --section-spacing: 64px;
    --section-spacing-sm: 48px;
  }

  .lead {
    font-size: 1.0625rem;
  }

  .section--hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero__logo {
    display: none;
    margin-bottom: 0;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 1rem;
    min-height: 76px;
  }

  .site-header__toggle {
    display: block;
    grid-column: 1;
    justify-self: start;
    align-self: center;
  }

  .site-header__logo {
    grid-column: 2;
    justify-self: center;
  }

  .site-header__logo img {
    height: 44px;
  }

  .site-nav,
  .site-header__cta {
    display: none;
  }

  .panel,
  .audience-panel,
  .cta-panel {
    padding: 1.25rem;
  }

  .site-footer__inner {
    padding: 28px 0 20px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
  }

  .site-footer__column:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .site-footer__logo {
    justify-content: center;
  }

  .site-footer__logo img {
    height: 38px;
  }

  .site-footer__tagline {
    margin-top: 0.625rem;
    margin-left: auto;
    margin-right: auto;
    max-width: none;
  }

  .site-footer__heading {
    margin-bottom: 0.5rem;
  }

  .site-footer__links li {
    margin-bottom: 0.375rem;
  }

  .site-footer__bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .site-footer__disclosure,
  .site-footer__meta {
    font-size: 0.8125rem;
    line-height: 1.45;
  }
}

/* =========================================================
   12. ABOUT PAGE
   ========================================================= */
.about-bio {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-bio__media {
  max-width: 420px;
}

.about-photo-placeholder {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(11, 37, 69, 0.16);
  border-radius: 1rem;
  background: linear-gradient(180deg, #f7f9fc 0%, #edf3f9 100%);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
}

.about-photo-placeholder span {
  color: #0B2545;
  font-weight: 600;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .about-bio {
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 3rem;
  }

  .about-bio__media {
    position: sticky;
    top: 7rem;
  }
}

/* =========================================================
   13. CONTACT PAGE
   ========================================================= */

.contact .section + .section {
  padding-top: 40px;
}

input,
textarea {
  width: 100%;
  max-width: 600px;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

form p {
  margin-bottom: 16px;
}

.form-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
}

/* =========================================================
   14. PERSPECTIVES INDEX
   ========================================================= */

.article-preview {
  margin-bottom: 56px;
  
}

.article-preview__title {
  margin-bottom: 10px;
    font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.article-preview__title a {
  text-decoration: none;
  color: inherit;
}

.article-preview__title a:hover {
  text-decoration: underline;
}

.article-preview__excerpt {
  margin-bottom: 10px;
  max-width: 700px;
}

.article-preview__link {
  font-weight: 500;
}

/* =========================================================
   15. ARTICLE PAGES
   ========================================================= */

.article-author {
    margin-top: -.75rem;
  margin-bottom: 0rem;
  font-weight: 600;
  

.article-author-title {
  margin-top: 0;
  margin-bottom: 1rem;
   
}
  color: #5f6b7a;
}

.article-date {
  margin-top: 0rem;
  margin-bottom: 1rem;
  color: #5f6b7a;
  font-size: 0.95rem;
}

.article-author {
  letter-spacing: 0.02em;
}

.article-disclosure {
    margin-top: 3rem;
}
/* =========================================================
   16. ARTICLE SUBTITLE / ARTICLE META
   ========================================================= */

.article-subtitle {
  margin-top: -1rem;
  margin-bottom: 1rem;

  font-size: 1.25rem;   /* slightly smaller than h2 */
  font-weight: 500;
}

.perspectives-title a {
  color: inherit;
  text-decoration: none;
}

.perspectives-title a:hover {
  text-decoration: underline;
}

.article-preview__meta {
  margin-top: -0rem;
  margin-bottom: 0rem;
  color: #5f6b7a;
  font-size: 0.95rem;
   font-weight: 600;
}

/* =========================================================
   17. SMALL FIXES / LATER ADDITIONS
   ========================================================= */
.site-header__toggle.no-transition span {
  transition: none !important;
}

.about-bio__media {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers image + caption together */
}

.about-photo {
  width: 100%;
  max-width: 320px;      /* your image width cap */
  height: auto;
  border-radius: 6px;
}

.about-bio__media span {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  font-size: 1.25rem;    /* keep it subtle */
  font-weight: 600;
}

.home-bio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  grid-template-areas:
    "text media"
    "link media";
  gap: 0.25rem 2rem;
  align-items: stretch;
  max-width: 960px;
   margin-left: auto;
  margin-right: auto;
}

.home-bio__text {
  grid-area: text;
  max-width: none;
  padding: 2rem;
}

.home-bio__media {
  grid-area: media;
}

.home-bio__media span {
  display: block;
  margin-top: 0rem;
  text-align: center;
  font-size: 1rem;    /* keep it subtle */
  font-weight: 600;
  
}

.home-bio__media img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.home-bio__link {
  grid-area: link;
  max-width: 960px;
  margin-top: -0.25rem;
}

@media (max-width: 768px) {
  .home-bio {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "link"
      "media";
    gap: 1rem;
  }

  .home-bio__text {
    padding: 1.5rem;
  }

  .home-bio__media {
    width: 100%;
    padding-left: 0;
  }

  .home-bio__media img {
    max-width: 240px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .home-bio__link {
    margin-top: -.75rem;
    padding-left: 0;
  }
}

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  transition: var(--transition-fast);
}

#project-planning,
#ongoing-planning,
#investment-advisory {
  scroll-margin-top: 100px; /* adjust to your header height */
}

.think-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}


.think-layout__media img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
    margin-top: -10px; /* try -8px to -16px range */
}

.think-layout__content .panel {
  margin: 0;
}

@media (max-width: 768px) {
  .think-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .think-layout__media img {
    max-width: 180px;
    margin: 0 auto;
  }
}

.split {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 960px;
   margin-left: auto;
  margin-right: auto;
}

.split-text {
  flex: 1;
}

.split-image {
  flex-shrink: 0;
}

.split-image img {
  max-width: 260px;
  height: auto;
}
.split-image--note img {
  transform: rotate(-6deg);
  opacity: 0.95;
   margin-top: -3rem; /* try -1.5rem to -3rem */
}
@media (max-width: 768px) {
  .split {
    flex-direction: column;
  }

  .split-image {
    align-self: center;
  }

  .split-image img {
    max-width: 180px;
    transform: rotate(-3deg);
  }

  .split-image--note img {
  transform: rotate(-6deg);
  opacity: 0.95;
   margin-top: 0rem; /* try -1.5rem to -3rem */
}
}

.section-image {
  width: 100%;
  max-width: 1050px;
  height: 360px;
  object-fit: cover;
  display: block;
  margin: 1.5rem auto 2rem;  /* 👈 this centers it */
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.human-panel {
  max-width: 960px;
  margin: 1.75rem auto 0;
}

.human-panel .content-narrow {
  max-width: 820px;
   margin-left: auto;
  margin-right: auto;

}

@media (max-width: 768px) {
  .section-image {
    aspect-ratio: auto;
    height: 180px;
    object-fit: cover;
  }
}

.section-intro {
  font-size: 1.15rem;
  line-height: 1.7;
   max-width: 1150px;
   color: var(--color-text-secondary);
}
@media (max-width: 768px) {

  .section-intro {
  font-size: 1.1rem;
  line-height: 1.7;
   max-width: 1150px;
   color: var(--color-text-secondary);
}

}

.article-back-link {
  margin-top: 0.5rem;
}

.article-back-link a {
  color: var(--color-link);
  text-decoration: none;
  font-weight: 500;
}

.article-back-link a:hover {
  text-decoration: underline;
}