:root {
  --bg: #f4f5f3;
  --surface: #ffffff;
  --surface-muted: #e9ece8;
  --ink: #171a18;
  --ink-soft: #5e655f;
  --line: #d5dad5;
  --accent: #d27729;
  --accent-dark: #9e5019;
  --steel: #3e4748;
  --dark: #111715;
  --light-on-dark: #f4f7f4;
  --max-width: 1180px;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(20, 28, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--bg);
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-dark {
  color: var(--light-on-dark);
  background: var(--dark);
}

.section-muted {
  background: var(--surface-muted);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #ffffff;
  background: rgba(17, 23, 21, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: #1a130d;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--accent);
  border-radius: 10px;
  place-items: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: #b9c1bc;
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:not(.button):hover {
  color: #f2a05a;
}

.menu-toggle {
  display: none;
  padding: 8px;
  background: none;
  border: 0;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  color: #17110c;
  font-weight: 800;
  text-decoration: none;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  background: #e48a39;
  border-color: #e48a39;
  transform: translateY(-2px);
}

.button-secondary {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.hero {
  padding: 76px 0 86px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5 {
  margin-top: 0;
  line-height: 1.12;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.25rem;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: #cbd1cd;
  font-size: 1.2rem;
}

.hero-actions,
.resume-actions,
.toolbar-actions,
.card-editor-actions,
.card-print-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-highlights {
  display: flex;
  padding: 0;
  margin: 28px 0 0;
  gap: 12px 22px;
  flex-wrap: wrap;
  color: #cbd1cd;
  font-weight: 700;
  list-style: none;
}

.hero-highlights li::before {
  margin-right: 7px;
  color: var(--accent);
  content: "✓";
}

.hero-portrait-wrap {
  position: relative;
  max-width: 500px;
  justify-self: end;
}

.hero-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.availability-card {
  position: absolute;
  bottom: 30px;
  left: -30px;
  display: flex;
  padding: 16px 18px;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.availability-card strong,
.availability-card span {
  display: block;
}

.availability-card span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #2d9a51;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(45, 154, 81, 0.13);
}

.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  padding: 26px 20px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 4px;
}

.trust-grid span {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading > p:last-child {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

.service-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(20, 28, 23, 0.05);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--ink-soft);
}

.service-card ul {
  padding-left: 20px;
  margin: 20px 0 0;
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: var(--accent-dark);
  font-weight: 900;
  background: #fff0e3;
  border-radius: 10px;
  place-items: center;
}

.experience-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 120px;
}

.timeline {
  padding-left: 28px;
  border-left: 2px solid #c7ccc8;
}

.timeline-item {
  position: relative;
  padding: 26px;
  margin-bottom: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.timeline-item::before {
  position: absolute;
  top: 30px;
  left: -36px;
  width: 14px;
  height: 14px;
  background: var(--steel);
  border: 4px solid var(--surface-muted);
  border-radius: 50%;
  content: "";
}

.timeline-item.featured {
  border-color: rgba(210, 119, 41, 0.55);
  box-shadow: 0 14px 40px rgba(210, 119, 41, 0.11);
}

.timeline-item.featured::before {
  background: var(--accent);
}

.timeline-date {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company {
  margin-top: -5px;
  color: var(--ink-soft);
  font-weight: 700;
}

.timeline-item p:last-child {
  margin-bottom: 0;
}

.resume-section {
  overflow-x: auto;
  background: #dfe3df;
}

.resume-heading {
  display: flex;
  max-width: none;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.resume-heading p {
  margin-bottom: 0;
}

.resume-sheet {
  max-width: 920px;
  padding: 54px 62px;
  margin: 0 auto;
  color: #171717;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.resume-contact {
  padding-bottom: 14px;
  margin-bottom: 18px;
  text-align: center;
  border-bottom: 2px solid #222222;
}

.resume-contact h3 {
  margin-bottom: 6px;
  font-size: 1.7rem;
}

.resume-contact p {
  margin: 2px 0;
}

.resume-sheet section {
  margin-bottom: 17px;
}

.resume-sheet section:last-child {
  margin-bottom: 0;
}

.resume-sheet h4 {
  padding-bottom: 4px;
  margin-bottom: 9px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid #888888;
}

.resume-sheet p,
.resume-sheet li {
  font-size: 0.88rem;
  line-height: 1.38;
}

.resume-job {
  margin-bottom: 10px;
}

.resume-job:last-child {
  margin-bottom: 0;
}

.resume-job h5 {
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.resume-meta {
  margin: 0 0 4px;
  font-style: italic;
}

.resume-job ul {
  padding-left: 18px;
  margin: 0;
}

.resume-two-column {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 30px;
}

.contact-section {
  background: linear-gradient(135deg, var(--dark), #27302c);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.contact-details a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.contact-details span {
  color: #cbd1cd;
}

.contact-form {
  padding: 30px;
  color: var(--ink);
  background: #ffffff;
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #bbc2bd;
  border-radius: 8px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(210, 119, 41, 0.23);
}

textarea {
  resize: vertical;
}

.form-note {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.site-footer {
  padding: 34px 0;
  color: #dce1de;
  background: #0b0f0d;
}

.footer-inner {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.footer-inner p {
  margin: 5px 0 0;
  color: #9da7a1;
}

.footer-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.footer-links a {
  font-weight: 700;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Business-card editor and preview */

.card-page {
  background: #d9ddda;
}

.card-toolbar,
.card-print-options,
.card-editor,
.card-sheet-label {
  width: min(calc(100% - 40px), 1050px);
  margin-inline: auto;
}

.card-toolbar {
  display: flex;
  margin-top: 28px;
  margin-bottom: 18px;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.card-toolbar h1 {
  margin: 8px 0 2px;
}

.card-toolbar p {
  margin: 0;
  color: var(--ink-soft);
}

.back-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.card-editor {
  padding: 20px;
  margin-bottom: 18px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.card-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.card-editor label {
  font-size: 0.82rem;
  font-weight: 800;
}

.card-editor input,
.card-editor select {
  margin-top: 5px;
}

.editor-reset {
  color: var(--ink);
  border-color: var(--ink);
}

.card-print-options {
  display: flex;
  padding: 18px 20px;
  margin-bottom: 24px;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.card-print-options strong {
  display: block;
  margin-bottom: 3px;
}

.card-print-options p {
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.card-sheet-section {
  margin-bottom: 44px;
}

.card-sheet-label {
  margin-bottom: 10px;
}

.card-sheet-label h2 {
  margin-bottom: 2px;
  font-size: 1.4rem;
}

.card-sheet-label p {
  margin: 0;
  color: var(--ink-soft);
}

.business-card-sheet {
  display: grid;
  width: 8.5in;
  height: 11in;
  padding: 0.5in 0.75in;
  margin: 0 auto;
  grid-template-columns: repeat(2, 3.5in);
  grid-template-rows: repeat(5, 2in);
  gap: 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.business-card {
  --card-accent: #d97a22;
  --card-bg: #101613;
  --card-bg-secondary: #1c2420;
  --card-ink: #ffffff;
  --card-muted: #cbd3ce;
  --card-border: #707873;

  position: relative;
  width: 3.5in;
  height: 2in;
  overflow: hidden;
  break-inside: avoid;
  page-break-inside: avoid;
}

.card-theme-dark {
  --card-bg: #101613;
  --card-bg-secondary: #1c2420;
  --card-ink: #ffffff;
  --card-muted: #cbd3ce;
  --card-border: #707873;
}

.card-theme-mid {
  --card-bg: #58605c;
  --card-bg-secondary: #747d78;
  --card-ink: #ffffff;
  --card-muted: #edf0ee;
  --card-border: #434946;
}

.card-theme-light {
  --card-bg: #f5f3ed;
  --card-bg-secondary: #ffffff;
  --card-ink: #17201c;
  --card-muted: #4f5b55;
  --card-border: #949b97;
}

.card-accent-orange {
  --card-accent: #d97a22;
}

.card-accent-purple {
  --card-accent: #8e4dff;
}

.card-accent-steel {
  --card-accent: #49758c;
}

.card-accent-copper {
  --card-accent: #a95f38;
}

.card-accent-green {
  --card-accent: #4f7d5d;
}

/* Single-sided business card */

.business-card-single {
  display: grid;
  padding:
    0.16in
    0.16in
    0.15in
    0.24in;
  grid-template-columns: 0.88in minmax(0, 1fr) 0.82in;
  grid-template-rows: 1fr;
  gap: 0.13in;
  align-items: stretch;
  color: var(--card-ink);
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(255, 255, 255, 0.075),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      var(--card-bg-secondary),
      var(--card-bg) 62%
    );
  border: 0.5px solid var(--card-border);
}

.card-accent-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.11in;
  background: var(--card-accent);
}

/* Left portrait area */

.business-card-photo-column {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  gap: 0.1in;
  align-items: center;
  justify-content: center;
}

.business-card-photo {
  width: 0.82in;
  height: 0.82in;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: 50% 22%;
  background: #313936;
  border: 0.024in solid var(--card-ink);
  border-radius: 50%;
}

.business-card-monogram {
  display: grid;
  width: 0.48in;
  height: 0.38in;
  flex: 0 0 auto;
  color: #111713;
  font-size: 0.13in;
  font-weight: 900;
  line-height: 1;
  background: var(--card-accent);
  border-radius: 0.065in;
  place-items: center;
}

/* Main information area */

.business-card-main {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.business-card-heading {
  min-width: 0;
}

.business-card-single h2 {
  margin: 0 0 0.045in;
  font-size: 0.19in;
  line-height: 1.02;
  letter-spacing: -0.016em;
  white-space: nowrap;
}

.business-card-heading p {
  margin: 0;
  color: var(--card-muted);
  font-size: 0.068in;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: normal;
}

.business-card-capabilities {
  padding: 0.065in 0;
  margin: 0.07in 0;
  color: var(--card-ink);
  font-size: 0.073in;
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.008em;
  border-top: 0.5px solid rgba(255, 255, 255, 0.24);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.24);
  white-space: normal;
}

.card-theme-light .business-card-capabilities {
  border-top-color: rgba(23, 32, 28, 0.22);
  border-bottom-color: rgba(23, 32, 28, 0.22);
}

.business-card-contact {
  display: grid;
  margin-top: auto;
  grid-template-columns: 1fr;
  gap: 0.034in;
  color: var(--card-ink);
  font-size: 0.073in;
  line-height: 1.16;
}

.business-card-contact span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-phone {
  font-size: 0.083in;
  font-weight: 900;
}

.card-website {
  color: var(--card-ink);
  font-weight: 900;
}

.card-email,
.card-location {
  color: var(--card-muted);
}

.card-location::before {
  margin-right: 0.035in;
  color: var(--card-accent);
  content: "●";
  font-size: 0.045in;
  vertical-align: middle;
}

/* Right QR area */

.business-card-qr-column {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.business-card-qr-column::before {
  margin-bottom: 0.07in;
  color: var(--card-muted);
  font-size: 0.061in;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
  content: "View Resume";
}

.business-card-qr {
  width: 0.79in;
  height: 0.79in;
  padding: 0.025in;
  flex: 0 0 auto;
  object-fit: contain;
  background: #ffffff;
  border: 0.5px solid #d1d5d2;
  border-radius: 0.025in;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    background: #111715;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .experience-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-portrait-wrap {
    justify-self: center;
  }

  .sticky-heading {
    position: static;
  }

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

  .trust-grid > div:nth-child(2) {
    border-right: 0;
  }

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

  .resume-heading,
  .card-toolbar,
  .card-print-options {
    flex-direction: column;
    align-items: start;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 52px;
  }

  .availability-card {
    position: static;
    margin-top: 14px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .form-grid,
  .resume-two-column,
  .card-editor-grid {
    grid-template-columns: 1fr;
  }

  .resume-sheet {
    padding: 34px 26px;
  }

  .footer-inner,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .business-card-sheet {
    margin-bottom: -4.7in;
    margin-left: 8px;
    transform: scale(0.56);
    transform-origin: top left;
  }

  .card-sheet-section {
    overflow: hidden;
  }
}

@media print {
  @page {
    size: Letter portrait;
    margin: 0;
  }

  html,
  body {
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
  }

  .site-header,
  .trust-strip,
  .hero,
  #services,
  #experience,
  .resume-heading,
  #contact,
  .site-footer,
  .no-print {
    display: none !important;
  }

  body:not(.card-page) {
    width: 8.5in;
    min-width: 8.5in;
    height: 11in;
    min-height: 11in;
    overflow: hidden;
  }

  body:not(.card-page) main,
  body:not(.card-page) .resume-section,
  body:not(.card-page) .resume-section > .container {
    width: 8.5in;
    min-width: 8.5in;
    max-width: 8.5in;
    height: 11in;
    min-height: 11in;
    max-height: 11in;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #ffffff;
  }

  body:not(.card-page) .resume-sheet {
    width: 8.5in;
    min-width: 8.5in;
    max-width: 8.5in;
    height: 11in;
    min-height: 11in;
    max-height: 11in;
    padding: 0.44in 0.58in 0.4in;
    margin: 0;
    overflow: hidden;
    color: #171717;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    box-shadow: none;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body:not(.card-page) .resume-contact {
    padding: 0 0 0.11in;
    margin: 0 0 0.15in;
    text-align: center;
    border-bottom: 1.5px solid #222222;
  }

  body:not(.card-page) .resume-contact h3 {
    margin: 0 0 0.035in;
    font-size: 17pt;
    line-height: 1.08;
  }

  body:not(.card-page) .resume-contact p {
    margin: 0.016in 0 0;
    font-size: 8.7pt;
    line-height: 1.2;
  }

  body:not(.card-page) .resume-sheet section {
    padding: 0;
    margin: 0 0 0.135in;
  }

  body:not(.card-page) .resume-sheet section:last-child {
    margin-bottom: 0;
  }

  body:not(.card-page) .resume-sheet h4 {
    padding: 0 0 0.035in;
    margin: 0 0 0.065in;
    font-size: 9.5pt;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #777777;
  }

  body:not(.card-page) .resume-sheet p,
  body:not(.card-page) .resume-sheet li {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 8.65pt;
    line-height: 1.34;
  }

  body:not(.card-page) .resume-sheet section > p + p {
    margin-top: 0.06in;
  }

  body:not(.card-page) .resume-job {
    padding: 0;
    margin: 0 0 0.083in;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body:not(.card-page) .resume-job:last-child {
    margin-bottom: 0;
  }

  body:not(.card-page) .resume-job h5 {
    margin: 0 0 0.018in;
    font-size: 9.1pt;
    line-height: 1.14;
  }

  body:not(.card-page) .resume-meta {
    margin: 0 0 0.03in;
    font-size: 8pt;
    line-height: 1.16;
    font-style: italic;
  }

  body:not(.card-page) .resume-job ul {
    padding-left: 0.18in;
    margin: 0;
  }

  body:not(.card-page) .resume-job li {
    padding: 0;
    margin: 0 0 0.016in;
  }

  body:not(.card-page) .resume-two-column {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 0.3in;
    margin-top: 0.04in;
    align-items: start;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body.card-page {
    width: 8.5in;
    min-width: 8.5in;
    height: 11in;
    min-height: 11in;
    margin: 0;
    overflow: hidden;
  }

  body.card-page .card-sheet-section {
    width: 8.5in;
    height: 11in;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  body.card-page .business-card-sheet {
    display: grid !important;
    width: 8.5in !important;
    min-width: 8.5in !important;
    max-width: 8.5in !important;
    height: 11in !important;
    min-height: 11in !important;
    max-height: 11in !important;
    padding: 0.5in 0.75in !important;
    margin: 0 !important;
    grid-template-columns: repeat(2, 3.5in) !important;
    grid-template-rows: repeat(5, 2in) !important;
    gap: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body.card-page .business-card {
    width: 3.5in !important;
    min-width: 3.5in !important;
    max-width: 3.5in !important;
    height: 2in !important;
    min-height: 2in !important;
    max-height: 2in !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 0.5px solid #777777 !important;
    break-inside: avoid;
    page-break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body.card-page .card-accent-bar,
  body.card-page .business-card-photo,
  body.card-page .business-card-monogram,
  body.card-page .business-card-qr {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}