/* Laniche Reps — one-page site. Tokens first; every colour, size and space below comes from them. */
:root {
	/* Colour */
	--cream: #F6F0E6;          /* page background */
	--cream-light: #FBF8F2;    /* header, alternate sections */
	--sand: #EFE4D2;           /* option card */
	--line: #E8DECD;           /* dividers on light */
	--line-strong: #DCCFB9;    /* FAQ rules */
	--white: #FFFFFF;
	--ink: #1A1714;            /* text, dark buttons */
	--ink-2: #3A342C;          /* body copy */
	--ink-3: #4A433A;          /* secondary copy */
	--ink-4: #5E5547;          /* small print */
	--gold: #C9A465;           /* gold button fill, borders */
	--gold-soft: #D9B97E;      /* gold on dark */
	--gold-pale: #E6D3AE;      /* links on dark */
	--gold-ink: #7A5C28;       /* gold text on light (5.4:1) */
	--dark: #14110E;           /* dark sections */
	--dark-2: #1B1814;         /* cards on dark */
	--dark-line: #2E2923;
	--on-dark: #F4EFE6;
	--on-dark-2: #C9C0B1;
	--on-dark-3: #BDB4A5;

	/* Type */
	--font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--text-xs: 0.75rem;   /* 12 */
	--text-sm: 0.875rem;  /* 14 */
	--text-base: 1rem;    /* 16 */
	--text-md: 1.0625rem; /* 17 */
	--text-lg: 1.125rem;  /* 18 */
	--text-h3: 1.75rem;   /* 28 */
	--text-h2: clamp(2.125rem, 1.6rem + 2.2vw, 3rem);
	--text-h1: clamp(2.75rem, 1.9rem + 3.8vw, 4.25rem);

	/* Space (4/8 rhythm) */
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 72px;
	--gutter: 20px;
	--max: 1240px;
	--section-y: var(--s8);

	/* Shape and motion */
	--radius: 3px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--fast: 150ms;
	--med: 250ms;
	--header-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 24px; --section-y: var(--s9); } }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-sans); font-size: var(--text-base); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-ink); text-underline-offset: 3px; transition: color var(--fast) var(--ease); }
a:hover { color: #5A4220; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--gold-soft); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.serif { font-family: var(--font-serif); font-weight: 500; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 200; background: var(--ink); color: var(--white); padding: var(--s3) var(--s4); border-radius: var(--radius); }
.skip-link:focus { top: var(--s3); color: var(--white); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.bg-cream { background: var(--cream); }
.bg-light { background: var(--cream-light); }
.bg-dark { background: var(--dark); color: var(--on-dark); }

.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: var(--text-xs); font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.cta .eyebrow, .page-simple .eyebrow { justify-content: center; }

/* Signature: the lattice from Laniche's box artwork, as a faint gold line pattern on dark sections */
.bg-dark, .band {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23C9A465' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M28 0L56 28L28 56L0 28Z'/%3E%3Cpath d='M28 14L42 28L28 42L14 28Z'/%3E%3Cpath d='M0 0L14 14M56 0L42 14M0 56L14 42M56 56L42 42'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 56px 56px;
}
.bg-dark .eyebrow, .eyebrow--light { color: var(--gold-soft); }
.h1 { font-family: var(--font-serif); font-weight: 500; font-size: var(--text-h1); line-height: 1.03; margin-bottom: 22px; }
.h2 { font-family: var(--font-serif); font-weight: 500; font-size: var(--text-h2); line-height: 1.1; }
.h3 { font-family: var(--font-serif); font-weight: 600; font-size: var(--text-h3); line-height: 1.15; margin-bottom: 10px; }
.lead { color: var(--ink-2); max-width: 540px; }
.bg-dark .lead { color: var(--on-dark-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 26px; border: 1px solid transparent; border-radius: var(--radius); font: 500 15px/1.2 var(--font-sans); text-decoration: none; cursor: pointer; touch-action: manipulation; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform var(--fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #FFFDF9; }
.btn--dark:hover { background: #2E2822; border-color: #2E2822; color: #FFFDF9; }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #FFFDF9; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #BC9655; border-color: #BC9655; color: var(--ink); }
.btn--brown { background: #4A3B26; border-color: #4A3B26; color: #FFFDF9; }
.btn--brown:hover { background: #3A2E1D; border-color: #3A2E1D; color: #FFFDF9; }
.btn--sm { min-height: 44px; padding: 10px 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-size: 15px; color: var(--gold-pale); }
.text-link:hover { color: var(--white); }

/* Icons */
.icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-ring { display: flex; align-items: center; justify-content: center; flex: none; width: 56px; height: 56px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-soft); margin-bottom: var(--s4); }
.icon-ring--lg { width: 64px; height: 64px; margin: 0; }
.icon-ring--light { border-color: #B08D57; color: var(--gold-ink); }

/* Logo */
/* Official Laniche Parfüm logo (black in the header, gold on dark) with a small "Reps" tag */
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.logo img { width: 128px; height: auto; }
.logo__tag { padding-left: 12px; border-left: 1px solid var(--line-strong); font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-ink); }
.logo--light img { width: 150px; }
.logo--light .logo__tag { border-color: var(--dark-line); color: var(--gold-soft); }
@media (min-width: 768px) { .logo img { width: 150px; } .logo--light img { width: 170px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--cream-light); border-bottom: 1px solid var(--line); transition: box-shadow var(--med) var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(26, 23, 20, .08); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: var(--header-h); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream-light); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(26, 23, 20, .08); padding: var(--s2) var(--gutter) var(--s5); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a.navlink { display: flex; align-items: center; min-height: 48px; padding: 0 var(--s2); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; text-decoration: none; }
.site-nav a.navlink:hover, .site-nav a.navlink[aria-current="true"] { color: var(--gold-ink); }
.site-nav .btn-row { margin-top: var(--s5); }
.site-nav .btn-row .btn { flex: 1 1 140px; }
.header-cta { display: none; }

@media (min-width: 1080px) {
	.menu-toggle { display: none; }
	.site-nav, .site-nav.is-open { display: block; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
	.site-nav ul { display: flex; gap: 2px 14px; }
	.site-nav a.navlink { min-height: 44px; padding: 0 8px; border: 0; font-size: var(--text-sm); position: relative; }
	.site-nav a.navlink::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 1px; background: var(--gold-ink); transform: scaleX(0); transform-origin: left; transition: transform var(--med) var(--ease); }
	.site-nav a.navlink:hover::after, .site-nav a.navlink[aria-current="true"]::after { transform: scaleX(1); }
	.site-nav .btn-row { display: none; }
	.header-cta { display: flex; gap: var(--s3); }
}

/* Two-column split */
.split { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; gap: var(--s7); }
	.split--range { grid-template-columns: 0.9fr 1.1fr; }
	.split--top { align-items: start; }
}

/* Hero: copy left, one product photo right. On phones the photo is a short strip under the copy. */
.hero { background: linear-gradient(180deg, #FBF6EE 0%, #F6EDDF 100%); overflow: hidden; }
.hero__grid { display: grid; gap: var(--s5); align-items: center; padding-top: var(--s6); padding-bottom: var(--s6); }
.hero__content { max-width: 540px; }
.hero p.lead { font-size: var(--text-md); margin-bottom: 26px; max-width: 470px; }
.hero .btn-row { margin-bottom: 26px; }
.hero__photo { border-radius: var(--radius); overflow: hidden; }
.hero__photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 78% 60%; }
@media (min-width: 900px) {
	.hero__grid { grid-template-columns: 1fr 1fr; gap: var(--s7); padding-top: var(--s7); padding-bottom: var(--s7); }
	.hero__photo { border-radius: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
	.hero__photo img { aspect-ratio: 5 / 4; object-position: 70% 60%; }
}

/* Benefits grid (dark) */
.section-head { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; }
.section-head p { max-width: 420px; font-size: 15px; color: var(--on-dark-2); }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s6) var(--s5); list-style: none; margin: 0; padding: 0; }
.benefits h3 { margin: 0 0 6px; font-size: var(--text-base); font-weight: 500; font-family: var(--font-sans); }
.benefits p { font-size: var(--text-sm); color: var(--on-dark-3); }
@media (max-width: 559px) { .benefits { grid-template-columns: 1fr 1fr; } }

/* Tick lists */
.ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); color: #2A251F; }
.ticks .icon { color: var(--ink); }
.ticks--gold li { font-size: 15px; }
.ticks--gold .icon { color: var(--gold-ink); }
.ticks--stack { flex-direction: column; gap: 10px; }

/* Two ways to earn */
.earn { display: grid; gap: var(--s4); margin-top: var(--s6); }
@media (min-width: 768px) { .earn { grid-template-columns: 1fr 1fr; gap: var(--s5); } }
.earn__card { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s5); background: var(--sand); border: 1px solid var(--line); }
.earn__card .icon-ring { width: 52px; height: 52px; margin: 0; }
.earn__card h3 { margin: 4px 0 8px; font-family: var(--font-sans); font-size: var(--text-lg); font-weight: 500; }
.earn__card p { font-size: 15px; color: var(--ink-2); }
@media (min-width: 560px) { .earn__card { padding: var(--s6); gap: var(--s5); } }
.small-print { margin-top: 20px; font-size: var(--text-sm); color: var(--ink-4); }
.section--tight-top { padding-top: 0; }

/* Sizes: three small product images, no panels */
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); list-style: none; margin: 0; padding: 0; }
.sizes li { text-align: center; }
.sizes picture { display: block; margin: 0 auto 10px; max-width: 170px; }
.sizes img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(58, 44, 24, .16)); transition: transform var(--med) var(--ease); }
.sizes li:hover img { transform: translateY(-4px); }
.sizes strong { display: block; font-weight: 500; }
.sizes span { font-size: 13px; color: var(--ink-4); }
.bg-light .lead { margin: 14px 0 26px; }

/* Collection band: dark strip, photo fades in from the right; photo hidden on small phones */
.band { position: relative; background-color: var(--dark); color: var(--on-dark); overflow: hidden; }
.band .eyebrow { color: var(--gold-soft); }
.band__inner { position: relative; z-index: 1; padding-top: var(--s7); padding-bottom: var(--s7); }
.band__text { max-width: 440px; }
.band__text .h2 { margin-bottom: 10px; }
.band__text p:not(.eyebrow) { color: var(--on-dark-2); margin-bottom: var(--s5); }
.band__photo { display: none; }
@media (min-width: 600px) {
	.band__photo { display: block; position: absolute; top: 0; right: 0; height: 100%; width: 58%; object-fit: cover; object-position: 50% 60%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; list-style: none; margin: 36px 0 0; padding: 0; counter-reset: step; }
.step-num { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 14px; border: 1px solid #B08D57; border-radius: 50%; font-size: var(--text-sm); color: #5A4220; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0 0 6px; font-family: var(--font-sans); font-size: var(--text-lg); font-weight: 500; }
.steps p { font-size: 14.5px; color: var(--ink-3); max-width: 260px; }
@media (min-width: 900px) {
	.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.steps li { position: relative; }
	.steps li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 64px; right: 16px; height: 1px; background: linear-gradient(90deg, var(--line-strong), var(--line-strong)) left / calc(100% - 10px) 1px no-repeat; }
	.steps li:not(:last-child)::before { content: ""; position: absolute; top: 19px; right: 16px; width: 8px; height: 8px; border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); transform: rotate(45deg); }
}

/* FAQ */
.faq { display: grid; gap: 0 48px; margin-top: 28px; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; } }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 56px; padding: var(--s4) 0; list-style: none; cursor: pointer; font-size: var(--text-base); color: #2A251F; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-ink); }
.faq summary .icon { transition: transform var(--med) var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; padding-right: 34px; font-size: 15px; color: var(--ink-3); }

/* Closing CTA */
.cta { background: linear-gradient(90deg, #EAD7B6 0%, #F6ECDC 100%); text-align: center; }
.cta .container { max-width: 900px; }
.cta p.lead { margin: 12px auto 28px; }
.cta .btn-row { justify-content: center; margin-bottom: var(--s5); }
.cta__note { font-size: var(--text-sm); color: var(--ink-3); max-width: 560px; margin: 6px auto 0; }
.cta__note strong { font-weight: 500; color: var(--ink); }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark-3); font-size: 13px; line-height: 1.55; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5) var(--s6); padding: var(--s7) 0 var(--s6); }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; margin: 0; padding: 0; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); color: var(--gold-pale); }
.site-footer nav a:hover { color: var(--white); }
.site-footer address { font-style: normal; max-width: 340px; }
.site-footer__legal { padding: 20px 0 32px; border-top: 1px solid var(--dark-line); font-size: 12.5px; color: #9C9486; }
.site-footer__legal p + p { margin-top: 8px; }

/* Plain text pages (Rep Terms, Privacy): Laniche header and footer, then readable text */
.legal-page { padding: var(--s7) 0 var(--s8); background: var(--cream-light); }
.legal-page .container { max-width: 780px; }
.legal-page .h1 { font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem); margin-bottom: var(--s3); }
.legal-meta { font-size: var(--text-sm); color: var(--ink-4); margin-bottom: var(--s6); padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.legal { color: var(--ink-2); }
.legal h2 { font-family: var(--font-serif); font-weight: 600; font-size: 1.625rem; line-height: 1.2; color: var(--ink); margin: var(--s7) 0 var(--s3); }
.legal h3 { font-size: var(--text-lg); font-weight: 500; margin: var(--s5) 0 var(--s2); }
.legal p, .legal ul, .legal ol { margin: 0 0 var(--s4); }
.legal ul, .legal ol { padding-left: 1.25em; }
.legal li { margin-bottom: var(--s2); }
.legal .notice { padding: var(--s4) var(--s5); background: var(--cream); border-left: 2px solid var(--gold); }

/* Simple pages (portal placeholders, legal pages, 404) */
.page-simple { min-height: 60vh; display: flex; align-items: center; padding: var(--s8) 0; }
.page-simple .container { max-width: 720px; text-align: center; }
.page-simple .lead { margin: var(--s4) auto var(--s6); }
.page-simple .btn-row { justify-content: center; }

/* Gentle reveal on scroll (added by JS only, so content shows without it) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}
