:root {
  color-scheme: light;
  --ink: #101820;
  --ink-soft: #243342;
  --muted: #607080;
  --paper: #f7f4ee;
  --paper-strong: #fffdfa;
  --line: #d9d2c4;
  --teal: #146c5f;
  --teal-bright: #2cc5a7;
  --gold: #c48722;
  --coral: #d65645;
  --citron: #b4bd38;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(16, 24, 32, 0.12);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-180%);
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid rgba(16, 24, 32, 0.1);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(100% - 2rem, var(--max));
  min-height: 4.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand span span {
  font-weight: 500;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-links a {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.78rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(20, 108, 95, 0.12);
}

.nav-links .nav-cta {
  color: var(--white);
  background: var(--ink);
}

.nav-links .nav-cta:hover {
  color: var(--white);
  background: var(--teal);
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: none;
  place-items: center;
  gap: 0.2rem;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(16, 24, 32, 0.2);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-line {
  width: 1.25rem;
  height: 2px;
  display: block;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 35rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    url("../images/daniel-gindin-hero.jpg") 64% center / cover no-repeat,
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 24, 32, 0.42), rgba(16, 24, 32, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4rem 0 2.6rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--teal-bright);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-size: 4.2rem;
}

h2 {
  font-size: 2.65rem;
}

h3 {
  font-size: 1.28rem;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

.mobile-break-before::before {
  content: "";
}

.hero-person {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-decoration: none;
}

.button-primary {
  color: var(--ink);
  background: var(--teal-bright);
}

.button-primary:hover {
  color: var(--ink);
  background: var(--citron);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
}

.button-secondary:hover {
  color: var(--white);
  border-color: var(--teal-bright);
  background: rgba(44, 197, 167, 0.18);
}

.hero-proof {
  width: min(100%, 58rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0 0;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-proof div {
  min-height: 5.85rem;
  padding: 1.05rem;
  background: rgba(16, 24, 32, 0.58);
}

.hero-proof dt {
  font-size: 1.25rem;
  font-weight: 900;
}

.hero-proof dd {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: 5.5rem 0;
}

.content-grid,
.section-heading,
.service-grid,
.approach-list,
.resume-shell,
.footer-grid,
.copyright {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.intro-band {
  background: var(--paper-strong);
}

.lead-copy {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.lead-copy p {
  margin: 0 0 1rem;
}

.profile-intro {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.profile-intro img {
  width: 8rem;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: var(--max);
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 16ch;
}

.section-heading-wide h2 {
  max-width: 24ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.04);
}

.service-card:hover {
  border-color: rgba(20, 108, 95, 0.42);
  box-shadow: var(--shadow);
}

.service-index {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.service-card h3 {
  margin-top: 2.5rem;
}

.service-card p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.credibility-band {
  color: var(--white);
  background: var(--ink);
}

.credibility-band h2,
.credibility-band .eyebrow {
  color: var(--white);
}

.credibility-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo-cloud li {
  min-height: 5.1rem;
  display: grid;
  place-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.logo-cloud img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 2rem;
  object-fit: contain;
}

.outcomes-band {
  background: var(--paper-strong);
}

.outcome-grid,
.engagement-grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.outcome-card,
.engagement-card {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border-radius: var(--radius);
}

.outcome-card {
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(16, 24, 32, 0.18);
}

.outcome-label {
  color: var(--teal-bright);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.outcome-card h3,
.engagement-card h3 {
  margin-top: 2.5rem;
}

.outcome-card p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.engagement-band {
  background:
    linear-gradient(180deg, rgba(20, 108, 95, 0.08), rgba(20, 108, 95, 0)),
    var(--paper);
}

.engagement-intro {
  margin-bottom: 2rem;
}

.engagement-intro .lead-copy {
  margin: 0;
}

.engagement-card {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.04);
}

.engagement-card p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.approach-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.approach-list article {
  min-height: 14rem;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.approach-list article + article {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.approach-list p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.resume-callout {
  background: var(--paper-strong);
}

.text-link {
  display: inline-flex;
  margin: 0.4rem 1rem 0 0;
  color: var(--teal);
  font-weight: 850;
}

.contact-section {
  background: var(--paper-strong);
}

.contact-card-grid {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card h3 {
  font-size: 1.05rem;
}

.contact-card a {
  display: inline-flex;
  margin-top: 0.6rem;
  color: var(--teal);
  font-weight: 850;
}

.contact-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.contact-reasons {
  background: var(--paper);
}

.policy-section {
  background: var(--paper-strong);
}

.policy-content {
  width: min(100% - 2rem, 54rem);
  margin-inline: auto;
}

.policy-content h2 {
  margin-top: 2.1rem;
  color: var(--teal);
  font-size: 1.45rem;
}

.policy-content h2:first-of-type {
  margin-top: 0;
}

.policy-content p {
  color: var(--ink-soft);
}

.policy-content a {
  color: var(--teal);
  font-weight: 850;
}

.site-footer {
  padding: 3.5rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  max-width: 34rem;
}

.site-footer address {
  display: grid;
  gap: 0.35rem;
  font-style: normal;
}

.site-footer a {
  color: var(--white);
}

.copyright {
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

.page-hero {
  overflow: hidden;
  color: var(--white);
  background:
    url("../images/cloud-security-architecture.jpg") center / cover no-repeat,
    var(--ink);
}

.page-hero-inner {
  position: relative;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 4.5rem;
}

.page-hero-inner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -4rem;
  width: 56rem;
  background: rgba(16, 24, 32, 0.72);
  z-index: 0;
}

.page-hero-inner > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 100%;
  font-size: 4rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.resume-shell {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.resume-sidebar {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
}

.sidebar-block {
  padding: 1.1rem;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.portrait-block {
  padding: 0;
  overflow: hidden;
}

.portrait-block img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.sidebar-block h2 {
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.sidebar-block a,
.sidebar-block span {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-soft);
}

.sidebar-block p {
  margin: 0;
  color: var(--muted);
}

.compact-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.compact-list li + li {
  margin-top: 0.35rem;
}

.resume-main {
  display: grid;
  gap: 2.3rem;
}

.resume-section {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.resume-section h2 {
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 1.7rem;
}

.resume-section p {
  color: var(--ink-soft);
}

.role {
  padding: 1.4rem 0;
}

.role + .role {
  border-top: 1px solid var(--line);
}

.role h3 {
  font-size: 1.22rem;
}

.role header p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-weight: 750;
}

.role ul {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.role li + li {
  margin-top: 0.38rem;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .two-column,
  .credibility-grid,
  .resume-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .credibility-grid {
    gap: 3rem;
  }

  .service-grid,
  .approach-list,
  .outcome-grid,
  .engagement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-list {
    border: 0;
    gap: 1rem;
  }

  .approach-list article,
  .approach-list article + article {
    min-height: auto;
    padding: 1.25rem;
    background: var(--paper-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .resume-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
  }

  .nav-shell {
    min-height: 4rem;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    gap: 0.2rem;
    justify-items: start;
    padding: 0.55rem;
    background: var(--paper-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links[data-open="true"] {
    display: grid;
  }

  .nav-links a {
    min-height: 2.45rem;
    justify-content: flex-start;
    justify-self: start;
    padding: 0.55rem 0.75rem;
  }

  .nav-links .nav-cta {
    min-width: 7rem;
    justify-content: center;
    margin-top: 0.2rem;
    padding-inline: 1rem;
  }

  .section[id] {
    scroll-margin-top: 1.25rem;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    background-position: 58% center;
  }

  .hero-content {
    padding: 3.2rem 0 3rem;
  }

  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(16, 24, 32, 0.76) 0%,
      rgba(16, 24, 32, 0.58) 58%,
      rgba(16, 24, 32, 0.2) 100%
    );
  }

  h1 {
    max-width: 11ch;
    font-size: 2.72rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-copy,
  .lead-copy,
  .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-copy,
  .hero-person {
    max-width: 18.5rem;
  }

  .mobile-break-before::before {
    content: "\A";
    white-space: pre;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .credibility-grid {
    gap: 3.5rem;
  }

  .service-grid,
  .approach-list,
  .logo-cloud,
  .outcome-grid,
  .engagement-grid,
  .resume-sidebar,
  .profile-intro {
    grid-template-columns: 1fr;
  }

  .logo-cloud {
    gap: 0.55rem;
  }

  .logo-cloud li {
    min-height: 3.7rem;
    padding: 0.7rem 1rem;
  }

  .logo-cloud img {
    height: 1.2rem;
    max-width: 82%;
  }

  .profile-intro img {
    width: min(100%, 16rem);
  }

  .service-card {
    min-height: 14rem;
  }

  .outcome-card,
  .engagement-card {
    min-height: 13rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-hero-inner {
    padding: 4rem 0 3.5rem;
  }

  .page-hero-inner::before {
    right: -2rem;
    left: -2rem;
    width: auto;
  }

  .page-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 980px) and (max-height: 520px) and (orientation: landscape) {
  .hero .eyebrow {
    max-width: 44vw;
  }

  .hero h1 {
    max-width: min(10.2ch, 44vw);
  }

  .hero-copy,
  .hero-person {
    max-width: min(32rem, 45vw);
  }

  .hero-proof {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 0.5rem;
    font-size: 0.93rem;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .service-card {
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
