/* BijuDev — standalone, accessible, responsive stylesheet */
:root {
  color-scheme: light;
  --ink: #2c1f35;
  --muted: #574a60;
  --purple: #5e2f7a;
  --lavender: #ddd2f6;
  --lavender-light: #f8edff;
  --peach: #ffd9c8;
  --mint: #cceee3;
  --blush: #f4cede;
  --blue: #cde4f7;
  --cream: #fff4dc;
  --paper: #fffafd;
  --line: #2c1f3540;
  --shadow: #6f3d8d24;
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(70px, 8vw, 112px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--body);
}
a {
  color: inherit;
}
img,
svg {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.13;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.7rem, 5.2vw, 5rem);
}
h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.5rem);
}
h3 {
  font-size: clamp(1.35rem, 1.6vw, 1.7rem);
}
em {
  font-weight: 550;
}
p {
  overflow-wrap: break-word;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  padding: 12px max(var(--gutter), calc((100% - var(--max)) / 2));
  background: #f8edfff2;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.wordmark {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span {
  color: var(--purple);
}
.wordmark .wordmark-dot {
  color: #a14f65;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.3vw, 22px);
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 9px;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 700;
  border-radius: 90px;
  corner-shape: squircle;
}
.desktop-nav a:hover {
  background: var(--lavender);
}
.desktop-nav .nav-cta {
  padding: 10px 17px;
  background: var(--ink);
  
  color: white;
}
.desktop-nav .nav-cta:hover {
  background: var(--purple);
}
.mobile-menu {
  display: none;
}
.mobile-menu summary {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.hamburger {
  display: grid;
  gap: 5px;
}
.hamburger i {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.mobile-menu nav {
  position: absolute;
  right: var(--gutter);
  top: calc(100% + 6px);
  display: grid;
  min-width: 220px;
  padding: 10px;
  background: white;
  border: 1px solid var(--ink);
  border-radius: 12px;
  box-shadow: 7px 7px 0 var(--shadow);
}
.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.mobile-menu nav a:hover {
  background: var(--lavender-light);
}
.section {
  padding: var(--section) max(var(--gutter), calc((100% - var(--max)) / 2));
}
.eyebrow,
.number,
.code-comment,
.scribble {
  font-family: var(--mono);
}
.eyebrow {
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "— ";
  color: var(--purple);
}
.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}
.section-heading > p:last-child {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}
.section-heading h2 {
  margin-bottom: 16px;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  background: var(--lavender);
  min-height: 650px;
}
.hero-copy h1 {
  max-width: 13ch;
  margin-bottom: 22px;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 58ch;
  color: var(--muted);
}
.hero-copy .lead {
  font-size: clamp(1.1rem, 1.4vw, 1.24rem);
  font-weight: 600;
  color: var(--ink) !important;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}
.button {
  --top: #e7dcff;
  --bottom: #b7a2f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 23px;
  border: 1px solid #9274b8;
  border-radius: 90px;
  corner-shape: squircle;
  background: linear-gradient(180deg, var(--top), var(--bottom));
  color: var(--ink);
  font: 700 0.96rem/1.3 var(--body);
  text-align: center;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 #ffffffcc,
    inset 0 -3px 0 #3b205033,
    0 7px 18px -5px #6f3d8d66;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 white,
    inset 0 -3px 0 #3b205044,
    0 12px 23px -6px #6f3d8d88;
}
.button:active {
  transform: translateY(2px);
  box-shadow: inset 0 3px 6px #2c1f3533;
}
.button-secondary {
  --top: #ffe9df;
  --bottom: #f5bba5;
  border-color: #b78271;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.text-link:hover {
  color: var(--purple);
}
.hero-art {
  position: relative;
  padding: 14px 20px 48px 0;
}
.browser {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 14px 14px 0 var(--shadow);
  transform: rotate(2deg);
}
.browser-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px;
  background: var(--lavender-light);
  border-bottom: 2px solid var(--ink);
}
.browser-top > span {
  width: 11px;
  height: 11px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--peach);
}
.browser-top > span:nth-child(2) {
  background: var(--cream);
}
.browser-top > span:nth-child(3) {
  background: var(--mint);
}
.browser-top small {
  margin-left: auto;
  font: 500 0.63rem var(--mono);
  color: var(--muted);
}
.browser-body {
  padding: clamp(22px, 3vw, 38px);
}
.code-comment {
  color: var(--purple);
  font-size: 0.75rem;
}
.diagram-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 17px;
  background: var(--lavender-light);
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: 9px;
  font-weight: 700;
}
.diagram-node span {
  font: 500 0.73rem var(--mono);
}
.diagram-node.peach {
  background: #fff0e7;
  border-left-color: #a9634b;
}
.diagram-node.mint {
  background: #e4f6ef;
  border-left-color: #39745f;
}
.diagram-arrow {
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.7;
}
.scribble {
  position: absolute;
  right: 10px;
  bottom: 0;
  color: var(--purple);
  font-size: 0.72rem;
  transform: rotate(-4deg);
}
.audience {
  background: var(--peach);
}
.services {
  background: var(--lavender-light);
}
.approach {
  background: var(--blush);
}
.work {
  background: var(--mint);
}
.about {
  background: var(--cream);
}
.contact {
  background: var(--blue);
  text-align: center;
}
.two-grid,
.three-grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
}
.two-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffffd9;
  box-shadow: 6px 6px 0 var(--shadow);
}
.card .number {
  margin-bottom: 20px;
  color: var(--purple);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.card h3 {
  margin-bottom: 16px;
}
.card p {
  color: var(--muted);
  line-height: 1.7;
}
.card .text-link {
  align-self: flex-start;
  margin-top: auto;
}
.outcome {
  margin-top: auto;
  padding-top: 12px;
}
.outcome strong {
  color: var(--ink);
}
.work-card small {
  display: block;
  margin: 8px 0 16px;
  color: var(--purple);
  font: 500 0.76rem/1.6 var(--mono);
}
.work-card .text-link {
  margin-top: auto;
}
.approach {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 6vw, 80px);
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.steps .number {
  padding-top: 7px;
  color: var(--purple);
  font-size: 0.78rem;
}
.steps h3 {
  margin-bottom: 8px;
}
.steps p {
  margin-bottom: 0;
  color: var(--muted);
}
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(35px, 7vw, 100px);
  align-items: center;
}
.about-stamp {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: 350px;
  padding: 25px;
  background: var(--lavender-light);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 13px 13px 0 var(--shadow);
  transform: rotate(-2deg);
  text-align: center;
}
.about-stamp > span {
  font: 650 clamp(1.5rem, 3vw, 2.5rem)/1.1 var(--display);
}
.about-stamp b {
  font: 700 2rem var(--mono);
  color: var(--purple);
}
.about-stamp small {
  margin-top: 8px;
  color: var(--purple);
  font: 500 0.72rem var(--mono);
}
.about-copy p:not(.eyebrow) {
  color: var(--muted);
}
.about-copy .text-link {
  margin-top: 12px;
}
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact h2 {
  max-width: 17ch;
}
.contact > p:not(.eyebrow) {
  max-width: 64ch;
  color: var(--muted);
}
.contact .actions {
  justify-content: center;
}
.contact .contact-note {
  margin-top: 30px;
  font-size: 0.9rem;
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 28px max(var(--gutter), calc((100% - var(--max)) / 2));
  background: var(--lavender-light);
  border-top: 1px solid var(--line);
  font-size: 0.87rem;
}
.site-footer p {
  margin: 0;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 13px;
  background: linear-gradient(180deg, #fff, #e8dcff);
  border: 1px solid #b8a1d0;
  border-radius: 90px;
  corner-shape:squircle;
  box-shadow:
    inset 0 1px 0 white,
    0 3px 8px #6f3d8d20;
  text-decoration: none;
  font-weight: 700;
}
.footer-links a:hover {
  background: var(--lavender);
}
.back-to-top {
  font-weight: 700;
  text-underline-offset: 4px;
}
@media (max-width: 1060px) {
  .desktop-nav {
    gap: 3px;
  }
  .desktop-nav a {
    font-size: 0.84rem;
    padding-inline: 7px;
  }
  .three-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}
@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .hero,
  .approach,
  .about {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 0;
  }
  .hero-art {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }
  .two-grid {
    grid-template-columns: 1fr;
  }
  .about-stamp {
    min-height: 280px;
  }
  .section {
    padding-block: clamp(60px, 8vw, 88px);
  }
}
@media (max-width: 560px) {
  .three-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(2.55rem, 10vw, 3.6rem);
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .actions .button {
    width: 100%;
  }
  .hero .actions .text-link {
    align-self: flex-start;
  }
  .browser-top small {
    font-size: 0.55rem;
  }
  .scribble {
    font-size: 0.65rem;
  }
  .site-footer {
    padding-block: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .button:hover,
  .button:active {
    transform: none;
  }
}
@media (forced-colors: active) {
  .button,
  .card,
  .footer-links a,
  .mobile-menu summary {
    border: 1px solid CanvasText;
  }
}
