:root {
  --ink: #171714;
  --paper: #f5f3ec;
  --white: #fffef9;
  --lime: #c6ff3a;
  --lime-dark: #8bc600;
  --red: #9e1f2f;
  --muted: #6e6c64;
  --line: rgba(23, 23, 20, .17);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.skip-link { position: fixed; z-index: 999; left: 1rem; top: -5rem; background: var(--lime); color: var(--ink); padding: .75rem 1rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.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; }
.reading-progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 3px; background: transparent; }
.reading-progress span { display: block; height: 100%; width: 0; background: var(--lime); }

.site-header { position: sticky; z-index: 90; top: 0; background: rgba(23, 23, 20, .94); color: white; backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; width: min(calc(100% - 3rem), var(--max)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .16rem; color: white; text-decoration: none; font-size: .82rem; font-weight: 900; letter-spacing: .12em; }
.brand b { display: grid; place-items: center; width: 2rem; height: 2rem; margin: 0 .18rem; background: var(--lime); color: var(--ink); font-size: 1.35rem; line-height: 1; letter-spacing: 0; }
#primary-nav { display: flex; align-items: center; gap: 2rem; }
#primary-nav a { color: rgba(255,255,255,.76); text-decoration: none; font-size: .88rem; font-weight: 650; }
#primary-nav a:hover, #primary-nav a:focus-visible { color: var(--lime); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: white; cursor: pointer; }
.menu-toggle i { display: block; width: 24px; height: 2px; margin: 6px auto; background: currentColor; transition: .25s ease; }

.hero { position: relative; width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: clamp(3rem, 8vw, 7.5rem) 0 clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { margin: 0 0 2rem; text-transform: uppercase; font-size: .74rem; font-weight: 850; letter-spacing: .14em; }
.eyebrow { display: flex; gap: 2rem; color: var(--muted); }
.eyebrow span:first-child::before, .section-kicker::before { content: ""; display: inline-block; width: 1.8rem; height: 2px; margin: 0 .65rem .22rem 0; background: var(--lime-dark); }
.hero h1 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(3.1rem, 6.2vw, 6.9rem); line-height: .94; letter-spacing: -.052em; font-weight: 500; }
.hero h1 em { color: var(--red); font-weight: 500; }
.hero-intro { max-width: 620px; margin: 2rem 0 1.8rem; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: #47463f; }
.text-link { display: inline-flex; align-items: center; gap: .75rem; padding: .65rem 0; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ink); font-size: .9rem; font-weight: 800; }
.text-link span { font-size: 1.1rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateY(3px); }
.hero-visual { position: relative; margin: 0; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: -1.2rem 1.7rem 1.7rem -1.2rem; border: 1px solid var(--ink); }
.hero-visual img { width: 100%; height: min(67vw, 690px); object-fit: cover; object-position: 55% center; filter: saturate(.82) contrast(1.04); }
.hero-number { position: absolute; z-index: -2; right: -1rem; bottom: 0; color: rgba(23,23,20,.055); font-family: var(--serif); font-size: clamp(10rem, 23vw, 22rem); line-height: .7; }

.section-shell { width: min(calc(100% - 3rem), var(--max)); margin: auto; padding: clamp(5rem, 10vw, 9rem) 0; border-top: 1px solid var(--line); }
.intro-grid, .closing-grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(2rem, 10vw, 9rem); }
.intro-grid h2, .closing-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 5.15rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.prose { font-size: 1.03rem; color: #45443e; }
.prose p { margin: 0 0 1.35rem; }
.prose a { text-decoration-color: var(--lime-dark); text-decoration-thickness: 2px; text-underline-offset: .2rem; }
.prose a:hover { background: var(--lime); color: var(--ink); }
.lead-prose p:first-child { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.45; color: var(--ink); }

.chapter-heading { display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); align-items: start; }
.chapter-index { font-family: var(--serif); font-size: 1.6rem; }
.chapter-heading .section-kicker { margin-bottom: 1rem; }
.chapter-heading h2 { max-width: 880px; margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.material-editorial { position: relative; margin: 0 0 1rem 120px; overflow: hidden; background: var(--ink); }
.material-editorial::after { content: "Studiu de material"; position: absolute; right: 1.2rem; bottom: 1.2rem; padding: .45rem .75rem; background: var(--lime); color: var(--ink); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.material-editorial img { width: 100%; height: clamp(310px, 45vw, 560px); object-fit: cover; }
.material-grid { display: grid; grid-template-columns: 1fr 1fr .88fr; gap: 1rem; align-items: stretch; }
.material-card { min-height: 430px; padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: space-between; }
.material-card-dark { background: var(--ink); color: var(--white); }
.material-card-lime { background: var(--lime); }
.card-label { align-self: flex-start; padding: .25rem .6rem; border: 1px solid currentColor; border-radius: 999px; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.material-card h3 { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(2.1rem, 3vw, 3.2rem); font-weight: 500; line-height: 1; }
.material-card p { margin: 0; }
.material-card-dark > div p { color: rgba(255,255,255,.72); }
.card-note { padding-top: 1.25rem; border-top: 1px solid currentColor; font-size: .78rem; opacity: .7; }
.quality-check { min-height: 430px; padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--line); background: var(--white); }
.quality-check .section-kicker { margin-bottom: 1rem; }
.quality-check h3 { margin: 0 0 2rem; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1.08; }
.quality-check ol { list-style: none; margin: 0; padding: 0; }
.quality-check li { display: grid; grid-template-columns: 2rem 1fr; gap: .85rem; padding: 1rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.quality-check li span { color: var(--red); font-weight: 850; }

.design-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.palette-panel { background: var(--ink); color: white; padding: clamp(1.5rem, 4vw, 3rem); }
.panel-title { margin: 0 0 2rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; }
.swatches { display: grid; grid-template-columns: 1fr 1fr; }
.swatch { aspect-ratio: 1; padding: 1.1rem; display: flex; flex-direction: column; justify-content: flex-end; }
.swatch span { font-family: var(--serif); font-size: 1.5rem; }
.swatch small { font-size: .72rem; opacity: .65; }
.swatch-black { background: #252523; color: white; border: 1px solid rgba(255,255,255,.15); }
.swatch-camel { background: #a2683b; color: white; }
.swatch-red { background: var(--red); color: white; }
.swatch-cream { background: #e9e0cf; color: var(--ink); }
.design-copy { display: grid; grid-template-columns: 130px 1fr; gap: 0 2rem; }
.design-copy h3 { margin: 0; padding: 1.5rem 0; color: var(--ink); font-family: var(--serif); font-size: 1.75rem; font-weight: 500; border-top: 1px solid var(--line); }
.design-copy p { margin: 0; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); }

.occasion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.occasion-card { min-height: 350px; padding: 2rem; display: flex; flex-direction: column; border: 1px solid var(--ink); background: transparent; transition: transform .25s ease, box-shadow .25s ease; }
.occasion-card:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 var(--ink); }
.occasion-card.featured { background: var(--red); color: white; border-color: var(--red); }
.occasion-no { font-size: .75rem; font-weight: 800; }
.occasion-card h3 { margin: auto 0 .6rem; font-family: var(--serif); font-size: 3rem; line-height: 1; font-weight: 500; }
.occasion-card p { min-height: 4.8rem; margin: 0 0 1.5rem; opacity: .78; }
.occasion-card ul { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 1.2rem 0 0; border-top: 1px solid currentColor; }
.occasion-card li { padding: .25rem .6rem; border: 1px solid currentColor; border-radius: 999px; font-size: .72rem; }

.trend-section { background: var(--ink); color: var(--white); }
.trend-inner { width: min(calc(100% - 3rem), var(--max)); margin: auto; padding: clamp(5rem, 11vw, 9rem) 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); }
.trend-heading { position: sticky; top: 8rem; align-self: start; }
.trend-heading .section-kicker { color: var(--lime); }
.trend-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5.5vw, 5.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 500; }
.trend-list article { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 2.3rem 0; border-top: 1px solid rgba(255,255,255,.22); }
.trend-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.trend-list article > span { color: var(--lime); font-size: .8rem; font-weight: 800; }
.trend-list h3 { margin: 0 0 .5rem; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 500; }
.trend-list p { max-width: 570px; margin: 0; color: rgba(255,255,255,.63); }

.closing { border-top: 0; }
.closing .text-link { margin-top: .5rem; }
.site-footer { width: min(calc(100% - 3rem), var(--max)); margin: auto; min-height: 150px; padding: 2rem 0; display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.brand-footer { color: var(--ink); }

@media (max-width: 900px) {
  .menu-toggle { display: block; position: relative; z-index: 2; }
  #primary-nav { position: absolute; inset: 76px 0 auto; padding: 1rem 1.5rem 1.7rem; background: var(--ink); flex-direction: column; align-items: flex-start; gap: 1rem; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .25s ease; }
  #primary-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { width: min(88%, 620px); margin-left: auto; }
  .hero-visual img { height: min(110vw, 720px); }
  .material-grid { grid-template-columns: 1fr 1fr; }
  .quality-check { grid-column: 1 / -1; min-height: auto; }
  .quality-check ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .quality-check li { grid-template-columns: 1fr; }
  .design-layout, .trend-inner { grid-template-columns: 1fr; }
  .trend-heading { position: static; }
  .site-footer { grid-template-columns: auto 1fr; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 5rem; }
  .header-inner, .hero, .section-shell, .trend-inner, .site-footer { width: min(calc(100% - 2rem), var(--max)); }
  .header-inner { min-height: 68px; }
  #primary-nav { inset-block-start: 68px; }
  .hero { padding-top: 3rem; gap: 3rem; }
  .eyebrow { justify-content: space-between; gap: 1rem; font-size: .67rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-visual { width: calc(100% - 1rem); }
  .hero-visual::before { inset: -.7rem .8rem .8rem -.7rem; }
  .hero-number { display: none; }
  .intro-grid, .closing-grid { grid-template-columns: 1fr; gap: 2rem; }
  .chapter-heading { grid-template-columns: 48px 1fr; gap: .7rem; }
  .chapter-index { font-size: 1.15rem; }
  .material-editorial { margin-left: 0; }
  .material-editorial img { height: 65vw; min-height: 280px; }
  .material-grid, .occasion-grid { grid-template-columns: 1fr; }
  .material-card { min-height: 380px; }
  .quality-check { grid-column: auto; }
  .quality-check ol { grid-template-columns: 1fr; }
  .design-copy { grid-template-columns: 1fr; }
  .design-copy h3 { padding-bottom: .4rem; }
  .design-copy p { padding-top: 0; border-top: 0; }
  .occasion-card { min-height: 320px; }
  .site-footer { grid-template-columns: 1fr; gap: .5rem; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
