/* ==========================================================
   Cassiar Consulting — static stylesheet
   Hand-compiled equivalent of the Tailwind utility classes
   actually used in index.html. No CDN, no build step required.
   Breakpoints match Tailwind defaults: sm 640px / md 768px / lg 1024px
========================================================== */

:root {
  --slate-deep: #213448;
  --slate-ridge: #3C6B8F;
  --slate-sky: #8FC1E3;
  --slate-mist: #EEF3F6;
  --stone: #6B7178;
  --stone-light: #9AA1A9;
  --gold: #B5842A;
  --gold-dark: #96691E;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  background-color: transparent;
  background-image: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
button:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ---------- layout / display ---------- */
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.overflow-hidden { overflow: hidden; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.italic { font-style: italic; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
.object-top { object-position: top; }

/* ---------- position ---------- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.-bottom-6 { bottom: -1.5rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ---------- sizing ---------- */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-4 { width: 1rem; }
.w-7 { width: 1.75rem; }
.h-full { height: 100%; }
.h-4 { height: 1rem; }
.h-7 { height: 1.75rem; }
.h-logo { height: 56px; }
.min-h-\[92vh\] { min-height: 92vh; }
.min-h-\[80vh\] { min-height: 80vh; }
.min-h-\[70vh\] { min-height: 70vh; }
.min-h-\[65vh\] { min-height: 65vh; }
.max-w-xs { max-width: 20rem; }
.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; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- gap / space-between ---------- */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-9 { gap: 2.25rem; }
.gap-10 { gap: 2.5rem; }
.gap-8 { gap: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-7 > * + * { margin-top: 1.75rem; }
.gap-1 { gap: 0.25rem; }

/* ---------- spacing: margin ---------- */
.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-9 { margin-bottom: 2.25rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-14 { margin-top: 3.5rem; }

/* ---------- spacing: padding ---------- */
.p-2 { padding: 0.5rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.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-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-40 { padding-top: 10rem; }
.pl-6 { padding-left: 1.5rem; }

/* ---------- typography ---------- */
.font-serif { font-family: 'Poppins', sans-serif; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.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-\[15px\] { font-size: 15px; }
.text-\[17px\] { font-size: 17px; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.08\] { line-height: 1.08; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }

/* ---------- colors: text ---------- */
.text-white { color: #fff; }
.text-gold { color: var(--gold); }
.text-slate-deep { color: var(--slate-deep); }
.text-slate-ridge { color: var(--slate-ridge); }
.text-slate-sky { color: var(--slate-sky); }
.text-slate-sky\/70 { color: rgba(143,193,227,0.7); }
.text-slate-mist { color: var(--slate-mist); }
.text-slate-mist\/70 { color: rgba(238,243,246,0.7); }
.text-slate-mist\/85 { color: rgba(238,243,246,0.85); }
.text-slate-mist\/90 { color: rgba(238,243,246,0.9); }
.text-stone { color: var(--stone); }

/* ---------- colors: background ---------- */
.bg-white { background-color: #fff; }
.bg-white\/95 { background-color: rgba(255,255,255,0.95); }
.bg-gold { background-color: var(--gold); }
.bg-slate-deep { background-color: var(--slate-deep); }
.bg-slate-mist { background-color: var(--slate-mist); }

/* gradient (hero overlay) */
.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-from), var(--tw-via), var(--tw-to));
}
.from-slate-deep\/90 { --tw-from: rgba(33,52,72,0.90); }
.via-slate-deep\/45 { --tw-via: rgba(33,52,72,0.45); }
.to-slate-deep\/10 { --tw-to: rgba(33,52,72,0.10); }

/* ---------- borders ---------- */
.border { border-width: 1px; border-style: solid; border-color: currentColor; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-slate-light\/60 { border-color: rgba(154,161,169,0.6); }
.border-slate-sky\/25 { border-color: rgba(143,193,227,0.25); }
.border-slate-sky\/30 { border-color: rgba(143,193,227,0.30); }
.border-l-4 { border-left: 4px solid var(--slate-sky); }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

/* ---------- shadows ---------- */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-black\/20 { --tw-shadow-color: rgba(0,0,0,0.2); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2), 0 4px 6px -4px rgba(0,0,0,0.2); }

/* ---------- misc / effects ---------- */
.opacity-20 { opacity: 0.2; }
.object-cover { object-fit: cover; }
.outline-none { outline: none; }
.resize-y { resize: vertical; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 200ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }

/* ---------- focus-visible (accessibility) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.focus\:border-slate-ridge:focus { border-color: var(--slate-ridge); }
.focus\:ring-1:focus { box-shadow: 0 0 0 1px var(--slate-ridge); }
.focus\:ring-slate-ridge:focus { --tw-ring-color: var(--slate-ridge); }

/* ---------- hover ---------- */
.hover\:bg-gold-dark:hover { background-color: var(--gold-dark); }
.hover\:text-gold:hover { color: var(--gold); }
.hover\:text-white:hover { color: #fff; }

/* ==========================================================
   Component classes (custom, defined in index.html originally)
========================================================== */
#site-nav { transition: background-color 400ms ease, box-shadow 400ms ease, padding 300ms ease; }
#site-nav.nav-solid { background-color: var(--slate-deep); box-shadow: 0 2px 18px rgba(0,0,0,0.12); }
#site-nav.nav-solid .nav-link { color: var(--slate-mist); }
#site-nav .nav-link { color: #fff; }

.river-divider { display: block; width: 100%; height: auto; }

.service-card { transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -12px rgba(33,52,72,0.25); border-color: var(--slate-ridge); }

.fade-up { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================
   Responsive: sm (>=640px)
========================================================== */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:gap-7 { gap: 1.75rem; }
  .sm\:gap-10 { gap: 2.5rem; }
  .sm\:gap-12 { gap: 3rem; }
  .sm\:w-auto { width: auto; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:pb-20 { padding-bottom: 5rem; }
  .sm\:pb-24 { padding-bottom: 6rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .sm\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-right { text-align: right; }
}

/* ==========================================================
   Responsive: md (>=768px)
========================================================== */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
}

/* ==========================================================
   Responsive: lg (>=1024px)
========================================================== */
@media (min-width: 1024px) {
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:max-w-none { max-width: none; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
