/* ===========================================================
   Neoteric Solution BD Ltd — shared stylesheet
   v2 portfolio redesign · 2026-05-17
   =========================================================== */

:root {
  --red:        #C0392B;
  --red-deep:   #9B2D22;
  --cream:      #F5F2ED;
  --cream-soft: #FAF8F3;
  --paper:      #FFFEFB;
  --ink:        #2C1810;
  --ink-soft:   #4A3424;
  --muted:      #7A6A58;
  --border:     #E4D9C8;
  --gold:       #B58E50;
  --serif:      'Cormorant Garamond', 'Times New Roman', serif;
  --sans:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 36px; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 36px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--red);
  color: #fff;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: background 0.25s ease, transform 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 4px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 0;
  display: inline-block;
}
.btn-quiet:hover { color: var(--red); border-color: var(--red); background: transparent; transform: none; }

/* ━━━━━━━━━━ TOP BAR ━━━━━━━━━━ */
.topbar {
  background: var(--ink);
  color: #cdbfa9;
  font-size: 12px;
  padding: 10px 0;
  letter-spacing: 0.04em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.topbar a { color: #cdbfa9; transition: color 0.2s; }
.topbar a:hover { color: #fff; }
.topbar .left { display: flex; gap: 26px; }
.topbar .right { display: flex; gap: 22px; align-items: center; }

/* ━━━━━━━━━━ HEADER ━━━━━━━━━━ */
.header {
  background: var(--cream);
  border-bottom: 1px solid rgba(228,217,200,0.6);
  position: sticky; top: 0; z-index: 100;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { height: 46px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .name { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); }
.logo-text .tag { font-size: 9.5px; letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; gap: 38px; }
.nav a {
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--red); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--red);
}

/* ━━━━━━━━━━ HOMEPAGE HERO ━━━━━━━━━━ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,12,6,0.55) 0%, rgba(20,12,6,0.30) 35%, rgba(20,12,6,0.85) 100%),
    url('assets/bd-sourcing-map.svg') center/cover no-repeat,
    #2D1810;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.hero-note {
  position: absolute;
  top: 18px; right: 24px;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.3);
  padding: 6px 12px;
  border-radius: 2px;
  z-index: 3;
}
.hero-content {
  position: relative; z-index: 2;
  color: #fff;
  padding-bottom: 110px;
  max-width: 1000px;
}
.hero .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 26px; display: block; }
.hero h1 {
  font-size: clamp(46px, 7vw, 96px);
  color: #fff;
  font-weight: 400;
  margin-bottom: 30px;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.hero h1 em { font-style: italic; font-weight: 500; color: #FFF6E1; }
.hero .lede {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  color: rgba(255,255,255,0.88);
  font-style: italic;
  max-width: 560px;
  line-height: 1.5;
}

/* ━━━━━━━━━━ PAGE HERO (inner pages) ━━━━━━━━━━ */
.page-hero {
  background: var(--cream);
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--border);
}
.page-hero .container--narrow { text-align: center; }
.page-hero .eyebrow { display: block; margin-bottom: 22px; }
.page-hero h1 {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 26px;
}
.page-hero h1 em { font-style: italic; color: var(--red); font-weight: 500; }
.page-hero .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ━━━━━━━━━━ POSITIONING ━━━━━━━━━━ */
.positioning {
  padding: 130px 0;
  background: var(--cream);
  text-align: center;
}
.positioning .eyebrow { display: block; margin-bottom: 36px; }
.positioning h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 400;
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.2;
}
.positioning h2 em { color: var(--red); font-style: italic; font-weight: 500; }
.positioning .sig {
  margin-top: 48px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
}

/* ━━━━━━━━━━ PORTFOLIO GRID (homepage) ━━━━━━━━━━ */
.portfolio { padding: 110px 0 130px; background: var(--cream-soft); }
.portfolio-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 70px; gap: 60px; flex-wrap: wrap;
}
.portfolio-head .left { max-width: 620px; }
.portfolio-head .eyebrow { display: block; margin-bottom: 18px; }
.portfolio-head h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 400;
}
.portfolio-head h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.portfolio-head .right {
  max-width: 360px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  padding-bottom: 12px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.tile:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.tile:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.tile:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.tile:nth-child(4) { grid-column: span 3; grid-row: span 1; }
.tile:nth-child(5) { grid-column: span 3; grid-row: span 1; }
.tile:nth-child(6) { grid-column: span 3; grid-row: span 1; }
.tile:nth-child(7) { grid-column: span 3; grid-row: span 1; }

.tile {
  position: relative; overflow: hidden;
  border-radius: 2px; cursor: pointer;
  transition: transform 0.4s ease;
}
.tile:hover { transform: translateY(-3px); }
.tile-bg { position: absolute; inset: 0; transition: transform 0.6s ease; }
.tile:hover .tile-bg { transform: scale(1.04); }
.tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,24,16,0) 0%, rgba(44,24,16,0.75) 100%);
}
.tile-content {
  position: absolute; left: 28px; right: 28px; bottom: 26px;
  color: #fff; z-index: 2;
}
.tile-content .kicker {
  font-family: var(--sans);
  font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px; display: block;
}
.tile-content h3 { font-size: 30px; color: #fff; font-weight: 400; margin-bottom: 8px; }
.tile-content h3 em { font-style: italic; color: #FFF1D2; font-weight: 500; }
.tile:nth-child(1) .tile-content h3 { font-size: 52px; }
.tile-content p { font-size: 14px; color: rgba(255,255,255,0.85); max-width: 460px; line-height: 1.55; }
.tile-content .arrow {
  margin-top: 14px; display: inline-block;
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 3px;
}
.bg-muslin     { background: linear-gradient(135deg, #E8DDC8 0%, #C9A98A 50%, #6B4A30 100%); }
.bg-silk       { background: linear-gradient(135deg, #C9787A 0%, #8B3A3F 60%, #4A1820 100%); }
.bg-jute       { background: linear-gradient(135deg, #D9B872 0%, #9C7841 60%, #5C4220 100%); }
.bg-terracotta { background: linear-gradient(135deg, #D4836A 0%, #A04830 60%, #5A2418 100%); }
.bg-eco        { background: linear-gradient(135deg, #B5C49A 0%, #6E8954 60%, #2F4220 100%); }
.bg-sealants   { background: linear-gradient(135deg, #6B6258 0%, #3A332C 60%, #1A1612 100%); }
.bg-garments   { background: linear-gradient(135deg, #7E8B96 0%, #44566A 55%, #1E2A38 100%); }
.tile-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 12px);
}

/* ━━━━━━━━━━ NO MIDDLEMEN ━━━━━━━━━━ */
.promise { padding: 130px 0; background: var(--cream); }
.promise-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.promise-text .eyebrow { display: block; margin-bottom: 24px; }
.promise-text h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 400; margin-bottom: 28px;
}
.promise-text h2 em { color: var(--red); font-style: italic; font-weight: 500; }
.promise-text p {
  font-size: 17px; color: var(--ink-soft);
  line-height: 1.75; margin-bottom: 20px; max-width: 520px;
}
.chain {
  display: flex; flex-direction: column; gap: 22px;
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.chain-row { display: flex; align-items: center; gap: 18px; }
.chain-row .label {
  font-family: var(--serif);
  font-size: 14px; color: var(--muted);
  min-width: 110px;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 600;
}
.chain-row .dots { flex: 1; display: flex; align-items: center; gap: 6px; }
.chain-row .dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--cream-soft);
  display: grid; place-items: center;
  font-size: 11px; color: var(--muted);
}
.chain-row .dot.maker { background: var(--gold); border-color: var(--gold); color: #fff; }
.chain-row .dot.you   { background: var(--red);  border-color: var(--red);  color: #fff; }
.chain-row .arrow { color: var(--border); font-size: 14px; }
.chain .typical { border-bottom: 1px solid var(--border); padding-bottom: 22px; }
.chain .ours .label { color: var(--red); }
.chain .caption {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--muted); margin-top: 8px;
}

/* ━━━━━━━━━━ ORIGIN STORY (homepage dark band) ━━━━━━━━━━ */
.origin { padding: 130px 0; background: var(--ink); color: #e8ddc8; }
.origin-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px; align-items: center; }
.origin-image {
  aspect-ratio: 4/5;
  background: url('assets/worcester-dhaka.svg') center/cover no-repeat #1F1410;
  border-radius: 2px; position: relative; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.origin .eyebrow { color: var(--gold); display: block; margin-bottom: 26px; }
.origin h2 {
  font-size: clamp(34px, 4vw, 52px); color: #fff; font-weight: 400;
  margin-bottom: 28px; line-height: 1.18;
}
.origin h2 em { color: var(--gold); font-style: italic; font-weight: 500; }
.origin p { font-size: 17px; color: rgba(232,221,200,0.85); line-height: 1.8; margin-bottom: 22px; }
.origin .signature {
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid rgba(232,221,200,0.15);
  display: flex; gap: 60px; flex-wrap: wrap;
}
.origin .signature .place {
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.origin .signature .addr {
  font-family: var(--serif); font-style: italic;
  font-size: 16px; color: rgba(232,221,200,0.7);
}
.origin .meet { margin-top: 36px; }
.origin .btn-quiet { color: #fff; border-color: rgba(255,255,255,0.5); }
.origin .btn-quiet:hover { color: var(--gold); border-color: var(--gold); }

/* ━━━━━━━━━━ TEAM GRID (about page) ━━━━━━━━━━ */
.team { padding: 130px 0; background: var(--cream-soft); }
.team-head { text-align: center; margin-bottom: 80px; }
.team-head .eyebrow { display: block; margin-bottom: 18px; }
.team-head h2 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 400; margin-bottom: 18px; }
.team-head h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.team-head p { color: var(--muted); font-size: 17px; max-width: 540px; margin: 0 auto; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 3/4;
  border-radius: 2px;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
  background: url('assets/team/silhouette.svg') center/cover no-repeat #3A2D22;
  filter: grayscale(100%) contrast(0.95);
  transition: filter 0.5s ease;
}
.team-card:hover .team-photo { filter: grayscale(0%) contrast(1); }
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  display: block;
}
.team-photo .initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 38px;
  font-style: italic;
  font-weight: 500;
  color: rgba(245,230,211,0.7);
  letter-spacing: 0.04em;
  pointer-events: none;
  z-index: 1;
}
.team-photo .initials::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 1px;
  background: rgba(200,167,91,0.5);
}
.team-name {
  font-family: var(--serif);
  font-size: 22px; font-weight: 600;
  margin-bottom: 6px;
}
.team-title {
  font-size: 13px; color: var(--muted);
  line-height: 1.55; margin-bottom: 16px;
  min-height: 42px;
}
.team-linkedin {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red);
  transition: opacity 0.2s;
}
.team-linkedin:hover { opacity: 0.7; }

/* ━━━━━━━━━━ VALUES ━━━━━━━━━━ */
.values { padding: 130px 0; background: var(--cream); }
.values-head { text-align: center; margin-bottom: 70px; }
.values-head .eyebrow { display: block; margin-bottom: 18px; }
.values-head h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 400; }
.values-head h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 40px;
  counter-reset: val-item;
}
.value {
  counter-increment: val-item;
  padding: 36px 30px;
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.value .num {
  font-family: var(--serif);
  font-size: 14px; color: var(--red);
  margin-bottom: 14px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.value .num::before { content: '— 0' counter(val-item); }
.value h3 { font-size: 24px; margin-bottom: 12px; font-weight: 500; }
.value p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }

/* ━━━━━━━━━━ MATERIAL DETAIL PAGE ━━━━━━━━━━ */
.mat-hero {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.mat-hero .tile-bg { position: absolute; inset: 0; }
.mat-hero .tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,24,16,0.2) 0%, rgba(44,24,16,0.85) 100%);
}
.mat-hero .container {
  position: relative; z-index: 2;
  padding-top: 70px; padding-bottom: 70px;
  color: #fff;
}
.mat-hero .eyebrow { color: rgba(255,255,255,0.8); margin-bottom: 22px; display: block; }
.mat-hero h1 {
  font-size: clamp(52px, 7vw, 100px);
  color: #fff; font-weight: 400;
  line-height: 1.04; max-width: 880px;
}
.mat-hero h1 em { font-style: italic; color: #FFF1D2; font-weight: 500; }
.mat-hero .lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin-top: 22px;
  line-height: 1.55;
}

.mat-intro {
  padding: 110px 0;
  background: var(--cream);
}
.mat-intro-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.mat-meta {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  position: sticky; top: 110px;
}
.mat-meta dl { display: grid; gap: 18px; }
.mat-meta dt {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.mat-meta dd {
  font-family: var(--serif);
  font-size: 18px; color: var(--ink);
  margin-top: 4px;
}
.mat-body h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 400; margin-bottom: 26px;
}
.mat-body h2 em { color: var(--red); font-style: italic; font-weight: 500; }
.mat-body p {
  font-size: 17px; line-height: 1.85;
  color: var(--ink-soft); margin-bottom: 22px;
}
.mat-body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 64px;
  float: left;
  line-height: 0.85;
  padding: 8px 12px 0 0;
  color: var(--red);
  font-weight: 500;
}
.mat-body .pull {
  margin: 40px 0;
  padding: 28px 36px;
  border-left: 3px solid var(--red);
  font-family: var(--serif);
  font-size: 22px; font-style: italic;
  color: var(--ink); line-height: 1.5;
  background: var(--cream-soft);
}

.mat-section { padding: 110px 0; }
.mat-section.alt { background: var(--cream-soft); }
.mat-section .head { text-align: center; margin-bottom: 70px; max-width: 720px; margin-left: auto; margin-right: auto; }
.mat-section .head .eyebrow { display: block; margin-bottom: 16px; }
.mat-section .head h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 400; }
.mat-section .head h2 em { font-style: italic; color: var(--red); font-weight: 500; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  counter-reset: process;
}
.step { counter-increment: process; }
.step .num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 56px; color: var(--red);
  line-height: 1; margin-bottom: 18px;
  font-weight: 400;
}
.step .num::before { content: counter(process, decimal-leading-zero); }
.step h3 { font-size: 22px; margin-bottom: 10px; font-weight: 500; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--paper);
}
.spec {
  padding: 32px 36px;
  border-bottom: 1px solid var(--border);
}
.spec:nth-child(odd) { border-right: 1px solid var(--border); }
.spec:nth-last-child(-n+2) { border-bottom: none; }
.spec .lbl {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
  font-weight: 600;
}
.spec .val {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.4;
}

.cross-portfolio { padding: 110px 0; background: var(--cream); }
.cross-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 50px; flex-wrap: wrap; gap: 30px;
}
.cross-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 400; }
.cross-head h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.cross-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cross-grid .tile { height: 240px; }
.cross-grid .tile-content h3 { font-size: 22px; }

/* ━━━━━━━━━━ PARTNERS ━━━━━━━━━━ */
.partners {
  background: var(--cream-soft);
  padding: 90px 0;
  border-top: 1px solid var(--border);
}
.partners-head { text-align: center; margin-bottom: 56px; }
.partners-head .eyebrow { display: block; margin-bottom: 14px; }
.partners-head h3 {
  font-size: 28px; font-weight: 400;
  color: var(--ink); font-style: italic;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.partner-logo {
  aspect-ratio: 16/9;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: grid; place-items: center;
  font-family: var(--serif); color: var(--muted);
  font-size: 13px; text-align: center;
  padding: 18px; font-style: italic;
  overflow: hidden;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.partner-logo:hover { border-color: var(--red); color: var(--ink); box-shadow: 0 10px 24px rgba(44,24,16,0.06); }
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
/* Self-contained branded tile (e.g. Golden Fibre gold-on-green) fills edge-to-edge */
.partner-logo.full { padding: 0; }
.partner-logo.full img {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Dark tile for light/white logos that would vanish on the paper background */
.partner-logo.on-dark { background: var(--ink); border-color: var(--ink); }
.partner-logo.on-dark:hover { border-color: var(--gold); }

/* ━━━━━━━━━━ CONTACT STRIP ━━━━━━━━━━ */
.contact-strip {
  background: var(--cream);
  padding: 100px 0;
  text-align: center;
}
.contact-strip .eyebrow { display: block; margin-bottom: 22px; }
.contact-strip h2 {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 400; margin-bottom: 18px;
}
.contact-strip h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.contact-strip p {
  font-size: 17px; color: var(--muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.contact-strip .actions {
  display: inline-flex; gap: 24px; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.contact-strip .email {
  font-family: var(--serif); font-style: italic; font-size: 18px;
  color: var(--ink); border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.contact-strip .email:hover { color: var(--red); border-color: var(--red); }

/* ━━━━━━━━━━ FOOTER ━━━━━━━━━━ */
.footer {
  background: var(--ink);
  color: #b8a98f;
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px; margin-bottom: 60px;
}
.footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 24px;
}
.footer a { color: #b8a98f; font-size: 14px; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer .brand img {
  height: 78px; width: auto; margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer .brand-tag {
  color: #9c8e75;
  max-width: 320px; line-height: 1.8;
  font-style: italic;
  font-family: var(--serif);
  font-size: 16px;
}
.footer-bottom {
  border-top: 1px solid #2D2620;
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: #6e6759;
  letter-spacing: 0.1em; flex-wrap: wrap; gap: 14px;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  border: 1px solid #3a332c;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.2s, border-color 0.2s;
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ━━━━━━━━━━ FOOTER EMAIL CAPTURE ━━━━━━━━━━ */
.footer-capture {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  padding: 50px 0;
  border-bottom: 1px solid #2D2620;
  margin-bottom: 50px;
  align-items: center;
}
.footer-capture h3 {
  color: #fff;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.15;
}
.footer-capture h3 em { font-style: italic; color: var(--gold); font-weight: 500; }
.footer-capture .capture-text p {
  color: #b8a98f;
  font-size: 15px;
  line-height: 1.7;
  font-family: var(--serif);
  font-style: italic;
  max-width: 420px;
}
.capture-form {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 10px;
}
.capture-form input {
  padding: 13px 14px;
  background: #1F1A14;
  border: 1px solid #3A322A;
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 2px;
  transition: border-color 0.2s;
}
.capture-form input::placeholder { color: #6e6759; }
.capture-form input:focus { outline: none; border-color: var(--gold); }
.capture-form button {
  padding: 13px 24px;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
  white-space: nowrap;
}
.capture-form button:hover { background: var(--red-deep); }

/* ━━━━━━━━━━ SCROLL POPUP ━━━━━━━━━━ */
.capture-popup {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 360px; max-width: calc(100vw - 48px);
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  padding: 28px 28px 26px;
  box-shadow: 0 20px 50px rgba(44,24,16,0.18);
  z-index: 1500;
  transform: translateY(140%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--sans);
}
.capture-popup.show { transform: translateY(0); }
.capture-popup .close {
  position: absolute;
  top: 10px; right: 12px;
  background: none; border: none;
  font-size: 22px; line-height: 1;
  color: var(--muted); cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.capture-popup .close:hover { color: var(--ink); }
.capture-popup .kicker {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.capture-popup h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
}
.capture-popup h4 em { font-style: italic; color: var(--red); }
.capture-popup p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.capture-popup form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.capture-popup input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  background: var(--cream-soft);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.capture-popup input:focus { outline: none; border-color: var(--red); background: #fff; }
.capture-popup button {
  padding: 12px;
  background: var(--red);
  color: #fff;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  margin-top: 4px;
}
.capture-popup button:hover { background: var(--red-deep); }

/* ━━━━━━━━━━ TRUST / WHY NS SECTION ━━━━━━━━━━ */
.trust {
  padding: 130px 0;
  background:
    linear-gradient(180deg, var(--cream) 0%, #EDE3D2 100%);
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 1px;
  background: var(--red);
}
.trust-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.trust-head .left .eyebrow { display: block; margin-bottom: 22px; }
.trust-head .left h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 400;
  line-height: 1.1;
}
.trust-head .left h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.trust-head .right {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.8;
  padding-bottom: 16px;
}
.trust-head .right strong { color: var(--ink); font-weight: 600; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-card {
  padding: 38px 32px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(44,24,16,0.08);
  border-color: var(--red);
}
.trust-card.featured {
  background: var(--ink);
  color: #e8ddc8;
  border-color: var(--ink);
}
.trust-card.featured:hover { border-color: var(--gold); }
.trust-card.featured h3 { color: #fff; }
.trust-card.featured p { color: rgba(232,221,200,0.85); }
.trust-card.featured .badge { color: var(--gold); }

.trust-card .badge {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
  text-transform: uppercase;
}
.trust-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.25;
}
.trust-card h3 em { font-style: italic; color: var(--red); font-weight: 500; }
.trust-card.featured h3 em { color: var(--gold); }
.trust-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.trust-card .sic-mark {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0.7;
}

/* ━━━━━━━━━━ FULL CONTACT FORM ━━━━━━━━━━ */
.contact-full { padding: 110px 0 130px; background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}
.contact-form {
  background: var(--paper);
  padding: 48px;
  border-radius: 2px;
  border: 1px solid var(--border);
}
.contact-form h3 { font-size: 32px; margin-bottom: 10px; font-weight: 400; }
.contact-form .form-sub {
  font-size: 15px; color: var(--muted);
  margin-bottom: 32px;
  font-family: var(--serif); font-style: italic;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--cream-soft);
  font-family: var(--sans);
  font-size: 15px; color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.contact-info h3 { font-size: 32px; margin-bottom: 14px; font-weight: 400; }
.contact-info h3 em { color: var(--red); font-style: italic; font-weight: 500; }
.contact-info > p {
  color: var(--muted); margin-bottom: 36px;
  font-size: 16px; line-height: 1.7;
}
.office {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.office:last-child { border-bottom: 1px solid var(--border); }
.office .label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.office .addr {
  font-family: var(--serif); font-size: 17px;
  color: var(--ink); line-height: 1.55;
  margin-bottom: 6px;
}
.office .hours { font-size: 13px; color: var(--muted); }
.contact-meta {
  margin-top: 32px;
  display: flex; flex-direction: column;
  gap: 14px; font-size: 14px;
}
.contact-meta .row {
  display: flex; gap: 14px; align-items: baseline;
  color: var(--ink-soft);
}
.contact-meta .key {
  color: var(--muted); min-width: 90px;
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
}
.contact-meta a { color: var(--red); }

/* Google Map embed */
.map-block {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--cream-soft);
}
.map-block iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
.map-block .map-foot {
  padding: 12px 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.map-block .map-foot a {
  color: var(--red);
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Journal grid */
.journal { padding: 110px 0; background: var(--cream-soft); }
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.journal-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.journal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(44,24,16,0.08);
}
.journal-card .img {
  aspect-ratio: 4/3;
  position: relative;
  background-size: cover;
  background-position: center;
}
.journal-card .body { padding: 30px 32px 32px; }
.journal-card .meta {
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red);
  font-weight: 600; margin-bottom: 12px;
}
.journal-card h3 {
  font-size: 24px; font-weight: 500;
  margin-bottom: 12px; line-height: 1.25;
}
.journal-card p {
  font-size: 14.5px; color: var(--muted);
  line-height: 1.65; margin-bottom: 18px;
}
.journal-card .read {
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px; font-weight: 600;
}
.journal-coming {
  text-align: center;
  padding: 80px 0;
  background: var(--paper);
  border: 1px dashed var(--border);
  border-radius: 2px;
  margin-top: 30px;
}
.journal-coming .badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 4px 12px;
  border-radius: 1px;
  margin-bottom: 18px;
}
.journal-coming h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
}
.journal-coming p {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto;
  font-size: 15px;
}

/* ━━━━━━━━━━ PREVIEW NOTE ━━━━━━━━━━ */
.preview-note {
  position: fixed;
  bottom: 22px; left: 22px;
  background: var(--ink); color: #fff;
  padding: 14px 36px 14px 18px;
  border-radius: 2px;
  font-size: 12px; max-width: 290px;
  line-height: 1.55; z-index: 1000;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  border-left: 3px solid var(--gold);
}
.preview-note strong { color: var(--gold); display: block; margin-bottom: 4px; }
.preview-note button {
  background: none; border: none; color: #999;
  cursor: pointer; font-size: 16px;
  position: absolute; top: 6px; right: 8px;
}

/* ━━━━━━━━━━ RESPONSIVE ━━━━━━━━━━ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .trust-head { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid, .origin-grid, .mat-intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .mat-meta { position: static; }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
  .tile:nth-child(n) { grid-column: span 1 !important; grid-row: span 1 !important; }
  .tile:nth-child(1) { grid-column: span 2 !important; grid-row: span 2 !important; }
  .tile:nth-child(6) { grid-column: span 2 !important; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-capture { grid-template-columns: 1fr; gap: 28px; }
  .capture-form { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cross-grid { grid-template-columns: repeat(2, 1fr); }
  .cross-grid .tile { height: 200px; }
}
@media (max-width: 640px) {
  .container, .container--narrow { padding: 0 22px; }
  .trust-grid { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .tile:nth-child(n) { grid-column: span 1 !important; grid-row: span 1 !important; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .capture-popup { right: 12px; left: 12px; bottom: 12px; width: auto; padding: 22px 22px 24px; }
  .topbar .left { flex-direction: column; gap: 4px; }
  .hero-content { padding-bottom: 70px; }
  .tile:nth-child(1) .tile-content h3 { font-size: 36px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .spec:nth-child(odd) { border-right: none; }
  .cross-grid { grid-template-columns: 1fr; }
}
