/* Rory Hanrahan site stylesheet — tokens + utilities used by the static pages */
:root {
  --ink: #1c1917;
  --paper: #f7f3eb;
  --cream: #faf6f0;
  --accent: #8b1a1a;
  --accent2: #b45309;
  --muted: #57534e;
  --soft: #e7e0d5;
}
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--soft); }
html { scroll-behavior: smooth; line-height: 1.5; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at top, rgba(139,26,26,0.04), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(180,83,9,0.05), transparent 45%);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
#mobile-nav:not(.hidden) { display: block; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.focus\:not-sr-only:focus { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; }
.focus\:absolute:focus { position: absolute; }
.focus\:top-4:focus { top: 1rem; }
.focus\:left-4:focus { left: 1rem; }

.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.font-sans { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.font-serif { font-family: Georgia, Cambria, "Times New Roman", serif; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration: underline; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.leading-tight { line-height: 1.25; }
.leading-\[1\.75\] { line-height: 1.75; }
.text-center { text-align: center; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-\[17px\] { font-size: 17px; }

.text-ink { color: var(--ink); }
.text-muted { color: var(--muted); }
.text-soft { color: var(--soft); }
.text-accent { color: var(--accent); }
.text-accent2 { color: var(--accent2); }
.text-white { color: #fff; }
.text-cream { color: var(--cream); }
.text-cream\/80 { color: rgba(250,246,240,0.8); }
.text-cream\/90 { color: rgba(250,246,240,0.9); }
.text-amber-300 { color: #fcd34d; }
.text-amber-400 { color: #fbbf24; }

.bg-paper { background-color: var(--paper); }
.bg-cream { background-color: var(--cream); }
.bg-cream\/90 { background-color: rgba(250,246,240,0.9); }
.bg-accent { background-color: var(--accent); }
.bg-ink { background-color: var(--ink); }
.bg-white { background-color: #fff; }
.bg-white\/60 { background-color: rgba(255,255,255,0.6); }
.bg-white\/70 { background-color: rgba(255,255,255,0.7); }

.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; border-style: solid; }
.border-4 { border-width: 4px; border-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-style: solid; }
.border-l-4 { border-left-width: 4px; border-style: solid; }
.border-soft { border-color: var(--soft); }
.border-accent { border-color: var(--accent); }
.border-accent2 { border-color: var(--accent2); }
.border-white { border-color: #fff; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }

.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }

.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-x-5 { column-gap: 1.25rem; }
.gap-y-1 { row-gap: 0.25rem; }
.gap-y-2 { row-gap: 0.5rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }

.sticky { position: sticky; }
.absolute { position: absolute; }
.top-0 { top: 0; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.scroll-mt-24 { scroll-margin-top: 6rem; }

.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-28 { width: 7rem; }
.h-28 { height: 7rem; }
.w-full { width: 100%; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-none { max-width: none; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }

.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; } .mb-5 { margin-bottom: 1.25rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; } .mb-10 { margin-bottom: 2.5rem; } .mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; } .mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; } .mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }

.p-2 { padding: 0.5rem; } .p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.pt-2 { padding-top: 0.5rem; } .pt-4 { padding-top: 1rem; } .pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; } .pt-12 { padding-top: 3rem; } .pt-14 { padding-top: 3.5rem; }
.pb-4 { padding-bottom: 1rem; } .pb-5 { padding-bottom: 1.25rem; } .pb-12 { padding-bottom: 3rem; }
.pl-4 { padding-left: 1rem; } .pl-5 { padding-left: 1.25rem; }

.list-disc { list-style-type: disc; padding-left: 1.25rem; }
.list-decimal { list-style-type: decimal; padding-left: 1.25rem; }
.list-none { list-style: none; }

.opacity-90 { opacity: 0.9; }
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.transition { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }

.hover\:underline:hover { text-decoration: underline; }
.hover\:text-ink:hover { color: var(--ink); }
.hover\:text-accent:hover { color: var(--accent); }
.hover\:text-amber-400:hover { color: #fbbf24; }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:bg-red-900:hover { background-color: #7f1d1d; }
.hover\:border-accent:hover { border-color: var(--accent); }

.prose, .prose-stone { max-width: 42rem; }
.prose p, .prose-stone p { margin: 0 0 1rem; }
.prose a, .prose-stone a { color: var(--accent); text-decoration: underline; }

@media (min-width: 640px) {
  .sm\:inline-block { display: inline-block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
