/* Nordmann collection page (Squarespace Code Block). Hosted on Cloudflare so styling fixes never need a re-paste.
   Everything is scoped to #nc-collection, except the Squarespace wrapper fix, which only matches the one page section
   that contains #nc-collection (via :has). */

/* ---- Squarespace full-width fix: remove the section / content-wrapper / Fluid Engine spacing around the collection ---- */
section.page-section:has(#nc-collection) { padding-bottom: 0 !important; min-height: 0 !important; }
/* Squarespace offsets the first section under its fixed header with an inline padding-top (= --header-height); keep it, zero any other top padding */
section.page-section:has(#nc-collection):not([style*="padding-top"]) { padding-top: 0 !important; }
section.page-section:has(#nc-collection) > .content-wrapper { padding: 0 !important; max-width: none !important; width: 100% !important; }
section.page-section:has(#nc-collection) > .content-wrapper > .content { width: 100% !important; }
section.page-section:has(#nc-collection) .fluid-engine { display: block !important; }
section.page-section:has(#nc-collection) .fe-block:has(#nc-collection) { width: 100% !important; }
section.page-section:has(#nc-collection) .sqs-block:has(#nc-collection) { padding: 0 !important; }
section.page-section:has(#nc-collection) .sqs-block-content:has(#nc-collection) { margin: 0 !important; }
section.page-section:has(#nc-collection) .section-background { background: #f7f4ed; }

#nc-collection{--nc-paper:#f7f4ed;--nc-ink:#252525;--nc-green:#146346;--nc-muted:#676962;--nc-line:#d9d6cc;--nc-head:var(--heading-font-font-family,'TAY Dreamboat',Georgia,serif);--nc-body:var(--body-font-font-family,'Schibsted Grotesk',Arial,sans-serif);--nc-gut:clamp(14px,1.6vw,24px);--nc-sec:clamp(64px,8vw,120px);--nc-head-gap:clamp(36px,4.5vw,64px);--nc-top:calc(var(--header-height,0px) + 24px);color:var(--nc-ink);font-family:var(--nc-body);font-size:16px;line-height:1.55;width:100%;isolation:isolate;overflow-x:clip}
#nc-collection .nc-section,#nc-collection .nc-section *{box-sizing:border-box}
#nc-collection .nc-section h1,#nc-collection .nc-section h2,#nc-collection .nc-section h3,#nc-collection .nc-section p,#nc-collection .nc-section figure,#nc-collection .nc-section ul{margin:0;padding:0;color:inherit}
#nc-collection .nc-section h1,#nc-collection .nc-section h2,#nc-collection .nc-section h3{font-family:var(--nc-head);font-weight:400;letter-spacing:-.035em;line-height:1.02;text-transform:none}
/* headings: wrap between words only, balanced lines; collection.js shrinks a heading only if one word can't fit its column */
#nc-collection h1,#nc-collection h2,#nc-collection h3{overflow-wrap:break-word!important;word-break:normal!important;hyphens:manual!important;text-wrap:balance;height:auto}
#nc-collection .nc-section a{color:inherit;text-decoration:none}
#nc-collection .nc-section a:focus-visible{outline:2px solid #146346;outline-offset:5px}
#nc-collection .nc-wrap{width:min(100%,1440px);margin-inline:auto;padding-inline:clamp(20px,4.2vw,76px)}
#nc-collection .nc-kicker{font-family:var(--nc-body);font-size:11px;font-weight:650;line-height:1.35;text-transform:uppercase;letter-spacing:.19em;color:var(--nc-green)}
#nc-collection .nc-hero{background:var(--nc-paper);padding-block:clamp(44px,7vw,112px) clamp(32px,4vw,64px)}
#nc-collection .nc-intro{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.62fr);align-items:end;gap:clamp(24px,6vw,100px);padding-bottom:clamp(32px,5vw,68px)}
#nc-collection .nc-hero h1{font-size:clamp(54px,7.6vw,118px);margin-top:18px;line-height:.95;max-width:10ch}
#nc-collection .nc-intro-copy{display:grid;gap:22px;align-content:end;padding-bottom:4px;max-width:360px}
#nc-collection .nc-intro-copy p{font-size:clamp(16px,1.35vw,20px);line-height:1.55;color:#53564e}
#nc-collection .nc-textlink{display:inline-flex;align-items:center;gap:24px;justify-content:space-between;width:max-content;max-width:100%;border-bottom:1px solid currentColor;padding-block:0 7px;font-size:13px;font-weight:650;line-height:1.35;color:var(--nc-green)!important;transition:gap .2s ease}
#nc-collection .nc-textlink:hover{gap:32px}
#nc-collection .nc-models{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2.2vw,32px)}
#nc-collection .nc-model{min-width:0;display:flex;flex-direction:column;border-top:1px solid var(--nc-line);padding-top:12px}
#nc-collection .nc-model-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--nc-muted);font-weight:600;gap:8px}
#nc-collection .nc-image{position:relative;margin:12px 0 0;aspect-ratio:4/3;display:grid;place-items:center;background:#eeebe3;overflow:hidden}
#nc-collection .nc-image img{width:100%;height:100%;object-fit:contain;display:block;position:absolute;inset:0}
#nc-collection .nc-image img[hidden]{display:none}
#nc-collection .nc-image .nc-placeholder{font-family:var(--nc-head);font-size:clamp(30px,4vw,56px);letter-spacing:-.05em;color:#77766e;position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:16px}
#nc-collection .nc-image .nc-placeholder small{font-family:var(--nc-body);font-size:10px;letter-spacing:.12em;text-transform:uppercase;margin-top:7px}
#nc-collection .nc-image .nc-placeholder[hidden]{display:none}
#nc-collection .nc-model-info{display:grid;gap:10px;padding:19px 0 0}
#nc-collection .nc-model-info h2{font-size:clamp(36px,4vw,64px)}
#nc-collection .nc-model-info p{font-size:14px;line-height:1.55;color:#555850;max-width:34ch}
#nc-collection .nc-capacity{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--nc-green);font-weight:650;margin-top:4px;white-space:pre-wrap}
#nc-collection .nc-price{font-size:13px;color:var(--nc-ink);min-height:1.4em}
#nc-collection .nc-model-info .nc-textlink{margin-top:6px}
#nc-collection .nc-models-note{margin-top:18px;font-size:11px;letter-spacing:.04em;color:var(--nc-muted)}
#nc-collection .nc-hero-foot{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--nc-line);margin-top:clamp(26px,4vw,56px);padding-top:17px;font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--nc-muted)}
#nc-collection .nc-builder-heading{padding-block:clamp(55px,7vw,100px) 28px;background:#fff}
#nc-collection .nc-builder-heading .nc-wrap{display:grid;grid-template-columns:1.2fr .7fr;gap:32px;align-items:end}
#nc-collection .nc-builder-heading h2,#nc-collection .nc-principles h2,#nc-collection .nc-bespoke h2,#nc-collection .nc-craft h2,#nc-collection .nc-builds h2{font-size:clamp(40px,4.7vw,72px);margin-top:15px;max-width:15ch}
#nc-collection .nc-principles h2{font-size:clamp(36px,3.9vw,60px)}
#nc-collection .nc-builder-heading p:not(.nc-kicker){font-size:16px;color:var(--nc-muted);max-width:43ch}
#nc-collection .nc-config-area{background:#fff;padding:0 clamp(0px,2vw,32px) clamp(38px,6vw,90px)}
#nc-collection #nordmann-configurator{scroll-margin-top:var(--nc-top)}
#nc-collection .nc-widget-status{font-size:13px;color:var(--nc-muted);padding:16px clamp(20px,3vw,40px)}
#nc-collection .nc-widget-status a{color:var(--nc-green)}
#nc-collection .nc-principles{background:var(--nc-paper);padding-block:var(--nc-sec)}
#nc-collection .nc-principles .nc-cols{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:clamp(32px,7vw,110px)}
#nc-collection .nc-principles .nc-lead{font-size:17px;color:#555850;margin-top:20px;max-width:38ch}
#nc-collection .nc-feature{display:grid;grid-template-columns:40px 1fr;gap:14px;padding:22px 0;border-top:1px solid var(--nc-line)}
#nc-collection .nc-feature:last-child{border-bottom:1px solid var(--nc-line)}
#nc-collection .nc-feature>span{font-size:11px;color:var(--nc-green);font-weight:650;letter-spacing:.08em;padding-top:6px}
#nc-collection .nc-feature h3{font-size:clamp(24px,2.5vw,35px);line-height:1.12;margin-bottom:8px}
#nc-collection .nc-feature p{font-size:14px;color:#555850;max-width:44ch}
#nc-collection .nc-craft{background:#fff;padding-block:var(--nc-sec)}
#nc-collection .nc-craft .nc-head2{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr);gap:clamp(24px,6vw,100px);align-items:end}
#nc-collection .nc-craft .nc-head2 p:not(.nc-kicker){font-size:16px;color:var(--nc-muted);max-width:44ch}
#nc-collection .nc-builds{background:var(--nc-paper);padding-block:var(--nc-sec)}
#nc-collection .nc-builds .nc-head2{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr);gap:clamp(24px,6vw,100px);align-items:end}
#nc-collection .nc-builds .nc-head2 p:not(.nc-kicker){font-size:16px;color:var(--nc-muted);max-width:40ch}
#nc-collection .nc-bespoke{background:#143e32;color:#f5edd9;padding-block:var(--nc-sec)}
#nc-collection .nc-bespoke .nc-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,6vw,100px);align-items:start}
#nc-collection .nc-bespoke .nc-kicker{color:#c3d2bf}
#nc-collection .nc-bespoke h2{max-width:13ch}
#nc-collection .nc-bespoke-copy{display:grid;gap:22px;max-width:46ch;padding-top:31px}
#nc-collection .nc-bespoke-copy p{color:#e4e7dc;font-size:16px}
#nc-collection .nc-principle-line{font-family:var(--nc-head);font-size:clamp(20px,2vw,26px)!important;line-height:1.25;color:#f5edd9!important;letter-spacing:-.01em}
#nc-collection .nc-list{list-style:none;display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13px;color:#cad6cb}
#nc-collection .nc-list li{position:relative}
#nc-collection .nc-list li+li::before{content:"·";position:absolute;left:-11px;color:#7f9c8a}
#nc-collection .nc-button{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;padding:15px 21px;background:#f5edd9;color:#143e32!important;width:max-content;max-width:100%;font-size:13px;font-weight:650;line-height:1.35;transition:background .2s ease}
#nc-collection .nc-button:hover{background:white}
#nc-collection .nc-bespoke a:focus-visible{outline-color:#f5edd9}
#nc-collection .nc-small{font-size:11px!important;color:#cad6cb!important;line-height:1.4}
#nc-collection [id^="nc-"]{scroll-margin-top:var(--nc-top)}

/* ---- photography (data-driven from photography.json; layouts built by collection.js) ----
   One system: 12-column page width, one gutter (--nc-gut) between every image, fixed aspect ratios per row,
   captions one line under each image. No vertical offsets. */
#nc-collection .nc-gal{margin-top:var(--nc-head-gap)}
#nc-collection .nc-ph{position:relative;min-width:0;display:flex;flex-direction:column}
#nc-collection .nc-ph-frame{position:relative;overflow:hidden;background:#e9e4d8;aspect-ratio:var(--ar,4/5)}
#nc-collection .nc-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos-d,50% 50%);display:block;margin:0;max-width:none}
#nc-collection .nc-ph figcaption{margin-top:12px;font-size:12px;line-height:1.45;color:var(--nc-muted);max-width:52ch;min-height:1.45em}
#nc-collection .nc-ph-tag{position:absolute;left:12px;top:12px;z-index:1;padding:4px 9px;font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;background:rgba(247,244,237,.92);color:#252525}
#nc-collection .nc-row{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:var(--nc-gut);align-items:start}
#nc-collection .nc-row+.nc-row{margin-top:var(--nc-gut)}
#nc-collection .nc-row--lead .nc-ph{--ar:5/4}
#nc-collection .nc-row--small .nc-ph,#nc-collection .nc-row--even .nc-ph{--ar:4/5}
#nc-collection .nc-row--support .nc-ph{--ar:4/5}
#nc-collection .nc-row--support.nc-n2 .nc-ph{--ar:1/1}
/* principles: one tall interior photograph beside the heading + principles, top and bottom edges aligned */
#nc-collection .nc-principles.nc-has-photos .nc-wrap{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(40px,6vw,104px);align-items:stretch}
#nc-collection .nc-principles.nc-has-photos .nc-gal{grid-column:1;grid-row:1;margin-top:0;display:flex}
#nc-collection .nc-principles.nc-has-photos .nc-cols{grid-column:2;grid-row:1;grid-template-columns:minmax(0,1fr);gap:clamp(32px,3.4vw,52px);align-content:start}
#nc-collection .nc-gal--principles .nc-ph{flex:1}
#nc-collection .nc-gal--principles .nc-ph-frame{aspect-ratio:auto;flex:1 1 auto;min-height:clamp(420px,42vw,640px)}
#nc-collection .nc-principles.nc-has-photos .nc-feature:first-child{border-top:1px solid var(--nc-line)}
/* completed builds: one block per project */
#nc-collection .nc-project+.nc-project{margin-top:clamp(56px,6.5vw,104px)}
#nc-collection .nc-project-head{display:flex;align-items:baseline;gap:18px;border-top:1px solid var(--nc-line);padding-top:16px;margin-bottom:var(--nc-gut)}
#nc-collection .nc-project-no{font-size:11px;font-weight:650;letter-spacing:.12em;color:var(--nc-green)}
#nc-collection .nc-section h3.nc-project-name{font-size:clamp(26px,2.3vw,36px);line-height:1}
#nc-collection .nc-project-body{display:grid;gap:var(--nc-gut)}
#nc-collection .nc-ph--hero{--ar:2/1}
#nc-collection .nc-project--s1 .nc-project-body{grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:stretch}
#nc-collection .nc-project--s1 .nc-ph--hero{--ar:3/2}
#nc-collection .nc-project--s1 .nc-ph:not(.nc-ph--hero) .nc-ph-frame{aspect-ratio:auto;flex:1 1 auto}
/* bespoke: design visualizations, always tagged, on the dark section */
#nc-collection .nc-gal--bespoke .nc-ph{--ar:4/3}
#nc-collection .nc-gal--bespoke .nc-ph-frame{background:#f6eddb}
#nc-collection .nc-bespoke .nc-ph figcaption{color:#cad6cb;max-width:none}

@media(max-width:900px){#nc-collection .nc-intro{grid-template-columns:1.1fr .8fr;gap:28px}#nc-collection .nc-hero h1{font-size:clamp(50px,8vw,80px)}#nc-collection .nc-models{gap:14px}#nc-collection .nc-model-info h2{font-size:39px}#nc-collection .nc-model-info p{font-size:13px}}
@media(max-width:660px){
  #nc-collection .nc-wrap{padding-inline:20px}
  #nc-collection .nc-intro,#nc-collection .nc-builder-heading .nc-wrap,#nc-collection .nc-principles .nc-cols,#nc-collection .nc-bespoke .nc-cols,#nc-collection .nc-craft .nc-head2,#nc-collection .nc-builds .nc-head2{grid-template-columns:1fr;gap:18px}
  #nc-collection .nc-hero{padding-block:36px 28px}
  #nc-collection .nc-hero h1{font-size:clamp(40px,11.5vw,58px);margin-top:12px}
  #nc-collection .nc-intro{padding-bottom:28px}
  #nc-collection .nc-intro-copy{gap:15px}
  #nc-collection .nc-intro-copy p{font-size:16px}
  #nc-collection .nc-models{grid-template-columns:1fr;gap:28px}
  #nc-collection .nc-image{aspect-ratio:16/10}
  #nc-collection .nc-model-info{gap:6px;padding-top:12px}
  #nc-collection .nc-model-info h2{font-size:34px}
  #nc-collection .nc-model-info p{font-size:14px}
  #nc-collection .nc-hero-foot{flex-direction:column;gap:5px}
  #nc-collection .nc-builder-heading{padding-block:44px 8px}
  #nc-collection .nc-builder-heading h2,#nc-collection .nc-principles h2,#nc-collection .nc-bespoke h2,#nc-collection .nc-craft h2,#nc-collection .nc-builds h2{font-size:clamp(28px,8.2vw,44px);margin-top:10px;max-width:none}
  #nc-collection .nc-cols>*,#nc-collection .nc-head2>*,#nc-collection .nc-intro>*{min-width:0}
  /* the site's Custom CSS forces h2{font-size:3rem!important}; at phone width that splits long words mid-word
     (EXPERIENC-E, CRAFTSMA-NSHIP). Scoped override for the collection's section headings only. */
  #nc-collection .nc-builder-heading h2,#nc-collection .nc-principles h2,#nc-collection .nc-craft h2,#nc-collection .nc-builds h2{font-size:min(8.6vw,40px)!important}
  #nc-collection .nc-bespoke h2{font-size:min(6.8vw,36px)!important}
  #nc-collection .nc-principle-line{font-size:19px!important}
  #nc-collection .nc-bespoke h2{font-size:clamp(20px,6.3vw,40px)}
  #nc-collection .nc-list{display:grid;grid-template-columns:1fr 1fr;gap:7px 14px;font-size:12.5px}
  #nc-collection .nc-list li+li::before{content:none}
  #nc-collection .nc-principles,#nc-collection .nc-craft,#nc-collection .nc-builds,#nc-collection .nc-bespoke{padding-block:48px}
  #nc-collection .nc-feature{grid-template-columns:28px 1fr;padding:18px 0}
  #nc-collection .nc-feature h3{font-size:24px}
  #nc-collection .nc-config-area{padding-inline:0;padding-bottom:28px}
  /* photos: full-width leads, portraits in calm pairs; never tiny thumbnails, no stretched columns */
  #nc-collection{--nc-gut:12px;--nc-head-gap:28px}
  #nc-collection .nc-principles.nc-has-photos .nc-wrap{grid-template-columns:minmax(0,1fr)}
  #nc-collection .nc-principles.nc-has-photos .nc-cols{grid-column:1;gap:18px}
  #nc-collection .nc-principles.nc-has-photos .nc-gal{grid-column:1;grid-row:2;margin-top:28px}
  #nc-collection .nc-gal--principles .nc-ph-frame{aspect-ratio:4/5;min-height:0;flex:none}
  #nc-collection .nc-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  #nc-collection .nc-row .nc-ph{--ar:3/4!important}
  #nc-collection .nc-row--small .nc-ph:first-child,#nc-collection .nc-row--even.nc-n3 .nc-ph:first-child,#nc-collection .nc-row--support.nc-n3 .nc-ph:first-child,
  #nc-collection .nc-row.nc-n1 .nc-ph,#nc-collection .nc-gal--bespoke .nc-ph{grid-column:1/-1;--ar:4/3!important}
  #nc-collection .nc-gal .nc-ph img{object-position:var(--pos-m,var(--pos-d,50% 50%))}
  #nc-collection .nc-project-body,#nc-collection .nc-project--s1 .nc-project-body{grid-template-columns:minmax(0,1fr)}
  #nc-collection .nc-ph--hero{--ar:5/4!important;margin-inline:-20px}
  #nc-collection .nc-ph--hero figcaption{padding-inline:20px}
  #nc-collection .nc-project--s1 .nc-ph:not(.nc-ph--hero) .nc-ph-frame{aspect-ratio:4/5;flex:none}
  #nc-collection .nc-project-head{margin-bottom:14px;padding-top:12px}
  #nc-collection .nc-project+.nc-project{margin-top:48px}
  #nc-collection .nc-bespoke-copy{padding-top:0}
  #nc-collection .nc-ph figcaption{font-size:11.5px;margin-top:7px}
}
@media(prefers-reduced-motion:reduce){#nc-collection .nc-section *{transition:none!important;scroll-behavior:auto!important}}

/* ---- desktop sizing (>1024px): calmer image scale for the photography sections; mobile untouched ---- */
@media(min-width:1025px){
  #nc-collection .nc-principles .nc-wrap,#nc-collection .nc-craft .nc-wrap,#nc-collection .nc-builds .nc-wrap,#nc-collection .nc-bespoke .nc-wrap{width:min(100%,calc(1100px + 2 * clamp(20px,4.2vw,76px)))}
  #nc-collection{--nc-head-gap:40px;--nc-gut:20px}
  #nc-collection .nc-ph-frame{aspect-ratio:auto!important;height:var(--h,260px)}
  #nc-collection .nc-principles.nc-has-photos .nc-wrap{align-items:start}
  #nc-collection .nc-gal--principles .nc-ph-frame{--h:440px;flex:none;min-height:0;height:440px}
  #nc-collection .nc-row--lead .nc-ph-frame{height:290px}
  #nc-collection .nc-row--small .nc-ph-frame,#nc-collection .nc-row--even .nc-ph-frame{height:250px}
  #nc-collection .nc-ph--hero .nc-ph-frame{height:420px}
  #nc-collection .nc-project--s1 .nc-project-body{align-items:start}
  #nc-collection .nc-project--s1 .nc-ph:not(.nc-ph--hero) .nc-ph-frame{flex:none;height:420px}
  #nc-collection .nc-row--support .nc-ph-frame{height:230px}
  #nc-collection .nc-project+.nc-project{margin-top:64px}
  #nc-collection .nc-gal--bespoke .nc-ph-frame{height:300px}
  #nc-collection .nc-gal--bespoke .nc-ph img{object-fit:contain}
  #nc-collection .nc-bespoke h2{font-size:40px!important;max-width:none}
}
