/* BLACKIN additions to the theme, kept apart from it: easy to find, easy to remove. */

/* Home: what the studio is and where, a small line above the motto inside the same title */
#hero-caption .hero-title span.hero-eyebrow { font-family: 'Poppins', sans-serif; font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: 0.22em; margin-bottom: 28px; }
@media only screen and (max-width: 767px) {
  #hero-caption .hero-title span.hero-eyebrow { font-size: 11px; line-height: 18px; letter-spacing: 0.16em; margin-bottom: 18px; }
}

/* WhatsApp: a round button in the site's colours, bottom right on every page (same as the client portal) */
.contact-button { position: fixed; right: var(--right, 24px); bottom: var(--bottom, 24px); z-index: 950; display: flex; align-items: center; height: 56px; padding: 0 15px; border: 2px solid #fff; border-radius: 28px; background: #fff; color: #0c0c0c; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28); }
.contact-button.on-light { border-color: #0c0c0c; background: #0c0c0c; color: #fff; }
.contact-button svg { flex: none; }
.contact-label { max-width: 0; overflow: hidden; white-space: nowrap; font: 500 14px/1 'Poppins', sans-serif; text-transform: none; letter-spacing: 0; opacity: 0; transition: max-width 0.25s ease-out, opacity 0.2s ease-out, margin 0.25s ease-out; }
.contact-button:hover .contact-label, .contact-button:focus-visible .contact-label { max-width: 160px; margin-right: 10px; opacity: 1; }
@media only screen and (max-width: 767px) {
  .contact-button { right: var(--right, 16px); bottom: var(--bottom, 16px); height: 52px; padding: 0 13px; }
}
@media (prefers-reduced-motion: reduce) { .contact-label { transition: none; } }
/* out of the way while the menu is open */
.over-menu .contact-button, body.show-menu .contact-button { display: none; }


/* Contact: the two studios with their local time */
.office-meta { margin: 0 0 18px; opacity: 0.7; font-size: 14px; }
.office-time { font-variant-numeric: tabular-nums; }

/* Services: the client portal */
.portal-intro { max-width: 720px; margin: 0 auto; }

/* Type-of-project pages: selected projects */
.type-project img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; }
.type-project { margin-bottom: 40px; }

/* Services: the four stages, in the theme's accordion */
.accordion-content .stage-get { display: block; margin-top: 14px; }
.accordion-content .stage-inc { display: block; margin-top: 6px; opacity: 0.6; font-size: 0.9em; }
.stage-note { margin-top: 40px; max-width: 760px; }

/* Services: the five kinds of project, as picture cards */
.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
.type-card { display: block; color: inherit; text-decoration: none; }
.type-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; transition: opacity 0.3s ease-out; }
.type-card:hover img { opacity: 0.8; }
.type-card-title { display: block; font-size: 18px; font-weight: 500; line-height: 26px; }
.type-card-line { display: block; margin-top: 4px; font-size: 14px; line-height: 22px; opacity: 0.6; }
@media only screen and (max-width: 1024px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media only screen and (max-width: 640px) { .type-grid { grid-template-columns: minmax(0, 1fr); } }

/* Services: the four stages, every deliverable visible and numbered */
.stage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.stage-card { padding: 36px 36px 28px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 6px; }
.stage-card .stage-num { margin: 0; font-size: 13px; letter-spacing: 0.2em; opacity: 0.55; }
.stage-card .stage-name { margin: 6px 0 4px; font-size: 26px; line-height: 34px; font-weight: 500; }
.stage-card .stage-line { margin: 0 0 18px; opacity: 0.7; }
.stage-list { margin: 0; padding-left: 26px; }
.stage-list li { margin-bottom: 10px; font-size: 15px; line-height: 24px; }
.stage-list li strong { font-weight: 600; }
@media only screen and (max-width: 900px) { .stage-grid { grid-template-columns: minmax(0, 1fr); } .stage-card { padding: 26px 22px 18px; } }

/* Services: the client portal, set apart as the premium part */
.portal-row .portal-eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #8c6144; }
.portal-row .portal-intro { margin: 0; max-width: 760px; }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 36px; margin-top: 36px; }
.portal-item { margin: 0; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, 0.14); font-size: 15px; line-height: 24px; }
.portal-item strong { display: block; margin-bottom: 4px; font-weight: 600; }
@media only screen and (max-width: 900px) { .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media only screen and (max-width: 600px) { .portal-grid { grid-template-columns: minmax(0, 1fr); } }
.stage-list { list-style: decimal outside !important; } .stage-list li { display: list-item !important; list-style: inherit !important; }

/* Services: four stages, one full row each, on white */
.stage-row { display: flow-root; padding: 44px 0 28px; border-top: 1px solid rgba(0, 0, 0, 0.12); }
.stage-row .stage-num { margin: 0; font-size: 56px; line-height: 60px; font-weight: 300; }
.stage-row .stage-name { margin: 6px 0 16px; font-size: 30px; line-height: 38px; font-weight: 500; }
.stage-row .stage-includes { margin: 0; max-width: 300px; font-size: 13px; line-height: 21px; opacity: 0.6; }
.stage-row .stage-includes span { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.stage-row .stage-text { margin: 0 0 16px; font-size: 17px; line-height: 29px; }
.stage-row .stage-get { margin: 26px 0 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
#stages .stage-note { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(0, 0, 0, 0.12); }
@media only screen and (max-width: 767px) { .stage-row .stage-num { font-size: 40px; line-height: 44px; } .stage-row .stage-includes { margin-bottom: 20px; } }

/* Services: the private portal, on black */
.portal-private .portal-eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: #c99e80; }
.portal-private .portal-intro { max-width: 760px; margin: 0 auto; }
#stages .stage-cta { margin-top: 34px; }

/* Projects: an even grid with the thin gap of the project pages (10px), its outer edges on the header's (the logo's
   left edge, the menu's right). "Shuffle grid" loops 4 -> 3 -> 2 columns: the theme cycles layout-three -> layout-one
   -> layout-two, whose staggered rules are overridden here. */
.showcase-portfolio { --pf-edge: 20px; --pf-gap: 10px; --pf-cols: 1; }
@media only screen and (min-width: 480px) { .showcase-portfolio { --pf-edge: 30px; --pf-cols: 2; } }
@media only screen and (min-width: 768px) { .showcase-portfolio { --pf-edge: 40px; --pf-cols: 3; } }
@media only screen and (min-width: 1025px) {
  .showcase-portfolio { --pf-edge: 60px; }
  .showcase-portfolio.layout-three { --pf-cols: 4; }
  .showcase-portfolio.layout-one { --pf-cols: 3; }
  .showcase-portfolio.layout-two { --pf-cols: 2; }
}
@media only screen and (min-width: 1467px) { .showcase-portfolio { --pf-edge: 80px; } }
body .showcase-portfolio.layout-one, body .showcase-portfolio.layout-two, body .showcase-portfolio.layout-three {
  padding: 0 calc(var(--pf-edge) - var(--pf-gap) / 2);
}
/* every layout one even grid: the theme's staggered widths, offsets and shapes per position are set aside */
body .showcase-portfolio.layout-one .clapat-item:not(.blackin-x):nth-of-type(n),
body .showcase-portfolio.layout-two .clapat-item:not(.blackin-x):nth-of-type(n),
body .showcase-portfolio.layout-three .clapat-item:not(.blackin-x):nth-of-type(n) {
  width: calc(100% / var(--pf-cols) - var(--pf-gap)) !important;
  margin: calc(var(--pf-gap) / 2) !important;
  top: auto !important;
}
body .showcase-portfolio.layout-one .clapat-item:not(.blackin-x):nth-of-type(n) .slide-inner::before,
body .showcase-portfolio.layout-two .clapat-item:not(.blackin-x):nth-of-type(n) .slide-inner::before,
body .showcase-portfolio.layout-three .clapat-item:not(.blackin-x):nth-of-type(n) .slide-inner::before { padding-top: 140% !important; }

/* Columns: 4, 3 or 2, the chosen one in brackets like the filters */
.grid-cols { gap: 6px; }
.grid-cols .grid-cols-label { margin-right: 10px; font-size: 14px; font-weight: 500; line-height: 30px; }
.grid-cols-option { position: relative; padding: 0 12px; line-height: 30px; overflow: hidden; opacity: 0.4; pointer-events: initial; transition: opacity 0.15s ease-out; }
.grid-cols-option.is_active, .grid-cols-option:hover { opacity: 1; }
.grid-cols-option.is_active { pointer-events: none; }
.grid-cols-option span { position: relative; display: inline-block; transition: transform 0.2s; }
.grid-cols-option span::before { content: attr(data-hover); position: absolute; top: 100%; left: 0; }
.grid-cols-option:hover span { transform: translateY(-100%); }
.grid-cols-option::before, .grid-cols-option::after { position: absolute; top: 0; font-size: 14px; font-weight: 500; line-height: 30px; opacity: 0; transition: all 0.15s ease-out; }
.grid-cols-option::before { content: '['; left: 0; }
.grid-cols-option::after { content: ']'; right: 0; }
.grid-cols-option.is_active::before { left: 3px; opacity: 1; }
.grid-cols-option.is_active::after { right: 3px; opacity: 1; }
/* on phones the grid has one or two columns whatever the choice: the control is not needed there */
@media only screen and (max-width: 767px) { .grid-cols { display: none; } }

/* The project's name on its picture, on hover: a soft blur rising from the foot of the picture (the theme fades it
   in and out; on a phone it stays shown) */
body .showcase-portfolio .clapat-item:not(.blackin-x) .slide-inner .slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0; top: auto; z-index: 5; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; gap: 4px; box-sizing: border-box; width: auto; height: 38%; min-height: 120px; margin: 0; padding: 0 20px 26px; text-align: center; pointer-events: none;
  background: linear-gradient(to top, rgba(12, 12, 12, 0.62), rgba(12, 12, 12, 0.28) 55%, rgba(12, 12, 12, 0));
}
body .showcase-portfolio .clapat-item:not(.blackin-x) .slide-inner .slide-caption::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(to top, #000 35%, transparent); mask-image: linear-gradient(to top, #000 35%, transparent);
}
body .showcase-portfolio .clapat-item:not(.blackin-x) .slide-inner .slide-caption .slide-title {
  position: static; width: 100%; max-width: 100%; color: #fff; font: 400 clamp(15px, 1.2vw, 22px)/1.2 'mona-sansextrabold_wide', sans-serif; text-transform: uppercase; white-space: normal; overflow: hidden;
}
body .showcase-portfolio .clapat-item:not(.blackin-x) .slide-inner .slide-caption .slide-title em { font: inherit; font-style: normal; }
body .showcase-portfolio .clapat-item:not(.blackin-x) .slide-inner .slide-caption .slide-cat {
  position: static; top: auto; right: auto; color: #fff; opacity: 0.85; font-size: 12px; line-height: 18px; letter-spacing: 0.04em; text-transform: uppercase;
}
body .showcase-portfolio .clapat-item:not(.blackin-x) .slide-inner .slide-caption .slide-date,
body .showcase-portfolio .clapat-item:not(.blackin-x) .slide-inner .slide-caption .slide-icon { display: none; }
@media only screen and (max-width: 767px) {
  body .showcase-portfolio .clapat-item:not(.blackin-x) .slide-inner .slide-caption { min-height: 96px; padding-bottom: 18px; }
}


/* Contact form: an optional file, and the answer under the button */
.file-box { float: left; clear: both; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 40px 0 28px; text-align: center; }
.link-box { position: relative; float: left; clear: both; width: 100%; margin: 0 0 20px; }
.link-box input { text-align: center; padding-right: 0; }
.link-box .input_label { left: 50%; transform: translateX(-50%); }
.link-box + .contact-consent { clear: both; }
.file-pick { color: #f5f4f2; position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; cursor: pointer; }
.file-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-button { padding: 10px 22px; border: 1px solid currentColor; border-radius: 40px; font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.file-pick:hover .file-button { background: #f5f4f2; color: #0c0c0c; }
.file-pick input:focus-visible + .file-button { outline: 2px solid #c99e80; outline-offset: 3px; }
.file-name { font-size: 14px; line-height: 1.4; color: #c9c7c3; overflow-wrap: anywhere; }
.file-clear { flex: none; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.form-status { clear: both; margin: 22px 0 0; font-size: 15px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-error { color: #e3a689; }

/* the message box grows with the text; the white focus line follows its foot */
form.contact-send textarea { min-height: 50px; overflow: hidden; line-height: 1.6; }
form.contact-send .message-box .input_label { top: auto; bottom: 40px; }

/* Contact: the world map: today's daylight, the two studios and their reach */
.world-map { position: relative; overflow: hidden; background: #0c0c0c; }
.world-map .world-map-art { display: block; width: 100%; height: auto; }
.world-map .map-label { position: absolute; margin: 0; transform: translateY(-50%); line-height: 1.35; color: #f5f4f2; pointer-events: none; white-space: nowrap; }
.world-map .map-name { display: block; font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.world-map .office-time { display: block; font-size: 13px; color: #c99e80; }
.world-map .map-london { right: calc(100% - 48.37% + 1.8%); top: 17.37%; text-align: right; }
.world-map .map-bucharest { left: calc(56.72% + 2.4%); top: 23.36%; }
.world-map-row { position: relative; }
/* phones and tablets: the words lie over the foot of the map, away from the studios, on a soft fade */
@media (max-width: 1099px) {
  .world-map-row { padding-top: 48px; }
  .world-caption { position: absolute; z-index: 2; bottom: 22px; left: 0; right: 0; padding: 0 20px; }
  .world-map::before { content: ''; position: absolute; z-index: 1; inset: auto 0 0; height: 45%; background: linear-gradient(rgba(12, 12, 12, 0), rgba(12, 12, 12, .85)); pointer-events: none; }
}
@media (min-width: 768px) and (max-width: 1099px) { .world-caption { bottom: 6%; padding: 0 4%; } }
.world-caption { color: #f5f4f2; }
.world-caption p { margin: 0; }
.world-caption .world-title { color: #f5f4f2; }
.world-eyebrow { font-size: 11px; line-height: 1.6; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #c99e80; }
.world-title { margin-top: 14px !important; font-size: clamp(22px, 2.3vw, 36px); font-weight: 600; line-height: 1.15; }
@media (max-width: 767px) {
  .world-map .world-map-art { width: 240%; max-width: none; margin-left: -76%; }
  .world-map .map-name { font-size: 12px; }
  .world-map .office-time { font-size: 11px; }
  .world-map .map-london { right: calc(100% - 40.1% + 4%); }
  .world-map .map-bucharest { left: calc(60% + 4%); }
}

/* wide screens: the words sit on the ocean at the bottom left of the map */
@media (min-width: 1100px) {
  .world-caption { position: absolute; z-index: 2; left: 3%; bottom: 8%; padding: 0; white-space: nowrap; }
  .world-caption .world-eyebrow { font-size: 10px; letter-spacing: .16em; }
  .world-caption .world-title { font-size: clamp(20px, 1.6vw, 28px); }
}
@media (max-width: 767px) { .link-box input { font-size: 15px; } }
/* the moving lights of the world map, on their own layer over the still picture */
.world-map .world-map-motion { position: absolute; top: 0; left: 0; pointer-events: none; will-change: transform; }


/* Project pages: the renders whole, edge to edge with a thin gap */
.project-gallery { --pg-gap: 10px; --pg-cols: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--pg-gap); width: 100%; }
.project-gallery .pg-item { flex: none; width: calc((100% - (var(--pg-cols) - 1) * var(--pg-gap)) / var(--pg-cols)); }
.project-gallery .pg-item { display: block; position: relative; padding: 0; margin: 0; border: 0; background: #151515; overflow: hidden; cursor: zoom-in; }
.project-gallery .pg-item img { display: block; width: 100%; height: auto; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease-out; }
.project-gallery .pg-item:hover img { transform: scale(1.03); }
.project-gallery .pg-item:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.5); outline-offset: 3px; }
@media only screen and (max-width: 1024px) { .project-gallery { --pg-cols: 2; --pg-gap: 8px; } }
@media only screen and (max-width: 767px) { .project-gallery { --pg-gap: 6px; } }
/* renders on their side run the full width; upright ones sit three (two on a phone) to a row */
.project-gallery .pg-item.pg-wide { width: 100%; }
/* a short last row of upright renders sits in the middle */
/* On a phone each three upright renders read as one large and two beside each other; one left over goes large too */
@media only screen and (max-width: 767px) {
  .project-gallery .pg-item.pg-t1, .project-gallery .pg-item.pg-solo { width: 100%; }
}

/* The viewer: the picture in the middle at full height, the ones before and after touching it, smoky */
html.pg-open .contact-button, html.pg-open .cookie-banner { display: none; }
/* the site's cursor stays above the viewer and tells where a click goes */
html.pg-open #magic-cursor { z-index: 2147483001; }
#ball p.pg-ball-text { font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; }
.pg-viewer { position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; background: #0c0c0c; opacity: 0; transition: opacity 0.3s ease-out; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pg-viewer.is-open { opacity: 1; }
.pg-track { position: absolute; left: 0; display: flex; align-items: center; will-change: transform; }
.pg-track.is-moving { transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.pg-slide { display: block; flex: none; max-width: none; max-height: none; object-fit: contain; background: #151515; transition: filter 0.45s ease-out; }
.pg-slide.is-side { filter: brightness(0.32) saturate(0.7); }
.pg-viewer .pg-slide:not(.is-side) { transform: scale(0.97); transition: filter 0.45s ease-out, transform 0.45s ease-out; }
.pg-viewer.is-open .pg-slide:not(.is-side) { transform: scale(1); }
.pg-viewer button { padding: 0; border: 0; background: none; color: #fff; font: 500 14px/1 'Poppins', sans-serif; cursor: pointer; }
/* Close: the site's rounded outline button, its word rolling up on hover */
.pg-close { position: absolute; top: 28px; right: 40px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 22px !important; border: 2px solid #fff !important; border-radius: 30px; transition: background-color 0.2s ease-out, color 0.2s ease-out; }
.pg-close-text { display: block; height: 20px; overflow: hidden; line-height: 20px; }
.pg-close-text span { position: relative; display: inline-block; transition: transform 0.2s; }
.pg-close-text span::before { content: attr(data-hover); position: absolute; top: 100%; left: 0; }
.pg-close i { font: 300 22px/20px 'Poppins', sans-serif; font-style: normal; }
/* filled only under the mouse */
.pg-close:hover { background: #fff !important; color: #0c0c0c !important; }
.pg-close:hover .pg-close-text span { transform: translateY(-100%); }
.pg-viewer .pg-close:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 4px; }
.pg-viewer:focus { outline: none; }
.pg-count { position: absolute; left: 40px; top: 40px; margin: 0; color: rgba(255, 255, 255, 0.75); font: 500 14px/20px 'Poppins', sans-serif; font-variant-numeric: tabular-nums; }
/* Arrows: on a phone, small at the screen's edges; on a computer only for the keyboard */
.pg-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.pg-prev { left: 10px; }
.pg-next { right: 10px; }
.pg-arrow:focus-visible { opacity: 1; pointer-events: auto; outline: 2px solid #fff; outline-offset: 2px; }
.pg-arrow:disabled { visibility: hidden; }
@media (hover: none), only screen and (max-width: 767px) {
  .pg-arrow { opacity: 0.9; pointer-events: auto; background: rgba(12, 12, 12, 0.35); }
}
@media only screen and (max-width: 767px) {
  .pg-close { top: 20px; right: 20px; height: 40px; padding: 0 14px 0 18px !important; }
  .pg-count { left: 20px; top: 30px; }
  .pg-prev { left: 4px; }
  .pg-next { right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-viewer, .pg-track.is-moving, .pg-slide, .project-gallery .pg-item img, .pg-close-text span { transition: none; }
  .pg-viewer .pg-slide:not(.is-side) { transform: none; }
}

/* Cookie notice in the site's language: a dark rounded panel, the site's rounded buttons with their rolling word */
.cookie-banner { align-items: center; max-width: 820px; padding: 18px 18px 18px 30px; border-radius: 40px; background: #0c0c0c; box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35); }
.cookie-actions { gap: 10px; }
.cookie-actions button { height: 44px; min-height: 0; padding: 0 22px; border: 2px solid #f5f4f2; border-radius: 30px; background: transparent; color: #f5f4f2; font: 500 14px/20px 'Poppins', sans-serif; transition: background-color 0.2s ease-out, color 0.2s ease-out; }
.cookie-actions button:last-child { background: #f5f4f2; color: #0c0c0c; }
.cookie-roll { display: block; height: 20px; overflow: hidden; }
.cookie-roll span { position: relative; display: inline-block; transition: transform 0.2s; }
.cookie-roll span::before { content: attr(data-hover); position: absolute; top: 100%; left: 0; }
.cookie-actions button:hover .cookie-roll span, .cookie-actions button:focus-visible .cookie-roll span { transform: translateY(-100%); }
.cookie-actions button:first-child:hover { background: #f5f4f2; color: #0c0c0c; }
.cookie-actions button:last-child:hover { background: transparent; color: #f5f4f2; }
@media only screen and (max-width: 767px) {
  .cookie-banner { right: 12px; bottom: 12px; left: 12px; padding: 18px 20px; border-radius: 24px; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cookie-roll span { transition: none; } }
.showcase-portfolio.is-switching { pointer-events: none; }

/* The plan in the gallery: a small map in a corner of the full-screen view that grows under the mouse or a tap */
.pg-map { position: absolute; right: 40px; bottom: 40px; z-index: 3; width: calc(150px * var(--wide, 1)); padding: 8px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: rgba(12, 12, 12, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.pg-map.is-big { width: min(calc(440px * var(--wide, 1)), 56vw); cursor: default; }
.pg-map-box { position: relative; width: 100%; aspect-ratio: var(--ratio, 1); }
.pg-map-box img, .pg-map-box svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg-map-box img { opacity: 0.92; user-select: none; -webkit-user-drag: none; }
.pg-map-box svg { overflow: visible; }
.pg-map-room { fill: transparent; transition: fill 0.3s; }
.pg-map-room.is-here { fill: rgba(201, 166, 122, 0.14); }
.pg-map-label { fill: rgba(236, 230, 218, 0.8); font: 500 30px 'Poppins', sans-serif; letter-spacing: 2px; text-transform: uppercase; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.pg-map.is-big .pg-map-label { opacity: 1; }
.pg-map-cam { cursor: pointer; }
.pg-map-icon { fill: none; stroke: rgba(236, 230, 218, 0.7); stroke-width: 2.5; stroke-linejoin: round; opacity: 0; transition: opacity 0.25s, fill 0.25s, stroke 0.25s; }
.pg-map.is-big .pg-map-icon { opacity: 1; }
.pg-map.is-big .pg-map-cam:hover .pg-map-icon { stroke: #c9a67a; }
.pg-map-cam.is-on .pg-map-icon { opacity: 0 !important; }
.pg-map-view { pointer-events: none; }
.pg-map-field { fill: rgba(201, 166, 122, 0.3); stroke: rgba(201, 166, 122, 0.85); stroke-width: 2; stroke-linejoin: round; }
.pg-map-eye { fill: #c9a67a; stroke: #0c0c0c; stroke-width: 3; stroke-linejoin: round; pointer-events: none; }
.pg-map.is-editing { width: min(calc(620px * var(--wide, 1)), 62vw); bottom: 20px; right: 20px; cursor: crosshair; }
.pg-map.is-editing svg { touch-action: none; }
.pg-map.is-editing .pg-map-icon { opacity: 1; }
.pg-map-edit { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; color: #ece6da; font: 400 12px/1.4 'Poppins', sans-serif; }
.pg-map-edit p { flex-basis: 100%; margin: 0; color: #ece6da !important; font: inherit !important; }
.pg-map-edit button { padding: 6px 12px !important; border: 1px solid rgba(255, 255, 255, 0.3) !important; border-radius: 20px; color: #ece6da; font: inherit; cursor: pointer; }
.pg-map-copy { background: #ece6da !important; color: #0c0c0c !important; }
@media (max-width: 767px) {
  .pg-map { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: calc(104px * var(--wide, 1)); padding: 6px; border-radius: 12px; }
  .pg-map.is-big { width: min(88vw, 420px); }
  .pg-map.is-editing { width: calc(100vw - 24px); }
}
