/* ===================================================================
 * House of Lorraine - Standalone Compiled Stylesheet
 *
 * This is a hand-built CSS file that provides styling for the Tailwind
 * utility classes used in House of Lorraine views, plus brand tokens
 * and typography. It replaces the Vite/Tailwind build output.
 *
 * When you have time, run `npm install && npm run build` locally and
 * replace this file with the proper Tailwind output. This works in
 * the meantime.
 * =================================================================== */

/* Brand tokens */
:root {
    --hol-color-ink: #1a1a1a;
    --hol-color-charcoal: #2d2d2d;
    --hol-color-bone: #faf7f2;
    --hol-color-cream: #f4efe8;
    --hol-color-taupe: #8a7e70;
    --hol-color-rose: #b88a7e;
    --hol-color-rose-dark: #8f5e53;
    --hol-color-gold: #b8956a;
    --hol-color-border: #e5ddd2;
    --hol-color-muted: #6b6258;
    --hol-color-line: #e5ddd2;

    --hol-font-display: 'Cormorant Garamond', 'Times New Roman', serif;
    --hol-font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Web fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
body {
    font-family: var(--hol-font-body);
    color: var(--hol-color-ink);
    background-color: var(--hol-color-bone);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { color: inherit; }

/* Typography */
.font-serif { font-family: var(--hol-font-display); }
.font-sans { font-family: var(--hol-font-body); }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
h1, h2, h3, h4, h5, h6 { font-family: var(--hol-font-display); font-weight: 500; letter-spacing: -0.01em; }

/* Layout - container/spacing */
.mx-auto { margin-left: auto; margin-right: auto; }
.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-2xl { max-width: 42rem; }
.max-w-none { max-width: none; }

/* Padding & margin */
.p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; }
.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; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.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-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-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-12 { padding-top: 3rem; }
.pl-5 { padding-left: 1.25rem; }
.pb-4 { padding-bottom: 1rem; }

.m-0 { margin: 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-16 { margin-top: 4rem; }
.mt-24 { margin-top: 6rem; }
.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; }
.ml-1 { margin-left: 0.25rem; } .ml-2 { margin-left: 0.5rem; } .ml-3 { margin-left: 0.75rem; } .ml-auto { margin-left: auto; }
.mr-2 { margin-right: 0.5rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }

/* Display & layout */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.hidden\:flex:not(.hidden) { display: flex; }

/* Flex / grid utilities */
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.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)); }
.divide-y > * + * { border-top: 1px solid var(--hol-color-border); }
.space-y-1 > * + * { margin-top: 0.25rem; }
.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; }

/* Sizing */
.w-full { width: 100%; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.h-full { height: 100%; }
.h-1 { height: 0.25rem; }
.h-3 { height: 0.75rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.w-3 { width: 0.75rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }

/* Typography */
.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; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.line-through { text-decoration: line-through; }
.underline { text-decoration: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.no-underline { text-decoration: none; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.whitespace-pre-line { white-space: pre-line; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.break-all { word-break: break-all; }
.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; }

/* Colors - text */
.text-white { color: #ffffff; }
.text-neutral-100 { color: #f5f5f5; }
.text-neutral-300 { color: #d4d4d4; }
.text-neutral-400 { color: #a3a3a3; }
.text-neutral-500 { color: #737373; }
.text-neutral-600 { color: #525252; }
.text-neutral-700 { color: #404040; }
.text-neutral-800 { color: #262626; }
.text-neutral-900 { color: #171717; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-red-900 { color: #7f1d1d; }
.text-green-700 { color: #15803d; }
.text-green-800 { color: #166534; }
.text-blue-800 { color: #1e40af; }
.text-blue-900 { color: #1e3a8a; }
.text-amber-600 { color: #d97706; }
.text-amber-800 { color: #92400e; }
.text-amber-900 { color: #78350f; }

/* Colors - background */
.bg-white { background-color: #ffffff; }
.bg-transparent { background-color: transparent; }
.bg-neutral-50 { background-color: #fafafa; }
.bg-neutral-100 { background-color: #f5f5f5; }
.bg-neutral-200 { background-color: #e5e5e5; }
.bg-neutral-800 { background-color: #262626; }
.bg-neutral-900 { background-color: #171717; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-green-100 { background-color: #dcfce7; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-100 { background-color: #fef3c7; }

/* Borders */
.border { border-width: 1px; border-style: solid; border-color: var(--hol-color-border); }
.border-2 { border-width: 2px; border-style: solid; border-color: var(--hol-color-border); }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: var(--hol-color-border); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--hol-color-border); }
.border-r-0 { border-right-width: 0; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; border-left-color: var(--hol-color-border); }
.border-neutral-200 { border-color: #e5e5e5; }
.border-neutral-300 { border-color: #d4d4d4; }
.border-neutral-800 { border-color: #262626; }
.border-red-200 { border-color: #fecaca; }
.border-red-300 { border-color: #fca5a5; }
.border-green-200 { border-color: #bbf7d0; }
.border-blue-200 { border-color: #bfdbfe; }
.border-amber-300 { border-color: #fcd34d; }
.divide-neutral-200 > * + * { border-color: #e5e5e5; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-l-md { border-top-left-radius: 0.375rem; border-bottom-left-radius: 0.375rem; }
.rounded-r-md { border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem; }

/* Shadow */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }

/* Transitions */
.transition { transition-property: color, background-color, border-color, transform, box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* Interactive states */
.hover\:bg-neutral-50:hover { background-color: #fafafa; }
.hover\:bg-neutral-800:hover { background-color: #262626; }
.hover\:bg-red-50:hover { background-color: #fef2f2; }
.hover\:bg-green-800:hover { background-color: #166534; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:no-underline:hover { text-decoration: none; }
.hover\:text-neutral-900:hover { color: #171717; }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }

/* Object fit */
.object-cover { object-fit: cover; }

/* Tables */
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; }

/* Code */
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.875em; }

/* Forms - default styling */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="url"], input[type="search"], textarea, select {
    background-color: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 0.375rem;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus,
input[type="password"]:focus, input[type="number"]:focus, textarea:focus, select:focus {
    outline: 2px solid var(--hol-color-rose-dark);
    outline-offset: -2px;
    border-color: transparent;
}
button { cursor: pointer; }

/* Responsive breakpoints */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:col-span-2 { grid-column: span 2 / span 2; }
    .sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .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\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .md\:p-8 { padding: 2rem; }
    .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; }
    .md\:items-center { align-items: center; }
}
@media (min-width: 1024px) {
    .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\:grid-cols-\[1fr_320px\] { grid-template-columns: 1fr 320px; }
    .lg\:grid-cols-\[1fr_360px\] { grid-template-columns: 1fr 360px; }
    .lg\:grid-cols-\[1fr_380px\] { grid-template-columns: 1fr 380px; }
}

/* Installer progress bar */
.hol-installer-progress { transition: width 200ms ease; }
.hol-installer-progress[data-progress="13"] { width: 13%; }
.hol-installer-progress[data-progress="25"] { width: 25%; }
.hol-installer-progress[data-progress="38"] { width: 38%; }
.hol-installer-progress[data-progress="50"] { width: 50%; }
.hol-installer-progress[data-progress="63"] { width: 63%; }
.hol-installer-progress[data-progress="75"] { width: 75%; }
.hol-installer-progress[data-progress="88"] { width: 88%; }
.hol-installer-progress[data-progress="100"] { width: 100%; }

/* Prose typography for dynamic pages */
.hol-prose { color: var(--hol-color-charcoal); line-height: 1.7; }
.hol-prose p { margin: 0 0 1.25em 0; }
.hol-prose h2 { font-family: var(--hol-font-display); font-size: 1.6rem; margin: 2.5em 0 0.6em; color: var(--hol-color-ink); }
.hol-prose h3 { font-family: var(--hol-font-display); font-size: 1.25rem; margin: 2em 0 0.5em; color: var(--hol-color-ink); }
.hol-prose ul, .hol-prose ol { margin: 0 0 1.25em 1.5em; }
.hol-prose li { margin-bottom: 0.4em; }
.hol-prose a { color: var(--hol-color-rose-dark); text-decoration: underline; text-underline-offset: 3px; }
.hol-prose strong { font-weight: 600; }
.hol-prose hr { border: none; border-top: 1px solid var(--hol-color-line); margin: 2.5em 0; }
