/* Sandra Moses portfolio — CLEAN V17
   Consolidated from V16.
   Purpose: remove accumulated/overlapping V5-V16 overrides while preserving
   the current V16 design and controlled changes.
*/

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #0d3459;
  background: #fff;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}
a { text-decoration: none; color: inherit; }

/* ---------- Header ---------- */
.site-header {
  height: 70px;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  border-bottom: 1px solid rgba(13,52,89,.07);
}
.header-inner {
  width: min(1200px, calc(100% - 48px));
  height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; flex-direction: column; }
.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: .90;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: #0b3156;
}
.brand-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  margin-top: 5px;
  letter-spacing: .055em;
  color: #24698a;
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: 31px;
  align-items: center;
}
.nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #092d4d;
  position: relative;
  padding: 27px 0 25px;
  line-height: 1;
}
.nav a.active:after,
.nav a:hover:after {
  content: "";
  height: 2px;
  background: #31a3b7;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
  color: #0d3459;
}

/* ---------- Hero ---------- */
.hero {
  height: 505px;
  position: relative;
  overflow: hidden;
  background: #f8f5ed;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("assets/florida-sunset.jpg");
  background-size: cover;
  background-position: center center;
  image-rendering: auto;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(249,247,241,.96) 0%,
      rgba(249,247,241,.86) 25%,
      rgba(249,247,241,.55) 43%,
      rgba(249,247,241,.12) 66%,
      rgba(249,247,241,.02) 100%);
}
.hero:before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 245px;
  height: 100%;
  background: url("assets/hero-palm-watermark-transparent.png") left 46% / 245px auto no-repeat;
  opacity: .42;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  height: 100%;
  margin: auto;
  padding-top: 106px;
}
.welcome,
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .30em;
  color: #3c93a5;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(46px, 5.4vw, 72px);
  font-weight: 600;
  line-height: .86;
  letter-spacing: .015em;
  text-transform: uppercase;
  margin: 0;
  color: #0b3156;
  max-width: 900px;
}
.hero h1 span { white-space: nowrap; }
.rule {
  width: 80px;
  height: 2px;
  background: #31a3b7;
  margin: 16px 0;
}
.specialties {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.02;
  color: #123653;
  margin: 0 0 14px;
  letter-spacing: 0;
}
.specialties b { color: #3197a7; padding: 0 4px; }
.hero-copy {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.15;
  color: #143957;
  margin: 0 0 21px;
}
.actions { display: flex; gap: 15px; }
.btn {
  min-width: 215px;
  padding: 14px 21px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid #0d3459;
  transition: .2s;
}
.btn span { font-size: 22px; line-height: 10px; }
.btn.primary { background: #0d4168; color: #fff; }
.btn.secondary { background: rgba(255,255,255,.88); color: #0d3459; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(13,52,89,.14);
}

/* ---------- Shared sections ---------- */
.section { padding: 58px 0; }
.section-head {
  text-align: center;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto 30px;
}
.section-head h2,
.about h2,
.credential-content h2,
.contact h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: .98;
  letter-spacing: .02em;
  color: #0d3459;
}
.section-head h2 {
  font-size: 54px;
  line-height: .86;
  text-transform: uppercase;
  margin: 0;
}
/* Keeps an enlarged initial on the same line as the rest of its word. */
.word { white-space: nowrap; }
.section-head h2 .initial,
.hero h1 .initial {
  display: inline-block;
  font-size: 1.16em;
  line-height: .76;
  vertical-align: baseline;
  position: relative;
  top: -.055em;
}
.hero h1 .initial { top: 0; }
.section-head .rule { margin: 11px auto; }
.section-head > p:last-child {
  margin: 0 auto;
  color: #536d80;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.12;
}

/* ---------- Expertise ---------- */
.expertise {
  background: #f5f0e7;
  padding-top: 42px;
  padding-bottom: 34px;
}
.cards {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.card {
  min-height: 240px;
  background: #fbfaf6;
  border: 1px solid #e7e9e8;
  box-shadow: 0 5px 18px rgba(13,52,89,.055);
  text-align: center;
  padding: 23px 16px 24px;
}
.icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
}
.icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon.navy { background: #17618b; }
.icon.teal { background: #4bb0bf; }
.icon.sand { background: #c7ad79; }
.icon.blue { background: #6aa5c4; }
.icon.aqua { background: #5ab1b5; }
.card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  line-height: .94;
  font-weight: 700;
  color: #0d3459;
  margin: 0;
  text-transform: uppercase;
}
.card-rule {
  display: block;
  width: 32px;
  height: 2px;
  background: #31a3b7;
  margin: 11px auto 10px;
}
.card p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.12;
  color: #536d80;
  margin: 0;
}

/* ---------- Journey ---------- */
.journey {
  position: relative;
  overflow: hidden;
  background: #eef8fa;
  padding-top: 37px;
  padding-bottom: 54px;
  border-top: 1px solid rgba(13,52,89,.035);
}
.journey::before,
.journey::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 210px;
  background-repeat: no-repeat;
  background-size: 210px auto;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.journey::before {
  left: 0;
  background-image: url("assets/journey-left-palm-exact.png");
  background-position: left top;
}
.journey::after {
  right: 0;
  background-image: url("assets/journey-right-palm-exact.png");
  background-position: right top;
}
.journey > * { position: relative; z-index: 2; }
.timeline {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 29px;
  height: 1px;
  background: #75b2bd;
}
.timeline article {
  text-align: center;
  position: relative;
  z-index: 1;
}
.dot {
  width: 58px;
  height: 58px;
  margin: 0 auto 19px;
  border-radius: 50%;
  background: #23658b;
  color: #fff;
  border: 5px solid #e6f2f4;
  display: grid;
  place-items: center;
  font-size: 0;
  font-weight: 600;
  letter-spacing: .08em;
}
.teal-dot { background: #49aebd; }
.sand-dot { background: #c7ad79; }
.blue-dot { background: #6aa5c4; }
.timeline .dot svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.timeline p.when {
  font-family: Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #3c93a5;
  margin: 0 0 5px;
}
.timeline h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  line-height: .90;
  margin: 0 0 8px;
  text-transform: uppercase;
  color: #0d3459;
}
.timeline p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.08;
  color: #536d80;
  margin: 0;
}

/* ---------- Projects ---------- */
.projects {
  background: #f5f0e7;
  border-top: 1px solid rgba(13,52,89,.05);
}
.project-grid {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.project {
  background: #fbfaf6;
  border: 1px solid #e7e9e8;
  border-top: 3px solid #31a3b7;
  box-shadow: 0 5px 18px rgba(13,52,89,.055);
  padding: 26px 30px 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #304b61;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}
.project:nth-child(2) { border-top-color: #c7ad79; }
.project:nth-child(3) { border-top-color: #17618b; }
.project:nth-child(4) { border-top-color: #6aa5c4; }
.project-meta {
  font-family: Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3c93a5;
  margin: 0 0 8px;
}
.project-meta b { color: #c7ad79; padding: 0 4px; }
.project h3 {
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #0b3156;
  margin: 0 0 6px;
}
.project-role {
  font-style: italic;
  color: #17618b;
  margin: 0 0 12px;
}
.project > p:not([class]) { margin: 0 0 12px; }
.project ul {
  margin: 0;
  padding-left: 18px;
}
.project li { margin-bottom: 6px; }
.project li::marker { color: #31a3b7; }
.project li strong { color: #0b3156; }

/* ---------- About ---------- */
.about { background: #fff; }
.about-inner {
  width: min(1100px, calc(100% - 48px));
  margin: auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
}
.about-inner::before {
  content: "";
  display: block;
  grid-column: 1;
  width: 260px;
  height: 330px;
  background: url("assets/sandra-moses-headshot.jpg") center top / cover no-repeat;
  border: 6px solid #f4f0e7;
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
  box-sizing: border-box;
}
.about h2 {
  font-size: 49px;
  text-transform: uppercase;
  margin: 0;
}
.copy {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #536d80;
  font-size: 18px;
  font-weight: 500;
}
.copy p { margin: 0 0 17px; }

/* ---------- Credentials ---------- */
.credentials {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 390px;
}
.credential-photo { background: url("assets/florida-sunset.jpg") center / cover; }
.credential-content {
  padding: 65px 7vw;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.credential-content h2 {
  font-size: 48px;
  text-transform: uppercase;
  margin: 0 0 13px;
}
.credential-content h2 small {
  font-size: .6em;
  white-space: nowrap;
}
.credential-content > p:not(.eyebrow) {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #536d80;
  font-size: 18px;
  max-width: 720px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 14px;
}
.stats div {
  border-left: 2px solid #31a3b7;
  padding-left: 13px;
}
.stats strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 35px;
  line-height: 1;
  color: #0d3459;
}
.stats span {
  display: block;
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: .08em;
  color: #61788a;
  margin-top: 5px;
}

/* ---------- Contact / Footer ---------- */
.contact { background: #0d3459; padding: 70px 0; }
.contact-inner {
  width: min(1100px, calc(100% - 48px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.contact h2 {
  font-size: 48px;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  max-width: 700px;
}
.eyebrow.light { color: #a3d5db; }
.contact .btn.secondary { background: #fff; }
.contact .btn { min-width: 180px; }
.contact-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.contact-details {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: .04em;
}
.contact-details a { color: #a3d5db; }
.contact-details a:hover { color: #fff; }
footer {
  background: #082641;
  color: #fff;
  padding: 22px 28px;
  display: flex;
  justify-content: center;
  gap: 25px;
  align-items: center;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
footer a { color: #9fd3d9; margin-left: auto; }
.desktop-break { display: block; }
.mobile-sep { display: none; }

/* ---------- Desktop: single source of truth ----------
   V23: patches 1-15 that followed this block were merged in here.
   Edit these values directly instead of appending override patches. */
@media (min-width: 951px) {
  html, body {
    background: #0e0e0e;
  }
  body {
    width: 1414px;
    min-width: 1414px;
    max-width: 1414px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
  }
  .site-header {
    width: 1414px;
    left: 50%;
    transform: translateX(-50%);
  }
  .header-inner {
    width: 1206px;
    /* Intentional single alignment adjustment from V16. */
    transform: translateX(45px);
  }
  .brand-name { font-size: 34px; font-weight: 700; }
  .brand-title { font-weight: 600; }
  .nav { gap: 32px; }
  .nav a { font-weight: 700; }
  .nav a.active:after,
  .nav a:hover:after { bottom: 13px; }

  .hero {
    width: 1414px;
    height: 400px;
  }
  .hero-photo {
    background-image: url("assets/florida-hero-fixed.jpg");
    background-size: 1414px 400px;
    background-position: 0 18px;
    background-repeat: no-repeat;
  }
  .hero-fade {
    background:
      linear-gradient(90deg,
        rgba(248,246,240,.995) 0%,
        rgba(248,246,240,.992) 24%,
        rgba(248,246,240,.975) 40%,
        rgba(248,246,240,.90) 52%,
        rgba(248,246,240,.62) 64%,
        rgba(248,246,240,.22) 77%,
        rgba(248,246,240,.03) 92%,
        rgba(248,246,240,0) 100%);
  }
  .hero:before {
    top: 85px;
    width: 265px;
    height: 345px;
    background: url("assets/hero-palm-watermark-transparent.png") left top / auto 345px no-repeat;
    opacity: .25;
    filter: grayscale(1);
  }
  .hero-content {
    width: 1288px;
    padding-top: 96px;
    padding-left: 63px;
  }
  .welcome {
    display: block;
    position: relative;
    z-index: 5;
    margin: 0 0 13px;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .32em;
  }
  .hero h1 {
    font-size: 48px;
    line-height: .92;
    max-width: none;
    white-space: nowrap;
  }
  .hero h1 .initial {
    font-size: 1.12em;
    line-height: .92;
    top: 0;
  }
  .hero .rule {
    width: 65px;
    margin: 13px 0;
  }
  .specialties {
    line-height: 1.08;
    font-weight: 600;
  }
  .hero-copy {
    line-height: 1.12;
    color: #102f4b;
    font-weight: 600;
  }
  .actions {
    gap: 11px;
    position: relative;
    z-index: 5;
  }
  .btn {
    min-width: 182px;
    padding: 11px 17px;
    font-size: 9px;
  }
  .actions a {
    height: 48px;
    min-height: 48px;
    padding: 0 32px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
  }

  .expertise {
    width: 1414px;
    padding-top: 14px;
    padding-bottom: 15px;
  }
  .section-head {
    width: 1000px;
    margin-bottom: 20px;
  }
  .section-head .eyebrow {
    font-size: 9px;
    letter-spacing: .29em;
    margin-bottom: 4px;
    color: #4c98a8;
  }
  .section-head h2 {
    font-size: 43px;
    line-height: .80;
    letter-spacing: .015em;
  }
  .section-head h2,
  .about h2,
  .credential-content h2 { color: #0b3156; }
  .section-head h2 .initial { top: -.045em; }
  .section-head .rule {
    width: 55px;
    margin: 7px auto;
  }
  .section-head > p:last-child {
    font-size: 15px;
    line-height: 1.02;
  }
  .section-head > p:last-child,
  .card p,
  .timeline p,
  .copy,
  .credential-content > p:not(.eyebrow) {
    color: #304b61;
    font-weight: 600;
  }
  .cards {
    width: 1198px;
    gap: 9px;
  }
  .card {
    min-height: 188px;
    padding: 16px 12px 13px;
  }
  .icon {
    width: 58px;
    height: 58px;
    margin-bottom: 9px;
  }
  .icon svg {
    width: 32px;
    height: 32px;
  }
  .card h3 { color: #0b3156; }
  .card-rule {
    width: 28px;
    margin: 8px auto;
  }

  .journey {
    width: 1414px;
    padding-top: 7px;
    padding-bottom: 55px;
  }
  .journey .section-head { margin-bottom: 23px; }

  .timeline { width: 1198px; }
  .project-grid { width: 1198px; }
  .timeline h3 {
    line-height: .95;
    color: #0b3156;
  }
  .timeline p {
    font-size: 15px;
    line-height: 1.15;
  }

  .about-inner { row-gap: 40px; }
  /* Paragraphs run full width under the photo + heading, side by side. */
  .about-inner .copy {
    grid-column: 1 / -1;
    column-count: 2;
    column-gap: 56px;
  }
  .about-inner .copy p { break-inside: avoid; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1300px) and (min-width: 951px) {
  .section-head h2 .initial { font-size: 1.15em; }
}

/* ---------- Mobile / tablet ---------- */
@media (max-width: 950px) {
  body {
    width: auto;
    min-width: 0;
    max-width: none;
  }
  .nav { gap: 18px; }
  .nav a { font-size: 9px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }
  .timeline {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .timeline:before {
    left: 28px;
    right: auto;
    top: 28px;
    bottom: 28px;
    width: 1px;
    height: auto;
  }
  .timeline article {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 20px;
    text-align: left;
  }
  .dot {
    grid-row: span 3;
    margin: 0;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about-inner::before {
    width: 200px;
    height: 254px;
  }
  .credentials { grid-template-columns: 1fr; }
  .credential-photo { height: 280px; }
  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .desktop-break { display: none; }
  .mobile-sep { display: inline; }
}

@media (max-width: 680px) {
  .site-header { height: 72px; }
  .header-inner {
    width: calc(100% - 30px);
    height: 72px;
  }
  .brand-name { font-size: 27px; }
  .brand-title { font-size: 10px; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 0;
    border-bottom: 1px solid #ddd;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 11px 0;
    font-size: 11px;
  }
  .nav a.active:after,
  .nav a:hover:after { display: none; }
  .menu-toggle { display: block; }

  .hero {
    height: auto;
    min-height: 650px;
  }
  .hero-photo { background-position: 61% center; }
  .hero-fade {
    background:
      linear-gradient(180deg,
        rgba(248,246,240,.97) 0%,
        rgba(248,246,240,.89) 42%,
        rgba(248,246,240,.22) 72%,
        rgba(248,246,240,.08) 100%);
  }
  .hero:before {
    width: 180px;
    background-size: 180px auto;
    opacity: .30;
  }
  .hero-content {
    width: calc(100% - 32px);
    padding-top: 108px;
  }
  .hero h1 {
    font-size: 46px;
    line-height: .88;
    white-space: normal;
  }
  .specialties { font-size: 16px; line-height: 1.08; }
  .hero-copy { font-size: 18px; line-height: 1.18; }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn { width: 100%; }

  .section { padding: 62px 0; }
  .section-head h2 {
    font-size: min(43px, 10.5vw);
    line-height: .86;
  }
  .cards {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }
  .card {
    min-height: auto;
    padding: 27px 25px;
  }
  .about-inner { width: calc(100% - 32px); }
  .about h2 { font-size: 42px; }
  .credential-content { padding: 55px 24px; }
  .credential-content h2 { font-size: 41px; }
  .stats { grid-template-columns: 1fr; }
  .contact-inner { width: calc(100% - 32px); }
  .contact-links {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
  }
  .project-grid { width: calc(100% - 32px); }
  .project { padding: 22px 20px; }
  .contact h2 { font-size: 40px; }
  footer {
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }
  footer a { margin-left: 0; }
}
