/* =========================================================================
   SP / SFP PROJECT — light architectural interface
   Hero: Aurora composition (video, left-anchored copy, pills).
   Page: open, white, uppercase section titles, outlined controls.
   ========================================================================= */
:root {
  --paper: #fbfaf7;
  --band: #efece6;
  --panel: #e9dfcb;
  --ink: #141412;
  --ink-2: #57534c;
  --line: #dcd7cd;
  --charcoal: #11110f;
  --limestone: #d1c19f;
  --champagne: #b69b6d;
  --walnut: #704a32;
  /* brand palette: every section token below points here */
  --ivory: #f5f1ea;
  --ink-warm: #292621;
  --champ: #c9ad7f;
  --bronze: #8b6b43;      /* accent fills, lines, icons */
  --bronze-text: #7a5c37; /* bronze for small text: 5:1 on ivory (WCAG AA) */
  --head: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gut: clamp(20px, 4.4vw, 64px);
  --sec: clamp(88px, 10vw, 140px);
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--limestone); color: var(--ink); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 500; background: var(--ink); color: #fff; padding: 12px 18px; font-size: .85rem; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { width: 100%; max-width: 1040px; margin-inline: auto; padding-inline: var(--gut); }
.col { width: 100%; max-width: 980px; margin-inline: auto; padding-inline: var(--gut); }
.center { text-align: center; }
.mute { color: var(--ink-2); }

/* ---------------------------------------------------------------- Type */
.h2-caps { font: 600 clamp(1.65rem, 2.6vw, 2.35rem)/1.15 var(--head); letter-spacing: .015em; text-transform: uppercase; margin-bottom: 26px; }
.h3-caps { font: 600 clamp(1.25rem, 1.8vw, 1.6rem)/1.2 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.h3 { font: 400 clamp(1.6rem, 2.3vw, 2.05rem)/1.2 var(--head); letter-spacing: -.01em; }
.intro-lead { font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.75; max-width: 64ch; }
.crumb { display: block; font-size: .82rem; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: clamp(48px, 6vw, 72px); }
.crumb a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- Controls */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font: 600 14px/1 var(--body); white-space: nowrap; transition: transform .25s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.pill:hover { transform: scale(1.03); }
.pill:active { transform: scale(.97); }
.pill-light { padding: 11px 24px; background: #fff; color: #111; box-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.pill-dark { padding: 14px 26px; background: #0a0a0a; color: #fff; border: 1px solid rgba(255, 255, 255, .15); }
.pill .i { width: 16px; }
.btn-out { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); font: 500 .95rem/1 var(--head); letter-spacing: .03em; text-transform: uppercase; transition: background-color .3s var(--ease), color .3s var(--ease); }
.btn-out:hover { background: var(--ink); color: #fff; }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; background: var(--ink); color: #fff; font: 500 .95rem/1 var(--head); letter-spacing: .03em; text-transform: uppercase; transition: background-color .3s var(--ease); }
.btn-solid:hover { background: var(--walnut); }
.btn-solid .i { width: 18px; transition: transform .3s var(--ease); }
.btn-solid:hover .i { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--walnut); font-weight: 500; }
.link .i { width: 18px; transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(4px); }
.link-u { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- Entrance & reveals */
.js .rise { opacity: 0; transform: translateY(16px); transition: opacity .8s ease-out, transform .8s ease-out; transition-delay: var(--d, 0s); }
.is-ready .rise { opacity: 1; transform: none; }
.js [data-rv] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--rv, 0) * 90ms); }
.js [data-rv].in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- Page transition plane */
.wipe { position: fixed; inset: 0; z-index: 450; background: var(--paper); pointer-events: none; clip-path: polygon(160% 0, 190% 0, 160% 100%, 130% 100%); }
.wipe.is-cover { clip-path: polygon(-30% 0, 190% 0, 160% 100%, -60% 100%); transition: clip-path .7s var(--ease-io); pointer-events: auto; }
.arriving .wipe { clip-path: polygon(-30% 0, 190% 0, 160% 100%, -60% 100%); }
.wipe.is-leave { clip-path: polygon(-30% 0, -30% 0, -60% 100%, -60% 100%) !important; transition: clip-path .9s var(--ease-io); }

/* ---------------------------------------------------------------- Navigation (Aurora over hero, solid bar on scroll) */
.logo { display: inline-flex; align-items: center; gap: 12px; padding: 7px; margin: -7px; } /* 44px tap target */
/* the supplied round logo, used as delivered */
.logo-img { display: block; width: 64px; height: 64px; flex: none; border-radius: 50%; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .55); transition: width .5s var(--ease), height .5s var(--ease); }
.nav.is-scrolled .logo-img { width: 48px; height: 48px; }
.logo-rule { width: 1px; height: 28px; background: currentColor; opacity: .45; }
.logo-word { font: 600 .7rem/1 var(--head); letter-spacing: .32em; text-transform: uppercase; }
.logo-lg .logo-img { width: 84px; height: 84px; }
.nav { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background-color .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease); }
.js .home .nav { opacity: 0; transform: translateY(-16px); transition: opacity .6s ease-out, transform .6s ease-out, background-color .5s var(--ease); }
.is-ready .home .nav { opacity: 1; transform: none; }
.nav-in { display: flex; align-items: center; justify-content: space-between; padding: 26px 44px; transition: padding .5s var(--ease); }
.nav.is-scrolled, .nav-solid { background: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav.is-scrolled .nav-in, .nav-solid .nav-in { padding-block: 14px; }
.nav-left { display: flex; align-items: center; gap: 44px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { position: relative; white-space: nowrap; font: 500 14px/1 var(--body); color: rgba(255, 255, 255, .82); padding: 8px 0; transition: color .3s var(--ease); }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-link:hover, .nav-link.is-current { color: #fff; }
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-end { display: flex; align-items: center; gap: 18px; }
.nav-ic { width: 38px; height: 38px; display: grid; place-items: center; color: rgba(255, 255, 255, .85); transition: color .3s; }
.nav-ic:hover { color: #fff; }
.nav-ic .i { width: 20px; height: 20px; }
.lang { display: inline-flex; align-items: center; gap: 2px; font: 600 12px/1 var(--head); letter-spacing: .14em; }
.lang a { padding: 12px 7px; opacity: .6; transition: opacity .3s; }
.lang a:hover, .lang a[aria-current] { opacity: 1; }
.lang a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.menu .lang { font-size: 14px; margin-left: -7px; }
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 2; color: #fff; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; overflow-y: auto; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path .7s var(--ease-io); }
.menu.is-open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.menu-in { min-height: 100%; padding: 96px var(--gut) 36px; display: flex; flex-direction: column; gap: 36px; }
.menu-main li { overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu-main a { display: block; padding: 12px 0 14px; font: 500 clamp(1.8rem, 8vw, 2.6rem)/1.15 var(--head); letter-spacing: -.01em; }
.menu-main a span { display: block; transform: translateY(110%); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); transition-delay: calc(var(--d) * 80ms + 200ms); }
.menu.is-open .menu-main a span { transform: none; opacity: 1; }
.menu .eyebrow { font: 600 .75rem/1 var(--head); letter-spacing: .28em; text-transform: uppercase; color: var(--limestone); margin-bottom: 12px; }
.menu-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.menu-cats a { display: block; padding: 9px 0; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.menu-foot { margin-top: auto; display: grid; gap: 16px; }
.menu-phone { font: 500 1.4rem/1 var(--head); color: var(--limestone); }

/* ---------------------------------------------------------------- Hero (Aurora) */
.hero { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; color: #fff;
  /* the poster frame sits behind the video, so loading, stalls or a suspended decoder never show black */
  background: #1a1612 url("assets/video/hero-v2-poster.jpg") center / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* with JS the video fades in only once it is really playing (see script.js) */
.js .hero-video { opacity: 0; transition: opacity .6s ease; }
.js .hero-video.is-live { opacity: 1; }
.hero-o1 { position: absolute; inset: 0; background: rgba(0, 0, 0, .16); }
.hero-o2 { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .13) 0%, transparent 22%, transparent 60%, rgba(0, 0, 0, .19) 100%); }
.hero-o3 { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, .32) 32%, transparent 62%); }
/* readability only behind the copy column; the film itself stays as shot */
.hero-in::before { content: ''; position: absolute; z-index: -1; left: 0; top: 14vh; width: min(760px, 70vw); height: 62vh; background: radial-gradient(ellipse at 22% 50%, rgba(8, 10, 10, .34), rgba(8, 10, 10, 0) 68%); pointer-events: none; }
.hero-glow { position: absolute; top: -14%; left: 50%; transform: translateX(-50%); width: 1000px; max-width: 120vw; height: 720px; background: radial-gradient(ellipse at 50% 30%, rgba(182, 155, 109, .18) 0%, transparent 68%); pointer-events: none; }
.hero-in { position: relative; z-index: 10; display: flex; flex-direction: column; justify-content: flex-start; height: 100%; padding: 12vh 24px 0 64px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; width: fit-content; border-radius: 999px; padding: 6px 16px 6px 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.hero-badge strong { color: #fff; font-weight: 600; }
.hero-swatches { display: flex; }
.hero-swatches i { width: 22px; height: 22px; border-radius: 999px; border: 2px solid rgba(10, 10, 8, .9); }
.hero-swatches i + i { margin-left: -8px; }
.hero-swatches i:nth-child(1) { background: linear-gradient(135deg, #c79b66, #8a5f3a); }
.hero-swatches i:nth-child(2) { background: linear-gradient(135deg, #e4d8bd, #b69b6d); }
.hero-swatches i:nth-child(3) { background: linear-gradient(135deg, #4a4642, #1b1a18); }
.hero-h { font: 600 clamp(2.8rem, 5.6vw, 5rem)/1.02 'Cormorant Garamond', 'Times New Roman', serif; letter-spacing: -.01em; margin-top: 0; max-width: 820px; }
/* antique-gold headline: dark-to-light brass gradient, every stop keeps ≥3:1 on the ivory veil */
.hero-social { position: absolute; bottom: 34px; left: 64px; z-index: 10; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-row { display: flex; align-items: center; gap: 10px; }
.hero-start { margin-left: 6px; }
.hero-soc { width: 40px; height: 40px; border-radius: 999px; background: #111110; border: 1px solid #111110; display: grid; place-items: center; color: #fff; transition: background-color .3s, transform .3s; }
.hero-soc:hover { background: #000; transform: translateY(-2px); }
.hero-soc .i { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- Intro (category / project pages) */
.intro { padding: clamp(48px, 6vw, 80px) 0 var(--sec); }

/* ---------------------------------------------------------------- Collections: showroom cards (home) */
.coll {
  --cc-champ: var(--champ); --cc-bronze: var(--bronze); --cc-graphite: #2b2925; --cc-ease: cubic-bezier(.22, 1, .36, 1); --cc-t: 650ms;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  position: relative; padding: clamp(72px, 8vw, 120px) 0 var(--sec);
  background-color: #f5f0e6;
  /* paper grain */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.coll-head { display: grid; gap: 18px; margin-bottom: clamp(44px, 5.5vw, 72px); }
.coll-eyebrow { display: flex; align-items: center; gap: 14px; font: 600 .7rem/1 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--bronze-text); }
.coll-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--cc-champ); }
.coll-h { font: 600 clamp(2.3rem, 4.4vw, 3.9rem)/1.02 var(--serif); letter-spacing: -.005em; max-width: 16ch; }
.coll-sub { max-width: 52ch; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.7; color: #5c564c; }

.coll-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.2vw, 32px); }

.cc-link {
  position: relative; display: flex; flex-direction: column; flex: 1; overflow: hidden; isolation: isolate;
  border-radius: 14px; border: 1px solid rgba(201, 173, 127, .42); background: linear-gradient(180deg, #221c16, #1a1511); color: #fff;
  box-shadow: 0 22px 44px -28px rgba(52, 40, 26, .5), 0 2px 8px rgba(52, 40, 26, .06);
  transform: translateY(var(--lift, 0px)) perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform var(--cc-t) var(--cc-ease), box-shadow var(--cc-t) var(--cc-ease), border-color var(--cc-t) var(--cc-ease);
}
.cc-link:focus-visible { outline: 2px solid var(--cc-bronze); outline-offset: 4px; }
.cc { display: flex; }
.cc-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.cc-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--fp, 50% 50%);
  /* base scale leaves room for pointer parallax and scroll drift without exposing edges */
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) + var(--sy, 0px)), 0) scale(calc(1.02 * var(--hs, 1)));
  transition: transform 900ms var(--cc-ease), filter var(--cc-t) var(--cc-ease);
}
.cc-media::after { content: ''; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(180deg, transparent, rgba(26, 21, 17, .55)); }
/* warm light sweep, moved across on hover */
.cc-fx {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(var(--fx-a, 105deg), transparent 38%, var(--fx-c, rgba(255, 226, 180, .16)) 50%, transparent 62%);
  background-size: 260% 260%; background-position: 100% 100%;
  transition: background-position 700ms var(--cc-ease);
}
.cc-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px; padding: clamp(22px, 2.1vw, 30px) clamp(22px, 2.1vw, 30px) clamp(24px, 2.3vw, 32px); border-top: 1px solid rgba(201, 173, 127, .28); }
.cc-text { display: grid; }
.cc-t { font: 500 clamp(1.45rem, 1.75vw, 1.85rem)/1.08 var(--serif); letter-spacing: .025em; text-wrap: balance; text-transform: uppercase; color: rgba(255, 255, 255, .9); transition: color var(--cc-t) var(--cc-ease); }
.cc-line { width: 28px; height: 1px; margin: 14px 0 12px; background: var(--cc-champ); transition: width var(--cc-t) var(--cc-ease); }
.cc-d { max-width: 32ch; font-size: .92rem; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.cc-go { position: relative; display: flex; }
.cc-more { position: absolute; right: 0; bottom: calc(100% + 14px); white-space: nowrap; font: 600 .72rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--cc-champ); opacity: 0; transform: translateY(6px); transition: opacity var(--cc-t) var(--cc-ease), transform var(--cc-t) var(--cc-ease); }
.cc-ring { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; border: 1px solid rgba(201, 173, 127, .75); background: rgba(20, 16, 12, .16); transition: border-color var(--cc-t) var(--cc-ease), background-color var(--cc-t) var(--cc-ease); }
.cc-ring .i { width: 19px; height: 19px; color: #f3e6cf; transition: transform var(--cc-t) var(--cc-ease); }

@media (hover: hover) and (pointer: fine) {
  .cc-link:hover, .cc-link:focus-visible { --lift: -4px; --hs: 1.025; border-color: rgba(201, 173, 127, .7); box-shadow: 0 34px 60px -30px rgba(52, 40, 26, .62), 0 4px 12px rgba(52, 40, 26, .08); }
  .cc-link:hover .cc-fx, .cc-link:focus-visible .cc-fx { background-position: 0 0; }
  .cc-link:hover .cc-t, .cc-link:focus-visible .cc-t { color: #fff; }
  .cc-link:hover .cc-line, .cc-link:focus-visible .cc-line { width: 46px; }
  .cc-link:hover .cc-more, .cc-link:focus-visible .cc-more { opacity: 1; transform: none; }
  .cc-link:hover .cc-ring, .cc-link:focus-visible .cc-ring { border-color: #e2c999; background: rgba(20, 16, 12, .3); }
  .cc-link:hover .cc-ring .i, .cc-link:focus-visible .cc-ring .i { transform: translateX(5px); }
}

/* category accents — one system, small differences */
.cc--ferestre-pvc-aluminiu { --fx-c: rgba(255, 246, 228, .22); }
.cc--ferestre-pvc-aluminiu .cc-media img { --fp: 50% 42%; }
.cc--ferestre-pvc-aluminiu .cc-fx::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 44%, rgba(255, 250, 238, .1) 50%, transparent 56%); background-size: 300% 300%; animation: cc-glint 11s ease-in-out infinite alternate; }
@keyframes cc-glint { from { background-position: 100% 0; } to { background-position: 0 100%; } }
.cc--usi-acces .cc-link { border-color: rgba(139, 107, 67, .62); }
.cc--usi-acces { --fx-c: rgba(214, 170, 112, .18); }
.cc--usi-interior { --fx-c: rgba(255, 230, 196, .1); }
.cc--usi-acces .cc-media img { --fp: 50% 50%; }
.cc--usi-interior .cc-media img { --fp: 50% 50%; }
.cc--pardoseli .cc-media img { --fp: 50% 50%; }
.cc--rulouri .cc-media img { --fp: 28% 50%; }
.cc--pardoseli { --fx-a: 162deg; --fx-c: rgba(255, 222, 170, .2); }
.cc--pardoseli .cc-fx { -webkit-mask-image: linear-gradient(180deg, transparent 42%, #000 68%); mask-image: linear-gradient(180deg, transparent 42%, #000 68%); }
.cc--racire-incalzire { --fx-c: rgba(255, 255, 255, .1); }
.cc--racire-incalzire .cc-link { border-color: rgba(43, 41, 37, .32); }
.cc--racire-incalzire .cc-media img { --fp: 50% 50%; }
.cc--rulouri .cc-fx::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(255, 214, 160, .07) 9px 10px); clip-path: inset(0 0 100% 0); transition: clip-path 700ms var(--cc-ease); }
@media (hover: hover) and (pointer: fine) { .cc--rulouri .cc-link:hover .cc-fx::after { clip-path: inset(0 0 0 0); } }

/* progressive reveal */
.js .cc { opacity: 0; transform: translateY(20px); filter: blur(4px); transition: opacity 700ms var(--cc-ease), transform 700ms var(--cc-ease), filter 700ms var(--cc-ease); transition-delay: calc(var(--i, 0) * 85ms); }
.js .cc.in { opacity: 1; transform: none; filter: none; }

/* ---------------------------------------------------------------- Split: initial consultation */
.split-sec { padding-bottom: var(--sec); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.split-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--band); border-radius: 14px; border: 1px solid rgba(201, 173, 127, .42); box-shadow: 0 22px 44px -28px rgba(52, 40, 26, .45), 0 2px 8px rgba(52, 40, 26, .06); }
.split-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.split-text { display: grid; gap: 22px; }
.split-text p { font-size: 1.05rem; line-height: 1.75; }
.split-text .btn-row { margin-top: 8px; }

/* shared dark contact button (WhatsApp, phone, …) — same look everywhere on the site */
.btn-dark { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border-radius: 6px; background: #292621; color: #fbf8f3; font: 500 .95rem/1.2 var(--body); transition: background-color .3s var(--ease); }
.btn-dark:hover { background: #3a332b; color: #fff; }
.btn-dark .i { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn-dark:focus-visible { outline: 2px solid #8b6b43; outline-offset: 3px; }
.btn-accent { background: #8b6b43; }
.btn-accent:hover { background: #75582f; }
.btn-accent:hover .i { transform: translateX(4px); }

/* consultation: large headline and text beside a tall showroom photo */
.consult { padding-top: clamp(16px, 3vw, 40px); }
.consult-wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gut); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.consult-img { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.consult-img::before { content: ''; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid rgba(201, 173, 127, .75); border-radius: 14px; }
.consult-img img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px -34px rgba(52, 40, 26, .55), 0 2px 8px rgba(52, 40, 26, .08); }
.consult-body { display: grid; justify-items: start; }
.consult-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 600 .74rem/1 var(--head); letter-spacing: .28em; text-transform: uppercase; color: var(--bronze-text); }
.consult-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--champ); }
.consult-h { font: 600 clamp(2.7rem, 4.9vw, 4.8rem)/1.02 'Cormorant Garamond', 'Times New Roman', serif; letter-spacing: -.012em; max-width: 13ch; margin: 0 0 clamp(22px, 2.6vw, 34px); }
.consult-p { max-width: 44ch; font-size: clamp(1.1rem, 1.35vw, 1.28rem); line-height: 1.7; color: #3a362f; }
.consult-lead { max-width: 32ch; margin: clamp(26px, 3vw, 38px) 0 0; padding-left: 22px; border-left: 2px solid var(--champ); font: 500 clamp(1.4rem, 1.9vw, 1.75rem)/1.35 'Cormorant Garamond', 'Times New Roman', serif; font-style: italic; color: var(--bronze-text); }
.consult-actions { display: grid; gap: 28px; justify-items: start; width: 100%; margin-top: clamp(32px, 3.6vw, 48px); }
.consult-cta { min-height: 58px; padding-inline: 34px; font-size: 1.02rem; }
.consult-contact { display: grid; gap: 14px; width: 100%; max-width: 520px; padding-top: 24px; border-top: 1px solid var(--line); }
.consult-k { font: 600 max(.75rem, 12px)/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-text); }
.consult-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  .consult-wrap { grid-template-columns: 1fr; gap: 56px; }
  .consult-img { aspect-ratio: 5 / 4; }
  .consult-img::before { inset: 14px -10px -14px 10px; }
  .consult-h { max-width: 15ch; }
}
@media (max-width: 640px) {
  .consult-cta, .consult-btns .btn-dark { width: 100%; }
}

/* ---------------------------------------------------------------- SFP world (same card system as the collections) */
.coll--world { background-color: #efe9de; }
.coll--world .coll-h { max-width: 24ch; }
.cc--tall .cc-media { aspect-ratio: 4 / 5; }
.cc--proiecte .cc-media img { --fp: 50% 45%; }
.cc--cum-lucram .cc-media img { --fp: 40% 50%; }
.coll-cta { margin-top: clamp(40px, 5vw, 64px); text-align: center; }

/* ---------------------------------------------------------------- Gallery */
.gal { padding: var(--sec) 0; }
.gal .col { margin-bottom: clamp(40px, 5vw, 64px); }
.intro + .gal { padding-top: 0; }
.gal-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(48px, 4.4vw, 74px); gap: clamp(10px, 1.1vw, 18px); }
.gi-btn { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--band); text-align: left; }
.gi-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gi-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 8, .66), rgba(10, 10, 8, 0) 55%); opacity: 0; transition: opacity .6s var(--ease); }
.gi-meta { position: absolute; z-index: 1; inset: auto 0 0; display: grid; gap: 4px; padding: 18px; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.gi-s { font: 600 .62rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--limestone); }
.gi-t { font: 500 1.1rem/1.2 var(--head); }
.gi-btn:hover img, .gi-btn:focus-visible img { transform: scale(1.03); }
.gi-btn:hover::after, .gi-btn:focus-visible::after, .gi-btn:hover .gi-meta, .gi-btn:focus-visible .gi-meta { opacity: 1; transform: none; }
@media (min-width: 1025px) {
  .gi:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 9; }
  .gi:nth-child(2) { grid-column: 8 / 13; grid-row: 1 / 5; }
  .gi:nth-child(3) { grid-column: 8 / 11; grid-row: 5 / 11; }
  .gi:nth-child(4) { grid-column: 11 / 13; grid-row: 5 / 11; }
  .gi:nth-child(5) { grid-column: 1 / 5; grid-row: 9 / 14; }
  .gi:nth-child(6) { grid-column: 5 / 8; grid-row: 9 / 15; }
  .gi:nth-child(7) { grid-column: 8 / 13; grid-row: 11 / 16; }
  .gi:nth-child(8) { grid-column: 1 / 5; grid-row: 14 / 20; }
  .gi:nth-child(9) { grid-column: 5 / 8; grid-row: 15 / 20; }
  .gi:nth-child(10) { grid-column: 8 / 13; grid-row: 16 / 20; }
}

/* ---------------------------------------------------------------- About: steps with circle icons */
.about { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.about .col { margin-bottom: clamp(48px, 6vw, 80px); }
.about-head { --cc-bronze: var(--bronze); --cc-champ: var(--champ); display: grid; gap: 18px; margin-bottom: clamp(48px, 6vw, 80px); }
.about-head .coll-eyebrow { margin: 0; }
.about-h { font: 500 clamp(2.2rem, 4.2vw, 3.6rem)/1.05 'Cormorant Garamond', 'Times New Roman', serif; letter-spacing: -.005em; color: #1f1c18; max-width: 20ch; }
.about-lead { font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.7; color: #292621; max-width: 58ch; }
.about-p { line-height: 1.75; color: #6b655c; max-width: 64ch; padding-top: 18px; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; text-align: center; }
.circle { display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto 22px; border: 1px solid var(--ink); border-radius: 50%; transition: background-color .4s var(--ease), color .4s var(--ease); }
.circle svg, .circle .i { width: 44px; height: 44px; }
.step:hover .circle { background: var(--ink); color: #fff; }
.step h3 { font: 600 1.05rem/1.3 var(--head); margin-bottom: 6px; }
.step p { font-size: .95rem; color: var(--ink-2); max-width: 26ch; margin-inline: auto; }

/* ---------------------------------------------------------------- Showroom Sibiu: editorial invitation (scoped to .show) */
.show {
  --sh-bg: var(--ivory); --sh-ink: var(--ink-warm); --sh-muted: #6b655c; --sh-line: #dcd4c7; --sh-accent: var(--bronze); --sh-ease: cubic-bezier(.22, 1, .36, 1);
  background: var(--sh-bg); color: var(--sh-ink); padding: clamp(72px, 7.5vw, 104px) 0;
}
.show-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); display: grid; grid-template-columns: minmax(0, 59fr) minmax(0, 41fr); gap: clamp(40px, 4.6vw, 72px); align-items: center; }
.show-fig { margin: 0; display: grid; gap: 12px; }
.show-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; border: 1px solid rgba(139, 107, 67, .2); box-shadow: 0 18px 40px -30px rgba(53, 44, 31, .35); background: #e9e1d4; }
.show-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: transform 900ms var(--sh-ease); }
@media (hover: hover) and (pointer: fine) { .show-fig:hover .show-img img { transform: scale(1.02); } }
.show-cap { display: flex; justify-content: flex-end; gap: 16px; font-size: .78rem; letter-spacing: .04em; color: var(--sh-muted); }
.show-panel { display: grid; justify-items: start; }
.show-eyebrow { font: 600 .72rem/1 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: 22px; }
.show-h { font: 600 clamp(2.4rem, 4.2vw, 3.75rem)/1.04 'Cormorant Garamond', 'Times New Roman', serif; letter-spacing: -.005em; margin-bottom: 26px; }
.show-lead { max-width: 46ch; font-size: clamp(1rem, 1.1vw, 1.08rem); line-height: 1.75; color: var(--sh-muted); padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--sh-line); width: 100%; }
.show-facts { font-style: normal; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 20px clamp(28px, 3.4vw, 56px); margin-bottom: 32px; }
.show-fact { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; line-height: 1.6; }
.show-fact > .i { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--sh-accent); }
.show-fact > div { display: grid; gap: 6px; }
.show-k { font: 600 .75rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-text); }
.show-actions { display: grid; gap: 18px; justify-items: start; width: 100%; }
.show-cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 54px; padding: 14px 28px; border-radius: 6px; background: var(--sh-ink); color: #fbf8f3; font: 500 1rem/1.2 var(--body); transition: background-color 400ms var(--sh-ease); }
.show-cta .i { width: 20px; height: 20px; transition: transform 400ms var(--sh-ease); }
.show-cta:hover { background: #3a332b; }
.show-cta:hover .i { transform: translateX(4px); }
.show-map { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--bronze-text); font-size: 1rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.show-map .i { width: 18px; height: 18px; }
.show-map:hover { color: var(--sh-ink); }
.show :is(.show-cta, .show-map):focus-visible { outline: 2px solid var(--sh-accent); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* shorter, quicker reveal than the site default */
.js .show [data-rv] { transform: translateY(14px); transition-duration: 600ms; transition-delay: calc(var(--rv, 0) * 70ms); }
.js .show [data-rv].in { transform: none; }

/* small uppercase label */
.fld-l { font: 600 .75rem/1.4 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }

/* ---------------------------------------------------------------- Contact */
.contact { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.contact .col { margin-bottom: clamp(40px, 5vw, 64px); }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; text-align: center; }
.contact-grid a { display: grid; justify-items: center; gap: 4px; }
.contact-grid .circle .i { width: 34px; height: 34px; }
.contact-grid .circle { background: #292621; border-color: #292621; color: #fbf8f3; }
.contact-grid a:hover .circle { background: #3a332b; border-color: #3a332b; color: #fff; }
.contact-grid b { font: 600 1rem/1.3 var(--head); }
.contact-grid span:not(.circle) { color: var(--ink-2); font-size: .95rem; }

/* ---------------------------------------------------------------- Footer */
.foot { background: var(--charcoal); color: #fff; padding-top: clamp(72px, 8vw, 110px); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-top p { max-width: 44ch; color: rgba(255, 255, 255, .66); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 48px; }
.foot-h { font: 600 .7rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--limestone); margin-bottom: 20px; }
.foot-col ul { display: grid; gap: 10px; font-size: .95rem; }
.foot-col a { color: rgba(255, 255, 255, .84); transition: color .3s; }
/* larger tap area without moving the text: 18px links get a 34px+ target */
.foot-col a, .foot-base a { display: inline-block; padding-block: 8px; margin-block: -8px; }
.foot-col a:hover { color: #fff; }
.foot .mute { color: rgba(255, 255, 255, .55); }
/* contact + social rows with line icons */
.foot-ic { gap: 14px; }
.foot-ic li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; column-gap: 12px; }
.foot-ic li > .i { width: 34px; height: 34px; padding: 8px; margin-top: -6px; border: 1px solid rgba(209, 193, 159, .35); border-radius: 50%; color: var(--limestone); transition: border-color .3s, color .3s; }
.foot-ic li:hover > .i { border-color: var(--limestone); color: #fff; }
.foot-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 64px; padding-block: 24px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: rgba(255, 255, 255, .6); }
.foot-base ul { display: flex; gap: 22px; }
.foot-base a:hover { color: #fff; }
.sig { font: 500 .7rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }

/* ---------------------------------------------------------------- Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(17, 17, 15, .97); color: #fff; display: grid; grid-template-columns: 88px 1fr 88px; align-items: center; padding: 72px 0 32px; }
.lb-btn { width: 52px; height: 52px; justify-self: center; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; transition: border-color .3s; }
.lb-btn:hover { border-color: #fff; }
.lb-x { position: absolute; top: 16px; right: 16px; }
.lb-fig { height: 100%; min-height: 0; display: grid; grid-template-rows: 1fr auto; gap: 14px; }

/* ---------------------------------------------------------------- Mobile dock */
.dock { display: none; }

/* ---------------------------------------------------------------- Category pages */
.phero { position: relative; height: auto; min-height: max(82vh, 640px); overflow: hidden; background: var(--ink); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); }
/* photo on the right half only: real project photos stay sharp at their native size */
.phero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero-shade { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; background: linear-gradient(90deg, var(--ink) 0%, rgba(20, 20, 18, .35) 26%, rgba(20, 20, 18, 0) 55%), linear-gradient(180deg, rgba(10, 10, 8, .45), transparent 26%); }
.phero-in { position: relative; z-index: 2; height: auto; min-height: max(82vh, 640px); max-width: 54%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 128px 24px 12vh 64px; }
.phero-h { font: 500 clamp(2.4rem, 5vw, 4.4rem)/1.06 var(--head); letter-spacing: -.02em; max-width: 14ch; }
.phero-sub { font: 600 .74rem/1.4 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--limestone); }

/* summary inside the collection hero: breadcrumb, headline, one-line lead and the key points */
.crumb--hero { font-size: .8rem; color: rgba(255, 255, 255, .62); padding: 0; border: 0; margin: 0 0 6px; }
.crumb--hero a { display: inline-block; padding-block: 8px; margin-block: -8px; color: rgba(255, 255, 255, .78); transition: color .3s; }
.crumb--hero a:hover { color: #fff; }
.crumb--hero [aria-current] { color: rgba(255, 255, 255, .95); }
.phero-pts { list-style: none; margin: 14px 0 10px; padding: 0; width: 100%; max-width: 780px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 0; }
.phero-pts li { position: relative; padding: 2px 18px 2px 16px; font: 500 .92rem/1.35 var(--head); letter-spacing: .01em; color: rgba(255, 255, 255, .9); border-left: 1px solid rgba(201, 173, 127, .6); }
.phero-pts li::before { content: ''; position: absolute; left: -3px; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: #d9bd83; }
.cpts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(48px, 6vw, 72px); }
.cpts li { border-top: 1px solid var(--ink); padding-top: 18px; }
.cpts h3 { font: 600 1.05rem/1.3 var(--head); margin-bottom: 6px; }
.cpts p { font-size: .95rem; color: var(--ink-2); }
.cgal { padding-bottom: var(--sec); }
.cg-empty { margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 5vw, 64px); background: var(--band); display: grid; gap: 22px; justify-items: start; }
.cg-empty p { color: var(--ink-2); max-width: 60ch; }
.cnext { display: block; background: var(--ink); color: #fff; }
.cnext-in { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 28px; padding-block: clamp(48px, 6vw, 88px); }
.cnext .fld-l { grid-column: 1 / -1; color: var(--limestone); }
.cnext-t { font: 500 clamp(1.8rem, 3.6vw, 3.2rem)/1.1 var(--head); letter-spacing: -.01em; }
.cnext .i { width: 36px; height: 36px; transition: transform .4s var(--ease); }
.cnext:hover .i { transform: translateX(8px); }
.legal-in { padding-top: 160px; padding-bottom: 120px; display: grid; gap: 22px; }
.legal-in p, .legal-in li { max-width: 68ch; line-height: 1.75; color: #3a362f; }
.legal-in .h3-caps { margin-top: 18px; }
.legal-in a { color: var(--bronze-text); text-decoration: underline; text-underline-offset: 3px; }
.foot-note { margin: 0 0 28px; font-size: .78rem; line-height: 1.5; color: rgba(255, 255, 255, .55); }

/* ---------------------------------------------------------------- Laptop */
@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
  .nav-left { gap: 32px; }
  .nav-ic { display: none; }
}

/* ---------------------------------------------------------------- Tablet */
@media (max-width: 1024px) {
  .nav-in { padding: 18px 24px; }
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-end { gap: 10px; }
  .coll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc { --i: 0 !important; }
  .cc:nth-child(even) { --i: 1 !important; }

  .coll { padding-bottom: var(--sec); }
  .steps, .contact-grid, .cpts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 30vw; }
  .gi:nth-child(3n + 1) { grid-column: span 2; grid-row: span 2; }
  .show-wrap { grid-template-columns: 1fr; max-width: 760px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phero-in { padding-left: 32px; }
  .phero-media, .phero-shade { width: 58%; }
  .phero-in { max-width: 60%; }
}

/* ---------------------------------------------------------------- Phone */
@media (max-width: 640px) {
  .show-img { aspect-ratio: 3 / 2; border-radius: 10px; }
  .show-facts { grid-template-columns: 1fr; }
  .show-h { font-size: 2.35rem; }
  :root { --sec: 80px; }
  body { padding-bottom: 72px; }
  .nav-cta { display: none; }
  .logo-img, .nav.is-scrolled .logo-img { width: 46px; height: 46px; }
  .logo-rule { height: 22px; }
  .logo-word { font-size: .7rem; letter-spacing: .24em; }
  .hero { min-height: 640px; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
  .hero-video { object-position: 46% 50%; }
  .hero { background-position: 46% 50%; }
  .hero-o1 { background: rgba(0, 0, 0, .22); }
  .hero-in { padding: 9vh 20px 0 20px; }
  .hero-h { font-size: clamp(2.7rem, 12.5vw, 3.6rem); }
  .hero-badge { font-size: 12px; }
  .hero-social { left: 20px; bottom: 26px; }
  .coll-grid { grid-template-columns: 1fr; gap: 20px; }
  .cc, .cc:nth-child(even) { --i: 0 !important; }
  .cc-link { border-radius: 12px; }
  .cc-body { padding: 22px 20px; }
  .cc-t { font-size: 2rem; }
  .cc-ring { width: 46px; height: 46px; }
  .split { grid-template-columns: 1fr; }
  .steps, .contact-grid, .cpts { grid-template-columns: 1fr; }
  .gal-grid { grid-auto-rows: 44vw; gap: 8px; }
  .gi-meta, .gi-btn::after { opacity: 1; transform: none; }
  .gi-meta { padding: 12px; }
  .gi-t { font-size: .95rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .phero { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
  .phero-media, .phero-shade { width: 100%; }
  .phero-shade { background: linear-gradient(0deg, rgba(10, 10, 8, .85), rgba(10, 10, 8, .25) 60%), linear-gradient(180deg, rgba(10, 10, 8, .5), transparent 30%); }
  .phero-in { max-width: none; min-height: 640px; justify-content: flex-end; padding: 110px 20px calc(10vh + 28px); gap: 14px; }
  .phero-shade { background: linear-gradient(0deg, rgba(10, 10, 8, .88), rgba(10, 10, 8, .58) 55%, rgba(10, 10, 8, .38)); }
  .phero-pts { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .lb { grid-template-columns: 1fr; padding: 72px 0 96px; }
  .lb-prev, .lb-next { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(20, 20, 18, .96); border-top: 1px solid rgba(255, 255, 255, .08); transform: translateY(110%); transition: transform .6s var(--ease); }
  .dock.is-on { transform: none; }
  .dock.is-off { transform: translateY(110%); }
  .dock-ic { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
  .dock-ic .i { width: 20px; height: 20px; }
  .dock-cta { flex: 1; display: grid; place-items: center; height: 50px; background: #fff; color: #111; border-radius: 999px; font: 600 .9rem/1 var(--body); }
}

/* ---------------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .wipe { display: none !important; }
  .js .cc { opacity: 1; transform: none; filter: none; }
  .cc-link, .cc-media img { transform: none !important; }
  .cc--ferestre-pvc-aluminiu .cc-fx::before { animation: none; }
}


/* ---------------------------------------------------------------- "Uși de acces" gallery (scoped to .ugal) */
.ugal {
  --ug-bg: var(--ivory); --ug-surface: #fbf8f3; --ug-ink: var(--ink-warm); --ug-muted: #6b655c; --ug-accent: var(--bronze); --ug-line: #dcd4c7; --ug-mat: #ece5d9;
  --ug-ease: cubic-bezier(.22, 1, .36, 1); --ug-t: 320ms;
  background: var(--ug-bg); color: var(--ug-ink); padding: clamp(72px, 8vw, 112px) 0 clamp(80px, 9vw, 128px);
}
.ugal-wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gut); }
.ugal-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.ugal-eyebrow { font: 600 .7rem/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: 16px; }
.ugal-h { font: 600 clamp(2.2rem, 4vw, 3.4rem)/1.05 'Cormorant Garamond', 'Times New Roman', serif; letter-spacing: -.005em; margin-bottom: 16px; }
.ugal-sub { color: var(--ug-muted); font-size: clamp(1rem, 1.1vw, 1.06rem); line-height: 1.7; max-width: 56ch; }

/* category bar: sticky under the site header, scrolls on its own on narrow screens */
.ugal-tabs-wrap { display: none; position: sticky; top: 66px; z-index: 20; margin: 0 calc(var(--gut) * -1) clamp(28px, 3vw, 40px); padding: 10px var(--gut); background: rgba(245, 241, 234, .95); border-bottom: 1px solid var(--ug-line); }
.js .ugal-tabs-wrap { display: block; }
.ugal-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ugal-tabs::-webkit-scrollbar { display: none; }
.ugal-tab { flex: none; display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 11px 18px; border: 1px solid var(--ug-line); border-radius: 999px; background: transparent; color: var(--ug-ink); font: 500 .95rem/1.2 var(--body); cursor: pointer; transition: background-color var(--ug-t) var(--ug-ease), border-color var(--ug-t) var(--ug-ease), color var(--ug-t) var(--ug-ease); }
.ugal-tab:hover { border-color: var(--ug-accent); }
.ugal-tab[aria-selected="true"] { background: var(--ug-ink); border-color: var(--ug-ink); color: #fbf8f3; }
.ugal-tab[aria-selected="true"] .ugal-count { color: #d9c49f; }
.ugal-count { font: 500 .78rem/1 var(--body); color: var(--ug-muted); white-space: nowrap; }
.ugal :is(button, a):focus-visible { outline: 2px solid var(--ug-accent); outline-offset: 3px; }

.ugal-panel { scroll-margin-top: 140px; }
.ugal-panel + .ugal-panel { margin-top: clamp(56px, 7vw, 88px); }
.js .ugal-panel + .ugal-panel { margin-top: 0; }

/* featured work: photo and text share one height */
.ugal-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); margin-bottom: 24px; border: 1px solid var(--ug-line); border-radius: 12px; overflow: hidden; background: var(--ug-surface); }
.ugal-feat-media { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ug-mat); cursor: zoom-in; border: 0; padding: 0; }
.ugal-feat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ug-ease); }
.ugal-feat-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.4vw, 52px); }
.ugal-feat-t { font: 500 clamp(1.7rem, 2.6vw, 2.3rem)/1.12 'Cormorant Garamond', 'Times New Roman', serif; margin-bottom: 10px; }
.ugal-feat-d { color: var(--ug-muted); line-height: 1.7; margin: 18px 0 28px; padding-top: 18px; border-top: 1px solid var(--ug-line); }
.ugal-feat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* grid: 3 / 2 / 1 columns, equal 4:5 frames, no spanning tiles */
.ugal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.js .ugal-panel:not(.is-open) .ugal-card.is-extra { display: none; }
/* small groups: two wider columns with landscape frames, so a lone card never leaves an empty column */
.ugal-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ugal-grid--2 .ugal-media { aspect-ratio: 4 / 3; }
.ugal-btn { display: grid; grid-template-rows: auto 1fr; width: 100%; height: 100%; text-align: left; border: 1px solid var(--ug-line); border-radius: 10px; overflow: hidden; background: var(--ug-surface); color: inherit; padding: 0; cursor: zoom-in; transition: border-color var(--ug-t) var(--ug-ease), box-shadow var(--ug-t) var(--ug-ease); }
.ugal-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(180deg, #efe9de, #e7dfd2); }
.ugal-media img, .ugal-feat-media img { display: block; }
.ugal-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ug-ease); }
/* tall frames are shown whole on a neutral mat rather than cropped */
.ugal-media img.is-contain { object-fit: contain; padding: 14px; }
.ugal-t { font: 600 1rem/1.35 var(--head); }
.ugal-meta { font-size: .86rem; color: var(--ug-muted); }
.ugal-link .i { width: 16px; height: 16px; transition: transform var(--ug-t) var(--ug-ease); }
@media (hover: hover) and (pointer: fine) {
  .ugal-btn:hover { border-color: rgba(139, 107, 67, .55); box-shadow: 0 18px 36px -28px rgba(53, 44, 31, .45); }
  .ugal-btn:hover .ugal-media img.is-cover, .ugal-feat-media:hover img { transform: scale(1.02); }
  .ugal-link:hover .i { transform: translateX(4px); }
}
.ugal-more-row { display: flex; justify-content: center; margin-top: 36px; }
.ugal-more { display: none; min-height: 48px; padding: 12px 26px; border: 1px solid var(--ug-ink); border-radius: 999px; background: transparent; color: var(--ug-ink); font: 500 .95rem/1.2 var(--body); cursor: pointer; transition: background-color var(--ug-t), color var(--ug-t); }
.js .ugal-more { display: inline-block; }
.ugal-more:hover { background: var(--ug-ink); color: #fbf8f3; }

.ugal-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; background: none; padding: 0; color: var(--ug-ink); font: 500 .95rem/1.2 var(--body); text-decoration: underline; text-decoration-color: var(--ug-accent); text-underline-offset: 6px; cursor: pointer; }
.ugal-link .i { width: 18px; height: 18px; color: var(--ug-accent); }
.ugal-solid { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 13px 24px; border-radius: 6px; background: var(--ug-ink); color: #fbf8f3; font: 500 .95rem/1.2 var(--body); transition: background-color var(--ug-t); }
.ugal-solid:hover { background: #3a332b; }
.ugal-solid .i { width: 18px; height: 18px; }

.ugal-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; margin-top: clamp(56px, 7vw, 88px); padding: clamp(28px, 3.6vw, 48px); border: 1px solid var(--ug-line); border-radius: 12px; background: var(--ug-surface); }
.ugal-cta-t { font: 500 clamp(1.8rem, 2.8vw, 2.4rem)/1.1 'Cormorant Garamond', 'Times New Roman', serif; margin-bottom: 10px; }
.ugal-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* calmer reveal inside the gallery */
.js .ugal [data-rv] { transform: translateY(12px); transition-duration: 450ms; transition-delay: calc(var(--rv, 0) * 60ms); }
.js .ugal [data-rv].in { transform: none; }

@media (max-width: 1080px) {
  .ugal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ugal-feat { grid-template-columns: 1fr; }
  .ugal-feat-media { aspect-ratio: 4 / 4.4; }
  .ugal-cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ugal-tabs-wrap { top: 60px; }
  .ugal-grid { grid-template-columns: 1fr; gap: 20px; }
  .ugal-grid--2 { grid-template-columns: 1fr; }
  .ugal-feat-media { aspect-ratio: 4 / 5; }
  .ugal-solid { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ugal-media img, .ugal-feat-media img { transition: none; transform: none !important; }
}

/* lightbox caption (all pages) */
.lb-stage { position: relative; min-height: 0; display: grid; place-items: center; }
.lb-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lb-err { color: rgba(255, 255, 255, .8); font-size: .95rem; }
.lb-cap { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 18px; text-align: center; }
.lb-count { color: rgba(255, 255, 255, .62); font-size: .88rem; }
.lb-cta { color: #e2c999; font-size: .92rem; text-decoration: underline; text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------------------------------------------------------------- Readability floor for small labels (≥ 12px) */
.show-k, .foot-h, .ugal-eyebrow, .coll-eyebrow, .fld-l, .cc-more, .sig, .ugal-count { font-size: max(.75rem, 12px); }
.ugal-count { letter-spacing: 0; }
/* category tabs: wrap on narrow screens so every category is visible without sideways scrolling */
@media (max-width: 1080px) { .ugal-tabs { flex-wrap: wrap; overflow: visible; gap: 6px; } }
@media (max-width: 760px) {
  .ugal-tab { min-height: 40px; padding: 8px 14px; font-size: .88rem; }
  .ugal-tabs-wrap { position: static; }
}

#colectii .coll-h { max-width: 24ch; }

/* hero title: natural wrapping on phones instead of the desktop line break */
@media (max-width: 640px) { .hero-h br { display: none; } .hero-h { text-wrap: balance; } }

@media (max-width: 640px) { .hero-o3 { background: linear-gradient(to top, rgba(10, 8, 6, .5) 0%, rgba(10, 8, 6, .35) 55%, rgba(10, 8, 6, .15) 100%); } }

/* ---------------------------------------------------------------- Light hero (bright video: white sky, dark house)
   Enabled with body.hero-light. Dark text + a soft ivory veil behind the copy; nav turns dark only while
   it floats over the hero (once scrolled it is the usual dark bar with white text). */
.hero-light .hero { color: #1d1a16; background-color: #f2f0ec; }
.hero-light .hero-o1, .hero-light .hero-o2, .hero-light .hero-glow, .hero-light .hero-in::before { display: none; }
.hero-light .hero-o3 { background: linear-gradient(to right, rgba(250, 248, 244, .84) 0%, rgba(250, 248, 244, .66) 40%, rgba(250, 248, 244, 0) 72%); }
.hero-light .hero-badge { background: rgba(255, 255, 255, .55); border-color: rgba(29, 26, 22, .14); color: rgba(29, 26, 22, .72); }
.hero-light .hero-badge strong { color: #1d1a16; }
.hero-light .nav:not(.is-scrolled) { color: #1d1a16; }
.hero-light .nav:not(.is-scrolled) .nav-link { color: rgba(29, 26, 22, .78); }
.hero-light .nav:not(.is-scrolled) .nav-link:hover, .hero-light .nav:not(.is-scrolled) .nav-link.is-current { color: #1d1a16; }
.hero-light .nav:not(.is-scrolled) .nav-ic, .hero-light .nav:not(.is-scrolled) .burger, .hero-light .nav:not(.is-scrolled) .lang { color: #1d1a16; }
.hero-light .nav:not(.is-scrolled) .pill-light { background: #1d1a16; color: #fff; box-shadow: none; }
@media (max-width: 640px) {
  /* on phones the copy sits over the house: veil from the top, clear at the bottom */
  .hero-light .hero-o3 { background: linear-gradient(to bottom, rgba(250, 248, 244, .85) 0%, rgba(250, 248, 244, .7) 55%, rgba(250, 248, 244, 0) 80%); }
}


/* ---------------------------------------------------------------- Titles: gold melting into beige
   One treatment for every headline. Light backgrounds: warm gold → beige (the beige end stays dark enough for
   3:1 on ivory; small caps headings use a slightly deeper end). Dark backgrounds (collection hero, "next
   collection" bar): lighter champagne gold. Padding-bottom keeps descenders (g, p, ț) inside the painted box. */
:root { --gold-grad: linear-gradient(100deg, #8a6a30 0%, #a07a38 38%, #b8975a 72%, #c4a674 100%); --gold-grad-sm: linear-gradient(100deg, #8a6a30 0%, #9a7535 50%, #ad8a4e 100%); }
.hero-light .hero-h, .coll-h, .consult-h, .show-h, .ugal-h, .ugal-feat-t, .ugal-cta-t, .h2-caps, .h3-caps {
  padding-bottom: .14em; width: fit-content; color: #a07a38;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.h3-caps { background-image: var(--gold-grad-sm); }
.phero-h, .cnext-t {
  padding-bottom: .14em; width: fit-content; color: #d9bd83;
  background: linear-gradient(104deg, #f3e4bb 0%, #dcc08a 34%, #b8935a 62%, #ecd8a4 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
