:root {
  color-scheme: light;
  --ink: #101817;
  --ink-soft: #263331;
  --paper: #f4f0e6;
  --paper-soft: #fbfaf4;
  --line: rgba(16, 24, 23, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --teal: #2f776c;
  --mint: #66b9a7;
  --coral: #e65f52;
  --gold: #e7ad55;
  --steel: #315b79;
  --dark: #101817;
  --dark-soft: #172220;
  --shadow: 0 24px 70px rgba(16, 24, 23, 0.18);
  --font-body: "Source Sans 3", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  font-family: var(--font-body);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}

.section-wrap,
.header-inner,
.site-footer {
  width: min(1180px, calc(100% - 72px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: #fffaf0;
  background: rgba(10, 16, 16, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand,
.header-actions,
.availability,
.button,
.button-row {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 12px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.brand-copy {
  display: grid;
  line-height: 1.16;
}

.brand-copy strong {
  color: #fffaf0;
  font-size: 0.96rem;
  font-weight: 800;
}

.brand-copy span {
  color: rgba(255, 250, 240, 0.58);
  font-size: 0.78rem;
  font-weight: 650;
}

.header-actions {
  gap: 14px;
}

.availability {
  gap: 7px;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid rgba(102, 185, 167, 0.34);
  border-radius: 8px;
  background: rgba(102, 185, 167, 0.12);
  color: #d9fff4;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--mint);
}

.hero.section-wrap {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-height: 78svh;
  grid-template-columns: minmax(0, 1.16fr) minmax(260px, 0.62fr);
  gap: 52px;
  align-items: center;
  overflow: hidden;
  margin-inline: 0;
  padding: 106px max(36px, calc((100vw - 1180px) / 2)) 36px;
  color: #fffaf0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero::before {
  background: linear-gradient(135deg, #101817 0%, #162522 48%, #315b79 100%);
}

.hero::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 15, 15, 0.28) 0%, rgba(9, 15, 15, 0.1) 56%, rgba(9, 15, 15, 0) 100%);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-label,
.card-kicker {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 5.2vw, 4.5rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.65rem);
}

h3 {
  font-size: 1.34rem;
}

.lead {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 250, 240, 0.86);
  font-size: 1.25rem;
  line-height: 1.55;
}

.button-row {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button svg {
  flex: 0 0 auto;
}

.button-small {
  min-height: 36px;
  padding-inline: 15px;
  font-size: 0.88rem;
}

.button-primary {
  background: var(--gold);
  color: var(--dark);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f0bd6b;
}

.button-outline {
  border-color: rgba(255, 250, 240, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fffaf0;
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: rgba(255, 250, 240, 0.62);
  background: rgba(255, 255, 255, 0.14);
  color: #fffaf0;
}

.stats {
  display: grid;
  width: min(960px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 38px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: var(--line-light);
}

.stats div {
  min-height: 104px;
  padding: 20px;
  background: rgba(11, 18, 18, 0.58);
}

.stats dt {
  color: #fffaf0;
  font-size: 1.22rem;
  font-weight: 850;
  line-height: 1.1;
}

.stats dd {
  margin-top: 10px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.92rem;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  width: min(390px, 100%);
  aspect-ratio: 4 / 5;
  justify-self: end;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.07);
  transform-origin: 50% 42%;
}

.panel-section {
  background: var(--paper-soft);
}

.panel-section + .section-wrap,
.services-section,
.portfolio-section,
.contact-section {
  padding-block: 90px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 56px;
  align-items: start;
  padding-block: 90px;
}

.about-copy h2,
.section-heading h2 {
  margin-top: 8px;
}

.about-copy p {
  max-width: 760px;
  font-size: 1.06rem;
  line-height: 1.62;
}

.about-copy h2 + p {
  margin-top: 22px;
}

.about-copy p + p {
  margin-top: 16px;
}

.muted {
  color: rgba(16, 24, 23, 0.68);
}

.fact-list {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 48px rgba(16, 24, 23, 0.06);
}

.fact-list div + div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.fact-list p {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fact-list strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.45;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.78fr 1.5fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading.centered {
  display: block;
  text-align: center;
}

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

.service-card,
.work-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
  box-shadow: 0 16px 48px rgba(16, 24, 23, 0.06);
}

.service-card {
  padding: 28px;
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 8px;
  background: rgba(231, 173, 85, 0.28);
  color: var(--ink);
}

.icon-box svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.card-kicker {
  margin-bottom: 16px;
  color: var(--teal);
}

.service-card > p:not(.card-kicker) {
  margin-bottom: 22px;
  color: rgba(16, 24, 23, 0.7);
  font-size: 1rem;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 22px;
  padding-left: 28px;
  color: rgba(16, 24, 23, 0.82);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.chips span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 8px;
  padding: 6px 12px;
  background: rgba(47, 119, 108, 0.12);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.chips span:first-child {
  background: transparent;
  color: rgba(16, 24, 23, 0.62);
}

.portfolio-section {
  padding-block: 90px;
}

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

.work-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 8px;
  padding: 4px 9px;
  background: rgba(231, 173, 85, 0.28);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.work-card h3 {
  margin-top: 22px;
  font-size: 1.28rem;
}

.work-card p {
  margin-top: 10px;
  color: rgba(16, 24, 23, 0.7);
  font-size: 0.95rem;
}

.work-card .role {
  margin-top: 8px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 850;
}

.work-cta {
  justify-content: center;
  background: var(--dark-soft);
  color: #fffaf0;
}

.work-cta p {
  color: #fffaf0;
  font-size: 1.05rem;
  font-weight: 850;
}

.work-cta a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 850;
}

.contact-section {
  width: 100%;
  max-width: none;
  padding: 90px max(36px, calc((100vw - 1180px) / 2));
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(230, 95, 82, 0.17), rgba(102, 185, 167, 0.14)),
    var(--dark);
}

.contact-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.contact-inner .section-label {
  color: var(--mint);
}

.contact-inner .lead {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.78);
}

.centered-row {
  justify-content: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  color: rgba(255, 250, 240, 0.7);
  background: #0b1111;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

footer.site-footer {
  width: 100%;
  max-width: none;
  padding-inline: max(36px, calc((100vw - 1180px) / 2));
}

.site-footer a {
  color: #fffaf0;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.footer-link {
  border: 0;
  padding: 0;
  color: #fffaf0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--gold);
}

.imprint-modal {
  width: min(620px, calc(100% - 32px));
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.imprint-modal::backdrop {
  background: rgba(7, 12, 12, 0.68);
  backdrop-filter: blur(6px);
}

.imprint-panel {
  position: relative;
  max-height: min(760px, calc(100svh - 48px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  background: var(--paper-soft);
  box-shadow: var(--shadow);
}

.imprint-panel .section-label {
  color: var(--teal);
}

.imprint-panel h2 {
  margin-bottom: 24px;
  color: var(--ink);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(16, 24, 23, 0.05);
}

.imprint-content {
  display: grid;
  gap: 22px;
}

.imprint-content h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.imprint-content p {
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hero.section-wrap,
  .about-grid,
  .service-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero.section-wrap {
    min-height: 78svh;
    gap: 34px;
    padding: 102px 22px 42px;
  }

  .hero::after {
    background: rgba(9, 15, 15, 0.74);
  }

  .portrait-card {
    width: min(280px, 100%);
    justify-self: start;
  }

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

  .about-grid,
  .services-section,
  .portfolio-section,
  .contact-section {
    padding-block: 64px;
  }

  .section-wrap,
  .header-inner,
  .site-footer {
    width: min(100% - 44px, 1180px);
  }

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

@media (max-width: 700px) {
  .header-inner {
    min-height: 64px;
  }

  .availability {
    display: none;
  }

  .hero.section-wrap {
    min-height: 76svh;
  }

  h1 {
    font-size: 2.5rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .button-small {
    width: auto;
  }

  .stats {
    display: none;
  }

  .portrait-card {
    display: block;
    width: min(190px, 64vw);
    justify-self: center;
  }

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

  .service-card,
  .work-card {
    padding: 22px;
  }

  footer.site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .imprint-panel {
    padding: 28px 22px;
  }
}

@media (max-width: 420px) {
  .brand-copy span {
    display: none;
  }
}
