/* Font faces */
@font-face {
  font-family: "Neue Machina";
  src: url("../fonts/NeueMachina-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/NeueMontreal-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Root variables */
:root {
  --bg: #ececec;
  --text: #171717;
  --muted: #9ca0a8;
  --line: #9f9f9f;
  --accent: #ff4900;
  --pill-bg: #a8adb6;
  --white: #ffffff;
  --container: 1180px;
  --radius-pill: 999px;
  --transition: 0.25s ease;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Neue Montreal", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Global layout */
.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
}

/* Header */
.site-header {
  padding: 32px 0 22px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  width: 264px;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-pill {
  min-width: 156px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1;
  text-align: center;
  transition: var(--transition);
}

.header-pill:hover {
  opacity: 0.9;
}

.site-lang {
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1;
}

/* Hero */
.hero {
  position: relative;
  padding: 0 0 180px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("../img/dtw_bigarrow.svg");
  background-repeat: no-repeat;
  background-position: center 120px;
  background-size: min(1400px, 120%);
  opacity: 0.85;
}

.hero .container {
  position: relative;
  z-index: 2;
}



.hero__top {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  padding-top: 36px;
}

.hero__intro {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-self: start;
}

.hero__tag {
  margin: 0;
  color: var(--accent);
  font-size: 1.9rem;
  line-height: 1.05;
  text-align: right;
}

.hero__text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
  max-width: 320px;
}

.hero__main {
  padding: 78px 0 60px;
}

.hero__title {
  margin: 0;
  font-family: "Neue Machina", Arial, sans-serif;
  font-size: clamp(2.9rem, 6.2vw, 5.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero__title .hero__accent {
  color: var(--accent);
}

.hero__title-indent {
  display: inline-block;
  padding-left: 1.2em;
}

/* Services */
.services {
  padding-bottom: 26px;
}

.service-row {
  display: grid;
  grid-template-columns: 100px minmax(280px, 1fr) 320px;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.service-row__index {
  color: var(--muted);
  font-family: "Neue Machina", Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  padding-top: 8px;
  align-self: start;
}

.service-row__title h2 {
  margin: 0;
  font-family: "Neue Machina", Arial, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  word-spacing: 0.04em;
}

.service-row__text p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
  max-width: 310px;
}

/* Contact CTA */
.contact-cta {
  padding: 26px 0 42px;
}

.contact-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 34px;
}

.contact-cta__headline {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: "Neue Machina", Arial, sans-serif;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
}

.contact-cta__arrow {
  display: inline-flex;
  align-items: center;
}

.contact-cta__label {
  margin-top: 14px;
}

.contact-cta__arrow img {
  width: 42px;
}

.contact-cta__right {
  display: flex;
  align-items: flex-end;
  gap: 28px;
}

.contact-cta__mobile-pills {
  display: none;
}

.socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-link {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Neue Machina", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  text-transform: lowercase;
}

.social-link img {
  width: 86px;
  height: 86px;
  transition: filter var(--transition);
}

.social-link:hover img {
  filter: grayscale(100%) brightness(0.45);
}

button.social-link {
  border: none;
  cursor: pointer;
  padding: 0;
  background: transparent;
}

/* Copy toast */
.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--text);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

.copy-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Hero flex for mobile reorder */
.hero .container {
  display: flex;
  flex-direction: column;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero__top {
	grid-template-columns: 1fr 380px;
  }

  .service-row {
	grid-template-columns: 90px minmax(240px, 1fr) 280px;
	gap: 28px;
  }
}

@media (max-width: 860px) {
  .site-header {
	padding: 22px 0 18px;
  }

  .site-logo img {
	width: 204px;
  }

  .site-header__right .header-pill {
	display: none;
  }

  .hero__bg {
	opacity: 0.8;
	background-position: center 30px;
  }

  .hero__shape--1 {
	width: 290px;
	height: 140px;
	left: -20px;
	top: 110px;
  }

  .hero__shape--2 {
	width: 220px;
	height: 120px;
	left: 140px;
	top: 110px;
  }

  .hero__shape--3 {
	width: 340px;
	height: 170px;
	right: -80px;
	top: 110px;
  }

  .hero__top {
	grid-template-columns: 1fr;
	gap: 24px;
	padding-top: 20px;
  }

  .hero__spacer {
	display: none;
  }

  .hero__main {
	padding: 70px 0 36px;
  }

  .hero {
	padding: 0 0 40px;
  }

  .hero__title {
	max-width: 430px;
	font-size: clamp(2.4rem, 9.6vw, 3.85rem);
  }

  .hero__title-br {
	display: none;
  }

  .hero__title-indent {
	display: inline;
	padding-left: 0;
  }

  .hero__main {
	order: 1;
  }

  .hero__top {
	order: 2;
  }

  .hero__intro {
	grid-template-columns: 110px 1fr;
	max-width: 420px;
  }

  .hero__tag {
	font-size: 1.4rem;
  }

  .hero__text,
  .service-row__text p {
	font-size: 1rem;
  }

  .service-row {
	grid-template-columns: 1fr;
	gap: 20px;
	padding: 40px 0;
  }

  .service-row__index {
	padding-top: 0;
  }

  .service-row__text p {
	max-width: 360px;
  }

  .contact-cta__inner {
	flex-direction: column;
	align-items: flex-start;
  }

  .contact-cta__right {
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
  }

  .contact-cta__mobile-pills {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 14px;
  }

  .contact-cta__mobile-pills .header-pill {
	min-width: 0;
	width: 100%;
  }

  .social-link {
	width: 54px;
	height: 54px;
	font-size: 1.15rem;
  }
}

@media (max-width: 520px) {
  .container {
	width: min(100% - 40px, var(--container));
  }

  .site-header__inner {
	align-items: center;
  }

  .site-logo img {
	width: 180px;
  }

  .site-lang {
	padding-top: 4px;
	font-size: 1rem;
  }

  .hero__title {
	max-width: 300px;
	font-size: clamp(2.15rem, 12.3vw, 3.2rem);
  }

  .hero__intro {
	grid-template-columns: 100px 1fr;
	gap: 14px;
  }

  .hero__tag {
	font-size: 1.1rem;
  }

  .service-row__title h2 {
	font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .contact-cta {
	padding-bottom: 34px;
  }

  .contact-cta__headline {
	gap: 14px;
	font-size: clamp(2rem, 12.3vw, 3.5rem);
  }

  .contact-cta__arrow img {
	width: 30px;
  }
}