/* Legal Stories – compiled utility CSS (replaces Tailwind CDN) */

/* ── Reset / base ─────────────────────────────────────────── */
*, ::before, ::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
img, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }

/* Remove default anchor styling */
a { color: inherit; text-decoration: none; }

/* Remove default button styling */
button { border: none; background: none; cursor: pointer; padding: 0; }

/* ── Display ──────────────────────────────────────────────── */
.block   { display: block; }
.flex    { display: flex; }
.grid    { display: grid; }
.hidden  { display: none; }

/* ── Flexbox ──────────────────────────────────────────────── */
.flex-col         { flex-direction: column; }
.items-baseline   { align-items: baseline; }
.items-center     { align-items: center; }
.items-start      { align-items: flex-start; }
.justify-between  { justify-content: space-between; }
.justify-center   { justify-content: center; }

/* ── Grid ─────────────────────────────────────────────────── */
.grid-cols-2  { grid-template-columns: repeat(2, minmax(0,1fr)); }

/* ── Gap ──────────────────────────────────────────────────── */
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.gap-x-2 { column-gap: .5rem; }
.gap-x-3 { column-gap: .75rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-4 { row-gap: 1rem; }

/* ── Sizing ───────────────────────────────────────────────── */
.h-10   { height: 2.5rem; }
.h-full { height: 100%; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-10   { width: 2.5rem; }
.min-h-screen { min-height: 100vh; }

.max-w-xs  { max-width: 20rem; }
.max-w-md  { max-width: 28rem; }
.max-w-lg  { max-width: 32rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* ── Spacing ──────────────────────────────────────────────── */
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-1    { margin-left: .25rem; }
.mt-1    { margin-top: .25rem; }
.mt-4    { margin-top: 1rem; }
.mt-6    { margin-top: 1.5rem; }
.mt-8    { margin-top: 2rem; }
.mt-12   { margin-top: 3rem; }
.mt-20   { margin-top: 5rem; }
.mb-2    { margin-bottom: .5rem; }
.mb-4    { margin-bottom: 1rem; }
.mb-6    { margin-bottom: 1.5rem; }
.mb-10   { margin-bottom: 2.5rem; }
.mb-14   { margin-bottom: 3.5rem; }
.mb-16   { margin-bottom: 4rem; }

.p-1\.5  { padding: .375rem; }
.p-8     { padding: 2rem; }
.pt-14   { padding-top: 3.5rem; }
.px-5    { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6    { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-10   { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2    { padding-top: .5rem; padding-bottom: .5rem; }
.py-3    { padding-top: .75rem; padding-bottom: .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-24   { padding-top: 6rem; padding-bottom: 6rem; }

/* ── Typography ───────────────────────────────────────────── */
.font-bold     { font-weight: 700; }
.font-light    { font-weight: 300; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }

.text-xs  { font-size: .75rem;  line-height: 1rem; }
.text-sm  { font-size: .875rem; line-height: 1.25rem; }
.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-5xl { font-size: 3rem;     line-height: 1; }
.text-\[1\.05rem\] { font-size: 1.05rem; }

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

.tracking-tighter { letter-spacing: -.05em; }

.text-center { text-align: center; }
.underline   { text-decoration-line: underline; }

/* colours */
.text-white      { color: #fff; }
.text-white\/70  { color: rgb(255 255 255 / .7); }
.text-white\/80  { color: rgb(255 255 255 / .8); }
.text-white\/85  { color: rgb(255 255 255 / .85); }
.text-gray-600   { color: #4b5563; }
.text-gray-700   { color: #374151; }
.text-xs         { font-size: .75rem; }
.text-\[\#012f64\]  { color: #012f64; }
.text-\[\#0a2540\]  { color: #0a2540; }
.text-\[\#a37f3a\]  { color: #a37f3a; }

/* ── Backgrounds ──────────────────────────────────────────── */
.bg-white        { background-color: #fff; }
.bg-white\/10    { background-color: rgb(255 255 255 / .10); }
.bg-gray-50      { background-color: #f9fafb; }
.bg-black        { background-color: #000; }
.bg-\[\#0a2540\]    { background-color: #0a2540; }
.bg-\[\#0a2540\]\/5 { background-color: rgb(10 37 64 / .05); }
.bg-\[\#a37f3a\]    { background-color: #a37f3a; }

/* ── Borders ──────────────────────────────────────────────── */
.border        { border-width: 1px; border-style: solid; }
.border-t      { border-top-width: 1px; border-top-style: solid; }
.border-gray-100  { border-color: #f3f4f6; }
.border-gray-200  { border-color: #e5e7eb; }
.border-white\/30 { border-color: rgb(255 255 255 / .30); }

/* ── Radius ───────────────────────────────────────────────── */
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }

/* ── Shadows ──────────────────────────────────────────────── */
.shadow-sm    { box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05); }
.shadow-lg    { box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); }
.shadow-xl    { box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1); }
.shadow-2xl   { box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05); }

/* ── Position / overflow / z-index ───────────────────────── */
.relative   { position: relative; }
.sticky     { position: sticky; }
.top-0      { top: 0; }
.z-50       { z-index: 50; }
.overflow-hidden { overflow: hidden; }

/* ── Object fit ───────────────────────────────────────────── */
.object-contain { object-fit: contain; }

/* ── Misc ─────────────────────────────────────────────────── */
.outline-none { outline: none; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* backdrop blur */
.backdrop-blur-3xl { backdrop-filter: blur(64px); }

/* ── Transitions ──────────────────────────────────────────── */
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.duration-200      { transition-duration: 200ms; }

/* ── Hover states ─────────────────────────────────────────── */
.hover\:bg-\[\#a37f3a\]:hover  { background-color: #a37f3a; }
.hover\:bg-\[\#f1cc5b\]:hover  { background-color: #f1cc5b; }
.hover\:text-white:hover        { color: #fff; }

/* focus */
.focus\:border-\[\#a37f3a\]:focus { border-color: #a37f3a; }

/* ── Custom site classes ──────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@400;500;600;700&display=swap');

.tailwind-ready { font-family: 'Inter', system-ui, sans-serif; }
.heading-font   { font-family: 'Montserrat', sans-serif; }

.nav-bg   { background: #f8f9fa; }
.hero-dark { background: linear-gradient(135deg, #0a2540 0%, #112d4e 100%); }

.main-container {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #a37f3a;
    transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

.photo-card:hover { transform: scale(1.03); transition: all 0.3s ease; }

.team-photo {
    object-fit: cover;
    object-position: center top;
    aspect-ratio: 1 / 1.12;
}

.hero-image {
    max-width: 520px;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

/* ── Responsive: md (≥768px) ──────────────────────────────── */
@media (min-width: 768px) {
    .md\:col-span-5  { grid-column: span 5 / span 5; }
    .md\:col-span-7  { grid-column: span 7 / span 7; }
    .md\:flex        { display: flex; }
    .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-12{ grid-template-columns: repeat(12, minmax(0,1fr)); }
    .md\:hidden      { display: none; }
    .md\:justify-end { justify-content: flex-end; }
    .md\:text-3xl    { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-6xl    { font-size: 3.75rem;  line-height: 1; }
}

/* ── Responsive: sm (≥640px) ──────────────────────────────── */
@media (min-width: 640px) {
    .sm\:flex { display: flex; }
}

/* ── Responsive: lg (≥1024px) ─────────────────────────────── */
@media (min-width: 1024px) {
    .lg\:col-span-5   { grid-column: span 5 / span 5; }
    .lg\:col-span-7   { grid-column: span 7 / span 7; }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0,1fr)); }
    .lg\:p-12         { padding: 3rem; }
    .lg\:text-7xl     { font-size: 4.5rem; line-height: 1; }
}

