@font-face {
  font-family: "Red Hat Display";
  src: url("../assets/red-hat-display.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  font-family: "Red Hat Display", Arial, sans-serif;
  font-size: clamp(12px, .833333vw, 16px);
  color: #101011;
  --yellow: #f2bf25;
  --line: #e7e7e7;
  --ease: cubic-bezier(.4, 0, .2, 1);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 1024px; font-size: 1rem; font-weight: 500; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; padding: 0; background: none; }
a { text-decoration: none; color: inherit; }
img { display: block; }
h1, h2, p, ul { margin: 0; }
:focus-visible { outline: 3px solid #3475ce; outline-offset: 3px; }
.wrap { width: min(83.333333%, 1600px); margin-inline: auto; }
.masthead { position: absolute; inset: 0 0 auto; min-width: 1024px; z-index: 3; color: white; transition: background-color .25s var(--ease), color .25s var(--ease); }
.masthead:is(:hover, :focus-within) { background: white; color: #101011; }
.masthead img { transition: filter .25s var(--ease); }
.masthead:is(:hover, :focus-within) img { filter: brightness(0); }
.header-inner, nav, nav a, .tools, .create-link, .search { display: flex; align-items: center; }
.header-inner { gap: clamp(12px, 3.333vw, 64px); padding-block: 1rem; }
.brand img { width: 9.375rem; height: 3rem; }
nav { gap: clamp(12px, 1.667vw, 32px); }
nav a { gap: .25rem; }
nav img { width: 1rem; }
nav a, .search, .create-link { white-space: nowrap; font-size: max(.875rem, 12px); font-weight: 700; }
.search { flex: 1; gap: 1rem; min-width: 8rem; padding: 1rem 1.5rem; border: 1px solid var(--line); border-radius: 3rem; }
.search input { width: 100%; background: none; border: 0; min-width: 0; outline: none; }
.search input::placeholder { color: currentColor; opacity: 1; }
.search img, .create-link img { width: 1.25rem; }
.tools { gap: .5rem; }
.create-link { gap: .5625rem; padding: .6875rem 1rem; font-size: max(.8125rem, 11px); }
.icon-link, .arrow { display: grid; place-items: center; width: 3rem; height: 3rem; }
.icon-link img, .arrow img { width: 1.5rem; }
.hero { position: relative; display: grid; align-items: center; aspect-ratio: 16 / 9; overflow: hidden; color: #fff; background: #aa7351; }
.slides, .slide, .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide { object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .6s var(--ease), transform .8s ease-out; }
.slide.active { opacity: 1; transform: scale(1); }
.scene-backdrop { width: 100%; height: 100%; object-fit: cover; }
.hero-lamp { display: none; }
@media (min-width: 1024px) {
  .hero-lamp { display: block; position: absolute; background: center / contain no-repeat; pointer-events: none; }
  /* Positions include the original banner's centered 16:9 crop. */
  .lamp-terracotta, .lamp-cream {
    transform: rotate(var(--lamp-tilt, 0deg));
    transition: transform 160ms ease-out;
  }
  .lamp-terracotta {
    left: 22.5708%; top: 40.625%; width: 20.9106%; aspect-ratio: 571 / 540;
    background-image: url("../assets/lamp-terracotta.png");
    --lit-image: url("../assets/lamp-terracotta-lit.png");
  }
  .lamp-cream {
    left: 40.1489%; top: 10.3516%; width: 18.6768%; aspect-ratio: 510 / 528;
    background-image: url("../assets/lamp-cream.png");
    --lit-image: url("../assets/lamp-cream-lit.png");
  }
  .lamp-olive {
    left: 56.189%; top: 30.8594%; width: 24.3296%; aspect-ratio: 940 / 856;
    background-image: url("../assets/lampa2.png");
    --lit-image: url("../assets/lamp-olive-lit.png");
  }
  .lamp-scene.active .hero-lamp { pointer-events: auto; }
  .hero-lamp::after {
    content: ""; position: absolute; top: 0; left: 0; width: 200%; height: 200%;
    background: var(--lit-image) center / contain no-repeat;
    pointer-events: none; opacity: 0; transition: opacity .2s var(--ease);
  }
  .lamp-olive::after {
    /* Its beam extends down-left, with 400px of padding before the 940px fixture. */
    left: -42.5532%; width: 148.9362%; height: 151.8692%;
  }
  .hero-lamp[aria-pressed="true"]::after { opacity: 1; }
}
.hero-copy { position: relative; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.hero-copy p { margin-bottom: 1rem; line-height: 1.2; }
h1 { font-size: 3.5rem; line-height: 1; margin-bottom: 2rem; }
.button { display: inline-flex; align-items: center; border-radius: 4rem; padding: 1rem 1.5rem; background: #101011; color: white; font-weight: 700; line-height: 1.2; transition: background-color .2s var(--ease); }
.yellow { background: var(--yellow); color: #1e1e1e; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); border-radius: 50%; background: rgb(16 16 17 / 20%); }
.prev { left: 3.75%; }
.next { right: 3.75%; }
.progress { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(2rem - 10px); display: flex; gap: .25rem; }
.progress button { position: relative; width: 4rem; height: 22px; }
.progress button::before, .progress button::after { content: ""; position: absolute; inset: 10px 0; background: rgb(231 231 231 / 50%); }
.progress button::after { background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.progress [aria-current=true]::after { animation: fill 3s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.rating { position: absolute; bottom: 2rem; right: 3.75%; display: flex; align-items: center; gap: .125rem; padding: .75rem 1.5rem; border-radius: 4rem; background: rgb(16 16 17 / 40%); font-size: .8125rem; }
.rating img { width: 1.25rem; margin-right: .625rem; }
.rating strong { font-size: 1.3125rem; line-height: 1.1; }
.offers { padding-block: 5.375rem; }
.benefits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; margin-bottom: 4rem; }
.benefits li { display: grid; align-content: start; padding: 1rem; }
.benefits img { width: 2rem; height: 2rem; margin-bottom: 1.5rem; }
.benefits strong, .card-copy p { font-size: 1.3125rem; line-height: 1.1; }
.benefits strong { letter-spacing: -.025em; }
.benefits span { margin-top: .5rem; font-size: .875rem; line-height: 1.2; }
.cards { display: grid; grid-template-columns: 648fr 272fr 648fr; gap: 1rem; }
.card { position: relative; overflow: hidden; border-radius: 1.5rem; display: flex; align-items: flex-end; container-type: inline-size; }
.card.thoro, .card.smart { aspect-ratio: 648 / 518; }
.card.config, .card.catalog { grid-column: span 2; }
.card.thoro, .card.config { color: white; }
.card.config { background: #72a3f3; }
.card.catalog { background: #fdf8eb; }
.card.smart { background: #e8e4df; }
.art { transition: transform .5s ease-out; }
.card:is(:hover, :focus-within) .art { transform: scale(1.1); }
.card:is(:hover, :focus-within) .button { background: #4a4a4a; }
.art img { position: absolute; }
.thoro .art img { width: 100%; height: 100%; object-fit: cover; }
.config .art img { right: 2.5%; top: 1.93%; width: 64.1%; }
.catalog .art img { left: 45.3%; bottom: 0; width: 52.14%; }
.smart .art img:first-child { left: 12.19%; top: 13.9%; width: 35.49%; }
.smart .art img:last-child { left: 33.95%; bottom: 0; width: 64.66%; }
.card-copy { position: relative; padding: 3rem; }
.card-copy p { font-weight: 700; }
.card-copy h2 { font-size: 2rem; line-height: 1.1; margin: .75rem 0 1.5rem; }
@media (min-width: 1024px) {
  .campaign {
    aspect-ratio: 1920 / 835; display: grid; align-content: center; justify-items: center;
    gap: 2rem; position: relative; isolation: isolate; overflow: hidden; text-align: center;
    color: white; background: linear-gradient(165deg, #101011 36%, #352b16 68%, #ab8424);
  }
  .campaign canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
  .campaign-title { max-width: 44rem; font-size: 3.5rem; line-height: 1; }
  .campaign-link { padding: 1rem 1.5rem; border-radius: 4rem; background: var(--yellow); color: #101011; font-weight: 700; transition: background-color .2s var(--ease); }
  .hero-copy .yellow:hover, .campaign-link:hover { background-color: #ffed00; }
  .campaign-note { max-width: 16rem; line-height: 1.2; }
}
footer { font-size: max(.75rem, 11px); }
.footer-top { padding: 6rem 0 4rem; display: flex; justify-content: space-between; gap: 3rem; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.footer-brand > a img { width: 10rem; height: 2.75rem; }
.social { display: flex; gap: .125rem; }
.social a { width: 3rem; height: 3rem; display: grid; place-items: center; }
.social img { max-width: 1.5rem; max-height: 1.5rem; }
.footer-columns { display: flex; justify-content: space-between; width: 66.2%; gap: 1rem; }
footer h2 { font-size: inherit; line-height: 1.2; margin-bottom: 1.5rem; }
.footer-columns a { display: block; margin-top: .875rem; line-height: 1.2; }
footer a:hover { text-decoration: underline; }
.footer-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line); }
.footer-info section { padding: 2rem; min-height: 12rem; }
.footer-info section:first-child { padding-left: 0; }
.footer-info section:not(:last-child) { border-right: 1px solid var(--line); }
.payments { display: grid; grid-template-columns: repeat(5, 3.5625rem); gap: .5rem; }
.payments span { border: 1px solid var(--line); border-radius: .25rem; padding: .375rem .4375rem; }
.payments img { width: 100%; }
.awards { display: grid; grid-template-columns: repeat(3, 6rem); gap: .1875rem; }
.awards img { max-width: 6rem; height: 2.69rem; object-fit: contain; }
.flags { display: flex; gap: .5rem; }
.flags a { display: grid; place-items: center; width: 2rem; height: 2rem; }
.flags img { width: 1.5rem; height: 1.5rem; }
.legal { padding: 3rem 0 2rem; }
.vat, address { display: flex; align-items: center; }
.vat { gap: 2rem; }
.vat span { flex: 1; border-top: 1px solid var(--line); }
.vat img { width: 10.75rem; }
address { margin-top: .5rem; gap: 1.5rem; font-style: normal; }
@media (min-width: 1024px) and (max-width: 1350px) {
  .header-inner { width: 94%; gap: 1.3rem; }
  nav { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
