:root {
  --canvas: #f7f6f3;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #787774;
  --border: #eaeaea;
  --accent-blue-bg: #e1f3fe;
  --accent-blue-text: #1f6c9f;
  --accent-green-bg: #edf3ec;
  --accent-green-text: #346538;
  --accent-yellow-bg: #fbf3db;
  --accent-yellow-text: #956400;
  --accent-red-bg: #fdebec;
  --accent-red-text: #9f2f2d;
  --max-width: 72rem;
  --font-sans: "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Georgia", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  z-index: 100;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 4px;
  background: var(--ink);
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--ink);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  padding: 4rem 0 5rem;
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.hero-lede {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #333;
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
}

.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0 0 2rem;
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.card {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.card-wide {
  grid-column: span 8;
}

.card-tall {
  grid-column: span 4;
  grid-row: span 2;
}

.card h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

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

.tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-blue {
  background: var(--accent-blue-bg);
  color: var(--accent-blue-text);
}

.tag-green {
  background: var(--accent-green-bg);
  color: var(--accent-green-text);
}

.tag-yellow {
  background: var(--accent-yellow-bg);
  color: var(--accent-yellow-text);
}

.tag-red {
  background: var(--accent-red-bg);
  color: var(--accent-red-text);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.service-list li {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.service-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.contact-email {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.contact-email a {
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-note {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer-domain {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .card,
  .card-wide,
  .card-tall {
    grid-column: span 12;
    grid-row: auto;
  }

  .site-nav {
    display: none;
  }
}
