/* Halis Marin — modern luxury marine corporate styles */

html { scroll-behavior: smooth; }
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01", "cv11", "kern", "liga";
    font-variant-numeric: lining-nums proportional-nums;
}

/* Fraunces display tuning — variable optical size, soft contours */
.font-display {
    font-optical-sizing: auto;
    font-variation-settings: "opsz" 96, "SOFT" 30;
    font-feature-settings: "ss01", "kern", "liga", "calt";
}

/* Manrope tuning — sans default */
.font-sans {
    font-feature-settings: "ss01", "ss02", "ss03", "kern", "liga";
}

/* Uppercase eyebrows: a touch wider tracking for premium feel */
.uppercase { font-feature-settings: "ss01", "kern"; }

/* Custom scrollbar — narrow, restrained */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f6f7f9; }
::-webkit-scrollbar-thumb { background: #aeb5c2; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: #10213f; }

/* Selection — navy on white */
::selection { background: #0a1730; color: #ffffff; }

/* Focus states — clean corporate */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #0a1730;
    outline-offset: 2px;
}

/* Form fields override */
input, textarea { -webkit-appearance: none; appearance: none; border-radius: 0; }

/* Map iframe color scheme */
iframe { color-scheme: light; }

/* Lucide icon default sizing safety */
[data-lucide] { display: inline-block; }

/* Logo image — let it sit naturally without artifacts */
img { max-width: 100%; }

/* Underline on hover for body links inside prose */
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Refined headings — Fraunces with editorial flourish */
h1.font-display, h2.font-display, h3.font-display {
    letter-spacing: -0.018em;
}
h1.font-display { font-variation-settings: "opsz" 144, "SOFT" 20; }
h2.font-display { font-variation-settings: "opsz" 96,  "SOFT" 25; }

/* Smooth font transitions */
* { -webkit-text-size-adjust: 100%; }

/* First-letter drop cap refinement */
p.first-letter\:font-display::first-letter {
    font-variation-settings: "opsz" 144, "SOFT" 30;
    margin-top: 0.05em;
}
