@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/bricolage-grotesque-latin-variable.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('assets/hanken-grotesk-latin-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ns-ink: #171614;
  --ns-cream: #f8f3eb;
  --ns-sand: #eae0d1;
  --ns-red: #d7200e;
  --ns-red-hover: #b8190b;
  --ns-sans: 'Hanken Grotesk', Arial, sans-serif;
  --ns-heading: 'Bricolage Grotesque', var(--ns-sans);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
.ns-page { margin: 0; color: var(--ns-ink); background: var(--ns-cream); font: 400 1rem/1.4 var(--ns-sans); }
.ns-page img { display: block; max-width: 100%; }
.ns-page a { color: inherit; }
.ns-page h1, .ns-page h2, .ns-page p, .ns-page figure { margin: 0; }
.ns-page p { max-inline-size: 60ch; }
.ns-page a:focus-visible, .ns-page summary:focus-visible { outline: 2px solid var(--ns-red); outline-offset: 4px; }
.ns-page :is(section, main) { scroll-margin-top: 1.5rem; }

.ns-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ns-skip {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  border-radius: 1rem;
  background: white;
  transform: translateY(-180%);
}

.ns-skip:focus { transform: translateY(0); }
.ns-shell { width: min(100% - clamp(2.625rem, 6.4vw, 6rem), 88rem); margin: 0 auto; padding-top: clamp(1rem, 1.6vw, 1.625rem); }

.ns-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.5rem, 2vw, 1.5rem);
  min-height: clamp(3.5rem, 5.1vw, 4.5rem);
  padding: .275rem clamp(.875rem, 1.8vw, 1.65rem);
  border: 1px solid #bfb4a7;
  border-radius: 5rem;
}

.ns-logo { display: block; flex: 0 0 auto; width: clamp(11rem, 21vw, 18rem); }
.ns-logo img { width: 100%; height: auto; }
.ns-desktop-nav { display: flex; align-items: center; gap: clamp(.875rem, 3.1vw, 3.2rem); }
.ns-desktop-nav a { padding: .55rem 0; font-size: clamp(.875rem, 1.4vw, 1.125rem); font-weight: 700; text-decoration: none; }
.ns-desktop-nav a:hover, .ns-mobile-menu nav > a:not(.ns-button):hover { color: var(--ns-red); }
.ns-mobile-menu { display: none; }

.ns-page .ns-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .65em;
  min-height: 44px;
  padding: .62em 1.25em;
  border: 1px solid transparent;
  border-radius: 4rem;
  background: var(--ns-red);
  color: #fff;
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.15;
  text-decoration: none;
  text-align: center;
  transition: background-color 160ms, color 160ms;
}

.ns-page .ns-button:hover { background: var(--ns-red-hover); }
.ns-page .ns-header-quote { font-size: clamp(.875rem, 1.33vw, 1.05rem); }
.ns-arrow { flex: none; font: 500 1.35em/.7 var(--ns-sans); }
.ns-text-link { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; font-weight: 790; text-decoration: none; }
.ns-text-link span:first-child { text-decoration: underline; text-underline-offset: .27em; }
.ns-page .ns-text-link:hover { color: var(--ns-red); }

.ns-hero {
  display: grid;
  grid-template-columns: minmax(0, .625fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: clamp(1.125rem, 1.9vw, 1.875rem);
}

.ns-hero-copy { padding-inline-start: clamp(0rem, .9vw, 1rem); }
.ns-page .ns-eyebrow { margin-bottom: clamp(.65rem, 1.15vw, 1.15rem); color: var(--ns-red); font-size: clamp(.875rem, 1.5vw, 1.125rem); font-weight: 840; text-transform: uppercase; }
.ns-page h1 { font: 800 clamp(2.35rem, 4.5vw, 4.5rem)/1.02 var(--ns-heading); letter-spacing: -.045em; text-wrap: balance; }
.ns-hero h1 em { display: block; }
.ns-hero h1 em { color: var(--ns-red); font-style: normal; }
.ns-page .ns-hero-description { margin-top: clamp(.85rem, 1.4vw, 1.25rem); max-width: 30ch; font-size: clamp(1rem, 1.75vw, 1.45rem); line-height: 1.23; }
.ns-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(.65rem, 1.15vw, 1.25rem); margin-top: clamp(.75rem, 1.75vw, 1.5rem); }
.ns-hero-actions :is(.ns-button, .ns-text-link) { font-size: clamp(.875rem, 1.45vw, 1.115rem); }
.ns-hero-figure { min-width: 0; }
.ns-compare {
  --ns-position: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.58;
  border-radius: clamp(2.3rem, 7vw, 6.5rem);
  background: #a38262;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.ns-compare[data-ready] { cursor: ew-resize; }
.ns-compare > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ns-compare-before { clip-path: inset(0 calc(100% - var(--ns-position)) 0 0); }
.ns-compare-line { position: absolute; inset-block: 0; left: var(--ns-position); width: 3px; transform: translateX(-50%); background: #fff; pointer-events: none; }
.ns-compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  color: var(--ns-ink);
  box-shadow: 0 2px 9px #14100d45;
}

.ns-compare:not([data-ready]) .ns-compare-handle { display: none; }
.ns-compare:has(input:focus-visible) .ns-compare-handle { outline: 3px solid var(--ns-red); outline-offset: 3px; }
.ns-compare-input { inset: 50%; pointer-events: none; }
.ns-compare-label {
  position: absolute;
  bottom: clamp(.8rem, 2.7vw, 2.3rem);
  padding: .42em 1.13em;
  border-radius: 2rem;
  background: #21160dda;
  color: #fff;
  font-size: clamp(.76rem, 1.4vw, 1rem);
  font-weight: 830;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.ns-compare-label-before { left: clamp(.85rem, 2.8vw, 2.4rem); }
.ns-compare-label-after { right: clamp(.85rem, 2.8vw, 2.4rem); }
.ns-compare[data-show-before='false'] .ns-compare-label-before,
.ns-compare[data-show-after='false'] .ns-compare-label-after { visibility: hidden; }
.ns-figcaption { margin: .32rem 1.1rem 0; color: #60564d; font-size: .78rem; text-align: right; }

.ns-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(.9rem, 1.8vw, 1.5rem) 0 0;
  padding: clamp(.65rem, 1.12vw, 1rem) .75rem;
  border-radius: 3rem;
  background: var(--ns-sand);
  list-style: none;
}

.ns-benefits li { display: flex; justify-content: center; align-items: center; gap: clamp(.35rem, 1.2vw, 1rem); padding-inline: .35rem; font-size: clamp(.85rem, 1.55vw, 1.1rem); font-weight: 620; }
.ns-benefits li + li { border-inline-start: 1px solid #c3b8a9; }
.ns-benefits svg { flex: 0 0 auto; width: clamp(1.35rem, 2.9vw, 2.1rem); height: auto; }

.ns-section { margin-top: clamp(1.18rem, 2.1vw, 2rem); }
.ns-page h2 { font: 800 clamp(1.75rem, 3.55vw, 3.75rem)/1.04 var(--ns-heading); letter-spacing: -.035em; text-wrap: balance; }
.ns-installation {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  grid-template-areas: 'photo copy';
  align-items: center;
  gap: clamp(1.5rem, 4.6vw, 4.5rem);
  padding: clamp(1rem, 2.3vw, 2rem);
  border-radius: clamp(1.5rem, 4.5vw, 4.25rem);
  background: var(--ns-sand);
}

.ns-installation-copy { grid-area: copy; padding: .35rem clamp(0rem, 1vw, .8rem) .35rem 0; }
.ns-installation-media { grid-area: photo; overflow: hidden; border-radius: clamp(1rem, 3.4vw, 3.1rem); background: #9d896d; }
.ns-installation-media img { width: 100%; height: auto; aspect-ratio: 1.16; object-fit: cover; object-position: 50% 44%; }
.ns-page .ns-installation-description { margin-top: 1rem; max-width: 40ch; font-size: clamp(1rem, 1.45vw, 1.2rem); }
.ns-installation-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; margin: 1.15rem 0 1.3rem; padding: 0; list-style: none; }
.ns-installation-list li { display: flex; align-items: baseline; gap: .65rem; font-size: clamp(.92rem, 1.45vw, 1.08rem); font-weight: 700; line-height: 1.2; }
.ns-installation-list li::before { content: ''; flex: none; width: .7rem; height: .43rem; border-bottom: 2px solid var(--ns-red); border-left: 2px solid var(--ns-red); transform: translateY(-.17em) rotate(-45deg); }

.ns-service-grid, .ns-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.55rem, 1.5vw, 1.35rem); margin-top: clamp(.75rem, 1.6vw, 1.4rem); }
.ns-service-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1fr); }
.ns-service-card, .ns-project-grid a { position: relative; display: block; overflow: hidden; min-width: 0; min-height: 44px; border-radius: clamp(.85rem, 3vw, 2.6rem); background: #c7ae91; text-decoration: none; }
.ns-service-card { aspect-ratio: 1.55; }
.ns-service-card img, .ns-project-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 200ms; }
.ns-service-card:hover img, .ns-project-grid a:hover img { transform: scale(1.035); }
.ns-card-pill {
  position: absolute;
  left: .8rem;
  bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .6em;
  max-width: calc(100% - 1.6rem);
  padding: .34em .8em .4em;
  border-radius: 3rem;
  background: var(--ns-cream);
  font: 800 clamp(.95rem, 1.5vw, 1.25rem)/1.1 var(--ns-heading);
  letter-spacing: -.025em;
}

.ns-card-pill > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.ns-card-pill .ns-arrow { color: var(--ns-red); }
.ns-textures {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: clamp(.8rem, 2vw, 1.6rem);
  margin-inline: clamp(-1.1rem, -1.2vw, -.35rem);
  padding: clamp(1rem, 2.5vw, 2.25rem);
  border-radius: clamp(1.65rem, 5vw, 4.5rem);
  background: var(--ns-sand);
}

.ns-page .ns-button-outline { justify-self: end; border-color: var(--ns-ink); background: transparent; color: var(--ns-ink); }
.ns-page .ns-button-outline:hover { background: var(--ns-ink); color: var(--ns-cream); }
.ns-texture-grid { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.3rem, .95vw, .8rem); }
.ns-texture-grid a { display: block; min-width: 0; text-decoration: none; font: 800 clamp(.95rem, 1.7vw, 1.28rem)/1.12 var(--ns-heading); letter-spacing: -.025em; }
.ns-texture-grid img { width: 100%; height: auto; aspect-ratio: 1.28; object-fit: cover; border-radius: 34% 34% 11% 11% / 42% 42% 14% 14%; }
.ns-texture-grid a span { display: block; margin: .38em .35em 0; overflow-wrap: anywhere; }
.ns-texture-grid a:hover span { color: var(--ns-red); }

.ns-section-heading { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.ns-page .ns-projects-link { color: var(--ns-red-hover); text-align: right; }
.ns-projects-link .ns-arrow { display: grid; place-items: center; width: 1.65em; height: 1.65em; border: 1px solid; border-radius: 50%; }
.ns-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ns-project-grid a { aspect-ratio: 2.75; }
.ns-project-grid a:nth-child(2) { background: #4f4c44; }

.ns-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: clamp(.85rem, 1.4vw, 1.2rem) -.55rem 0;
  padding: clamp(1rem, 1.8vw, 1.7rem) clamp(1.25rem, 4vw, 4rem);
  border-radius: 5rem;
  background: linear-gradient(105deg, #292624 0%, #221e1bf5 62%, #31201573 100%), url('assets/fini-bois.webp') right center / 46% auto no-repeat #25211f;
  color: #fffaf4;
}

.ns-contact .ns-button { flex: none; }
.ns-contact a:focus-visible { outline-color: #fff; }
.ns-footer { display: flex; justify-content: space-between; gap: .5rem; margin: .6rem .55rem 0; padding: .45rem .15rem .85rem; border-top: 1px solid #8f8376; font-size: clamp(.82rem, 1.4vw, 1rem); }
.ns-footer a { text-decoration: none; white-space: nowrap; }
.ns-footer a:hover { text-decoration: underline; }

@media (min-width: 48rem) and (max-width: 64rem) {
  .ns-hero { grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); }
  .ns-page h1 { font-size: clamp(2.1rem, 4.35vw, 2.9rem); }
  .ns-hero-actions .ns-button { padding-inline: .82rem; }
}

@media (max-width: 47.99rem) {
  .ns-shell { width: calc(100% - 2rem); max-width: 35rem; padding-top: .55rem; }
  .ns-header { min-height: 52px; padding: .16rem .55rem .16rem .95rem; }
  .ns-logo { width: clamp(10.25rem, 49vw, 15rem); }
  .ns-desktop-nav, .ns-page .ns-header-quote { display: none; }
  .ns-mobile-menu { display: block; }
  .ns-mobile-menu summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; list-style: none; }
  .ns-mobile-menu summary::-webkit-details-marker { display: none; }
  .ns-menu-icon, .ns-menu-icon::before, .ns-menu-icon::after { width: 1.25rem; height: 2px; border-radius: 2px; background: var(--ns-ink); }
  .ns-menu-icon { position: relative; }
  .ns-menu-icon::before, .ns-menu-icon::after { content: ''; position: absolute; left: 0; }
  .ns-menu-icon::before { top: -.35rem; }
  .ns-menu-icon::after { top: .35rem; }
  .ns-mobile-menu[open] .ns-menu-icon { background: transparent; }
  .ns-mobile-menu[open] .ns-menu-icon::before { top: 0; transform: rotate(45deg); }
  .ns-mobile-menu[open] .ns-menu-icon::after { top: 0; transform: rotate(-45deg); }
  .ns-mobile-menu nav { position: absolute; top: calc(100% + .45rem); left: 0; right: 0; display: grid; gap: .15rem; padding: .65rem; border: 1px solid #bfb4a7; border-radius: 1rem; background: var(--ns-cream); box-shadow: 0 8px 18px #29130928; }
  .ns-mobile-menu nav > a:not(.ns-button) { display: flex; align-items: center; min-height: 44px; padding-inline: .75rem; font-weight: 760; text-decoration: none; }
  .ns-mobile-menu nav .ns-button { justify-self: start; margin: .25rem; }
  .ns-hero { display: block; margin-top: .95rem; }
  .ns-hero-copy { padding-inline: .12rem; }
  .ns-page .ns-eyebrow { margin-bottom: .55rem; }
  .ns-page h1 { font-size: clamp(2.1rem, 9.35vw, 3.65rem); }
  .ns-page .ns-hero-description { margin-top: .75rem; max-width: 38ch; font-size: 1rem; }
  .ns-hero-actions { display: grid; justify-items: start; gap: 0; margin: .8rem 0 .38rem; }
  .ns-hero-actions :is(.ns-button, .ns-text-link) { font-size: .94rem; }
  .ns-hero-actions .ns-button::after { content: '→'; font-size: 1.25em; line-height: .7; }
  .ns-hero-actions .ns-text-link .ns-arrow { display: none; }
  .ns-compare { aspect-ratio: 1.82; border-radius: clamp(1.75rem, 7vw, 2.6rem); }
  .ns-compare-label { bottom: .67rem; }
  .ns-figcaption { margin-right: .35rem; }
  .ns-benefits { margin-top: .65rem; padding: .63rem .15rem; border-radius: 1.15rem; }
  .ns-benefits li { flex-direction: column; gap: .12rem; padding-inline: .15rem; text-align: center; font-size: clamp(.72rem, 3.1vw, .93rem); line-height: 1.12; }
  .ns-benefits li span { max-width: 12ch; }
  .ns-benefits svg { width: 1.55rem; }
  .ns-section { margin-top: 1rem; }
  .ns-page h2 { font-size: clamp(1.45rem, 6.1vw, 2.3rem); }
  .ns-installation { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'copy' 'photo'; gap: .9rem; padding: 1rem; }
  .ns-installation-copy { padding: 0; }
  .ns-page .ns-installation-description { margin-top: .7rem; }
  .ns-installation-list { gap: .5rem .7rem; margin: .9rem 0 1rem; }
  .ns-installation-list li { gap: .48rem; }
  .ns-service-grid, .ns-project-grid { gap: .42rem; margin-top: .65rem; }
  .ns-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ns-service-card { aspect-ratio: 1.07; }
  .ns-card-pill { inset-inline: .24rem; bottom: .25rem; justify-content: space-between; max-width: none; gap: .12rem; padding: .3rem .28rem; font-size: clamp(.7rem, 3.05vw, 1rem); }
  .ns-card-pill .ns-arrow { font-size: 1.05em; }
  .ns-textures { grid-template-columns: minmax(0, 1fr); margin-inline: -.35rem; padding: .95rem .7rem .8rem; gap: .75rem; }
  .ns-texture-grid { grid-row: 2; }
  .ns-page .ns-button-outline { grid-row: 3; justify-self: center; font-size: .92rem; }
  .ns-texture-grid img { aspect-ratio: 1.19; }
  .ns-texture-grid a { font-size: clamp(.7rem, 3.05vw, 1rem); }
  .ns-texture-grid a span { margin-inline: 0; }
  .ns-page .ns-projects-link { min-height: 44px; font-size: .83rem; }
  .ns-projects-link .ns-arrow { width: auto; height: auto; border: 0; }
  .ns-project-grid { margin-top: .25rem; }
  .ns-project-grid a { aspect-ratio: 2.12; }
  .ns-contact { display: grid; justify-items: center; justify-content: center; gap: .55rem; margin: .7rem -.15rem 0; padding: .8rem .5rem; border-radius: 1.35rem; text-align: center; }
  .ns-contact .ns-button { font-size: .9rem; }
  .ns-footer { margin-inline: .15rem; font-size: clamp(.7rem, 3.05vw, .95rem); }
}

@media (max-width: 23rem) {
  .ns-card-pill .ns-arrow { display: none; }
}

@media (max-width: 22rem) {
  .ns-shell { width: calc(100% - 1.25rem); }
  .ns-texture-grid { gap: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
