/* David K. Carpenter Consulting — v6
   Refinement pass: smaller logo/header, cleaner hero proportions, tighter executive feel.
*/

:root {
  --green-black: #001b1a;
  --green-950: #002724;
  --green-900: #003633;
  --green-800: #064942;
  --gold: #efb526;
  --gold-soft: #f4c85f;
  --cream: #f5efe4;
  --cream-light: #fbf7ee;
  --white: #ffffff;
  --ink: #0d2522;
  --muted: #364d49;
  --line: rgba(0, 39, 36, 0.15);
  --max: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
}

/* HEADER */

.site-header {
  min-height: 96px;
  padding: 12px 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  background:
    radial-gradient(circle at 18% 0%, rgba(239,181,38,0.10), transparent 360px),
    linear-gradient(135deg, var(--green-950), var(--green-black));
  border-bottom: 1px solid rgba(239,181,38,0.28);
}

.brand {
  display: block;
  width: 292px;
  max-width: 36vw;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  color: #f4f4f0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 8px 0;
}

.main-nav a.active,
.main-nav a:hover { color: var(--gold-soft); }

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--gold);
}

/* HERO */

.hero {
  position: relative;
  min-height: 456px;
  overflow: hidden;
  background: var(--green-950);
  border-bottom: 1px solid rgba(0,0,0,.16);
}

.hero-image {
  position: absolute;
  inset: 0 0 0 42%;
  background-image: url("hero-lighthouse.jpg");
  background-size: cover;
  background-position: center right;
  filter: saturate(1.05) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 39, 36, 0.99) 0%,
      rgba(0, 39, 36, 0.95) 31%,
      rgba(0, 39, 36, 0.73) 45%,
      rgba(0, 39, 36, 0.22) 66%,
      rgba(0, 0, 0, 0.02) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  min-height: 456px;
  margin: 0 auto;
  padding: 58px 58px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  color: var(--white);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.06;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0,0,0,.42);
}

.gold-rule {
  width: 64px;
  height: 4px;
  margin: 22px 0;
  background: var(--gold);
}

.hero p {
  max-width: 570px;
  margin: 0;
  color: rgba(255,255,255,.94);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 500;
}

.button {
  width: fit-content;
  margin-top: 30px;
  padding: 15px 36px;
  color: #06231f;
  background: linear-gradient(180deg, #f9cd58, var(--gold));
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .03em;
  box-shadow: 0 12px 24px rgba(0,0,0,.22);
}

.button:hover { filter: brightness(1.06); }

/* SERVICES */

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background:
    radial-gradient(circle at center, rgba(255,255,255,.92), rgba(245,239,228,.96)),
    var(--cream);
  border-top: 1px solid rgba(255,255,255,.4);
  border-bottom: 1px solid var(--line);
}

.service {
  min-height: 246px;
  padding: 28px 30px 26px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.service:last-child { border-right: none; }

.icon-circle {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background:
    radial-gradient(circle at 33% 25%, rgba(255,255,255,.14), transparent 38%),
    linear-gradient(135deg, var(--green-800), var(--green-black));
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0,39,36,.22);
}

.icon-circle span {
  display: block;
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
}

.service h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Cinzel", Georgia, serif;
  font-size: 20px;
  line-height: 1.13;
  text-transform: uppercase;
}

.service-rule {
  width: 48px;
  height: 3px;
  margin: 12px auto 14px;
  background: var(--gold);
}

.service p {
  max-width: 290px;
  margin: 0 auto;
  color: #111;
  font-size: 15.5px;
  line-height: 1.4;
  font-weight: 500;
}

/* CONTENT SECTIONS */

.content-section { padding: 70px 58px; }

.about { background: var(--cream-light); }

.content-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
}

.eyebrow.light { color: var(--gold-soft); }

.content-inner h2,
.approach h2,
.contact-copy h2 {
  margin: 0 0 18px;
  font-family: "Cinzel", Georgia, serif;
  line-height: 1.08;
}

.content-inner h2 {
  color: var(--green-950);
  font-size: clamp(31px, 3.5vw, 48px);
}

.content-inner p:not(.eyebrow) {
  margin: 0 auto;
  max-width: 850px;
  color: var(--muted);
  font-size: 18px;
}

/* APPROACH */

.approach {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 0%, rgba(239,181,38,.13), transparent 340px),
    linear-gradient(135deg, var(--green-950), var(--green-black));
}

.approach-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: 54px;
}

.approach h2 {
  color: var(--gold-soft);
  font-size: clamp(35px, 4.6vw, 58px);
}

.approach-copy > p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 18px;
}

.framework-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.framework-grid div {
  padding: 22px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(239,181,38,.34);
}

.framework-grid h3 {
  margin: 0 0 9px;
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: 24px;
}

.framework-grid p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 15px;
}

/* CONTACT */

.contact-band {
  min-height: 166px;
  padding: 30px 10vw;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 42px;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 50%, rgba(239,181,38,.12), transparent 250px),
    linear-gradient(135deg, var(--green-950), var(--green-black));
  border-top: 1px solid rgba(239,181,38,.25);
}

.checkmark {
  width: 108px;
  height: 108px;
  margin-left: auto;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 8px solid var(--gold);
  border-radius: 50%;
  font-size: 66px;
  font-weight: 700;
  line-height: 1;
}

.contact-copy {
  padding-left: 42px;
  border-left: 3px solid var(--gold);
}

.contact-copy h2 {
  color: var(--gold-soft);
  font-size: 31px;
}

.contact-copy p {
  max-width: 880px;
  margin: 0 0 16px;
  color: rgba(255,255,255,.92);
  font-size: 16px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.contact-links a {
  color: var(--white);
  text-decoration: none;
}

.contact-links a:hover { color: var(--gold-soft); }

.contact-links span {
  width: 1px;
  height: 26px;
  background: rgba(239,181,38,.6);
}

.site-footer {
  padding: 15px;
  color: rgba(255,255,255,.88);
  background: #001211;
  text-align: center;
  font-size: 14px;
}

.site-footer p { margin: 0; }

/* RESPONSIVE */

@media (max-width: 1100px) {
  .site-header {
    min-height: auto;
    padding: 18px 28px;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    width: 330px;
    max-width: 100%;
  }

  .main-nav {
    gap: 22px;
    flex-wrap: wrap;
  }

  .hero-image { inset-left: 30%; }

  .services,
  .framework-grid { grid-template-columns: repeat(2, 1fr); }

  .approach-inner,
  .contact-band { grid-template-columns: 1fr; }

  .checkmark { margin-left: 0; }

  .contact-copy {
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 700px) {
  .site-header { padding: 18px; }

  .brand { width: 290px; }

  .main-nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-image {
    inset: 0;
    opacity: .46;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(0,39,36,.96), rgba(0,39,36,.82));
  }

  .hero-content {
    min-height: 540px;
    padding: 52px 24px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero p { font-size: 17px; }

  .services,
  .framework-grid { grid-template-columns: 1fr; }

  .service {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .content-section,
  .contact-band {
    padding: 50px 24px;
  }

  .approach-inner { gap: 28px; }

  .checkmark {
    width: 92px;
    height: 92px;
    border-width: 7px;
    font-size: 56px;
  }
}


/* Header arrow and subtle checkmark dividers — added brand motif */

.site-header {
  position: relative;
  overflow: hidden;
}

.brand,
.main-nav {
  position: relative;
  z-index: 3;
}

.header-arrow {
  position: absolute;
  z-index: 1;
  left: 360px;
  right: 330px;
  top: 50%;
  height: 34px;
  transform: translateY(-50%);
  opacity: .34;
  pointer-events: none;
}

.arrow-line {
  position: absolute;
  left: 0;
  right: 25px;
  top: 50%;
  height: 20px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(0, 39, 36, .20), rgba(239,181,38,.72));
  border: 1px solid rgba(239,181,38,.46);
  border-right: none;
}

.arrow-head {
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 30px solid rgba(239,181,38,.72);
  filter: drop-shadow(0 0 2px rgba(0,0,0,.18));
}

.arrow-check {
  position: absolute;
  right: -58px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--gold);
  border: 4px solid var(--gold);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  opacity: .78;
}

.brand-divider {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--green-950);
  border-top: 1px solid rgba(239,181,38,.18);
  border-bottom: 1px solid rgba(239,181,38,.18);
}

.brand-divider.cream {
  background: var(--cream-light);
  border-color: rgba(0,39,36,.10);
}

.brand-divider.dark {
  background: linear-gradient(135deg, var(--green-950), var(--green-black));
  border-color: rgba(239,181,38,.20);
}

.brand-divider span {
  width: min(130px, 22vw);
  height: 1px;
  background: rgba(239,181,38,.55);
}

.brand-divider.cream span {
  background: rgba(0,39,36,.20);
}

.divider-check {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 3px solid var(--gold);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 1180px) {
  .header-arrow {
    opacity: .18;
    left: 320px;
    right: 250px;
  }

  .arrow-check {
	  display: flex;
	  align-items: center;
	  justify-content: center;

	  width: 52px;
	  height: 52px;

	  border: 4px solid rgba(239,181,38,.45);
	  border-radius: 50%;

	  color: rgba(239,181,38,.65);
	  font-size: 28px;
	  font-weight: 700;

	  position: absolute;
	  right: -58px;
	  top: 50%;
	  transform: translateY(-50%);

	  background: rgba(0,39,36,.85);
	}
}

@media (max-width: 1100px) {
  .header-arrow {
    display: none;
  }
}

@media (max-width: 700px) {
  .brand-divider {
    height: 40px;
  }
}


/* v10 profile + credibility strip */

.about-profile {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.profile-photo-wrap {
  position: relative;
  padding: 10px;
  background: linear-gradient(135deg, rgba(239,181,38,.85), rgba(239,181,38,.25));
  box-shadow: 0 18px 42px rgba(0, 39, 36, .18);
}

.profile-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  border: 1px solid rgba(0, 39, 36, .18);
  z-index: 0;
}

.profile-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-copy {
  text-align: left;
}

.about-copy h2 {
  margin: 0 0 18px;
  color: var(--green-950);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(31px, 3.5vw, 48px);
  line-height: 1.08;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 0;
}

.credibility-strip {
  padding: 44px 58px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.9), rgba(245,239,228,.96)),
    var(--cream);
  text-align: center;
}

.credibility-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.credibility-strip h3 {
  margin: 0 0 12px;
  color: var(--green-950);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.1;
}

.credibility-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
}

@media (max-width: 900px) {
  .about-profile {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .profile-photo-wrap {
    max-width: 310px;
    margin: 0 auto;
  }

  .about-copy {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .credibility-strip {
    padding: 38px 24px;
  }

  .credibility-strip p {
    font-size: 15px;
  }
}


/* v11 header arrow refinement: shorten arrow so it supports the nav instead of competing with it */

.header-arrow {
  left: 360px;
  right: 600px;
  opacity: .24;
}

.arrow-line {
  height: 14px;
  background: linear-gradient(90deg, rgba(0, 39, 36, .08), rgba(239,181,38,.46));
  border-color: rgba(239,181,38,.28);
}

.arrow-head {
  border-top-width: 18px;
  border-bottom-width: 18px;
  border-left-width: 24px;
  border-left-color: rgba(239,181,38,.46);
}

.arrow-check {
  display: none;
}

@media (max-width: 1400px) {
  .header-arrow {
    right: 540px;
  }
}

@media (max-width: 1250px) {
  .header-arrow {
    right: 500px;
    opacity: .18;
  }
}

@media (max-width: 1180px) {
  .header-arrow {
    display: none;
  }
}


/* v13 header arrow visibility refinement
   Brightens the arrowhead and checkmark while keeping the motif understated.
*/

.header-arrow {
  left: 360px;
  right: 600px;
  opacity: .30;
}

.arrow-line {
  height: 14px;
  background: linear-gradient(
    90deg,
    rgba(0, 39, 36, .08),
    rgba(239,181,38,.58)
  );
  border-color: rgba(239,181,38,.38);
}

.arrow-head {
  border-top-width: 18px;
  border-bottom-width: 18px;
  border-left-width: 24px;
  border-left-color: rgba(239,181,38,.66);
}

.arrow-check {
  position: absolute;
  right: -58px;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--gold);
  border: 4px solid var(--gold);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  background: rgba(0,39,36,.95);
  opacity: .92;
}

@media (max-width: 1400px) {
  .header-arrow {
    right: 540px;
  }
}

@media (max-width: 1250px) {
  .header-arrow {
    right: 500px;
    opacity: .22;
  }
}

@media (max-width: 1180px) {
  .header-arrow {
    display: none;
  }
}
