/* MARELOVA JOURNAL — css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Manrope:wght@400;500&display=swap');

@theme {
  --color-bg-primary: #FAFBFD;
  --color-bg-secondary: #F0F2F7;
  --color-ink-primary: #0F1624;
  --color-ink-muted: #5A6275;
  --color-accent: #1B3D8F;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

/* ============================================================
   BASE RESET / @layer base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  background-color: #FAFBFD;
}

body {
  font-family: var(--font-body);
  background-color: #FAFBFD;
  color: #0F1624;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

/* ============================================================
   TAILWIND UTILITY CLASSES — prebuilt v4.1.5
   ============================================================ */

/* --- Layout --- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.contents { display: contents; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

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

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

.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }
.self-stretch { align-self: stretch; }

.grow { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }

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

.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-7 { grid-column: span 7 / span 7; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-full { grid-column: 1 / -1; }

.row-span-1 { grid-row: span 1 / span 1; }
.row-span-2 { grid-row: span 2 / span 2; }
.row-span-3 { grid-row: span 3 / span 3; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-6 { top: 1.5rem; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.left-4 { left: 1rem; }
.left-6 { left: 1.5rem; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }

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

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

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

/* --- Spacing --- */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }

.px-0 { padding-left: 0; padding-right: 0; }
.px-2 { padding-left: 0.5rem; padding-right: 0.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; }
.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; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.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-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.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-0 { padding-top: 0; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-24 { padding-top: 6rem; }

.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }

.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.pl-8 { padding-left: 2rem; }
.pr-4 { padding-right: 1rem; }
.pr-6 { padding-right: 1.5rem; }
.pr-8 { padding-right: 2rem; }

.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.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; }
.mt-24 { margin-top: 6rem; }

.mb-0 { margin-bottom: 0; }
.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-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }

/* 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-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-x-2 { column-gap: 0.5rem; }
.gap-x-3 { column-gap: 0.75rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-2 { row-gap: 0.5rem; }
.gap-y-4 { row-gap: 1rem; }
.gap-y-6 { row-gap: 1.5rem; }
.gap-y-8 { row-gap: 2rem; }
.gap-y-12 { row-gap: 3rem; }

/* --- Sizing --- */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.w-80 { width: 20rem; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333%; }
.w-2\/3 { width: 66.666%; }
.w-3\/4 { width: 75%; }
.w-screen { width: 100vw; }

.h-auto { height: auto; }
.h-full { height: 100%; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }
.h-screen { height: 100vh; }
.h-[320px] { height: 320px; }
.h-[360px] { height: 360px; }
.h-[400px] { height: 400px; }
.h-[480px] { height: 480px; }
.h-[520px] { height: 520px; }
.h-[560px] { height: 560px; }
.h-[600px] { height: 600px; }

.min-h-screen { min-height: 100vh; }
.min-h-[200px] { min-height: 200px; }
.min-h-[300px] { min-height: 300px; }
.min-h-[400px] { min-height: 400px; }
.min-h-[500px] { min-height: 500px; }

.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.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; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-none { max-width: none; }
.max-w-full { max-width: 100%; }

.min-w-0 { min-width: 0; }

.w-[calc\(100\%-1\.5rem\)] { width: calc(100% - 1.5rem); }

.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[3\/2\] { aspect-ratio: 3 / 2; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
.aspect-\[2\/3\] { aspect-ratio: 2 / 3; }
.aspect-\[5\/4\] { aspect-ratio: 5 / 4; }
.aspect-\[7\/5\] { aspect-ratio: 7 / 5; }

/* --- Typography --- */
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: 'Courier New', Courier, 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.1; }
.text-6xl { font-size: 3.75rem; line-height: 1.05; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-\[0\.65rem\] { font-size: 0.65rem; }
.text-\[0\.7rem\] { font-size: 0.7rem; }
.text-\[0\.8rem\] { font-size: 0.8rem; }
.text-\[1\.05rem\] { font-size: 1.05rem; }
.text-\[1\.1rem\] { font-size: 1.1rem; }
.text-\[1\.15rem\] { font-size: 1.15rem; }
.text-\[2\.5rem\] { font-size: 2.5rem; }
.text-\[3rem\] { font-size: 3rem; line-height: 1.1; }
.text-\[3\.5rem\] { font-size: 3.5rem; line-height: 1.05; }
.text-\[4rem\] { font-size: 4rem; line-height: 1; }
.text-\[4\.5rem\] { font-size: 4.5rem; line-height: 1; }
.text-\[5rem\] { font-size: 5rem; line-height: 1; }
.text-\[5\.5rem\] { font-size: 5.5rem; line-height: 1; }
.text-\[6rem\] { font-size: 6rem; line-height: 1; }
.text-\[7rem\] { font-size: 7rem; line-height: 1; }
.text-\[8rem\] { font-size: 8rem; line-height: 1; }

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

.italic { font-style: italic; }
.not-italic { font-style: normal; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
.leading-6 { line-height: 1.5rem; }
.leading-7 { line-height: 1.75rem; }

.tracking-tighter { letter-spacing: -0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.15em\] { letter-spacing: 0.15em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.tracking-\[-0\.03em\] { letter-spacing: -0.03em; }
.tracking-\[-0\.04em\] { letter-spacing: -0.04em; }
.tracking-\[-0\.05em\] { letter-spacing: -0.05em; }

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

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

.underline { text-decoration: underline; }
.no-underline { text-decoration: none; }
.line-through { text-decoration: line-through; }

.underline-offset-2 { text-underline-offset: 2px; }
.underline-offset-4 { text-underline-offset: 4px; }
.decoration-1 { text-decoration-thickness: 1px; }

.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre { white-space: pre; }
.break-words { overflow-wrap: break-word; }

.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* --- Colors --- */
.bg-\[#FAFBFD\] { background-color: #FAFBFD; }
.bg-\[#F0F2F7\] { background-color: #F0F2F7; }
.bg-\[#E8EBF4\] { background-color: #E8EBF4; }
.bg-\[#DDE1EE\] { background-color: #DDE1EE; }
.bg-\[#0F1624\] { background-color: #0F1624; }
.bg-\[#1B3D8F\] { background-color: #1B3D8F; }
.bg-\[#1a356e\] { background-color: #1a356e; }
.bg-\[#162d60\] { background-color: #162d60; }
.bg-\[#5A6275\] { background-color: #5A6275; }
.bg-transparent { background-color: transparent; }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }

.text-\[#FAFBFD\] { color: #FAFBFD; }
.text-\[#F0F2F7\] { color: #F0F2F7; }
.text-\[#0F1624\] { color: #0F1624; }
.text-\[#1B3D8F\] { color: #1B3D8F; }
.text-\[#5A6275\] { color: #5A6275; }
.text-\[\#D8E2DC\] { color: #D8E2DC; }
.text-white { color: #ffffff; }
.text-black { color: #000000; }

.border-\[#0F1624\] { border-color: #0F1624; }
.border-\[#1B3D8F\] { border-color: #1B3D8F; }
.border-\[#5A6275\] { border-color: #5A6275; }
.border-\[#E8EBF4\] { border-color: #E8EBF4; }
.border-\[#DDE1EE\] { border-color: #DDE1EE; }
.border-white { border-color: #ffffff; }

/* Opacity utilities for border colors */
.border-\[#5A6275\]\/20 { border-color: rgba(90, 98, 117, 0.2); }
.border-\[#5A6275\]\/30 { border-color: rgba(90, 98, 117, 0.3); }
.border-\[#5A6275\]\/40 { border-color: rgba(90, 98, 117, 0.4); }
.border-\[#0F1624\]\/10 { border-color: rgba(15, 22, 36, 0.1); }
.border-\[#0F1624\]\/20 { border-color: rgba(15, 22, 36, 0.2); }
.border-\[#1B3D8F\]\/20 { border-color: rgba(27, 61, 143, 0.2); }
.border-\[#1B3D8F\]\/30 { border-color: rgba(27, 61, 143, 0.3); }

/* --- Borders --- */
.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-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }
.border-b-0 { border-bottom-width: 0; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-l-\[3px\] { border-left-width: 3px; border-left-style: solid; }
.border-\[1\.5px\] { border-width: 1.5px; border-style: solid; }

.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-\[999px\] { border-radius: 999px; }

/* --- Effects --- */
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0,0,0,0.10), 0 10px 10px rgba(0,0,0,0.04); }
.shadow-2xl { box-shadow: 0 25px 50px rgba(0,0,0,0.15); }

/* Industrial hard-offset shadows */
.shadow-\[4px_4px_0_\#0F1624\] { box-shadow: 4px 4px 0 #0F1624; }
.shadow-\[6px_6px_0_\#0F1624\] { box-shadow: 6px 6px 0 #0F1624; }
.shadow-\[3px_3px_0_\#0F1624\] { box-shadow: 3px 3px 0 #0F1624; }
.shadow-\[2px_2px_0_\#0F1624\] { box-shadow: 2px 2px 0 #0F1624; }
.shadow-\[8px_8px_0_\#0F1624\] { box-shadow: 8px 8px 0 #0F1624; }
.shadow-\[4px_4px_0_\#1B3D8F\] { box-shadow: 4px 4px 0 #1B3D8F; }

.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-90 { opacity: 0.9; }
.opacity-100 { opacity: 1; }

/* --- Transforms --- */
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }
.-rotate-90 { transform: rotate(-90deg); }
.rotate-\[-90deg\] { transform: rotate(-90deg); }
.rotate-\[90deg\] { transform: rotate(90deg); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.translate-x-full { transform: translateX(100%); }
.-translate-x-full { transform: translateX(-100%); }

/* --- Transitions --- */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }

.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* --- Misc --- */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.pointer-events-none { pointer-events: none; }

.select-none { user-select: none; }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }
.object-top { object-position: top; }

.list-none { list-style-type: none; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }

.appearance-none { appearance: none; }
.outline-none { outline: none; }
.resize-none { resize: none; }

.divide-y > * + * { border-top-width: 1px; border-top-style: solid; }
.divide-\[#5A6275\]\/20 > * + * { border-color: rgba(90, 98, 117, 0.2); }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:inline-block { display: inline-block; }
  .md\:grid { display: grid; }
  .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\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:flex-row { flex-direction: row; }
  .md\:flex-col { flex-direction: column; }
  .md\:items-center { align-items: center; }
  .md\:items-start { align-items: flex-start; }
  .md\:justify-between { justify-content: space-between; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:mt-0 { margin-top: 0; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:pt-24 { padding-top: 6rem; }
  .md\:pb-16 { padding-bottom: 4rem; }
  .md\:text-left { text-align: left; }
  .md\:text-center { text-align: center; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:text-\[5rem\] { font-size: 5rem; line-height: 1; }
  .md\:text-\[6rem\] { font-size: 6rem; line-height: 1; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
  .md\:gap-4 { gap: 1rem; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:w-auto { width: auto; }
  .md\:w-1\/2 { width: 50%; }
  .md\:max-w-2xl { max-width: 42rem; }
  .md\:max-w-3xl { max-width: 48rem; }
  .md\:max-w-4xl { max-width: 56rem; }
  .md\:col-span-full { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:grid { display: grid; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:row-span-2 { grid-row: span 2 / span 2; }
  .lg\:row-span-3 { grid-row: span 3 / span 3; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:text-8xl { font-size: 6rem; line-height: 1; }
  .lg\:text-\[5rem\] { font-size: 5rem; line-height: 1; }
  .lg\:text-\[6rem\] { font-size: 6rem; line-height: 1; }
  .lg\:text-\[7rem\] { font-size: 7rem; line-height: 1; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:mt-0 { margin-top: 0; }
  .lg\:w-auto { width: auto; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .xl\:text-8xl { font-size: 6rem; line-height: 1; }
  .xl\:text-\[7rem\] { font-size: 7rem; line-height: 1; }
  .xl\:text-\[8rem\] { font-size: 8rem; line-height: 1; }
  .xl\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .xl\:gap-12 { gap: 3rem; }
}

/* ============================================================
   HOVER / FOCUS / ACTIVE STATES
   ============================================================ */

.hover\:text-\[#1B3D8F\]:hover { color: #1B3D8F; }
.hover\:text-\[#0F1624\]:hover { color: #0F1624; }
.hover\:text-\[#FAFBFD\]:hover { color: #FAFBFD; }
.hover\:text-\[#5A6275\]:hover { color: #5A6275; }
.hover\:bg-\[#1B3D8F\]:hover { background-color: #1B3D8F; }
.hover\:bg-\[#162d60\]:hover { background-color: #162d60; }
.hover\:bg-\[#0F1624\]:hover { background-color: #0F1624; }
.hover\:bg-\[#F0F2F7\]:hover { background-color: #F0F2F7; }
.hover\:border-\[#1B3D8F\]:hover { border-color: #1B3D8F; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:shadow-\[6px_6px_0_\#0F1624\]:hover { box-shadow: 6px 6px 0 #0F1624; }
.hover\:shadow-\[8px_8px_0_\#0F1624\]:hover { box-shadow: 8px 8px 0 #0F1624; }
.hover\:translate-x-1:hover { transform: translateX(0.25rem); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-\[2px\]:hover { transform: translateY(-2px); }

.focus\:outline-none:focus { outline: none; }
.focus\:border-\[#1B3D8F\]:focus { border-color: #1B3D8F; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(27, 61, 143, 0.3); }

.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:underline { text-decoration: underline; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }

/* ============================================================
   ARBITRARY VALUE CLASSES (JIT — used in HTML)
   ============================================================ */

.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }
.max-w-\[1220px\] { max-width: 1220px; }
.max-w-\[720px\] { max-width: 720px; }
.max-w-\[640px\] { max-width: 640px; }
.max-w-\[560px\] { max-width: 560px; }
.max-w-\[480px\] { max-width: 480px; }
.max-w-\[420px\] { max-width: 420px; }
.max-w-\[380px\] { max-width: 380px; }

.h-\[1px\] { height: 1px; }
.h-\[2px\] { height: 2px; }
.w-\[1px\] { width: 1px; }
.w-\[2px\] { width: 2px; }
.w-\[60px\] { width: 60px; }
.w-\[80px\] { width: 80px; }
.w-\[120px\] { width: 120px; }
.h-\[60px\] { height: 60px; }
.h-\[80px\] { height: 80px; }
.h-\[120px\] { height: 120px; }

.pt-\[72px\] { padding-top: 72px; }
.pt-\[80px\] { padding-top: 80px; }

.border-\[rgba\(255\,255\,255\,0\.180\)\] { border-color: rgba(255, 255, 255, 0.18); }

/* ============================================================
   INDUSTRIAL / WORKSHOP DESIGN FAMILY COMPONENTS
   ============================================================ */

/* Stencil Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #FAFBFD;
  border-bottom: 2px solid #0F1624;
}

/* Blueprint grid background overlay (decorative) */
.blueprint-grid {
  background-image:
    linear-gradient(rgba(27, 61, 143, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 61, 143, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Stencil label — ALL CAPS mono-terminal style */
.stencil-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5A6275;
  font-weight: 400;
}

/* Rotated section marker */
.rotated-marker {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #5A6275;
}

/* Hard border card */
.hard-card {
  border: 2px solid #0F1624;
  background-color: #FAFBFD;
}

.hard-card:hover {
  box-shadow: 6px 6px 0 #0F1624;
  transform: translate(-2px, -2px);
}

/* Offset accent block */
.accent-block {
  background-color: #1B3D8F;
  color: #FAFBFD;
  border: 2px solid #0F1624;
}

/* Article card styles */
.article-card {
  border: 2px solid #0F1624;
  background-color: #FAFBFD;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.article-card:hover {
  box-shadow: 6px 6px 0 #0F1624;
  transform: translate(-3px, -3px);
}

/* Numbered section marker */
.section-number {
  font-family: 'Fraunces', serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(27, 61, 143, 0.12);
  line-height: 1;
  user-select: none;
}

/* Marquee / scrolling strip */
.marquee-wrapper {
  overflow: hidden;
  border-top: 2px solid #0F1624;
  border-bottom: 2px solid #0F1624;
  background-color: #0F1624;
  color: #FAFBFD;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-inner span {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Statistics strip */
.stat-block {
  border-right: 1px solid rgba(90, 98, 117, 0.2);
}

.stat-block:last-child {
  border-right: none;
}

/* FAQ accordion */
.accordion-item {
  border-bottom: 1px solid rgba(90, 98, 117, 0.2);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #0F1624;
}

.accordion-content {
  display: none;
  padding-bottom: 1.25rem;
}

.accordion-content.open {
  display: block;
}

/* Pull quote */
.pull-quote {
  border-left: 4px solid #1B3D8F;
  padding: 1.25rem 1.5rem;
  background-color: #F0F2F7;
}

/* Disclosure block */
.disclosure-block {
  border: 1px solid rgba(90, 98, 117, 0.2);
  background-color: #F0F2F7;
  padding: 1.5rem;
}

/* Nav link active */
.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0F1624;
  text-decoration: none;
  transition: color 0.15s ease;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
  color: #1B3D8F;
}

/* CTA button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background-color: #1B3D8F;
  color: #FAFBFD;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: 2px solid #0F1624;
  box-shadow: 4px 4px 0 #0F1624;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  font-weight: 400;
}

.btn-primary:hover {
  box-shadow: 6px 6px 0 #0F1624;
  transform: translate(-2px, -2px);
  color: #FAFBFD;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: #0F1624;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: 2px solid #0F1624;
  box-shadow: 3px 3px 0 #0F1624;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  box-shadow: 5px 5px 0 #0F1624;
  transform: translate(-2px, -2px);
}

/* Hairline divider */
.hairline {
  border: none;
  border-top: 1px solid rgba(90, 98, 117, 0.2);
}

/* ASCII / geometric divider */
.geo-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.6rem;
  color: rgba(90, 98, 117, 0.4);
  letter-spacing: 0.1em;
}

/* Caption overlay */
.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 22, 36, 0.7);
  color: #FAFBFD;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
}

/* ============================================================
   FORMS
   ============================================================ */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #0F1624;
  background-color: #FAFBFD;
  border: 2px solid rgba(90, 98, 117, 0.3);
  padding: 0.875rem 1rem;
  width: 100%;
  transition: border-color 0.15s ease;
  outline: none;
  border-radius: 0;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: #1B3D8F;
  box-shadow: 3px 3px 0 #1B3D8F;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */

[data-target="cookies.banner"] {
  transition: opacity 0.3s ease;
}

/* ============================================================
   ARTICLE BODY TYPOGRAPHY
   ============================================================ */

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F1624;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F1624;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #0F1624;
  margin-bottom: 1.5rem;
}

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.prose li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #0F1624;
  margin-bottom: 0.5rem;
}

.prose strong {
  font-weight: 600;
  color: #0F1624;
}

.prose em {
  font-style: italic;
}

/* ============================================================
   UTILITY EXTRAS
   ============================================================ */

.not-italic { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.text-\[\#D8E2DC\] { color: #D8E2DC; }
.border-b-\[#0F1624\] { border-bottom-color: #0F1624; }
