/* =========================================================================
   Anna Gruzman Photography — Design System Tokens
   Warm, natural, editorial photography brand. Hebrew RTL primary.
   ========================================================================= */

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

:root {
  /* -------- Brand palette -------- */
  /* Foundational cream/sand surfaces — pulled from the cream background of
     Anna's portrait photo. */
  --color-cream:        #F6F1EA;   /* primary page background */
  --color-ivory:        #FBF8F3;   /* lighter card / surface */
  --color-sand:         #ECE3D5;   /* secondary section surface */
  --color-linen:        #E2D9CC;   /* hairlines, dividers, soft borders */

  /* Warm inks — body text + heading.  Pulled from the warm taupe used in the
     legacy Wix CTA (rgba(107,94,78)). */
  --color-ink:          #2A2620;   /* primary heading + body ink */
  --color-ink-soft:     #4A413A;   /* secondary headings */
  --color-mocha:        #6B5E4E;   /* CTA / accent taupe — legacy brand color */
  --color-mocha-deep:   #4E4338;   /* CTA hover */
  --color-stone:        #8A7D6E;   /* muted body / captions */
  --color-pebble:       #B5A998;   /* very muted labels */

  /* Sage / olive — pulled from the favicon leaf.  Nature accent. */
  --color-sage:         #9CA787;   /* primary accent */
  --color-sage-deep:    #6E7A5A;   /* accent on hover / text on cream */
  --color-sage-tint:    #D7DFCC;   /* very soft fill */
  --color-sage-mist:    #ECF0E5;   /* subtle wash */

  /* Brass / bronze — used sparingly to mark "premium" packages and prices. */
  --color-brass:        #B89968;
  --color-brass-deep:   #8E7448;

  /* Functional */
  --color-whatsapp:     #25D366;   /* official WhatsApp green for pinned CTA */
  --color-whatsapp-hover:#1FB755;
  --color-error:        #B6553F;
  --color-success:      #6E7A5A;

  /* -------- Typography stacks -------- */
  /* Display serif — elegant editorial feel that echoes the cursive "ag" logo
     mark.  Cormorant for Latin, Frank Ruhl Libre for Hebrew. */
  --font-display: "Frank Ruhl Libre", "Cormorant Garamond", "David Libre",
                  "Times New Roman", serif;

  /* Body — Heebo covers Hebrew & Latin in the same family; warm + readable. */
  --font-body:    "Heebo", "Assistant", -apple-system, BlinkMacSystemFont,
                  "Segoe UI", Arial, sans-serif;

  /* Small caps eyebrows / nav / buttons. */
  --font-eyebrow: "Raleway", "Heebo", sans-serif;

  /* Italic flourish (English signature words). */
  --font-script:  "Cormorant", "Cormorant Garamond", serif;

  /* -------- Type scale (RTL/Hebrew tuned, line-heights generous) -------- */
  --fs-hero:      clamp(48px, 6.5vw, 84px);   /* page-defining display */
  --fs-h1:        clamp(36px, 4.4vw, 56px);
  --fs-h2:        clamp(28px, 3.2vw, 40px);
  --fs-h3:        clamp(22px, 2.2vw, 28px);
  --fs-h4:        20px;
  --fs-lead:      19px;                       /* intro paragraph */
  --fs-body:      17px;
  --fs-small:     15px;
  --fs-caption:   13px;
  --fs-eyebrow:   12px;                       /* letter-spaced labels */

  --lh-tight:     1.15;
  --lh-display:   1.2;
  --lh-body:      1.7;
  --lh-loose:     1.85;

  --ls-eyebrow:   0.32em;
  --ls-caps:      0.18em;
  --ls-tight:     0;

  /* -------- Spacing rhythm -------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* -------- Radii -------- */
  --radius-none: 0;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* -------- Elevation (very soft, ink-tinted) -------- */
  --shadow-xs:  0 1px 2px rgba(42, 38, 32, 0.04);
  --shadow-sm:  0 2px 8px rgba(42, 38, 32, 0.06);
  --shadow-md:  0 10px 30px rgba(42, 38, 32, 0.08);
  --shadow-lg:  0 24px 60px rgba(42, 38, 32, 0.12);
  --shadow-image: 0 30px 60px -20px rgba(42, 38, 32, 0.35);

  /* -------- Motion -------- */
  --ease-soft:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-emph:    cubic-bezier(0.16, 1, 0.3, 1);
  --dur-quick:    180ms;
  --dur-base:     280ms;
  --dur-slow:     520ms;

  /* -------- Semantic tokens (use these in components) -------- */
  --fg-1:         var(--color-ink);
  --fg-2:         var(--color-ink-soft);
  --fg-3:         var(--color-stone);
  --fg-muted:     var(--color-pebble);
  --fg-accent:    var(--color-sage-deep);
  --fg-on-dark:   var(--color-cream);

  --bg-page:      var(--color-cream);
  --bg-surface:   var(--color-ivory);
  --bg-alt:       var(--color-sand);
  --bg-wash:      var(--color-sage-mist);
  --bg-dark:      var(--color-ink);

  --line:         var(--color-linen);
  --line-strong:  var(--color-pebble);
}

/* =========================================================================
   Base reset (very light — preserves existing element semantics)
   ========================================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings — serif display, generous, slightly tracked open */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-display);
  color: var(--fg-1);
  margin: 0;
  letter-spacing: 0;
}

h1 { font-size: var(--fs-h1); font-weight: 400; }
h2 { font-size: var(--fs-h2); font-weight: 500; }
h3 { font-size: var(--fs-h3); font-weight: 500; }
h4 { font-size: var(--fs-h4); font-weight: 600; }

p { margin: 0 0 1em 0; }

/* Lead paragraph — first paragraph after a heading. */
.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-loose);
  color: var(--fg-2);
  font-weight: 300;
}

/* Eyebrow — small upper-case label used above headings & in nav. */
.eyebrow {
  font-family: var(--font-eyebrow);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
  display: inline-block;
}

/* Script flourish — italic Latin for accent words. */
.script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  color: var(--color-sage-deep);
}

/* Links — quiet, underline on hover only */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-quick) var(--ease-soft),
              opacity var(--dur-quick) var(--ease-soft);
}
a:hover { color: var(--color-sage-deep); }

/* Small utility: thin hairline separator */
.hairline {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: var(--space-7) 0;
}

/* Decorative leaf glyph — used as inline ornament near headings. */
.leaf::before {
  content: "❦";
  color: var(--color-sage);
  font-size: 0.7em;
  margin-inline-end: 0.4em;
  vertical-align: 0.15em;
}

/* Buttons (canonical) — re-used across UI kit */
.btn {
  font-family: var(--font-eyebrow);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 28px;
  border: 1px solid var(--color-ink);
  background: transparent;
  color: var(--color-ink);
  border-radius: var(--radius-none);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn:hover { background: var(--color-ink); color: var(--color-cream); }

.btn-primary {
  background: var(--color-mocha);
  border-color: var(--color-mocha);
  color: var(--color-ivory);
}
.btn-primary:hover {
  background: var(--color-mocha-deep);
  border-color: var(--color-mocha-deep);
  color: var(--color-ivory);
}

.btn-sage {
  background: var(--color-sage-deep);
  border-color: var(--color-sage-deep);
  color: var(--color-ivory);
}
.btn-sage:hover { background: var(--color-ink); border-color: var(--color-ink); }

.btn-ghost { border-color: var(--color-linen); }
.btn-ghost:hover { background: var(--color-linen); color: var(--color-ink); }
