@font-face {
  font-family: Geist;
  src: url('/assets/geist-latin.31a464d48948.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

/* Tailwind's neutral palette. Layout dimensions use a 4px / 8px scale. */
:root {
  color-scheme: light;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-600: #525252;
  --neutral-400: #a3a3a3;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --neutral-950: #0a0a0a;
  --bg: var(--neutral-50);
  --fg: var(--neutral-900);
  --muted: var(--neutral-600);
  --line: var(--neutral-200);
  --surface: var(--neutral-100);
  --button-bg: var(--neutral-900);
  --button-fg: var(--neutral-50);
  --avatar-border: rgb(23 23 23 / 12%);
  --space: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: var(--neutral-950);
    --fg: var(--neutral-50);
    --muted: var(--neutral-400);
    --line: var(--neutral-800);
    --surface: var(--neutral-900);
    --button-bg: var(--neutral-50);
    --button-fg: var(--neutral-950);
    --avatar-border: rgb(250 250 250 / 16%);
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: var(--neutral-950);
  --fg: var(--neutral-50);
  --muted: var(--neutral-400);
  --line: var(--neutral-800);
  --surface: var(--neutral-900);
  --button-bg: var(--neutral-50);
  --button-fg: var(--neutral-950);
  --avatar-border: rgb(250 250 250 / 16%);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scrollbar-gutter: stable; }
body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: Geist, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
::selection { background: var(--fg); color: var(--bg); }
.page { width: min(44rem, calc(100% - 64px)); margin-inline: auto; }
.header {
  padding-top: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 96px;
}
.identity { display: inline-flex; align-items: center; gap: 12px; border-radius: 8px; }
.name { font-size: 1rem; line-height: 1.5; font-weight: 500; letter-spacing: -.01em; }
.avatar { display: block; flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--avatar-border); }
.hero { margin-top: 128px; }
h1 { font-size: clamp(2.25rem, calc(1.5rem + 3vw), 3rem); line-height: calc(1em + .5rem); letter-spacing: -.035em; text-wrap: balance; overflow-wrap: break-word; }
.intro { max-width: 40rem; margin-top: 24px; font-size: 1.25rem; line-height: 1.6; color: var(--muted); letter-spacing: 0; text-wrap: pretty; }
.contact {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin-top: 32px;
  padding: 12px 24px;
  border-radius: 999px;
  color: var(--button-fg);
  background: var(--button-bg);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
}
svg { display: block; width: 20px; height: 20px; flex: none; }
.services { margin-top: 96px; }
.section-label { color: var(--muted); font-size: .875rem; line-height: 1.4286; letter-spacing: 0; }
.services .section-label { margin-bottom: 8px; }
.service {
  display: grid;
  grid-template-columns: minmax(0, 17.5rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 32px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.service h3 { font-size: 1.25rem; line-height: 1.4; letter-spacing: -.015em; text-wrap: balance; }
.service p { max-width: 44ch; color: var(--muted); font-size: 1rem; line-height: 1.5; letter-spacing: 0; text-wrap: pretty; }
.about { margin-top: 96px; }
.about p { max-width: 40rem; margin-top: 24px; font-size: 1.5rem; line-height: 1.5; letter-spacing: -.01em; text-wrap: pretty; }
.footer {
  margin-top: 96px;
  padding-top: 24px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer small { font-size: .875rem; line-height: 1.4286; color: var(--muted); }
/* A 120 x 32px visual pill, with three separate 40 x 40px tap targets. */
.theme-control { position: relative; isolation: isolate; display: inline-flex; flex: none; padding: 0; border-radius: 999px; }
.theme-control::before { content: ''; position: absolute; z-index: -1; inset: 4px 0; border-radius: inherit; background: var(--surface); }
.theme-control button {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0;
}
.theme-control button::before { content: ''; position: absolute; z-index: -1; inset: 6px; border-radius: 999px; }
.theme-control button[aria-pressed='true'] { color: var(--button-fg); }
.theme-control button[aria-pressed='true']::before { background: var(--button-bg); }
.theme-control svg { width: 16px; height: 16px; }
.theme-control[hidden] { display: inline-flex !important; visibility: hidden; }
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 12px 24px;
  border-radius: 999px;
  color: var(--button-fg);
  background: var(--button-bg);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
@media (hover: hover) {
  .contact:hover { opacity: .88; }
  .identity:hover { opacity: .72; }
  .theme-control button:not([aria-pressed='true']):hover { color: var(--fg); }
  .theme-control button:not([aria-pressed='true']):hover::before { background: var(--line); }
}
@media (prefers-reduced-motion: no-preference) {
  .contact, .identity { transition: opacity 160ms ease; }
  .theme-control button { transition: color 160ms ease; }
  .theme-control button::before { transition: background-color 160ms ease; }
}
@media (max-width: 767px) {
  .page { width: calc(100% - 48px); }
  .header { padding-top: 32px; min-height: 72px; gap: 16px; }
  .hero { margin-top: 80px; }
  h1 { letter-spacing: -.03em; }
  .intro { font-size: 1.25rem; line-height: 1.6; }
  .services { margin-top: 64px; }
  .services .section-label { margin-bottom: 8px; }
  .service { grid-template-columns: minmax(0,1fr); gap: 8px; padding-block: 24px; }
  .about { margin-top: 64px; }
  .about p { font-size: 1.25rem; line-height: 1.6; }
  .footer { margin-top: 64px; padding-bottom: 32px; gap: 16px; }
}
@media (max-width: 359px) {
  .footer { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media print {
  .theme-control, .skip-link { display: none !important; }
  .page { width: 100%; }
  .hero, .services, .about, .footer { margin-top: 48px; }
  .contact::after { content: ' · design@bobbymind.com'; font-size: 16px; }
}
