/* LANE — sector page shared styles */

.sec-head > * { min-width: 0; }
.section-title { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; overflow-wrap: break-word; }
.section-title .it { font-family: var(--f-serif); font-style: normal; font-weight: 400; }

.sector-hero {
  position: relative;
  padding: 140px 0 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.75) 100%);
  color: #fff;
  min-height: 50vh;
  min-height: 50dvh;
  display: flex;
  align-items: center;
}
.sector-hero > .container { width: 100%; }
.sector-hero .head-grid { display: block; }
.sector-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 7.7vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: #fff;
}
.sector-hero h1 .it { font-family: var(--f-serif); font-style: normal; font-weight: 400; color: var(--accent); letter-spacing: -0.02em; }
.sector-hero .intro { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.18); font-size: clamp(13px, 1.12vw, 15px); line-height: 1.5; color: rgba(255,255,255,0.88); max-width: 560px; }

/* Metric strip (sector-specific) */
.sector-metrics { background: var(--bg-tinted); }
.sector-metrics .grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sector-metrics .m { padding: 40px 32px; border-right: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.sector-metrics .m .n { font-size: clamp(40px, 4.6vw, 72px); line-height: 0.95; letter-spacing: -0.03em; font-weight: 500; }
.sector-metrics .m .l { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-muted); margin-top: 12px; }

/* Role block */
.sector-role { padding: 64px 0; }
.sector-role .sec-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.role-phases {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.role-phase {
  padding: 40px 32px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 260px;
}
.role-phase .num { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-muted); }
.role-phase h4 { font-size: var(--t-xl); letter-spacing: -0.02em; font-weight: 500; line-height: 1; }
.role-phase p { font-size: var(--t-sm); line-height: 1.55; color: var(--ink-muted); margin-top: auto; }

.role-detail { margin-top: 72px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.role-detail ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.role-detail ul li { font-size: var(--t-sm); color: var(--ink); padding-left: 18px; position: relative; line-height: 1.5; }
.role-detail ul li::before { content: "—"; position: absolute; left: 0; color: var(--ink-muted); }
.role-detail h3 { font-family: var(--f-serif); font-style: normal; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; font-weight: 400; }

/* Typology cards */
.typologies { padding: 32px 0 64px; }
.typology-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg);
}
.typology {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 40px 48px;
  display: flex; flex-direction: column; gap: 28px;
  background: var(--bg);
  transition: background var(--dur) var(--ease);
}
.typology:hover { background: var(--bg-tinted); }
.typology-head {
  width: 100%;
  display: flex; flex-direction: column; gap: 10px;
  padding: 0; border: 0; background: transparent;
  text-align: left;
  cursor: default;
  font: inherit; color: inherit;
}
.typology-head .num { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-muted); }
.typology-head .title { font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -0.02em; font-weight: 500; line-height: 1.15; color: var(--ink); }
.typology-head .title .it { font-family: var(--f-serif); font-style: normal; font-weight: 400; display: block; font-size: var(--t-sm); color: var(--ink-muted); margin-top: 10px; letter-spacing: 0; line-height: 1.45; }
.typology-head .summary,
.typology-head .toggle { display: none; }

.typology-body {
  max-height: none; overflow: visible;
}
.typology-body-inner {
  display: flex; flex-direction: column; gap: 0;
  padding: 0 !important;
}
.typology-body .image {
  aspect-ratio: 4/3; background: var(--bg-tinted) center / cover no-repeat;
  border: 1px solid var(--line);
}
.typology-body .desc { margin-top: 24px; }
.typology-body .desc p { font-size: var(--t-sm); line-height: 1.55; color: var(--ink); max-width: none; margin: 0; }
.typology-body .scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.typology-body .scale > div { padding-right: 8px; }
.typology-body .scale .k { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-muted); margin-bottom: 6px; }
.typology-body .scale .v { font-size: var(--t-xs); color: var(--ink); font-weight: 500; line-height: 1.3; }
.typology-body .role-list { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.typology-body .role-list .k { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-muted); margin-bottom: 12px; }
.typology-body .role-list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.typology-body .role-list li { font-size: var(--t-xs); color: var(--ink); padding-left: 16px; position: relative; line-height: 1.5; }
.typology-body .role-list li::before { content: "—"; position: absolute; left: 0; color: var(--ink-muted); }

/* Sector client strip */
.sector-clients { padding: 64px 0; background: var(--bg-tinted); }
.sector-clients .inner { display: block; }
.sector-clients .lbl { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-muted); line-height: 1.4; margin-bottom: 24px; }
.sector-clients .logos { display: flex; flex-wrap: wrap; gap: 0; border-left: 1px solid var(--line); }
.sector-clients .logo {
  flex: 1 1 20%;
  min-height: 108px;
  padding: 20px 24px;
  border-right: 1px solid var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.sector-clients .logo img {
  max-width: 100%; max-height: 64px;
  width: auto; height: auto;
  display: block; object-fit: contain;
  filter: grayscale(100%); opacity: 0.72;
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.sector-clients .logo:hover img { filter: grayscale(0%); opacity: 1; }

@media (max-width: 900px) {
  .sector-metrics .grid { grid-template-columns: 1fr 1fr; }
  .sector-metrics .m { padding: 24px 20px; border-bottom: 1px solid var(--line); }
  .sector-metrics .m:nth-child(2n) { border-right: 0; }
  .sector-metrics .m .n { font-size: clamp(24px, 7vw, 36px); overflow-wrap: break-word; word-break: break-word; }
  .role-phases { grid-template-columns: 1fr; }
  .role-phase { min-height: 0; padding: 32px 24px; }
  .role-phase p { margin-top: 0; }
  .role-detail { grid-template-columns: 1fr; }
  .role-detail ul { grid-template-columns: 1fr; }
  .typology-list { grid-template-columns: 1fr; }
  .typology { padding: 32px 24px 40px; }
  .typology-body .scale { grid-template-columns: 1fr 1fr; }
  .sector-clients .inner { grid-template-columns: 1fr; gap: 24px; }
  .sector-clients .logos { border-left: 0; }
  .sector-clients .logo { flex: 1 1 50%; border-left: 1px solid var(--line); }
}
