
:root {
  --primary: #365B6D;
  --secondary: #F6F4E8;
  --third: #263F4A;
  --paper: #F6F4E8;
  --ink: #263F4A;
  --line: rgba(38,63,74,.14);
  --muted: #5B7077;
  --mist: #E9EDE8;
  --serif: "Manrope", sans-serif;
  --sans: "DM Sans", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22,.8,.24,1);
  --shadow-sm: 0 1px 2px rgba(38,63,74,.06), 0 4px 14px rgba(38,63,74,.05);
  --shadow-md: 0 2px 4px rgba(38,63,74,.05), 0 18px 44px rgba(38,63,74,.11);
  --shadow-lg: 0 4px 8px rgba(38,63,74,.06), 0 30px 70px rgba(38,63,74,.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--primary); color: var(--secondary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 6px; }

.container { width: min(1280px, 88%); margin-inline: auto; }

.progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  background: var(--primary);
  transform-origin: left; transform: scaleX(0);
  z-index: 200;
}

/* ---------- shared ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--primary);
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1.5px;
  background: currentColor; border-radius: 2px;
}

.section-padding { padding-block: clamp(88px, 10vw, 150px); }

.section-heading {
  margin-top: 26px;
  font: 700 clamp(40px, 5.2vw, 70px)/1.05 var(--serif);
  letter-spacing: -.04em;
}
.section-heading em { color: var(--primary); font-style: normal; }

.section-intro { max-width: 360px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.primary-button {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 22px;
  background: var(--third); color: var(--secondary);
  font-size: 14px; font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 10px 26px rgba(38,63,74,.22);
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease);
}
.primary-button span {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--secondary); color: var(--third);
  font-size: 17px;
  transition: transform .35s var(--ease);
}
.primary-button:hover { transform: translateY(-3px); background: var(--primary); box-shadow: 0 16px 34px rgba(38,63,74,.28); }
.primary-button:hover span { transform: rotate(45deg); }

.light-button {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 24px;
  background: var(--secondary); color: var(--third);
  font-size: 14px; font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 10px 26px rgba(0,0,0,.2);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.light-button span {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--third); color: var(--secondary);
  font-size: 16px;
  transition: transform .35s var(--ease);
}
.light-button:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.26); }
.light-button:hover span { transform: rotate(45deg); }

/* ---------- header ---------- */

.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 80px;
  padding-inline: max(6%, calc((100vw - 1280px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(246,244,232,.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: height .35s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
.header.scrolled {
  height: 68px;
  border-color: var(--line);
  background: rgba(246,244,232,.9);
  box-shadow: 0 8px 30px rgba(38,63,74,.06);
}

.logo img { width: 50px; max-height: 100px; object-fit: contain; object-position: left center; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }

.nav a:not(.nav-cta) {
  position: relative;
  font-size: 14px; font-weight: 500;
  color: var(--primary);
  padding: 6px 0;
  transition: color .25s;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--third);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:not(.nav-cta):hover,
.nav a.active { color: var(--third); }
.nav a:not(.nav-cta):hover::after,
.nav a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  border-radius: 100px;
  padding: 12px 22px;
  background: var(--third);
  color: var(--secondary) !important;
  font-size: 14px; font-weight: 600;
  transition: background .3s, transform .3s var(--ease);
}
.nav-cta:hover { background: var(--primary); transform: translateY(-2px); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  color: var(--third); font-size: 20px; cursor: pointer;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 150px 0 85px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 80% 40%, rgba(54,91,109,.14), transparent 70%),
    radial-gradient(40% 40% at 8% 90%, rgba(54,91,109,.08), transparent 70%),
    linear-gradient(rgba(38,63,74,.045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(38,63,74,.045) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 60% 45%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 85% 80% at 60% 45%, #000 30%, transparent 85%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(40px, 6vw, 90px); }

.hero-copy .eyebrow {
  padding: 7px 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11px; letter-spacing: .1em;
  box-shadow: var(--shadow-sm);
}
.hero-copy .eyebrow::before { width: 8px; height: 8px; border-radius: 50%; animation: pulse 2.4s infinite; box-shadow: 0 0 0 0 rgba(54,91,109,.5); }
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(54,91,109,0); }
  100% { box-shadow: 0 0 0 0 rgba(54,91,109,0); }
}

.hero h1 {
  max-width: 700px;
  margin-top: 28px;
  font: 700 clamp(44px, 6vw, 84px)/1.02 var(--serif);
  letter-spacing: -.05em;
}
.hero h1 em {
  display: block;
  background: linear-gradient(100deg, var(--primary), #5E8798);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
  font-style: normal;
}

.hero-description { max-width: 520px; margin-top: 26px; font-size: 17px; line-height: 1.65; }

.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 34px; }
.secondary-link {
  padding-bottom: 5px;
  border-bottom: 1.5px solid var(--primary);
  color: var(--primary);
  font-size: 14px; font-weight: 600;
  transition: color .25s, border-color .25s;
}
.secondary-link:hover { color: var(--third); border-color: var(--third); }

/* portrait */

.hero-visual { position: relative; height: 580px; }

.portrait-disc {
  position: absolute; z-index: 0;
  width: 92%; aspect-ratio: 1;
  left: 50%; top: 50%;
  transform: translate(-50%, -52%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #4A7487 0%, var(--primary) 45%, #2C4B5A 100%);
  box-shadow: 0 50px 110px rgba(38,63,74,.25), inset 0 -30px 60px rgba(0,0,0,.12);
}
.portrait-disc::before, .portrait-disc::after {
  content: ""; position: absolute; border-radius: 50%;
}
.portrait-disc::before { inset: 8%; border: 1px solid rgba(246,244,232,.3); }
.portrait-disc::after { inset: -9%; border: 1px solid rgba(54,91,109,.35); }

.portrait-frame {
  position: absolute; z-index: 2;
  left: 50%; top: 4%; bottom: 4%;
  width: min(78%, 400px);
  transform: translateX(-50%);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--primary);
  box-shadow: var(--shadow-lg);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.portrait-frame.no-photo { display: grid; place-items: center; background: var(--third); }
.portrait-placeholder { text-align: center; color: var(--secondary); }
.portrait-placeholder strong { display: block; font: 800 100px/1 var(--serif); letter-spacing: -.07em; }
.portrait-placeholder span {
  display: block; margin-top: 15px;
  color: #C3D1D0;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.portrait-frame:not(.no-photo) .portrait-placeholder { display: none; }

.portrait-outline {
  position: absolute; z-index: 1;
  width: 115%; height: 42%;
  top: 46%; left: -8%;
  border: 1px solid rgba(38,63,74,.28);
  border-radius: 50%;
  transform: rotate(-32deg);
  pointer-events: none;
}

.portrait-caption {
  position: absolute; z-index: 5;
  right: 0; bottom: 8%;
  max-width: 220px;
  padding: 14px 18px;
  background: rgba(246,244,232,.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-9px); } }
.portrait-caption small {
  display: block; margin-bottom: 6px;
  color: var(--primary);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.portrait-caption strong { font: 700 15px var(--serif); letter-spacing: -.01em; }

.hero-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 70px; padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- introduction (dark) ---------- */

.introduction {
  position: relative; overflow: hidden;
  background: radial-gradient(60% 80% at 100% 0%, rgba(54,91,109,.45), transparent 60%), var(--third);
  color: var(--secondary);
  padding-block: clamp(88px, 9vw, 130px);
}
.introduction::after {
  content: "M";
  position: absolute; right: 3%; bottom: -140px;
  font: 800 440px/1 var(--serif);
  color: rgba(246,244,232,.035);
  pointer-events: none;
}
.introduction .eyebrow { color: #C3D1D0; }

.intro-grid, .intro-bottom {
  display: grid; grid-template-columns: .55fr 1.45fr; gap: 70px;
  position: relative; z-index: 2;
}
.intro-grid { align-items: start; }

.introduction h2 { max-width: 980px; font: 700 clamp(34px, 4.6vw, 62px)/1.1 var(--serif); letter-spacing: -.04em; }
.introduction h2 em { color: #B9C9CD; font-style: normal; }

.intro-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(246,244,232,.18); }
.intro-number { color: #C3D1D0; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.intro-bottom p { max-width: 660px; color: rgba(246,244,232,.74); font-size: 16px; line-height: 1.8; }

/* ---------- story ---------- */

.story { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 7vw, 100px); align-items: start; }

.story-heading { position: sticky; top: 120px; }
.story-heading h2 { margin-top: 26px; font: 700 clamp(38px, 4.6vw, 62px)/1.05 var(--serif); letter-spacing: -.04em; }
.story-heading h2 em { color: var(--primary); font-style: normal; }
.story-heading p { max-width: 350px; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.story-content { display: grid; gap: 12px; }

.story-block {
  padding: 28px 30px 30px;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background .35s, transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.story-block:hover { background: #fff; transform: translateX(8px); box-shadow: var(--shadow-md); border-color: transparent; }
.story-block > span, .story-top > span {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--line); border-radius: 100px;
  color: var(--primary);
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
}
.story-block h3 { margin-top: 18px; font: 700 clamp(21px, 2vw, 25px)/1.2 var(--serif); letter-spacing: -.03em; }
.story-block p { max-width: 580px; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- expertise ---------- */

.expertise { background: var(--mist); }

.expertise-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 64px; }
.expertise-header .section-heading { max-width: 700px; }

.expertise-list { display: grid; gap: 12px; }

.expertise-item {
  display: grid; grid-template-columns: 70px .8fr 1.2fr 44px;
  align-items: center; gap: 28px;
  padding: 28px 30px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background .35s, transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.expertise-item:hover { background: #fff; transform: translateX(8px); box-shadow: var(--shadow-md); border-color: transparent; }

.expertise-number { color: var(--primary); font-size: 13px; font-weight: 700; }
.expertise-item h3 { font: 700 clamp(22px, 2.4vw, 30px) var(--serif); letter-spacing: -.035em; }
.expertise-item p { max-width: 460px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.expertise-arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--primary); font-size: 16px;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.expertise-item:hover .expertise-arrow { transform: rotate(45deg); background: var(--third); color: var(--secondary); border-color: var(--third); }

/* ---------- point of view ---------- */

.point-of-view { background: var(--paper); }

.point-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.point-heading .section-heading { max-width: 720px; }

.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.principle {
  min-height: 250px;
  padding: 32px 34px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #E4EAE5;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s;
}
.principle:nth-child(2) { background: #DCE5E7; }
.principle:nth-child(3) { background: #DCE5E7; }
.principle:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: #fff; }

.principle-number {
  align-self: flex-start;
  padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 100px;
  color: var(--primary);
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
}
.principle h3 { margin-top: 40px; font: 700 clamp(24px, 2.6vw, 34px)/1.12 var(--serif); letter-spacing: -.035em; }
.principle p { max-width: 430px; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- working ---------- */

.working {
  position: relative; overflow: hidden;
  background: radial-gradient(70% 80% at 100% 0%, rgba(94,135,152,.4), transparent 60%), var(--primary);
  color: var(--secondary);
}
.working::before {
  content: "MERZAAI";
  position: absolute; left: -2%; bottom: -40px;
  font: 800 clamp(100px, 19vw, 270px)/.8 var(--serif);
  letter-spacing: -.06em;
  color: rgba(246,244,232,.055);
  pointer-events: none;
}
.working-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 7vw, 90px); align-items: start; }
.working .eyebrow { color: var(--secondary); }
.working h2 { margin-top: 26px; font: 700 clamp(38px, 4.6vw, 64px)/1.05 var(--serif); letter-spacing: -.045em; }
.working h2 em { display: block; color: #C3D1D0; font-style: normal; }

.working-copy { padding-top: 8px; }
.working-copy p { margin-bottom: 20px; color: rgba(246,244,232,.84); font-size: 16px; line-height: 1.8; }

.working-note {
  display: flex; justify-content: space-between; gap: 25px;
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid rgba(246,244,232,.3);
  color: rgba(246,244,232,.78);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- CTA ---------- */

.final-cta {
  position: relative; overflow: hidden;
  padding: clamp(100px, 11vw, 150px) 0;
  text-align: center;
  background: radial-gradient(50% 60% at 50% 50%, rgba(54,91,109,.1), transparent 70%), var(--paper);
}
.cta-orbit {
  position: absolute; width: 520px; height: 520px;
  border: 1px solid rgba(54,91,109,.2); border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: spin 60s linear infinite;
  pointer-events: none;
}
.cta-orbit::before, .cta-orbit::after {
  content: ""; position: absolute; inset: 40px;
  border: 1px solid rgba(54,91,109,.15); border-radius: 50%;
}
.cta-orbit::after { inset: 90px; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.cta-content { position: relative; z-index: 2; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { max-width: 950px; margin: 30px auto 24px; font: 700 clamp(44px, 6.4vw, 88px)/1.03 var(--serif); letter-spacing: -.05em; }
.final-cta h2 em { display: block; color: var(--primary); font-style: normal; }
.final-cta p { max-width: 500px; margin: 0 auto 36px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.final-cta .cta-button {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 10px 10px 10px 26px;
  background: var(--third); color: var(--secondary);
  font-size: 14px; font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 10px 26px rgba(38,63,74,.22);
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease);
}
.final-cta .cta-button span {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--secondary); color: var(--third);
  font-size: 17px;
  transition: transform .35s var(--ease);
}
.final-cta .cta-button:hover { transform: translateY(-3px); background: var(--primary); box-shadow: 0 16px 34px rgba(38,63,74,.28); }
.final-cta .cta-button:hover span { transform: rotate(45deg); }

/* ---------- footer ---------- */

.footer { background: var(--third); color: var(--secondary); padding: 72px max(7%, calc((100vw - 1280px) / 2)) 24px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding-bottom: 70px; }
.footer-brand img { display: block; width: 100px; height: auto; max-height: 65px; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 300px; margin-top: 20px; color: rgba(246,244,232,.65); font-size: 14px; line-height: 1.75; }

.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-column h4 { margin-bottom: 8px; color: #B9C9CD; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a { color: rgba(246,244,232,.82); font-size: 14px; transition: color .2s, transform .3s var(--ease); }
.footer-column a:hover { color: #fff; transform: translateX(4px); }

.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(246,244,232,.18); color: rgba(246,244,232,.55); font-size: 11px; letter-spacing: .08em; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.story-block.reveal.in-view,
.expertise-item.reveal.in-view { transition: opacity .9s ease, transform .4s var(--ease), background .35s, box-shadow .4s var(--ease), border-color .3s; }
.story-block.reveal.in-view:hover,
.expertise-item.reveal.in-view:hover { transform: translateX(8px); }
.principle.reveal.in-view { transition: opacity .9s ease, transform .45s var(--ease), box-shadow .45s var(--ease), background .3s; }
.principle.reveal.in-view:hover { transform: translateY(-6px); }

/* ---------- responsive ---------- */

@media (max-width: 1050px) {
  .expertise-item { grid-template-columns: 50px .8fr 1.2fr 40px; gap: 20px; }
}

@media (max-width: 800px) {
  .header { height: 72px; padding-inline: 6%; }
  .header.scrolled { height: 64px; }
  .menu-toggle { display: block; }

  .nav {
    position: absolute; top: 100%; left: 3%; right: 3%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 22px 22px;
    background: rgba(246,244,232,.97);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a:not(.nav-cta) { padding: 14px 0; font-size: 16px; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 10px; }

  .hero { padding: 120px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 500px; }
  .hero-bottom { margin-top: 50px; }

  .intro-grid, .intro-bottom { grid-template-columns: 1fr; gap: 28px; }
  .intro-bottom { margin-top: 40px; }

  .story-grid { grid-template-columns: 1fr; gap: 45px; }
  .story-heading { position: static; }

  .expertise-header, .point-heading { flex-direction: column; align-items: flex-start; }
  .principles { grid-template-columns: 1fr; }

  .working-grid { grid-template-columns: 1fr; gap: 35px; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 540px) {
  .hero { padding-top: 105px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 58px); }
  .hero-description { font-size: 16px; }
  .hero-visual { height: 420px; }
  .portrait-frame { width: 72%; }
  .portrait-caption { right: 2%; max-width: 180px; padding: 12px 15px; }
  .hero-bottom { font-size: 9px; }
  .hero-bottom span:last-child { display: none; }

  .introduction::after { font-size: 300px; bottom: -90px; }

  .story-block { padding: 22px; }

  .expertise-item { grid-template-columns: 36px 1fr 38px; gap: 12px; padding: 22px 20px; }
  .expertise-item p { grid-column: 2 / 3; grid-row: 2; }
  .expertise-arrow { grid-column: 3; grid-row: 1; width: 36px; height: 36px; }

  .principle { min-height: 210px; padding: 26px; }
  .principle h3 { margin-top: 28px; }

  .working-note { flex-direction: column; gap: 12px; }

  .cta-orbit { width: 340px; height: 340px; }
  .final-cta .cta-button { width: 100%; justify-content: space-between; }

  .footer-main { gap: 35px 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


@media (max-width: 768px) {
  .working::before {
    display: none;
    content: none;
  }
}
/* ---------- image slots (replace src="" with your image) ---------- */

.img-slot {
  position: relative; overflow: hidden; margin: 0;
  display: grid; place-items: center;
  min-height: 220px;
  border-radius: var(--radius-lg);
  border: 1.5px dashed rgba(54,91,109,.38);
  background:
    repeating-linear-gradient(135deg, rgba(54,91,109,.055) 0 12px, transparent 12px 24px),
    #E4EAE5;
}
.img-slot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; filter: saturate(.85);
  transition: transform 1s var(--ease);
}
.img-slot img[src=""], .img-slot img:not([src]) { display: none; }
.img-slot:has(img[src]:not([src=""])) { border-color: transparent; }
.img-slot:hover img { transform: scale(1.04); }
.slot-label {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px; text-align: center;
  color: var(--primary);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.slot-label svg { width: 34px; height: 34px; opacity: .7; }
.slot-label span { font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: none; opacity: .75; max-width: 260px; }
.img-slot.dark {
  border-color: rgba(246,244,232,.28);
  background:
    repeating-linear-gradient(135deg, rgba(246,244,232,.04) 0 12px, transparent 12px 24px),
    rgba(246,244,232,.05);
}
.img-slot.dark .slot-label { color: #D2DEDA; }

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.4);
  padding-block: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 34px; padding-right: 34px;
  font: 700 clamp(18px, 2vw, 26px)/1 var(--serif); letter-spacing: -.03em;
  color: var(--ink); white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(38,63,74,.45); }
.marquee-track span::after { content: ""; width: 9px; height: 9px; background: var(--primary); transform: rotate(45deg); border-radius: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }


/* ---------- story: heading image + block icons ---------- */

.story-slot { margin-top: 32px; aspect-ratio: 4 / 3; min-height: 0; border-radius: var(--radius); }
.story-top { display: flex; justify-content: space-between; align-items: center; }
.story-ico {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(54,91,109,.08); color: var(--primary);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.story-ico svg, .exp-ico svg { width: 20px; height: 20px; display: block; }
.story-block:hover .story-ico { background: var(--primary); color: var(--secondary); transform: rotate(-6deg); }

/* ---------- expertise icons ---------- */

.expertise-item h3 { display: flex; align-items: center; gap: 14px; }
.exp-ico {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(54,91,109,.1); color: var(--primary);
  transition: background .3s, color .3s;
}
.expertise-item:hover .exp-ico { background: var(--primary); color: var(--secondary); }

/* ---------- principles: small visuals ---------- */

.principle-viz { position: absolute; top: 26px; right: 28px; width: 128px; color: var(--primary); pointer-events: none; }
.principle-viz svg { display: block; width: 100%; height: auto; }
.pv-ln { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-soft { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .4; }
.pv-wave { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .5; transform-box: fill-box; transform-origin: center; animation: wave 3s ease-out infinite; }
.pv-wave:nth-of-type(2) { animation-delay: 1s; }
.pv-wave:nth-of-type(3) { animation-delay: 2s; }
@keyframes wave { from { transform: scale(.4); opacity: .7; } to { transform: scale(1); opacity: 0; } }
.pv-dash { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-dasharray: 3 5; opacity: .45; }
.pv-fill { fill: currentColor; }
.pv-tint { fill: currentColor; opacity: .14; }

/* ---------- working: image under heading ---------- */

.working-slot { position: relative; z-index: 2; margin-top: 56px; aspect-ratio: 21 / 8; min-height: 240px; }
@media (max-width: 800px) { .working-slot { aspect-ratio: 4 / 3; margin-top: 36px; } }

/* ---------- responsive additions ---------- */

@media (max-width: 800px) {
  .principle-viz { width: 104px; top: 22px; right: 22px; }
}
@media (max-width: 540px) {
  .principle-viz { width: 84px; }
  .exp-ico { display: none; }
}
