/* ==========================================================================
   Finest Cologne – Design System Variables
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts Import
   -------------------------------------------------------------------------- */

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


/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */

:root {

  /* Colour – Backgrounds */
  --fc-bg:            #FAFAF7;
  --fc-bg-warm:       #F3EFE8;
  --fc-bg-card:       #FFFFFF;

  /* Colour – Text */
  --fc-text:          #1C1C1A;
  --fc-text-muted:    #6B6B65;
  --fc-text-light:    #9B9B93;

  /* Colour – Gold Accent */
  --fc-gold:          #B8986A;
  --fc-gold-light:    #D4B896;
  --fc-gold-dark:     #8B7450;

  /* Colour – Borders */
  --fc-border:        #E8E4DC;
  --fc-border-light:  #F0EDE6;

  /* Colour – White */
  --fc-white:         #FFFFFF;

  /* Colour – Dark (Footer) */
  --fc-dark:          #1C1C1A;

  /* Typography – Font Families */
  --font-serif:       'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Typography – Font Sizes */
  --fs-xs:    0.75rem;    /* 12px */
  --fs-sm:    0.875rem;   /* 14px */
  --fs-base:  1rem;       /* 16px */
  --fs-md:    1.125rem;   /* 18px */
  --fs-lg:    1.25rem;    /* 20px */
  --fs-xl:    1.5rem;     /* 24px */
  --fs-2xl:   2rem;       /* 32px */
  --fs-3xl:   2.5rem;     /* 40px */

  /* Typography – Line Heights */
  --lh-tight:   1.2;
  --lh-snug:    1.4;
  --lh-base:    1.7;
  --lh-relaxed: 1.85;

  /* Typography – Letter Spacing */
  --ls-tight:  -0.02em;
  --ls-normal:  0;
  --ls-wide:    0.08em;
  --ls-wider:   0.15em;
  --ls-widest:  0.25em;

  /* Spacing Scale */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Layout */
  --container-max:     1400px;
  --container-narrow:  900px;
  --container-px:      2rem;

  /* Header */
  --header-height:        80px;
  --header-height-mobile: 64px;

  /* Borders */
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   8px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(28, 28, 26, 0.06), 0 1px 2px rgba(28, 28, 26, 0.04);
  --shadow-md:   0 4px 16px rgba(28, 28, 26, 0.08), 0 2px 6px rgba(28, 28, 26, 0.04);
  --shadow-lg:   0 12px 40px rgba(28, 28, 26, 0.12), 0 4px 12px rgba(28, 28, 26, 0.06);
  --shadow-xl:   0 24px 64px rgba(28, 28, 26, 0.14), 0 8px 24px rgba(28, 28, 26, 0.08);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.6s ease;
  --transition-lazy:   0.8s cubic-bezier(0.22, 1, 0.36, 1);

  /* Z-Index Scale */
  --z-below:   -1;
  --z-base:     0;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-header:   300;
  --z-overlay:  400;
  --z-modal:    500;
  --z-toast:    600;
}


/* --------------------------------------------------------------------------
   Global Base Reset
   -------------------------------------------------------------------------- */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--fc-text);
  background-color: var(--fc-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Remove default list styles */
ul,
ol {
  list-style: none;
}

/* Sensible media defaults */
img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

/* Form element font inheritance */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove default button styles */
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Anchor base */
a {
  color: inherit;
  text-decoration: none;
}

/* Paragraph spacing */
p + p {
  margin-top: 1em;
}

/* Table resets */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Skip Navigation Link (WCAG 2.1 AA) */
.skip-link {
  position: fixed;
  top: -100px;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-6);
  background: var(--fc-dark);
  color: var(--fc-gold);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--fc-gold);
  outline-offset: 2px;
}

/* Screen-reader only utility */
.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;
}

/* Focus visible – accessibility */
:focus-visible {
  outline: 2px solid var(--fc-gold);
  outline-offset: 3px;
}

/* Selection colour */
::selection {
  background-color: var(--fc-gold-light);
  color: var(--fc-dark);
}


/* --------------------------------------------------------------------------
   Elegant Scrollbar (Webkit)
   -------------------------------------------------------------------------- */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--fc-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--fc-border);
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fc-gold-light);
}
