/* Cambielli Nigeria - /your-space/ candidate 2026-11-06.
   Editorial sections. Mobile first: 360 / 390 / 430, then 1280 / 1440.
   Self contained: no dependency on the published marazzi.*.css bundle. */

@font-face{font-family:CNInstrument;src:url('./fonts/instrument-sans-var-latin.woff2') format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:CNBricolage;src:url('./fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}

:root{
  --ink:#1b1a18;
  --ink-soft:#5f5a53;
  --paper:#fbf9f4;
  --paper-warm:#f4f1ea;
  --line:#e4dfd6;
  --accent:#762740;
  --accent-deep:#5d2033;
  --dark:#17150f;
  --bar-h:54px;
  --edge:16px;
  --editorial:clamp(26px,7.2vw,34px);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.cn{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:CNInstrument,-apple-system,Segoe UI,Arial,sans-serif;
  font-size:15px;line-height:1.6;
  overflow-x:hidden;
}
body.cn img{display:block;max-width:100%}
body.cn [hidden]{display:none!important}
.cn-wrap{max-width:1180px;margin:0 auto;padding:0 var(--edge)}

.cn-skip{position:absolute;left:-9999px;top:0;z-index:60;background:#fff;color:var(--ink);padding:12px 16px}
.cn-skip:focus{left:8px;top:8px}
body.cn :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#main:focus{outline:none}

/* ---------- Brand banner ---------- */
.cn-bar{
  position:sticky;top:0;z-index:40;height:var(--bar-h);
  background:#fff;border-bottom:1px solid var(--line);
}
.cn-bar__inner{
  display:flex;align-items:center;gap:10px;height:100%;
  max-width:1180px;margin:0 auto;padding:0 var(--edge);
}
.cn-brand{display:flex;align-items:baseline;gap:5px;text-decoration:none;color:#000}
.cn-brand__name{font-family:CNBricolage,Arial,sans-serif;font-size:17px;letter-spacing:-.025em;line-height:1}
.cn-brand__country{font-size:9.5px;letter-spacing:.17em;text-transform:uppercase;color:#000;line-height:1}
.cn-bar__rule{width:1px;height:17px;background:var(--line)}
.cn-bar__partner{display:flex;align-items:center;gap:7px;color:#000;min-width:0}
.cn-marazzi{width:68px;height:auto;flex:0 0 auto}
.cn-bar__partner-sub{display:none}
/* On a phone the banner stays pure brand: the hero CTA is immediately below it
   and the sticky CTA takes over on scroll, so a header button would only crowd
   the Marazzi mark. */
.cn-bar__cta{
  display:none;
  margin-left:auto;flex:0 0 auto;text-decoration:none;
  font-size:11.5px;font-weight:600;letter-spacing:.01em;
  color:#fff;background:var(--accent);
  padding:9px 12px;border-radius:7px;white-space:nowrap;
}
.cn-bar__cta:hover{background:var(--accent-deep)}

/* ---------- 1. Hero ----------
   On a phone a 16:9 room photograph cannot be cropped vertically inside a tall
   container, so an overlay would always land on the floor, which is the one
   thing the page is selling. The copy therefore sits in its own band below the
   image, bleeding into it through a short gradient. Wide screens have the room
   for a true overlay and use one. */
.cn-hero{
  position:relative;isolation:isolate;background:var(--dark);
  min-height:calc(100svh - var(--bar-h));
  display:grid;grid-template-rows:minmax(170px,1fr) auto;
}
.cn-hero__img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:50% 50%}
.cn-hero__scrim{display:none}
.cn-hero__copy{
  position:relative;z-index:2;width:100%;background:var(--dark);
  padding:14px var(--edge) calc(18px + env(safe-area-inset-bottom));
  color:#fff;max-width:640px;
}
.cn-hero__copy::before{
  content:'';position:absolute;left:0;right:0;bottom:100%;height:96px;pointer-events:none;
  background:linear-gradient(to bottom,rgba(23,21,15,0),rgba(23,21,15,.7) 58%,var(--dark));
}
.cn-hero__title{
  font-family:CNBricolage,Arial,sans-serif;font-weight:600;
  font-size:clamp(27px,7.9vw,36px);line-height:1.08;letter-spacing:-.035em;
  margin:0 0 12px;text-wrap:balance;
}
.cn-hero__lead{
  margin:0 0 9px;font-size:13.5px;line-height:1.55;color:rgba(255,255,255,.9);max-width:46ch;
}
.cn-hero__lead--second{color:rgba(255,255,255,.98)}
.cn-cta{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:50px;padding:14px 22px;margin-top:14px;
  background:var(--accent);color:#fff;text-decoration:none;
  font-size:15px;font-weight:600;letter-spacing:.005em;border-radius:9px;
  box-shadow:0 10px 26px rgba(10,8,6,.26);
}
.cn-cta:hover{background:var(--accent-deep)}
.cn-cta--block{display:flex;width:100%}

/* ---------- Editorial typography ---------- */
.cn-editorial{
  font-family:CNBricolage,Arial,sans-serif;font-weight:600;
  font-size:var(--editorial);line-height:1.1;letter-spacing:-.035em;
  margin:0 0 14px;text-wrap:balance;
}
.cn-editorial--inverse{color:#fff}
.cn-editorial__body{margin:0;font-size:15px;line-height:1.65;color:var(--ink-soft);max-width:52ch}

/* ---------- 2. Gallery ---------- */
.cn-gallery{padding:56px 0 48px}
/* Equal, explicit row heights keep the asymmetric grid tidy without per-tile
   aspect maths. An author height also has to beat the UA presentational hint
   that the width/height HTML attributes create. */
.cn-gallery__grid{
  list-style:none;margin:26px auto 0;padding:0 var(--edge);
  display:grid;grid-template-columns:1fr 1fr;gap:6px;
  grid-auto-rows:clamp(140px,44vw,190px);max-width:1180px;
}
.cn-tile{overflow:hidden;border-radius:4px;background:var(--paper-warm);min-width:0}
.cn-gallery__grid .cn-tile--tall{grid-column:span 2;grid-row:span 2}
.cn-gallery__grid .cn-tile img{width:100%;height:100%;object-fit:cover;object-position:50% 58%}
.cn-signature{
  font-family:CNBricolage,Arial,sans-serif;font-weight:600;
  font-size:clamp(21px,5.6vw,26px);line-height:1.2;letter-spacing:-.03em;
  margin:34px 0 0;color:var(--accent);text-wrap:balance;
}

/* ---------- 3. The mistake ---------- */
.cn-mistake{background:var(--dark);padding:60px 0}
.cn-mistake__line{
  font-family:CNBricolage,Arial,sans-serif;font-weight:600;
  font-size:clamp(18px,4.8vw,22px);line-height:1.25;letter-spacing:-.025em;
  margin:0 0 18px;color:rgba(255,255,255,.72);text-wrap:balance;
}
.cn-mistake__body{margin:0 0 10px;font-size:15px;line-height:1.7;color:rgba(255,255,255,.62);max-width:50ch}

/* ---------- 4. The visit ---------- */
.cn-visit{padding:56px 0 48px}
.cn-visit__line{
  font-family:CNBricolage,Arial,sans-serif;font-weight:600;
  font-size:clamp(18px,4.6vw,21px);line-height:1.3;letter-spacing:-.025em;
  margin:0 0 8px;color:var(--ink);text-wrap:balance;
}
.cn-visit__line+.cn-visit__line{margin-bottom:16px}
.cn-visit__media{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:26px auto 0;padding:0 var(--edge);max-width:1180px}
.cn-visit__media figure{margin:0}
.cn-visit__media .cn-tile--dominant{grid-column:span 2}
.cn-visit__media img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.cn-visit__media .cn-tile--dominant img{aspect-ratio:4/3}

/* ---------- 5. Request ---------- */
.cn-request{background:var(--paper-warm);border-top:1px solid var(--line);padding:52px 0 64px;scroll-margin-top:var(--bar-h)}
.cn-request__intro{margin-bottom:26px}

/* ---------- Footer ---------- */
.cn-foot{background:#fff;border-top:1px solid var(--line);padding:40px 0 calc(100px + env(safe-area-inset-bottom))}
.cn-foot__inner{display:grid;gap:30px}
.cn-brand--foot{margin-bottom:12px}
.cn-foot__line{margin:0 0 12px;font-size:13px;line-height:1.6;color:var(--ink-soft);max-width:34ch}
.cn-foot__site,.cn-foot__address a{font-size:13px;color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.cn-foot__address{font-style:normal;display:grid;gap:3px;font-size:13px;line-height:1.6;color:var(--ink-soft)}
.cn-foot__address strong{color:var(--ink);font-weight:600}
.cn-foot__label{font-size:9.5px;letter-spacing:.17em;text-transform:uppercase;color:#8d8679;margin-bottom:7px}
.cn-foot__address a{justify-self:start;margin-top:8px}

/* ---------- Cookie preferences, in the footer ----------
   The shared measurement loader injects its consent reopen control as a fixed,
   floating button pinned to the bottom-left of the viewport, where it covers
   page content and, on a phone, the questionnaire's own controls.
   cookie-settings.mjs moves that exact node into .cn-foot__cookie; these rules
   give it a footer appearance.

   The !important declarations are not decoration: the provider sets position,
   offsets, z-index, colours and font in an INLINE style attribute, and an
   inline style can only be overridden this way. The node itself is left
   untouched, so its listeners and the consent mechanism behind it stay exactly
   as shipped. Every rule is scoped to the slot, so no other button is reached.
   The slot collapses while empty, so a blocked loader leaves no gap. */
.cn-foot__cookie:empty{display:none}
.cn-foot__cookie{display:flex;margin-top:16px}
.cn-foot__cookie>button{
  position:static!important;inset:auto!important;z-index:auto!important;
  display:inline-flex;align-items:center;justify-content:center;
  margin:0;min-height:44px;padding:11px 15px;
  background:#fff!important;color:var(--ink-soft)!important;
  border:1px solid var(--line)!important;border-radius:9px!important;
  font:600 12.5px/1.4 CNInstrument,-apple-system,Segoe UI,Arial,sans-serif!important;
  letter-spacing:.01em;cursor:pointer;
}
.cn-foot__cookie>button:hover{border-color:#b5aea1!important;color:var(--ink)!important}
.cn-foot__cookie>button:active{background:#f6f3ec!important}

/* ---------- Sticky mobile CTA ---------- */
.cn-sticky{
  position:fixed;left:0;right:0;bottom:0;z-index:35;
  padding:10px var(--edge) calc(10px + env(safe-area-inset-bottom));
  background:rgba(251,249,244,.93);backdrop-filter:blur(10px);
  border-top:1px solid var(--line);
}
.cn-sticky .cn-cta{margin-top:0;box-shadow:none}
@media(min-width:900px){.cn-sticky{display:none!important}}

/* ---------- Reveal ---------- */
/* Reveal only when JS is present, so a script failure never hides copy. */
@media(prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  html.js [data-reveal]{opacity:0;transform:translateY(10px);transition:opacity .5s ease-out,transform .5s ease-out}
  html.js [data-reveal].is-in{opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce){
  html.js [data-reveal]{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
}

/* ---------- Wider screens ---------- */
@media(min-width:600px){
  :root{--edge:24px;--bar-h:62px}
  body.cn{font-size:16px}
  .cn-bar__partner-sub{display:inline;font-size:9.5px;letter-spacing:.15em;text-transform:uppercase;color:#4a453d}
  .cn-marazzi{width:84px}
  .cn-bar__cta{display:inline-flex;font-size:13px;padding:11px 16px}
  .cn-hero__copy{padding-bottom:40px}
  .cn-hero__lead{font-size:15px}
  .cn-gallery__grid{gap:8px;grid-auto-rows:clamp(170px,26vw,230px)}
  .cn-visit__media{gap:8px}
  .cn-visit__media .cn-tile--dominant img{aspect-ratio:16/10}
}
@media(min-width:900px){
  .cn-gallery,.cn-visit{padding:92px 0 80px}
  .cn-mistake{padding:104px 0}
  .cn-request{padding:88px 0 104px}
  /* Wide screens: a real overlay on the lower band of the image. */
  .cn-hero{display:block}
  .cn-hero__img{position:absolute;inset:0;z-index:0}
  .cn-hero__scrim{
    display:block;position:absolute;inset:0;z-index:1;
    background:linear-gradient(to bottom,
      rgba(14,12,10,.2) 0%,
      rgba(14,12,10,.04) 24%,
      rgba(14,12,10,.38) 54%,
      rgba(14,12,10,.8) 82%,
      rgba(14,12,10,.92) 100%);
  }
  .cn-hero__copy{
    position:absolute;left:0;right:0;bottom:0;
    background:none;padding-bottom:64px;max-width:720px;
  }
  .cn-hero__copy::before{display:none}
  .cn-editorial__body{font-size:17px}
  /* Three columns, five tiles: a 2-span opener plus one, then a row of three. */
  .cn-gallery__grid{grid-template-columns:repeat(3,1fr);gap:10px;grid-auto-rows:clamp(240px,21vw,310px)}
  .cn-gallery__grid .cn-tile--tall{grid-column:span 2;grid-row:span 1}
  /* Four columns: the dominant view, then two equal details. */
  .cn-visit__media{grid-template-columns:repeat(4,1fr);gap:10px}
  .cn-visit__media .cn-tile--dominant{grid-column:span 4}
  .cn-visit__media figure:not(.cn-tile--dominant){grid-column:span 2}
  .cn-visit__media .cn-tile--dominant img{aspect-ratio:21/9}
  .cn-visit__media figure:not(.cn-tile--dominant) img{aspect-ratio:16/11}
  .cn-foot__inner{grid-template-columns:1fr auto;gap:60px}
  .cn-foot{padding:56px 0 56px}
  .cn-request__intro{margin-bottom:34px}
}
@media(min-width:1200px){
  :root{--edge:40px}
  .cn-hero__title{font-size:50px;line-height:1.04}
  .cn-hero__lead{font-size:16px}
  .cn-mistake__inner{max-width:860px}
}
