@font-face {
  font-family: "Golos Text";
  src: url("assets/golos-text.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/plex-mono.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #202321;
  --slate: #59605d;
  --line: #dde1de;
  --gutter: clamp(1.25rem, 4.65vw, 5rem);
  --service-gap: clamp(2.5rem, 6vw, 6rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 "Golos Text", Arial, sans-serif; }
body, button { -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
button, a { color: inherit; }
button { font: inherit; cursor: pointer; }
a { text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { color: white; background: #394840; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 90rem); margin-inline: auto; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 400; }
.skip { position: fixed; z-index: 20; left: 1rem; top: .7rem; transform: translateY(-180%); background: white; padding: .5rem 1rem; }
.skip:focus { transform: none; }

.masthead { position: sticky; z-index: 5; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.9rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; gap: .64rem; align-items: center; width: fit-content; font-weight: 600; font-size: 1.25rem; letter-spacing: -.055em; white-space: nowrap; }
.brand img { display: block; flex-shrink: 0; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.8vw, 3.2rem); font-size: .915rem; }
.primary-nav a, .back-top, .caption a { text-underline-offset: .26em; }
.primary-nav a:hover, .back-top:hover, .caption a:hover { text-decoration: underline; }
.primary-nav .nav-contact { border: 1px solid #aeb4b0; border-radius: 2px; padding: .6rem 1.18rem; }
.primary-nav .nav-contact:hover { background: var(--ink); border-color: var(--ink); color: white; text-decoration: none; }
.menu-toggle { display: none; }

.hero { padding-block: clamp(2.8rem, 4.3vw, 4.6rem) clamp(2.15rem, 3.35vw, 3.5rem); }
.location { display: flex; align-items: center; gap: .54rem; color: var(--slate); font-size: .875rem; line-height: 1.4; }
.location svg { flex: 0 0 auto; }
h1 { margin: .17em 0 .23em -.053em; font-weight: 530; font-size: clamp(4.2rem, 9.6vw, 10.1rem); line-height: 1.05; letter-spacing: -.079em; }
h1 span { white-space: nowrap; }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.hero-bottom p { max-width: 39em; font-size: clamp(1.06rem, 1.48vw, 1.42rem); line-height: 1.45; letter-spacing: -.028em; text-wrap: pretty; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .79rem 1.22rem; gap: .7rem; line-height: 1.2; border-radius: 2px; font-size: .95rem; font-weight: 500; white-space: nowrap; }
.button-dark { background: var(--ink); color: white; transition: background .18s; }
.button-dark:hover { background: #424a45; }
.button-dark:focus-visible { outline-color: var(--ink); }

.photo-mount { position: relative; overflow: hidden; background: #edf0ef; }
.photo-mount picture, .photo { width: 100%; height: 100%; display: block; }
.photo { object-fit: cover; filter: saturate(.64); }
.structure-photo .photo { object-position: 50% 52%; }
.caption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; padding-block: .72rem; color: var(--slate); font-size: .78rem; line-height: 1.5; }
.caption span { color: var(--ink); }
.image-card, .map-card { min-width: 0; }
.photo-grid { display: grid; gap: clamp(.85rem, 1.5vw, 1.6rem); }
.hero-gallery, .contact-gallery { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
.hero-gallery { margin-top: clamp(2.15rem, 3.35vw, 3.5rem); }
.hero-gallery .photo-mount { height: clamp(19rem, 34vw, 34rem); }
.image-stacks .photo { object-position: 45% 50%; }
.service-row, .contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: var(--service-gap); }
.service-section { padding-block: clamp(3.6rem, 6.1vw, 6.8rem); border-top: 1px solid var(--line); }
.service-row { margin-bottom: clamp(2rem, 3.65vw, 4rem); }
h3 { font-size: clamp(1.6rem, 2.45vw, 2.75rem); line-height: 1.15; font-weight: 500; letter-spacing: -.05em; }
.heading-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .55rem 1rem; margin-bottom: 1.2rem; }
.gallery-note { font-size: .82rem; color: var(--slate); }
.building-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.building-gallery .photo-mount { aspect-ratio: 1.64; }
.building-gallery .photo { filter: saturate(.82); }
.building-gallery .caption, .destination-gallery .caption { font: 500 1rem/1.4 "Golos Text", Arial, sans-serif; letter-spacing: -.025em; }
.equipment-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: baseline; gap: var(--service-gap); border-top: 1px solid var(--line); padding-top: 2rem; margin-block: clamp(2.5rem, 4vw, 4.5rem) 2rem; }
.build-gallery { grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }
.image-crane .photo-mount { aspect-ratio: .92; }
.image-crane .photo { object-position: 50% 62%; }
.image-site-machinery .photo-mount { aspect-ratio: 1.62; }
.image-rebar .photo-mount { aspect-ratio: 1.26; }
.brokerage { display: grid; align-items: end; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--service-gap); }
.brokerage .service-copy { margin-block: 1.45rem 2.5rem; }
.image-plans { max-width: 26rem; }
.image-plans .photo-mount { aspect-ratio: 1.95; }
.image-discussion .photo-mount { aspect-ratio: 1.18; }
.customs-gallery { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
.image-freight .photo-mount { aspect-ratio: 1.62; }
.image-terminal .photo-mount { aspect-ratio: 1.05; }
.delivery-atlas { margin-top: clamp(2.25rem, 4vw, 4.5rem); }
.atlas-layout { margin-top: 1.4rem; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(.85rem, 1.5vw, 1.6rem); align-items: start; }
.route-map { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #e4e9e3; }
.route-arcs path { stroke: #395a48; stroke-width: 2.1; stroke-linecap: round; }
.route-stops { fill: white; stroke: #395a48; stroke-width: 2.4; }
.hub-ring { fill: #41644f; fill-opacity: .18; }
.hub-dot { fill: #284b3a; stroke: white; stroke-width: 2.4; }
.country-labels { font: 500 16px "Golos Text", Arial, sans-serif; fill: #202c24; paint-order: stroke; stroke: #e8ede7; stroke-width: 3px; stroke-linejoin: round; }
.hub-label { font-weight: 650; }
.destination-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem clamp(.8rem, 1.2vw, 1.25rem); }
.destination-gallery .photo-mount { aspect-ratio: 1.6; }
@media (prefers-reduced-motion: no-preference) {
  .route-map.is-tracing .route-arcs path { stroke-dasharray: 1; animation: draw-route 1.7s ease-out backwards; }
  .route-map.is-tracing .route-arcs path:nth-child(2) { animation-delay: .18s; }
  .route-map.is-tracing .route-arcs path:nth-child(3) { animation-delay: .36s; }
  .route-map.is-tracing .route-arcs path:nth-child(4) { animation-delay: .54s; }
  @keyframes draw-route { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
h2 { font-size: clamp(2.3rem, 3.8vw, 4.35rem); line-height: 1.08; font-weight: 500; letter-spacing: -.06em; text-wrap: balance; }
.muted-title { color: var(--slate); }
.service-copy { max-width: 33em; color: #424945; font-size: clamp(1.05rem, 1.36vw, 1.3rem); line-height: 1.57; letter-spacing: -.021em; }
.service-row .service-copy { padding-top: .2em; }

.footer { border-top: 1px solid var(--line); }
.contact-grid { padding-block: clamp(3.25rem, 5.5vw, 6.25rem); }
.contact-grid h2 { font-size: clamp(3.4rem, 6.8vw, 7rem); margin-left: -.05em; }
.contact-label { display: block; margin-bottom: .8rem; color: var(--slate); font-size: .88rem; }
.phone-link { display: inline-block; font-size: clamp(1.7rem, 3.1vw, 3rem); line-height: 1.15; letter-spacing: -.055em; margin-bottom: 1.7rem; }
.phone-link:hover { text-decoration: underline; text-underline-offset: .15em; }
.email-link { display: inline-block; margin-bottom: 1.7rem; max-width: 100%; overflow-wrap: anywhere; font-size: clamp(1.13rem, 1.9vw, 1.8rem); line-height: 1.32; letter-spacing: -.035em; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.contact-gallery { margin-bottom: clamp(2rem, 4.5vw, 4.5rem); }
.contact-gallery .photo-mount, .location-map { height: clamp(20rem, 30vw, 31rem); }
.location-map { position: relative; isolation: isolate; overflow: hidden; background: #edece7; border: 1px solid var(--line); font-family: "Golos Text", Arial, sans-serif; }
.map-placeholder { display: grid; place-items: center; height: 100%; padding: 1.5rem; text-align: center; }
.location-map .leaflet-control-zoom { border: 1px solid #c5cac6; border-radius: 2px; box-shadow: none; }
.location-map .leaflet-control-zoom a { color: var(--ink); width: 36px; height: 36px; line-height: 36px; }
.location-map .leaflet-control-attribution { background: rgb(255 255 255 / 94%); font-size: .73rem; }
.location-map .leaflet-control-attribution a, .location-map .leaflet-popup-content a { color: #38493e; text-decoration: underline; }
.location-map .leaflet-tooltip { font-family: "Golos Text", Arial, sans-serif; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 6px #20232112; font-size: .84rem; }
.location-map .leaflet-popup-content { font-family: "Golos Text", Arial, sans-serif; font-size: .9rem; }
.map-dot { display: grid; place-items: center; border-radius: 50%; background: #20232126; }
.map-dot::after { content: ""; height: 14px; width: 14px; border: 3px solid white; background: var(--ink); border-radius: 50%; box-shadow: 0 0 0 1px #525c55; }
.street-label { pointer-events: none; }
.street-label span { display: block; width: max-content; color: #575e58; font: 400 .72rem/1 "Golos Text", Arial, sans-serif; text-shadow: 0 1px 2px white, 1px 0 2px white, -1px 0 2px white; }
.map-search { text-decoration: underline; }
address { font-style: normal; font-size: clamp(1.25rem, 1.95vw, 2rem); letter-spacing: -.045em; line-height: 1.35; }
address span { display: block; }
.copy-button { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; padding: .45rem 0; background: none; border: 0; font-size: .93rem; }
.copy-button:hover { text-decoration: underline; text-underline-offset: .25em; }
.copy-status { color: var(--slate); font-size: .88rem; }
.copy-status:not(:empty) { margin-top: .4rem; }
.footer-base { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.55rem; }
.footer-base .brand { font-size: 1.07rem; }
.back-top { font-size: .9rem; color: var(--slate); }

@media (max-width: 58rem) {
  .atlas-layout { grid-template-columns: 1fr; }
  .destination-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .header-inner { flex-wrap: wrap; min-height: 4.25rem; column-gap: 1rem; row-gap: 0; }
  .header-inner > .brand { margin-block: .9rem; }
  .menu-toggle { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .65rem; background: transparent; padding: .4rem .1rem .4rem .6rem; font-size: .95rem; border: 0; }
  .menu-lines { display: inline-block; position: relative; width: 20px; height: 12px; }
  .menu-lines::before, .menu-lines::after { content: ""; height: 1.5px; background: var(--ink); position: absolute; left: 0; width: 100%; top: 2px; }
  .menu-lines::after { top: 9px; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { flex: 1 0 100%; display: grid; gap: 0; padding-block: .15rem 1rem; }
  .primary-nav a, .primary-nav .nav-contact { padding: .72rem 0; border: 0; border-bottom: 1px solid var(--line); }
  .primary-nav .nav-contact:hover { background: none; color: inherit; text-decoration: underline; }
  .menu-toggle[aria-expanded="false"]:not([hidden]) + .primary-nav { display: none; }
  .hero-bottom p { max-width: 31em; }
  .caption { align-items: flex-start; }
}

@media (max-width: 42rem) {
  html { scroll-padding-top: 5.3rem; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 32px; height: 28px; }
  .hero { padding-block: 2.35rem 1.8rem; }
  .location { font-size: .875rem; }
  h1 { font-size: clamp(3.6rem, 15vw, 5.8rem); margin-block: .33em .35em; line-height: .96; letter-spacing: -.074em; }
  h1 span { display: block; }
  .hero-bottom { flex-direction: column; align-items: start; gap: 1.25rem; }
  .hero-bottom p { font-size: 1.06rem; max-width: 32em; }
  .hero-gallery { margin-top: 1.8rem; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .hero-gallery .photo-mount { height: clamp(13rem, 54vw, 19rem); }
  .structure-photo picture { position: absolute; inset: 0; }
  .structure-photo .photo { object-position: 42% center; }
  .caption { gap: .16rem .75rem; font-size: .75rem; }
  .service-row, .contact-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-section, .contact-grid { padding-block: 2.65rem; }
  .service-row { margin-bottom: 1.65rem; }
  .service-row .service-copy { padding-top: 0; }
  .photo-grid { gap: .75rem; }
  .building-gallery { grid-template-columns: 1fr; gap: 1.15rem; }
  .building-gallery .photo-mount { aspect-ratio: 1.85; }
  .equipment-intro { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
  .build-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .image-site-machinery { grid-column: 1 / -1; grid-row: 1; }
  .image-crane .photo-mount, .image-rebar .photo-mount { aspect-ratio: 1.1; }
  .destination-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country-labels { font-size: 24px; }
  .brokerage, .contact-gallery { grid-template-columns: 1fr; }
  .brokerage { gap: 1.5rem; }
  .brokerage .service-copy { margin-block: 1.15rem 1.65rem; }
  .image-plans { max-width: 69%; }
  .image-discussion .photo-mount { aspect-ratio: 1.5; }
  .customs-gallery { grid-template-columns: minmax(0, 1.2fr) minmax(0, .86fr); }
  .image-freight .photo-mount { aspect-ratio: .97; }
  .image-terminal .photo-mount { aspect-ratio: .85; }
  .contact-gallery { gap: 1.4rem; }
  .contact-gallery .photo-mount { height: auto; aspect-ratio: 1.85; }
  .location-map { height: 21rem; }
  .contact-grid { gap: 1.6rem; }
  .footer-base { align-items: start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
