@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-sans: "DM Sans";
  --font-display: "Manrope";
  --background: #f5f6f7;
  --surface: #ffffff;
  --ink: #343536;
  --muted: #6f747a;
  --steel: #50627a;
  --steel-dark: #202b38;
  --ice: #e9eef4;
  --ice-deep: #d9e2ec;
  --line: rgba(52, 53, 54, 0.13);
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-sans), Arial, sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
  font-weight: 400;
}

.skip-link {
  position: fixed;
  left: 24px;
  top: -70px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 100px;
  background: var(--steel-dark);
  color: white;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(calc(100% - 64px), var(--max-width));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: 220px;
}

.brand img {
  width: 100%;
  height: auto;
}

.header-contact,
.text-link,
.footer-links a {
  transition: color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--steel);
}

.header-contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  backdrop-filter: blur(12px);
  transition: background 180ms ease, color 180ms ease;
}

.header-contact:hover,
.header-contact:focus-visible {
  background: var(--steel-dark);
  color: white;
}

.section-shell,
footer {
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
  align-items: center;
  gap: clamp(58px, 7vw, 104px);
  padding-block: 76px 104px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  top: -150px;
  left: -310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 218, 232, 0.72), rgba(245, 246, 247, 0) 69%);
  filter: blur(6px);
}

.claim,
.eyebrow {
  color: var(--steel);
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.claim {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.claim span {
  color: #a1a9b1;
}

h1 {
  max-width: 700px;
  font-family: var(--font-display), var(--font-sans), Arial, sans-serif;
  font-size: clamp(64px, 6.65vw, 102px);
  line-height: 0.96;
  letter-spacing: -0.058em;
}

h1 span {
  display: block;
  color: var(--steel);
}

.hero-intro {
  max-width: 590px;
  margin-top: 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.button-primary {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 22px;
  border-radius: 100px;
  background: var(--steel-dark);
  color: white;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 34px rgba(32, 43, 56, 0.16);
  transition: transform 180ms ease, background 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--steel);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 610px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--steel-dark);
  box-shadow: 0 30px 80px rgba(32, 43, 56, 0.18);
}

.hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.intro-statement {
  padding: 134px 32px;
  background: var(--surface);
  text-align: center;
}

.intro-statement p {
  max-width: 1080px;
  margin: 0 auto;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.046em;
}

.intro-statement span {
  display: block;
  color: #a3a8ad;
}

.services {
  padding-block: 138px 150px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 2.25fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 66px;
}

.section-heading h2,
.integration h2,
.experience h2,
.closing h2 {
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: clamp(46px, 4.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.048em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(52, 53, 54, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 38px rgba(32, 43, 56, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:nth-child(3) {
  background: var(--steel-dark);
  color: white;
  box-shadow: 0 20px 50px rgba(32, 43, 56, 0.15);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(32, 43, 56, 0.11);
}

.service-top {
  display: flex;
  justify-content: space-between;
  color: var(--steel);
  font-size: 11px;
}

.service-card:nth-child(3) .service-top,
.service-card:nth-child(3) .service-note {
  color: #b9cbe0;
}

.service-card h3 {
  max-width: 320px;
  margin: 82px 0 26px;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: clamp(31px, 2.7vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.038em;
}

.service-card > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.service-card:nth-child(3) > p {
  color: rgba(255, 255, 255, 0.67);
}

.service-note {
  width: fit-content;
  margin-top: auto;
  padding-top: 23px;
  border-top: 1px solid currentColor;
  color: var(--steel);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.integration {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(64px, 10vw, 150px);
  padding: clamp(70px, 8vw, 118px);
  border-radius: 38px;
  background: linear-gradient(145deg, #edf2f7, #e5ebf2);
}

.integration h2 {
  max-width: 580px;
  margin-top: 26px;
}

.integration-lead {
  max-width: 590px;
  margin-top: 35px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.accordion-list {
  border-top: 1px solid rgba(32, 43, 56, 0.16);
}

.accordion-item {
  border-bottom: 1px solid rgba(32, 43, 56, 0.16);
}

.accordion-item summary {
  min-height: 88px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-number {
  color: var(--steel);
  font-size: 10px;
}

.accordion-title {
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
}

.accordion-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 43, 56, 0.15);
  border-radius: 50%;
  transition: background 180ms ease, transform 220ms ease;
}

.accordion-toggle span {
  position: absolute;
  width: 12px;
  height: 1px;
  background: var(--steel);
  transition: transform 220ms ease;
}

.accordion-toggle span:last-child {
  transform: rotate(90deg);
}

.accordion-item[open] .accordion-toggle {
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(180deg);
}

.accordion-item[open] .accordion-toggle span:last-child {
  transform: rotate(0deg);
}

.accordion-answer {
  display: grid;
  grid-template-columns: 50px 1fr 36px;
  gap: 18px;
  padding: 0 0 28px;
}

.accordion-answer p {
  grid-column: 2;
  max-width: 590px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.accordion-item summary:hover .accordion-title,
.accordion-item summary:focus-visible .accordion-title {
  color: var(--steel);
}

.experience {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 150px auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(70px, 10vw, 140px);
  align-items: center;
}

.experience-gallery {
  position: relative;
  min-height: 760px;
}

.sailing-photo {
  position: absolute;
  inset: 0 18% 0 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--steel-dark);
  box-shadow: 0 30px 80px rgba(32, 43, 56, 0.16);
}

.sailing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compass-photo {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: 42%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 10px solid var(--background);
  border-radius: 28px;
  background: var(--steel-dark);
  box-shadow: 0 24px 60px rgba(32, 43, 56, 0.22);
}

.compass-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-copy {
  padding-right: 3vw;
}

.experience-number {
  display: flex;
  align-items: start;
  margin: 62px 0 46px;
  color: var(--steel-dark);
}

.experience-number span {
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: clamp(132px, 13vw, 200px);
  line-height: 0.68;
  letter-spacing: -0.075em;
}

.experience-number sup {
  margin-left: 6px;
  color: var(--steel);
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 48px;
  line-height: 0.75;
}

.experience h2 {
  max-width: 620px;
  margin-bottom: 34px;
}

.experience-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

.closing {
  position: relative;
  overflow: hidden;
  padding: 122px clamp(30px, 8vw, 120px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 86% 12%, rgba(104, 132, 165, 0.44), transparent 34%),
    var(--steel-dark);
  color: white;
}

.closing-mark {
  position: absolute;
  width: 540px;
  max-width: 52%;
  right: -70px;
  top: -100px;
  opacity: 0.05;
  filter: invert(1);
  pointer-events: none;
}

.closing .eyebrow {
  color: #b9cbe0;
}

.closing h2 {
  position: relative;
  max-width: 880px;
  margin-top: 27px;
  font-size: clamp(50px, 6vw, 88px);
}

.closing > p:not(.eyebrow) {
  position: relative;
  max-width: 650px;
  margin: 38px 0 42px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  line-height: 1.72;
}

.closing-mail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  font-size: clamp(17px, 1.6vw, 22px);
  backdrop-filter: blur(10px);
  transition: background 180ms ease, color 180ms ease;
}

.closing-mail:hover,
.closing-mail:focus-visible {
  background: white;
  color: var(--steel-dark);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  padding-block: 54px 34px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.footer-brand img {
  width: 170px;
  height: auto;
}

.footer-brand p {
  margin-top: 10px;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}

.footer-draft {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #9b9fa3;
  font-size: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.legal-header {
  grid-template-columns: 1fr auto 1fr;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  transition: color 180ms ease;
}

.legal-back:hover,
.legal-back:focus-visible {
  color: var(--steel);
}

.legal-main {
  width: min(calc(100% - 64px), 1060px);
  margin: 0 auto;
  padding: clamp(86px, 10vw, 150px) 0 clamp(100px, 12vw, 170px);
}

.legal-hero {
  max-width: 900px;
  padding-bottom: clamp(64px, 8vw, 108px);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: none;
  margin-top: 28px;
  font-size: clamp(62px, 9vw, 126px);
}

.legal-hero > p:last-child {
  max-width: 660px;
  margin-top: 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.7;
}

.legal-content {
  max-width: 780px;
  margin-top: clamp(68px, 8vw, 112px);
}

.legal-content section + section {
  margin-top: 58px;
}

.legal-content h2 {
  margin-bottom: 20px;
  font-family: var(--font-display), var(--font-sans), Arial, sans-serif;
  font-size: clamp(25px, 2.7vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.legal-content p,
.legal-content address {
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.78;
}

.legal-content p + p,
.legal-content address + p {
  margin-top: 18px;
}

.legal-content a {
  color: var(--steel);
  text-decoration: underline;
  text-decoration-color: rgba(80, 98, 122, 0.3);
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--steel-dark);
  text-decoration-color: currentColor;
}

*:focus-visible {
  outline: 2px solid #6f89a8;
  outline-offset: 4px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-copy {
    max-width: 830px;
  }

  .hero-media {
    min-height: 600px;
  }

  .section-heading {
    grid-template-columns: 0.72fr 1.28fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 390px;
  }

  .integration,
  .experience {
    grid-template-columns: 1fr;
  }

  .experience-copy {
    padding: 0;
  }

  .experience-gallery {
    min-height: 700px;
  }

  .legal-header {
    grid-template-columns: 1fr auto;
  }

  .legal-back {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section-shell,
  footer,
  .experience,
  .legal-main {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    min-height: 78px;
  }

  .brand {
    width: 168px;
  }

  .header-contact {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .header-contact span {
    font-size: 13px;
  }

  .hero {
    padding-block: 60px 76px;
  }

  h1 {
    font-size: clamp(55px, 16vw, 76px);
  }

  .claim {
    gap: 6px;
    letter-spacing: 0.11em;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-media {
    min-height: 490px;
    border-radius: 24px;
  }

  .intro-statement {
    padding: 96px 20px;
  }

  .services {
    padding-block: 96px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading > p:last-child {
    grid-column: auto;
  }

  .service-card {
    min-height: 410px;
    padding: 24px;
  }

  .service-card h3 {
    margin-top: 70px;
  }

  .integration {
    gap: 64px;
    padding: 62px 24px;
    border-radius: 26px;
  }

  .experience {
    margin-block: 96px;
    gap: 72px;
  }

  .experience-gallery {
    min-height: 540px;
  }

  .sailing-photo {
    right: 12%;
    border-radius: 24px;
  }

  .compass-photo {
    width: 48%;
    border-width: 7px;
    border-radius: 20px;
  }

  .experience-number {
    margin-top: 50px;
  }

  .experience-number span {
    font-size: 132px;
  }

  .closing {
    padding: 82px 24px;
    border-radius: 26px;
  }

  .closing-mail {
    gap: 12px;
    font-size: 16px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .legal-main {
    padding-block: 72px 104px;
  }

  .legal-hero {
    padding-bottom: 64px;
  }

  .legal-hero h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .legal-content {
    margin-top: 66px;
  }

  .legal-content section + section {
    margin-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
