/* ============================================================
   SORI MAMI TATTOO — Color & Type Foundations
   Extracted verbatim from the live Chroma theme skin
   (chroma/skins/default/css/__custom.css). The studio runs the
   theme's DEFAULT light scheme. Dark + accent values preserved
   for the inverted "O meni" portrait band.
   ------------------------------------------------------------
   FONT NOTE: the live site sets headings in "Kudryashev D
   Contrast" (Adobe Fonts, licensed) and body in "Work Sans"
   (Google Fonts). Kudryashev is NOT freely redistributable, so
   this system substitutes PLAYFAIR DISPLAY — the nearest free
   high-contrast didone-style display serif. Swap back to the
   real face by overriding --font-display if you hold a license.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300..800;1,300..700&family=Work+Sans:ital,wght@0,300..700;1,300..600&display=swap');

:root {
  /* ---------- CORE PALETTE (default light scheme) ---------- */
  --bg:            #F7F5F1;   /* page — warm cream */
  --bg-alt:        #FFFFFF;   /* cards / alternate surface — pure white */
  --bg-alt-hover:  #F9F9F9;
  --bg-dark:       #2D2D2D;   /* "extra" band — charcoal portrait section */
  --bg-dark-hover: #242424;

  --bd:            #E5DFDB;   /* hairline border — warm taupe */
  --bd-hover:      #D4CAC4;
  --bd-dark:       #3D3D3D;   /* border on charcoal band */

  /* ---------- INK / TEXT ---------- */
  --ink:           #100F17;   /* near-black headings & strong text */
  --fg:            #7D7D84;   /* default body copy — warm grey */
  --fg-light:      #A4A4A8;   /* captions, meta, placeholders */
  --fg-on-dark:    #E1E1E1;   /* body text on charcoal band */
  --fg-on-dark-light: #A1A4A8;

  /* ---------- TRI-ACCENT (the brand's signature) ---------- */
  --gold:          #C69E50;   /* primary accent — buttons, links, eyebrows */
  --gold-hover:    #B78D3D;
  --gold-blend:    #D4B160;   /* lighter "blend" gold for gradients */
  --clay:          #A87860;   /* secondary accent — terracotta */
  --clay-hover:    #91634C;
  --sage:          #C0BA90;   /* tertiary accent — muted olive */
  --sage-hover:    #AEA87D;

  /* ---------- TINTS / OVERLAYS (used for protection scrims) ---------- */
  --ink-03:  rgba(16,15,23,0.03);
  --ink-05:  rgba(16,15,23,0.05);
  --ink-08:  rgba(16,15,23,0.08);
  --ink-15:  rgba(16,15,23,0.15);
  --ink-50:  rgba(16,15,23,0.5);
  --ink-80:  rgba(16,15,23,0.8);
  --gold-07: rgba(198,158,80,0.07);
  --gold-20: rgba(198,158,80,0.2);
  --bg-08:   rgba(247,245,241,0.8);

  /* ---------- INPUTS ---------- */
  --input-bg:        transparent;
  --input-bd:        #E5DFDB;
  --input-bd-hover:  #100F17;   /* focus = ink underline */
  --input-text:      #A4A4A8;

  /* ---------- TYPE FAMILIES ---------- */
  --font-display: "Hanken Grotesk", "Work Sans", -apple-system, "Segoe UI", sans-serif; /* all sans-serif */
  --font-body:    "Work Sans", -apple-system, "Segoe UI", sans-serif;

  /* ---------- TYPE SCALE (rem, root = 16px) ---------- */
  /* Headings: display serif, weight 400, tight leading & tracking */
  --h1-size: 3.563rem;  --h1-lh: 1.06em;  --h1-ls: -1.71px;
  --h2-size: 2.938rem;  --h2-lh: 1.06em;  --h2-ls: 0;
  --h3-size: 2.188rem;  --h3-lh: 1.086em; --h3-ls: 0;
  --h4-size: 1.75rem;   --h4-lh: 1.214em; --h4-ls: 0;
  --h5-size: 1.5rem;    --h5-lh: 1.417em; --h5-ls: 0;
  --h6-size: 1.188rem;  --h6-lh: 1.474em; --h6-ls: 0;
  --p-size:  1rem;      --p-lh:  1.625em; --p-ls: -0.32px;
  --logo-size: 1.7em;

  /* eyebrow / overline label */
  --eyebrow-size: 0.75rem; --eyebrow-ls: 2.5px;

  /* ---------- LAYOUT / SPACING ---------- */
  --page-width:   1290px;   /* content max-width */
  --page-wide:    1920px;
  --grid-gap:     30px;
  --sidebar-w:    410px;
  --radius:       0px;      /* SHARP corners — the theme uses zero radius */
  --section-pad:  120px;    /* generous vertical rhythm between sections */

  /* ---------- MOTION ---------- */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --dur:         0.35s;     /* color/opacity transitions */
  --dur-slow:    0.6s;      /* image reveals */
}

/* ============================================================
   SEMANTIC ELEMENT STYLES
   ============================================================ */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--p-size);
  line-height: var(--p-lh);
  letter-spacing: var(--p-ls);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 0.4em;
}
h1 { font-size: var(--h1-size); line-height: var(--h1-lh); letter-spacing: var(--h1-ls); }
h2 { font-size: var(--h2-size); line-height: var(--h2-lh); letter-spacing: var(--h2-ls); }
h3 { font-size: var(--h3-size); line-height: var(--h3-lh); }
h4 { font-size: var(--h4-size); line-height: var(--h4-lh); }
h5 { font-size: var(--h5-size); line-height: var(--h5-lh); }
h6 { font-size: var(--h6-size); line-height: var(--h6-lh); }

p { margin: 0 0 1.59em; }

a { color: var(--gold); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--gold-hover); }

strong, b { color: var(--ink); font-weight: 600; }

/* Overline / eyebrow label — letterspaced caps in gold */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--eyebrow-size);
  font-weight: 600;
  letter-spacing: var(--eyebrow-ls);
  text-transform: uppercase;
  color: var(--gold);
}

/* Brand wordmark */
.logo {
  font-family: var(--font-display);
  font-size: var(--logo-size);
  color: var(--ink);
  line-height: 1.25em;
  letter-spacing: 0;
}

/* Primary (solid gold) button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 38px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: #fff; }

/* Secondary (outline ink) button */
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Underlined text-link with animated rule */
.link-underline {
  position: relative;
  color: var(--ink);
  padding-bottom: 3px;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }
