/* ============================================================
   crokes.css — shared compiled stylesheet
   Covers: homepage.html + about.html
   Replaces cdn.tailwindcss.com on both pages
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: ui-sans-serif, system-ui, sans-serif; }
body { line-height: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
h1,h2,h3,h4,h5,h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, [type='button'], [type='reset'], [type='submit'] { -webkit-appearance: button; background-color: transparent; background-image: none; }
:-moz-focusring { outline: auto; }
:-moz-ui-invalid { box-shadow: none; }
progress { vertical-align: baseline; }
::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; }
[type='search'] { -webkit-appearance: textfield; outline-offset: -2px; }
::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
summary { display: list-item; }
blockquote, dl, dd, hr, figure, p, pre { margin: 0; }
fieldset { margin: 0; padding: 0; }
legend { padding: 0; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: #9ca3af; }
button, [role="button"] { cursor: pointer; }
:disabled { cursor: default; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }


/* ════════════════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════════════════ */

.block          { display: block; }
.inline-block   { display: inline-block; }
.inline-flex    { display: inline-flex; align-items: center; }
.flex           { display: flex; }
.grid           { display: grid; }
.hidden         { display: none; }

.relative       { position: relative; }
.absolute       { position: absolute; }

.inset-0        { top: 0; right: 0; bottom: 0; left: 0; }
.top-12         { top: 3rem; }
.top-28         { top: 7rem; }
.top-1\/2       { top: 50%; }
.bottom-6       { bottom: 1.5rem; }
.bottom-10      { bottom: 2.5rem; }
.bottom-16      { bottom: 4rem; }
.right-0        { right: 0; }
.right-6        { right: 1.5rem; }
.right-12       { right: 3rem; }
.right-20       { right: 5rem; }
.left-0         { left: 0; }
.left-12        { left: 3rem; }
.left-1\/3      { left: 33.333333%; }

.-translate-y-1\/2 { transform: translateY(-50%); }

.overflow-hidden    { overflow: hidden; }
.overflow-x-hidden  { overflow-x: hidden; }

.pointer-events-none { pointer-events: none; }
.whitespace-nowrap  { white-space: nowrap; }
.uppercase          { text-transform: uppercase; }
.line-clamp-2       { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.perspective-1000   { perspective: 1000px; }
.min-h-screen       { min-height: 100vh; }


/* ════════════════════════════════════════════════════════════
   FLEXBOX
════════════════════════════════════════════════════════════ */

.flex-col        { flex-direction: column; }
.flex-wrap       { flex-wrap: wrap; }
.flex-shrink-0   { flex-shrink: 0; }

.items-start     { align-items: flex-start; }
.items-center    { align-items: center; }
.items-end       { align-items: flex-end; }

.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }


/* ════════════════════════════════════════════════════════════
   GRID
════════════════════════════════════════════════════════════ */

.grid-cols-2     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-span-2      { grid-column: span 2 / span 2; }


/* ════════════════════════════════════════════════════════════
   GAP
════════════════════════════════════════════════════════════ */

.gap-1           { gap: 0.25rem; }
.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-12          { gap: 3rem; }
.gap-16          { gap: 4rem; }
.gap-px          { gap: 1px; }
.gap-x-3         { column-gap: 0.75rem; }
.gap-x-4         { column-gap: 1rem; }
.gap-x-10        { column-gap: 2.5rem; }
.gap-x-12        { column-gap: 3rem; }
.gap-y-3         { row-gap: 0.75rem; }
.gap-y-4         { row-gap: 1rem; }
.gap-y-12        { row-gap: 3rem; }


/* ════════════════════════════════════════════════════════════
   SIZING
════════════════════════════════════════════════════════════ */

.w-full          { width: 100%; }
.w-8             { width: 2rem; }
.w-12            { width: 3rem; }
.w-16            { width: 4rem; }
.w-20            { width: 5rem; }
.w-3\/4          { width: 75%; }
.w-11\/12        { width: 91.666667%; }

.h-px            { height: 1px; }
.h-3             { height: 0.75rem; }
.h-12            { height: 3rem; }
.h-16            { height: 4rem; }
.h-20            { height: 5rem; }
.h-44            { height: 11rem; }
.h-48            { height: 12rem; }
.h-52            { height: 13rem; }
.h-64            { height: 16rem; }
.h-80            { height: 20rem; }
.h-full          { height: 100%; }

.max-w-md        { max-width: 28rem; }
.max-w-2xl       { max-width: 42rem; }
.max-w-3xl       { max-width: 48rem; }
.max-w-4xl       { max-width: 56rem; }
.max-w-6xl       { max-width: 72rem; }
.max-w-7xl       { max-width: 80rem; }
.max-w-\[160px\] { max-width: 160px; }
.max-w-\[220px\] { max-width: 220px; }


/* ════════════════════════════════════════════════════════════
   SPACING — PADDING
════════════════════════════════════════════════════════════ */

.p-6             { padding: 1.5rem; }
.p-8             { padding: 2rem; }

.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; }
.px-8            { padding-left: 2rem;    padding-right: 2rem; }
.px-10           { padding-left: 2.5rem;  padding-right: 2.5rem; }
.px-12           { padding-left: 3rem;    padding-right: 3rem; }
.px-14           { padding-left: 3.5rem;  padding-right: 3.5rem; }

.py-1            { padding-top: 0.25rem;  padding-bottom: 0.25rem; }
.py-2            { padding-top: 0.5rem;   padding-bottom: 0.5rem; }
.py-3            { padding-top: 0.75rem;  padding-bottom: 0.75rem; }
.py-4            { padding-top: 1rem;     padding-bottom: 1rem; }
.py-5            { padding-top: 1.25rem;  padding-bottom: 1.25rem; }
.py-6            { padding-top: 1.5rem;   padding-bottom: 1.5rem; }
.py-16           { padding-top: 4rem;     padding-bottom: 4rem; }
.py-20           { padding-top: 5rem;     padding-bottom: 5rem; }
.py-24           { padding-top: 6rem;     padding-bottom: 6rem; }
.py-32           { padding-top: 8rem;     padding-bottom: 8rem; }

.pt-4            { padding-top: 1rem; }
.pt-5            { padding-top: 1.25rem; }
.pt-6            { padding-top: 1.5rem; }
.pt-10           { padding-top: 2.5rem; }
.pt-16           { padding-top: 4rem; }

.pb-0            { padding-bottom: 0; }
.pb-2            { padding-bottom: 0.5rem; }
.pb-16           { padding-bottom: 4rem; }


/* ════════════════════════════════════════════════════════════
   SPACING — MARGIN
════════════════════════════════════════════════════════════ */

.mx-auto         { margin-left: auto; margin-right: auto; }

.ml-2            { margin-left: 0.5rem; }

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

.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; }


/* ════════════════════════════════════════════════════════════
   SPACE BETWEEN
════════════════════════════════════════════════════════════ */

.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }


/* ════════════════════════════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════════════════════════════ */

.font-mono       { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.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-5xl        { font-size: 3rem;      line-height: 1; }
.text-6xl        { font-size: 3.75rem;   line-height: 1; }
.text-7xl        { font-size: 4.5rem;    line-height: 1; }
.text-8xl        { font-size: 6rem;      line-height: 1; }
.text-\[10px\]   { font-size: 10px; }
.text-\[3\.2rem\] { font-size: 3.2rem; }

.font-medium     { font-weight: 500; }
.font-semibold   { font-weight: 600; }
.font-bold       { font-weight: 700; }
.font-black      { font-weight: 900; }

.leading-none    { line-height: 1; }
.leading-tight   { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wide    { letter-spacing: 0.025em; }
.tracking-wider   { letter-spacing: 0.05em; }
.tracking-widest  { letter-spacing: 0.1em; }
.tracking-\[3px\] { letter-spacing: 3px; }
.tracking-\[4px\] { letter-spacing: 4px; }

.text-center     { text-align: center; }
.text-left       { text-align: left; }


/* ════════════════════════════════════════════════════════════
   COLOURS — TEXT
════════════════════════════════════════════════════════════ */

.text-white          { color: #ffffff; }
.text-white\/60      { color: rgba(255,255,255,0.6); }
.text-white\/70      { color: rgba(255,255,255,0.7); }
.text-white\/80      { color: rgba(255,255,255,0.8); }
.text-gray-500       { color: #6b7280; }
.text-gray-600       { color: #4b5563; }
.text-gray-900       { color: #111827; }
.text-zinc-400       { color: #a1a1aa; }
.text-zinc-500       { color: #71717a; }
.text-zinc-900       { color: #18181b; }
.text-amber-400      { color: #fbbf24; }
.text-amber-600      { color: #d97706; }
.text-emerald-400    { color: #34d399; }
.text-emerald-500    { color: #10b981; }
.text-emerald-600    { color: #059669; }
.text-orange-400     { color: #fb923c; }
.text-\[\#de0f3e\]   { color: #de0f3e; }


/* ════════════════════════════════════════════════════════════
   COLOURS — BACKGROUND
════════════════════════════════════════════════════════════ */

.bg-white            { background-color: #ffffff; }
.bg-black            { background-color: #000000; }
.bg-white\/10        { background-color: rgba(255,255,255,0.1); }
.bg-gray-50          { background-color: #f9fafb; }
.bg-gray-200         { background-color: #e5e7eb; }
.bg-red-50           { background-color: #fef2f2; }
.bg-emerald-50       { background-color: #ecfdf5; }
.bg-zinc-100         { background-color: #f4f4f5; }
.bg-zinc-950         { background-color: #09090b; }
.bg-\[\#0a2540\]     { background-color: #0a2540; }
.bg-\[\#de0f3e\]     { background-color: #de0f3e; }
.bg-\[\#de0f3e\]\/10 { background-color: rgba(222,15,62,0.1); }

/* Background image utilities */
.bg-cover            { background-size: cover; }
.bg-center           { background-position: center; }
.bg-\[url\(\'https\:\/\/i\.imgur\.com\/Rmbiqll\.jpeg\'\)\] { background-image: url('https://i.imgur.com/Rmbiqll.jpeg'); }
.bg-\[url\(\'https\:\/\/i\.imgur\.com\/54jHc8K\.png\'\)\]  { background-image: url('https://i.imgur.com/54jHc8K.png'); }
.bg-\[url\(\'https\:\/\/i\.imgur\.com\/P3XF2YH\.jpeg\'\)\] { background-image: url('https://i.imgur.com/P3XF2YH.jpeg'); }

/* Gradients */
.bg-gradient-to-b    { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-br   { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-\[\#de0f3e\]   { --tw-gradient-from: #de0f3e; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(222,15,62,0)); }
.from-amber-300      { --tw-gradient-from: #fcd34d; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(252,211,77,0)); }
.from-emerald-400    { --tw-gradient-from: #34d399; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(52,211,153,0)); }
.via-black           { --tw-gradient-stops: var(--tw-gradient-from), #000000, var(--tw-gradient-to, rgba(0,0,0,0)); }
.to-black            { --tw-gradient-to: #000000; }
.to-red-700          { --tw-gradient-to: #b91c1c; }
.to-amber-500        { --tw-gradient-to: #f59e0b; }
.to-emerald-600      { --tw-gradient-to: #059669; }


/* ════════════════════════════════════════════════════════════
   BORDERS
════════════════════════════════════════════════════════════ */

.border              { border-width: 1px; }
.border-2            { border-width: 2px; }
.border-t            { border-top-width: 1px; }
.border-b            { border-bottom-width: 1px; }
.border-white\/20    { border-color: rgba(255,255,255,0.2); }
.border-white\/30    { border-color: rgba(255,255,255,0.3); }
.border-white\/60    { border-color: rgba(255,255,255,0.6); }


/* ════════════════════════════════════════════════════════════
   BORDER RADIUS
════════════════════════════════════════════════════════════ */

.rounded             { border-radius: 0.25rem; }
.rounded-sm          { border-radius: 0.125rem; }
.rounded-2xl         { border-radius: 1rem; }
.rounded-3xl         { border-radius: 1.5rem; }
.rounded-full        { border-radius: 9999px; }


/* ════════════════════════════════════════════════════════════
   SHADOWS
════════════════════════════════════════════════════════════ */

.shadow              { box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); }
.shadow-xl           { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }


/* ════════════════════════════════════════════════════════════
   OPACITY
════════════════════════════════════════════════════════════ */

.opacity-30          { opacity: 0.3; }
.opacity-40          { opacity: 0.4; }


/* ════════════════════════════════════════════════════════════
   BACKDROP BLUR
════════════════════════════════════════════════════════════ */

.backdrop-blur-md    { backdrop-filter: blur(12px); }
.backdrop-blur-3xl   { backdrop-filter: blur(64px); }


/* ════════════════════════════════════════════════════════════
   Z-INDEX
════════════════════════════════════════════════════════════ */

.z-10                { z-index: 10; }


/* ════════════════════════════════════════════════════════════
   TRANSITIONS & ANIMATION
════════════════════════════════════════════════════════════ */

.transition-all       { transition: all 0.15s ease; }
.transition-colors    { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-transform { transition: transform 0.15s ease; }
.duration-500         { transition-duration: 500ms; }

@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50%       { transform: translateY(0); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
.animate-bounce      { animation: bounce 1s infinite; }


/* ════════════════════════════════════════════════════════════
   HOVER UTILITIES
════════════════════════════════════════════════════════════ */

.hover\:bg-black:hover         { background-color: #000000; }
.hover\:border-white:hover     { border-color: #ffffff; }
.hover\:scale-105:hover        { transform: scale(1.05); }
.hover\:text-white:hover       { color: #ffffff; }
.hover\:underline:hover        { text-decoration: underline; }

/* Group hover */
.group:hover .group-hover\:scale-105  { transform: scale(1.05); }
.group:hover .group-hover\:text-\[\#de0f3e\] { color: #de0f3e; }
.group:hover .group-hover\:w-12       { width: 3rem; }


/* ════════════════════════════════════════════════════════════
   RESPONSIVE — sm (640px)
════════════════════════════════════════════════════════════ */

@media (min-width: 640px) {
    .sm\:text-5xl  { font-size: 3rem;    line-height: 1; }
    .sm\:text-7xl  { font-size: 4.5rem;  line-height: 1; }
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE — md (768px)
════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
    .md\:block           { display: block; }
    .md\:flex            { display: flex; }
    .md\:hidden          { display: none; }
    .md\:col-span-2      { grid-column: span 2 / span 2; }
    .md\:col-span-3      { grid-column: span 3 / span 3; }
    .md\:col-span-5      { grid-column: span 5 / span 5; }
    .md\:col-span-7      { grid-column: span 7 / span 7; }
    .md\:flex-row        { flex-direction: row; }
    .md\:grid-cols-2     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3     { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4     { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:grid-cols-5     { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .md\:grid-cols-12    { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .md\:items-center    { align-items: center; }
    .md\:items-end       { align-items: flex-end; }
    .md\:max-w-xs        { max-width: 20rem; }
    .md\:mt-0            { margin-top: 0; }
    .md\:mx-0            { margin-left: 0; margin-right: 0; }
    .md\:px-10           { padding-left: 2.5rem; padding-right: 2.5rem; }
    .md\:py-24           { padding-top: 6rem; padding-bottom: 6rem; }
    .md\:text-6xl        { font-size: 3.75rem; line-height: 1; }
    .md\:text-8xl        { font-size: 6rem; line-height: 1; }
    .md\:text-left       { text-align: left; }
    .md\:text-right      { text-align: right; }
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE — lg (1024px)
════════════════════════════════════════════════════════════ */

@media (min-width: 1024px) {
    .lg\:gap-12          { gap: 3rem; }
}


/* ════════════════════════════════════════════════════════════
   MISSING CLASSES — added after audit
════════════════════════════════════════════════════════════ */

/* Transform */
.rotate-\[-18deg\]      { transform: rotate(-18deg); }
.rotate-\[-8deg\]       { transform: rotate(-8deg); }
.rotate-\[12deg\]       { transform: rotate(12deg); }
.rotate-\[25deg\]       { transform: rotate(25deg); }

/* Backgrounds — custom colours */

/* Background images */


/* Borders */

/* Text colours */

/* Tracking */

/* Sizing */

/* Layout */
.books-row              { display: flex; align-items: flex-end; }

/* Hover utilities */


/* Responsive — sm (640px) */
@media (min-width: 640px) {
}

/* Responsive — md (768px) */
@media (min-width: 768px) {
}

/* Responsive — lg (1024px) */
@media (min-width: 1024px) {
}


/* ════════════════════════════════════════════════════════════
   SECOND AUDIT ADDITIONS
════════════════════════════════════════════════════════════ */

/* Backgrounds — arbitrary values */

/* Gradient — arbitrary */

/* Text — arbitrary values */

/* Tracking — arbitrary */

/* Sizing — arbitrary */

/* Rotate — arbitrary */

/* Group — enables group-hover children */
.group              { }


