/* =========================================================
   Dulin PC — Website
   Navy primary, orange accent (used sparingly).
   ========================================================= */

:root {
  --navy:        #0F2A47;
  --navy-2:      #143559;
  --navy-deep:   #0A1E33;
  --orange:      #F37021;
  --orange-2:    #E15F12;
  --paper:       #FAF8F3;
  --paper-2:     #F2EEE3;
  --paper-3:     #E8E2D2;
  --ink:         #15181D;
  --ink-2:       #3A3F46;
  --ink-3:       #6B7079;
  --rule:        rgba(15, 42, 71, 0.14);
  --rule-strong: rgba(15, 42, 71, 0.28);

  --serif: "Newsreader", "Source Serif 4", Georgia, serif;
  --sans:  "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ------- Layout primitives ------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.eyebrow.on-dark { color: rgba(255,255,255,0.62); }
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  vertical-align: middle;
  margin: -2px 10px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.btn .arr {
  display: inline-block;
  transition: transform 200ms ease;
}
.btn:hover .arr { transform: translateX(4px); }

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-2); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { border-color: var(--navy); }

.btn-on-dark {
  background: #fff;
  color: var(--navy);
}
.btn-on-dark:hover { background: var(--paper-2); }

.btn-outline-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-dark:hover { border-color: #fff; }

/* ------- NAV ------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 32px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.005em;
  position: relative;
  padding: 6px 0;
}
.nav-link:hover { color: var(--navy); }
.nav-link.cta {
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  font-size: 13.5px;
}
.nav-link.cta:hover { background: var(--navy-2); }

@media (max-width: 820px) {
  .nav-links { gap: 18px; }
  .nav-link:not(.cta) { display: none; }
}

/* ------- HERO ------- */
.hero {
  padding: 80px 0 100px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 56px 0 72px; }
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow-row .bar {
  width: 36px; height: 1px;
  background: var(--orange);
}

.hero-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-2);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 36px;
  max-width: 52ch;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-side {
  position: relative;
}
.hero-portrait {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  top: -14px; left: -14px;
  width: 84px; height: 84px;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
  z-index: 1;
  pointer-events: none;
}
.hero-portrait::after {
  content: "";
  position: absolute;
  bottom: 92px; right: -14px;
  width: 84px; height: 84px;
  border-bottom: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  z-index: 1;
  pointer-events: none;
}
.hero-portrait-img {
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
}
.hero-portrait-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
}
.hero-portrait-cap {
  background: var(--navy);
  color: #fff;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-portrait-cap .cap-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.hero-portrait-cap .cap-name span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-left: 8px;
  vertical-align: middle;
}
.hero-portrait-cap .cap-meta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-portrait-cap .cap-meta .sep { color: var(--orange); }

/* ------- PRINCIPLES (the 2 core principles) ------- */
.principles {
  background: var(--paper-2);
  padding: 100px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.principles-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
.principles-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 14px 0 0;
  text-wrap: balance;
}
.principles-head .lede {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
  text-wrap: pretty;
  max-width: 56ch;
}
@media (max-width: 820px) {
  .principles { padding: 72px 0; }
  .principles-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 820px) {
  .principle-grid { grid-template-columns: 1fr; }
}

.principle {
  background: var(--paper);
  padding: 48px 44px 52px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.principle .num-mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
}
.principle h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0;
}
.principle p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.principle .underline-accent {
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 3px;
  background: var(--orange);
}

/* ------- APPROACH / VALUE STACK ------- */
.approach {
  padding: 110px 0;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .approach { padding: 80px 0; }
  .approach-grid { grid-template-columns: 1fr; gap: 48px; }
}
.approach h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 18px 0 24px;
  text-wrap: balance;
}
.approach .lede {
  font-size: 16.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
  max-width: 44ch;
}

.steps {
  display: flex;
  flex-direction: column;
}
.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step .step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  padding-top: 6px;
}
.step h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 6px;
}
.step p {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* ------- SERVICES ------- */
.services {
  background: var(--navy);
  color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.services::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--orange);
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 72px;
  align-items: end;
}
.services h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 14px 0 0;
  text-wrap: balance;
}
.services .lede {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin: 0;
  max-width: 54ch;
}
@media (max-width: 820px) {
  .services { padding: 80px 0; }
  .services-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 820px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service {
  background: var(--navy);
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  position: relative;
  transition: background 160ms ease;
}
.service:hover { background: var(--navy-2); }
.service .svc-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
}
.service h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}
.service p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0;
  text-wrap: pretty;
}
.service .svc-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
}
.service .svc-tags span {
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 4px 8px;
}

/* ------- TEAM ------- */
.team {
  padding: 110px 0;
}
.team-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
.team-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 14px 0 0;
  text-wrap: balance;
}
.team-head .lede {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
  text-wrap: pretty;
  max-width: 56ch;
}
@media (max-width: 820px) {
  .team { padding: 80px 0; }
  .team-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; gap: 56px; }
}

.member {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.member-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  overflow: hidden;
}
.member-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.member-photo::after {
  content: "";
  position: absolute;
  bottom: -12px; right: -12px;
  width: 72px; height: 72px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
}

.member-body { display: flex; flex-direction: column; gap: 16px; }
.member-role {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}
.member-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0;
}
.member-body h3 .member-cred {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-left: 10px;
  vertical-align: middle;
}
.member-quote {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink-2);
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid var(--orange);
  text-wrap: pretty;
}
.member-bio {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.member-facts {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.member-facts li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.member-facts .k {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.member-facts .v {
  font-family: var(--serif);
  font-size: 15.5px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.3;
}

/* ------- CTA / CONTACT ------- */
.cta-band {
  background: var(--paper-2);
  padding: 110px 0;
  border-top: 1px solid var(--rule);
}
.cta-band .inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 820px) {
  .cta-band { padding: 72px 0; }
  .cta-band .inner { grid-template-columns: 1fr; gap: 36px; }
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 20px;
  text-wrap: balance;
}
.cta-band p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 50ch;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 36px 36px 32px;
}
.contact-card .ck-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.contact-row:last-child { border-bottom: 1px solid var(--rule); }
.contact-row .ck-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact-row .ck-v {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy);
  font-weight: 500;
}
.contact-row a.ck-v:hover { color: var(--orange); }

/* ------- FOOTER ------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}
.footer-brand p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 36ch;
  line-height: 1.55;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a:hover { color: var(--orange); }
.footer-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.footer-bot .dot { color: var(--orange); }

/* small screens */
@media (max-width: 560px) {
  .principle { padding: 36px 28px 40px; }
  .service { padding: 32px 28px 36px; }
  .contact-card { padding: 28px 24px 24px; }
}
