/* Stylesheet of the design mockup, carried over unchanged.
   Regenerate with: python3 port.py — do not edit by hand. */

  :root {
    --gold: #C79A57; --gold-light: #D7B06E; --graphite: #2E2E2E; --navy: #0B1F33; --beige: #F3EFE7; --white: #FFFFFF;
    --ink: #1B1B1B; --graphite-2: #252525; --gold-text-on-light: #8A6630;
    --on-dark: #E9E4DA; --on-dark-muted: #A7A096; --on-dark-soft: #C9C2B6; --on-light-muted: #6A645B;
    --line-gold: rgba(199,154,87,.35); --line-dark: rgba(255,255,255,.08); --edge: rgba(255,255,255,.14);
    --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --max: 1240px; --cut: 18px; --ease: cubic-bezier(.2,.8,.2,1);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 76px; }
  body { margin: 0; font-family: var(--font); background: var(--ink); color: var(--on-dark); line-height: 1.65; -webkit-font-smoothing: antialiased; }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
  .media { background: #2a2520; overflow: hidden; }
  /* Polish: focus, selection, type */
  a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
  ::selection { background: var(--gold); color: var(--ink); }
  h1, h2, h3 { text-wrap: balance; }
  p { text-wrap: pretty; }
  .skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--gold); color: var(--ink); font: 700 13px var(--font); letter-spacing: .06em; transition: top .2s; }
  .skip:focus { top: 16px; }
  svg.ic { width: 34px; height: 34px; stroke: var(--on-dark-soft); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: transform .35s var(--ease), stroke .25s; }

  /* Chamfered panel — neutral edge, gold only on key panels / hover */
  .panel { --c: var(--cut); position: relative; padding: 1px; background: var(--edge); transition: background .3s, transform .35s var(--ease), opacity .8s ease;
    clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
  .panel > .in { height: 100%; background: #2B2A29; transition: background .3s;
    clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
  .panel.navy > .in { background: #0F2740; }
  .panel.key { background: rgba(199,154,87,.6); }

  .kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
  .kicker::before { content: ""; width: 36px; height: 1px; background: var(--gold); transform-origin: left; transition: transform .9s var(--ease) .2s; }
  .wait .kicker::before { transform: scaleX(0); transition: none; }
  h2.title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; text-transform: uppercase; line-height: 1.12; letter-spacing: .01em; color: var(--white); }
  .title .soft { color: var(--on-dark-muted); }
  .num-gold { color: var(--gold); font-variant-numeric: tabular-nums; }
  .num { font-variant-numeric: tabular-nums; }
  .lead { color: var(--on-dark-muted); font-size: 16.5px; max-width: 560px; }

  .btn { display: inline-flex; align-items: center; gap: 12px; font: 600 13px var(--font); letter-spacing: .14em; text-transform: uppercase; padding: 17px 30px; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
  .btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .25s var(--ease); }
  .btn:hover svg { transform: translateX(4px); }
  .btn-gold { background: var(--gold); color: var(--ink); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
  .btn-gold:hover { background: var(--gold-light); color: var(--ink); }
  .btn-line { border: 1px solid rgba(255,255,255,.35); color: var(--white); }
  .btn-line:hover { border-color: var(--gold); color: var(--gold-light); }

  /* Header */
  .header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
  .header.scrolled { background: rgba(27,27,27,.94); backdrop-filter: blur(10px); border-color: var(--line-dark); }
  .header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; transition: height .3s var(--ease); }
  .header.scrolled .container { height: 68px; }
  .logo img { height: 46px; width: auto; transition: height .3s var(--ease); }
  .header.scrolled .logo img { height: 38px; }
  .progress { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--gold); }
  .nav { display: flex; gap: 32px; }
  .nav a { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); position: relative; padding: 6px 0; transition: color .2s; }
  .nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .25s; }
  .nav a:hover { color: var(--white); }
  .nav a:hover::after, .nav a.active::after { width: 100%; }
  .nav a.active { color: var(--gold-light); }
  .header-actions { display: flex; align-items: center; gap: 20px; }
  .lang { display: flex; align-items: center; gap: 4px; }
  .lang button { font: 600 12px var(--font); letter-spacing: .12em; background: none; border: 0; color: var(--on-dark-muted); padding: 6px 6px; min-height: 36px; cursor: pointer; transition: color .2s; }
  .lang button:hover { color: var(--on-dark); }
  .lang button[aria-pressed="true"] { color: var(--gold); }
  .lang span { color: var(--line-dark); }
  .header .btn { padding: 12px 20px; font-size: 11.5px; }
  .nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--edge); color: var(--on-dark); cursor: pointer; }

  /* Hero */
  .hero { position: relative; min-height: 880px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); }
  .hero .media { position: absolute; inset: -40px 0 0 0; background: #1b1b1b; will-change: transform; }
  .hero .media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: kb 3.2s var(--ease) both; }
  @keyframes kb { from { transform: scale(1.14); } to { transform: scale(1); } }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(27,27,27,.78) 0%, rgba(27,27,27,.35) 50%, rgba(27,27,27,0) 75%), linear-gradient(0deg, var(--ink) 0%, rgba(27,27,27,0) 30%); }
  .hero > .container, .stats > .container { width: 100%; }
  .hero-content { position: relative; z-index: 2; padding-top: 190px; max-width: 860px; }
  @media (prefers-reduced-motion: reduce) { .pin::after { animation: none; } }
  .hero-content > * { animation: up 1s var(--ease) both; }
  @keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  .hero h1 { font-size: clamp(30px, 4.2vw, 56px); font-weight: 800; text-transform: uppercase; line-height: 1.06; color: var(--white); margin-bottom: 26px; }
  .hero h1 .gold-text { display: block; color: var(--gold); }
  .hero .lead { font-size: 18px; color: var(--on-dark); margin-bottom: 38px; }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
  .stats { position: relative; z-index: 2; margin-top: 72px; padding-bottom: 40px; }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .stats-grid .panel { animation: up 1s var(--ease) both; }
  .stat .in { padding: 24px 26px 22px; }
  .stat strong { display: block; font-size: clamp(28px, 2.8vw, 40px); font-weight: 800; line-height: 1.1; }
  .stat span { font-size: 13px; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .08em; }
  .footnote { margin-top: 14px; font-size: 12px; color: var(--on-dark-muted); }
  .scroll-cue { position: absolute; right: 32px; bottom: 48px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; font-weight: 600; letter-spacing: .3em; color: var(--on-dark-muted); writing-mode: vertical-rl; }
  .scroll-cue i { display: block; width: 1px; height: 56px; background: var(--line-dark); position: relative; overflow: hidden; }
  .scroll-cue i::after { content: ""; position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: var(--gold); animation: drip 2s ease-in-out infinite; }
  @keyframes drip { to { top: 56px; } }

  section { padding: 110px 0; }
  .section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }

  .rv { transition: opacity .8s ease, transform .9s var(--ease); }
  .rv.wait { opacity: 0; transform: translateY(28px); transition: none; }
  .panel.wait { opacity: 0; transform: translateY(24px); transition: none; }

  /* About */
  .about { background: var(--beige); color: var(--graphite); }
  .about .container { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
  .about .kicker { color: var(--gold-text-on-light); }
  .about .kicker::before { background: var(--gold-text-on-light); }
  .about h2.title { color: var(--graphite); }
  .about p { color: var(--on-light-muted); margin-top: 18px; }
  .about-media { position: relative; }
  .about-media .frame { --c: 28px; padding: 0; background: none; transition: clip-path 1.3s cubic-bezier(.7,0,.2,1); }
  .about-media .frame > .in { aspect-ratio: 4 / 5; }
  .about-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
  .about-media.wait img { transform: scale(1.12); transition: none; }
  .about-media.wait .frame { clip-path: polygon(var(--c) 0, var(--c) 0, var(--c) 100%, var(--c) 100%, 0 100%, 0 var(--c)); transition: none; }
  .facts { margin-top: 32px; border-top: 1px solid #D9D1C2; }
  .facts div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #D9D1C2; }
  .facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-muted); padding-top: 2px; }
  .facts dd { font-weight: 600; color: var(--graphite); }
  .founders { margin-top: 30px; }
  .founders .bar { display: flex; height: 6px; gap: 4px; margin: 12px 0 16px; }
  .founders .bar i { display: block; transform-origin: left; transition: transform 1.2s var(--ease); }
  .founders .bar i:first-child { flex: 60; background: var(--gold); }
  .founders .bar i:last-child { flex: 40; background: var(--navy); transition-delay: .35s; }
  .founders.wait .bar i { transform: scaleX(0); transition: none; }
  .founders .row { display: grid; grid-template-columns: 60fr 40fr; gap: 4px; }
  .founders strong { display: block; font-size: 30px; font-weight: 800; color: var(--graphite); line-height: 1.1; font-variant-numeric: tabular-nums; }
  .founders .row div:first-child strong { color: var(--gold-text-on-light); }
  .founders span { font-size: 14px; font-weight: 500; }
  .founders .label { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-muted); }

  /* Services */
  .services { background: var(--graphite-2); }
  .svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .svc .in { position: relative; padding: 28px 22px 26px; display: flex; flex-direction: column; gap: 18px; }
  .svc:hover { background: var(--gold); transform: translateY(-6px); }
  .svc:hover .in { background: #33302B; }
  .svc:hover svg.ic { transform: translateY(-3px) scale(1.06); stroke: var(--gold); }
  .svc h3 { font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--white); }
  .svc .num { font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--on-dark-muted); transition: color .25s; }
  .svc:hover .num { color: var(--gold); }
  .svc .in::before { content: ""; position: absolute; right: 22px; top: 0; width: 1px; height: 0; background: var(--gold); transition: height .6s var(--ease); }
  .svc .in::after { content: ""; position: absolute; right: 18.5px; top: -8px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); opacity: 0; transition: top .6s var(--ease), opacity .2s; }
  .svc:hover .in::before { height: calc(100% - 22px); }
  .svc:hover .in::after { top: calc(100% - 26px); opacity: 1; }

  /* Capacity */
  .capacity { background: var(--navy); position: relative; overflow: hidden; }
  .capacity .topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
  .capacity .topo path { stroke-dasharray: 2 7; animation: flow 40s linear infinite; }
  .capacity .topo path:nth-child(even) { animation-duration: 55s; animation-direction: reverse; }
  @keyframes flow { to { stroke-dashoffset: -360; } }
  .capacity .container { position: relative; }
  .cap-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 18px; }
  .cap .in { padding: 30px 30px 28px; }
  .cap h3 { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; }
  .cap ul { list-style: none; }
  .cap li { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-dark); }
  .cap li b { font-size: 26px; font-weight: 800; color: var(--white); min-width: 34px; font-variant-numeric: tabular-nums; }
  .cap li span { color: var(--on-dark); }
  .cap.big .in { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; }
  .cap.big strong { font-size: clamp(56px, 6vw, 88px); font-weight: 800; line-height: 1; }
  .cap.big span { margin-top: 10px; color: var(--on-dark-muted); text-transform: uppercase; font-size: 13px; letter-spacing: .1em; }
  .extra { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .extra .in { padding: 24px 24px; display: flex; gap: 16px; align-items: center; }
  .extra .panel:hover { background: var(--gold); }
  .extra .panel:hover svg.ic { transform: scale(1.08); stroke: var(--gold); }
  .extra p { font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--on-dark); }
  .team { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
  .team div { padding: 26px 24px 0 0; }
  .team div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
  .team strong { display: block; font-size: 36px; font-weight: 800; line-height: 1.1; color: var(--white); font-variant-numeric: tabular-nums; }
  .team span { font-size: 13px; color: var(--on-dark-muted); }

  /* Fleet explorer */
  .fleet { margin-top: 18px; }
  .fleet .in { display: grid; grid-template-columns: 260px 1fr; min-height: 360px; }
  .fleet-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line-dark); padding: 18px 0; }
  .fleet-tab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 30px; min-height: 64px; background: none; border: 0; border-left: 2px solid transparent; color: var(--on-dark-muted); font: 700 22px var(--font); text-align: left; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
  .fleet-tab .fc { font-size: 13px; font-weight: 600; letter-spacing: .12em; }
  .fleet-tab:hover { color: var(--white); background: rgba(255,255,255,.03); }
  .fleet-tab.on { color: var(--white); border-left-color: var(--gold); background: rgba(255,255,255,.04); }
  .fleet-tab.on .fc { color: var(--gold); }
  .fleet-body { display: grid; grid-template-columns: 1fr 220px; gap: 32px; padding: 34px 40px; align-items: end; }
  .fleet-info small { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); }
  .fleet-info strong { display: block; font-size: clamp(48px, 5vw, 72px); font-weight: 800; line-height: 1; color: var(--white); margin: 10px 0 26px; }
  .fl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-dark); }
  .fl-row span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
  .fl-row b { font-size: 20px; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
  .fl-bar { height: 4px; background: rgba(255,255,255,.1); margin: 2px 0 14px; }
  .fl-bar i { display: block; height: 100%; background: var(--gold); transition: width .7s var(--ease); }
  .fl-rigs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
  .fl-rigs svg.ic { width: 30px; height: 30px; animation: up .5s var(--ease) both; }
  .fleet-art { display: flex; justify-content: center; align-items: flex-end; height: 300px; border-bottom: 1px solid var(--line-dark); }
  .fleet-art svg { width: auto; stroke: var(--on-dark-soft); fill: none; stroke-width: 1.2; stroke-linecap: round; transition: height .7s var(--ease); }

  /* Projects */
  .projects { background: var(--ink); }
  .formats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
  .fmt { position: relative; min-height: 420px; }
  .fmt .in { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; overflow: hidden; }
  .fmt .bg { position: absolute; inset: 0; }
  .fmt .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
  .fmt:hover { background: var(--gold); }
  .fmt:hover .bg img { transform: scale(1.06); }
  .fmt .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,20,.95) 0%, rgba(20,20,20,.25) 60%, rgba(20,20,20,.1) 100%); transition: opacity .4s; }
  .fmt:hover .bg::after { opacity: .85; }
  .fmt .txt { position: relative; transition: transform .4s var(--ease); }
  .fmt:hover .txt { transform: translateY(-6px); }
  .fmt strong { display: block; font-size: 64px; font-weight: 800; line-height: 1; }
  .fmt small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--on-dark-soft); margin: 8px 0 10px; }
  .fmt p { font-size: 16px; font-weight: 600; color: var(--white); }
  .fmt.text .in { justify-content: space-between; }
  .geo { margin-top: 18px; display: grid; grid-template-columns: .9fr 2fr; gap: 18px; }
  .geo .year .in { padding: 30px; }
  .geo .year strong { font-size: 64px; font-weight: 800; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
  .geo .year span { display: block; margin-top: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-muted); }
  .geo .year p { margin-top: 16px; font-size: 14px; color: var(--on-dark-muted); }
  .geo .regions .in { padding: 30px; }
  .geo .regions h3 { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 14px; }
  .geo .regions ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
  .geo .regions li { padding: 12px 0; border-top: 1px solid var(--line-dark); font-weight: 500; transition: color .2s, padding-left .25s var(--ease); }
  .geo .regions li:hover { color: var(--gold-light); padding-left: 8px; }
  .clients { margin-top: 72px; }
  .clients h3 { font-size: 22px; font-weight: 800; text-transform: uppercase; color: var(--white); margin-bottom: 24px; }
  .clients h3 .soft { color: var(--on-dark-muted); }
  .client-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
  .client-grid div { padding: 22px 24px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); font-weight: 600; color: var(--on-dark); transition: background .2s, color .2s, opacity .7s ease; }
  .client-grid div:hover { background: rgba(255,255,255,.04); color: var(--gold-light); }
  .client-grid.wait div { opacity: 0; transition: none; }

  /* Why MDS */
  .goals { background: var(--beige); color: var(--graphite); }
  .goals .kicker { color: var(--gold-text-on-light); }
  .goals .kicker::before { background: var(--gold-text-on-light); }
  .goals h2.title { color: var(--graphite); }
  .goal-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
  .goal-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #D9D1C2; border-left: 1px solid #D9D1C2; }
  .goal-grid div { padding: 26px 26px; border-right: 1px solid #D9D1C2; border-bottom: 1px solid #D9D1C2; background: rgba(255,255,255,.5); transition: background .25s, opacity .7s ease, transform .7s var(--ease); }
  .goal-grid div:hover { background: #FFFFFF; }
  .goal-grid.wait div { opacity: 0; transform: translateY(14px); transition: none; }
  .goal-grid em { display: block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--gold-text-on-light); margin-bottom: 10px; }
  .goal-grid h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--graphite); margin-bottom: 8px; }
  .goal-grid p { font-size: 14px; color: var(--on-light-muted); }
  .goal-kpi .in { background: #2B2A29; padding: 36px 32px; height: 100%; display: flex; flex-direction: column; justify-content: center; color: var(--on-dark); }
  .goal-kpi strong { font-size: clamp(64px, 7vw, 96px); font-weight: 800; line-height: 1; }
  .goal-kpi span { margin-top: 14px; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--on-dark-muted); }
  .gauge { width: 100%; max-width: 240px; margin-bottom: 18px; }

  /* Contact */
  .contact { position: relative; background: var(--ink); overflow: hidden; }
  .contact .media { position: absolute; inset: 0 0 0 auto; width: 46%; }
  .contact .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease); }
  .contact.wait .media img { transform: scale(1.1); transition: none; }
  .contact .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(27,27,27,.3) 45%, rgba(27,27,27,.1) 100%); }
  .contact .container { position: relative; z-index: 1; }
  .contact-box { max-width: 640px; }
  .contact h2.title { margin-bottom: 18px; }
  .contact dl { margin: 34px 0 36px; border-top: 1px solid var(--line-dark); }
  .contact dl div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .contact dt { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); padding-top: 3px; }
  .contact dd { color: var(--on-dark); }
  .contact dd a { color: var(--white); font-weight: 600; transition: color .2s; }
  .contact dd a:hover { color: var(--gold-light); }
  .contact .todo { color: var(--on-dark-muted); font-style: italic; }
  .soc { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .soc a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 600; transition: color .2s; }
  .soc a:hover { color: var(--gold-light); }
  .soc svg { width: 16px; height: 16px; stroke: var(--on-dark-soft); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
  .soc a:hover svg { stroke: var(--gold); }

  /* Footer */
  .footer { background: #141414; border-top: 1px solid var(--line-dark); padding: 64px 0 28px; }
  .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
  .footer img { height: 58px; width: auto; }
  .footer p { margin-top: 18px; font-size: 14px; color: var(--on-dark-muted); max-width: 340px; }
  .footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 16px; }
  .footer ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
  .footer li a { transition: color .2s; }
  .footer li a:hover { color: var(--gold-light); }
  .footer .soc { margin-top: 22px; }
  .footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--on-dark-muted); }

  /* News & articles (admin-managed) */
  .news { background: var(--graphite-2); }
  .news-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
  .news-filter { display: flex; flex-wrap: wrap; gap: 8px; }
  .news-filter button { min-height: 44px; padding: 0 20px; background: none; border: 1px solid var(--edge); color: var(--on-dark-muted); font: 600 12px var(--font); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
  .news-filter button:hover { color: var(--white); border-color: rgba(255,255,255,.35); }
  .news-filter button.on { color: var(--ink); background: var(--gold); border-color: var(--gold); }
  .news-filter b { font-weight: 600; opacity: .7; margin-left: 6px; }
  .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .ncard .in { display: flex; flex-direction: column; }
  .ncard .img { aspect-ratio: 16 / 10; overflow: hidden; background: #2a2520; }
  .ncard .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
  .ncard:hover { background: var(--gold); transform: translateY(-6px); }
  .ncard:hover .img img { transform: scale(1.06); }
  .ncard .body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
  .ncard .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
  .ncard .cat { padding: 4px 10px; border: 1px solid var(--edge); color: var(--on-dark-soft); }
  .ncard .cat.article { border-color: var(--line-gold); color: var(--gold-light); }
  .ncard h3 { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--white); }
  .ncard p { font-size: 14px; color: var(--on-dark-muted); }
  .ncard .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
  .ncard .more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .25s var(--ease); }
  .ncard:hover .more svg { transform: translateX(4px); }
  .ncard { animation: up .6s var(--ease) both; }

  /* Top info bar (Uzbek convention) */
  .topbar { background: rgba(20,20,20,.7); border-bottom: 1px solid var(--line-dark); font-size: 12.5px; color: var(--on-dark-muted); max-height: 44px; overflow: hidden; transition: max-height .3s var(--ease), opacity .3s; }
  .header.scrolled .topbar { max-height: 0; opacity: 0; border-bottom-color: transparent; }
  .topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 44px; }
  .tb-left, .tb-right { display: flex; align-items: center; gap: 22px; }
  .tb-left > * { display: inline-flex; align-items: center; gap: 8px; }
  .tb-left a:hover, .tb-soc a:hover { color: var(--gold-light); }
  .topbar svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tb-soc { display: flex; gap: 2px; }
  .tb-soc a { display: grid; place-items: center; width: 32px; height: 32px; transition: color .2s; }
  .tb-soc svg { width: 15px; height: 15px; }

  /* Appeal form */
  .appeal { margin-top: 4px; padding: 28px; border: 1px solid var(--edge); background: rgba(27,27,27,.78); display: grid; gap: 16px; }
  .appeal h3 { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
  .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .appeal label { display: grid; gap: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
  .appeal input, .appeal textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: #232221; border: 1px solid var(--edge); color: #fff; font: 500 15px var(--font); letter-spacing: 0; text-transform: none; resize: vertical; transition: border-color .2s; }
  .appeal input::placeholder, .appeal textarea::placeholder { color: #7d776d; }
  .appeal input:focus, .appeal textarea:focus { outline: none; border-color: var(--gold); }
  .frow { display: flex; flex-wrap: wrap; gap: 12px; }
  .appeal .ok { color: var(--gold-light); font-size: 14px; font-weight: 600; }
  .fnote { font-size: 12px; color: var(--on-dark-muted); }

  /* Office map */
  .mapsec { padding: 0; background: var(--ink); border-top: 1px solid var(--line-dark); }
  .map { position: relative; height: 380px; overflow: hidden; background: #1E1E1E; }
  .map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .pin { position: absolute; left: 60%; top: 46%; width: 18px; height: 18px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 4px rgba(27,27,27,.9); }
  .pin::after { content: ""; position: absolute; inset: -14px; border: 1px solid var(--gold); animation: ping 2.4s ease-out infinite; }
  @keyframes ping { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(1.6); } }
  .mapcard { position: absolute; left: max(32px, calc((100% - var(--max)) / 2 + 32px)); top: 50%; transform: translateY(-50%); width: min(380px, calc(100% - 64px)); }
  .mapcard .in { padding: 26px 28px; display: grid; gap: 10px; }
  .mapcard h3 { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
  .mapcard p { font-weight: 600; color: #fff; }
  .mapcard small { font-size: 13px; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
  .mapcard .frow { margin-top: 6px; }
  .mapcard .btn { padding: 12px 18px; font-size: 11.5px; }

  /* Depth meter + back to top */
  .depth { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); }
  .depth .rail { position: relative; width: 1px; height: 240px; background: rgba(255,255,255,.18); }
  .depth .fillr { position: absolute; left: 0; top: 0; width: 1px; background: var(--gold); }
  .depth .bitm { position: absolute; left: 50%; width: 9px; height: 9px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 3px rgba(27,27,27,.85); }
  .depth b { font-size: 12px; letter-spacing: .04em; color: var(--white); font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; background: rgba(27,27,27,.85); padding: 3px 4px; }
  .depth .lbl { writing-mode: vertical-rl; transform: rotate(180deg); background: rgba(27,27,27,.6); padding: 4px 2px; }
  .totop { position: fixed; right: 22px; bottom: 24px; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; background: var(--gold); color: var(--ink); border: 0; cursor: pointer; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: opacity .3s, transform .3s var(--ease), background .2s; }
  .totop:hover { background: var(--gold-light); }
  .totop svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; transform: rotate(-90deg); }
  .totop.off { opacity: 0; transform: translateY(16px); pointer-events: none; }

  @media (max-width: 1100px) {
    .depth { right: 8px; gap: 8px; }
    .depth .rail { height: 180px; }
    .depth b { min-width: 52px; font-size: 11px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-grid { grid-template-columns: repeat(3, 1fr); }
    .cap-grid { grid-template-columns: 1fr 1fr; }
    .cap.big { grid-column: 1 / -1; grid-row: 1; }
    .extra, .stats-grid { grid-template-columns: 1fr 1fr; }
    .nav { gap: 22px; }
  }
  @media (max-width: 960px) {
    .nav-toggle { display: grid; place-items: center; }
    .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(27,27,27,.98); padding: 8px 32px 24px; border-bottom: 1px solid var(--line-dark); display: none; }
    .nav.open { display: flex; }
    .nav a { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
    .nav a::after { display: none; }
    .header { background: rgba(27,27,27,.94); }
    .header .btn { display: none; }
    .scroll-cue { display: none; }
    .section-head, .about .container, .goal-layout, .geo, .formats { grid-template-columns: 1fr; }
    .about-media .frame > .in { aspect-ratio: 16 / 11; }
    .fmt { min-height: 340px; }
    .team { grid-template-columns: 1fr 1fr; }
    .team div:nth-child(3) { padding-left: 0; border-left: 0; }
    .client-grid { grid-template-columns: 1fr 1fr; }
    .contact .media { width: 100%; opacity: .35; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 84px 0; }
    .fleet .in { grid-template-columns: 1fr; }
    .fleet-tabs { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 0; overflow-x: auto; }
    .fleet-tab { flex: 1; border-left: 0; border-bottom: 2px solid transparent; padding: 18px 20px; }
    .fleet-tab.on { border-bottom-color: var(--gold); }
    .fleet-body { grid-template-columns: 1fr; padding: 28px 24px; }
    .fleet-art { height: 220px; }
  }
  @media (max-width: 767px) {
    .depth { display: none; }
    .tb-hours, .tb-mail { display: none !important; }
    .mapcard { top: auto; bottom: 20px; transform: none; }
  }
  @media (max-width: 600px) {
    .tb-soc { display: none; }
    .fgrid { grid-template-columns: 1fr; }
    .appeal { padding: 20px; }
  }
  @media (max-width: 600px) {
    .container { padding: 0 20px; }
    .logo img { height: 38px; }
    .svc-grid, .cap-grid, .extra, .stats-grid, .goal-grid, .client-grid, .footer-grid, .news-grid { grid-template-columns: 1fr; }
    .geo .regions ul { grid-template-columns: 1fr 1fr; }
    .facts div, .contact dl div { grid-template-columns: 1fr; gap: 4px; }
    .hero-ctas .btn { flex: 1; justify-content: center; }
    .team { grid-template-columns: 1fr 1fr; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero .media img, .hero-content > *, .stats-grid .panel, .capacity .topo path, .scroll-cue i::after, .fl-rigs svg.ic { animation: none; }
  }


/* ---- added by port.py ---------------------------------------------------
   Per-language blocks for article text, so the body is in the HTML source in
   all three languages rather than assembled by script. */
[data-lang-block]{display:none}
html[lang="ru"] [data-lang-block="ru"],
html[lang="uz"] [data-lang-block="uz"],
html[lang="en"] [data-lang-block="en"]{display:revert}

/* The contact form's failure line, matching the success line above it. It is
   the fallback for a browser without <dialog>; normally the dialog below says
   what happened instead, because a line under the button goes unread. */
.err{color:#E98B7A;font-size:14px;font-weight:600}

/* position and margin are set explicitly rather than left to the browser's
   default dialog rules, which the mockup's own reset overrides. */
.fmodal{position:fixed;inset:0;margin:auto;border:0;padding:0;background:transparent;
  color:var(--on-dark);width:min(92vw,420px);max-height:90vh}
.fmodal::backdrop{background:rgba(8,8,8,.72)}
.fmodal-in{background:#201F1D;border:1px solid rgba(199,154,87,.35);padding:34px 30px 30px;text-align:center;
  clip-path:polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px)}
.fmodal-ic{width:52px;height:52px;fill:none;stroke:var(--gold);stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round;margin-bottom:16px}
.fmodal h3{font-size:20px;font-weight:800;letter-spacing:.01em;margin:0 0 10px;color:var(--white)}
.fmodal p{font-size:15px;line-height:1.55;margin:0 0 22px;color:var(--on-dark-soft)}
.fmodal .btn{width:100%;justify-content:center}
/* One icon, two states: the tick for a sent request, the bar and dot for a
   failure, which also turns the whole mark red. */
.fmodal:not(.is-err) .ic-err,.fmodal.is-err .ic-ok{display:none}
.fmodal.is-err .fmodal-ic{stroke:#E98B7A}
@media (prefers-reduced-motion:no-preference){
  .fmodal[open]{animation:fmodal-in .22s ease-out}
  @keyframes fmodal-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
}

/* The spam trap: off-screen rather than display:none, because some automated
   submitters skip anything that is not rendered. No reader ever reaches it —
   the wrapper is aria-hidden and the input is out of the tab order. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* A card with display:grid would otherwise ignore the hidden attribute. */
[hidden]{display:none!important}

/* Inline links in the top bar, breadcrumbs and footer are about 17px tall,
   below the 24px minimum for a touch target. Padding fixes the hit area
   without moving anything visibly. */
.tb-left a,.crumbs a,.footer a,.footer-bottom a{display:inline-block;padding-block:4px}
