@font-face {
  font-family: Lato;
  src: url("assets/fonts/Lato-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Lato;
  src: url("assets/fonts/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #061A2F;
  --clay: #B65F3F;
  --ivory: #F6F0E7;
  --sand: #D8C7AC;
  --soft-black: #1F1E1C;
  --gutter: clamp(24px, 5.1vw, 88px);
  color-scheme: light;
  font-family: Lato, Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--ivory);
}

* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
p, h1, h2 { margin: 0; }
svg { display: block; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 7px; }
.frame { width: min(100% - var(--gutter) * 2, 1440px); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: var(--gutter);
  padding: 14px 20px;
  background: var(--ink);
  color: var(--ivory);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.masthead {
  min-height: 144px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--sand);
}

/* Display the supplied, unmodified logo without its transparent outer margin. */
.brand { width: 280px; aspect-ratio: 1056 / 244; position: relative; overflow: hidden; flex: none; }
.brand img {
  position: absolute;
  width: 279.261364%;
  max-width: none;
  height: auto;
  left: -90.056818%;
  top: -124.590164%;
}
.masthead-note { font-size: 12px; line-height: 1.6; letter-spacing: .04em; text-align: right; }
.masthead-note span { display: block; color: #52606C; }

.hero {
  min-height: max(570px, calc(100svh - 423px));
  padding-block: clamp(68px, 6.4vw, 102px) 76px;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; width: 79%; }
h1 { font-size: clamp(54px, 5.58vw, 89px); font-weight: 300; line-height: 1.065; letter-spacing: -.042em; }
.accent { color: var(--clay); }
.introduction { max-width: 615px; margin-top: 36px; color: #394752; font-size: 17px; line-height: 1.7; font-weight: 400; }
.working-together { max-width: 615px; margin-top: 26px; padding-left: 20px; border-left: 2px solid var(--clay); color: var(--ink); font-size: 20px; font-weight: 300; line-height: 1.5; }
.working-together span { font-weight: 400; }

.routes { position: absolute; right: -10px; top: 50%; width: clamp(215px, 24vw, 352px); transform: translateY(-49%); }
.routes svg { width: 100%; height: auto; overflow: visible; }
.route-grid { stroke: var(--sand); stroke-width: .65; opacity: .46; }
.route-lines { stroke: var(--sand); stroke-width: 1.2; }
.route-active { stroke: var(--clay); stroke-width: 1.6; }
.route-origin { fill: var(--clay); stroke: var(--ivory); stroke-width: 3; }
.route-tick { stroke: var(--sand); stroke-width: 1; }

.contact { background: var(--ink); color: var(--ivory); }
.contact-inner { padding-block: 44px 37px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.coming-soon { display: flex; align-items: flex-start; gap: 20px; }
.status-rule { height: 1px; width: 33px; margin-top: 13px; background: #D89A77; flex: none; }
.coming-soon p { font-size: 18px; font-weight: 300; line-height: 1.55; }
.coming-soon p span { display: block; }
h2 { font-size: clamp(26px, 2.55vw, 38px); font-weight: 300; line-height: 1.2; letter-spacing: -.025em; }
.email-row { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.email-link { display: inline-flex; align-items: center; gap: 40px; font-size: 22px; line-height: 1.6; padding-block: 3px 7px; text-decoration: none; border-bottom: 1px solid #798184; transition: color 180ms, border-color 180ms; }
.email-link svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform 180ms; }
.email-link:hover { color: #D89A77; border-color: #D89A77; }
.email-link:hover svg { transform: translate(2px,-2px); }
.copy-email { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; flex: none; color: #C6CEC9; background: transparent; border: 1px solid transparent; cursor: pointer; transition: color 180ms, border-color 180ms; }
.copy-email[hidden] { display: none; }
.copy-email svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.copy-email:hover { color: #D89A77; border-color: #798184; }
.copy-status { min-height: 18px; margin-top: 8px; color: #D8C7AC; font-size: 12px; line-height: 1.5; }
.footer { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #52606C; font-size: 10px; letter-spacing: .04em; }
.footer p:last-child { font-family: Georgia, serif; font-size: 12px; letter-spacing: .08em; color: #685849; }

@media (min-width: 1800px) {
  .hero { min-height: 670px; }
  .routes { width: 365px; right: 15px; }
}

@media (max-width: 1100px) {
  .hero-copy { width: 84%; }
  h1 { font-size: 5.6vw; }
  .routes { right: -12px; width: 23vw; }
  .introduction { max-width: calc(100% - 120px); font-size: 16px; }
  .working-together { max-width: calc(100% - 120px); font-size: 19px; }
  .hero { min-height: 525px; padding-block: 68px; }
  .contact-inner { grid-template-columns: 1fr 1.2fr; gap: 28px; }
  .email-link { font-size: 20px; gap: 26px; }
  .email-row { gap: 12px; }
}

@media (min-width: 761px) and (max-height: 900px) {
  .masthead { min-height: 112px; }
  .hero { min-height: calc(100svh - 353px); padding-block: 48px; }
  .introduction { margin-top: 28px; }
  .contact-inner { padding-block: 29px 22px; }
  .footer { min-height: 54px; }
}

@media (max-width: 760px) {
  .masthead { min-height: 119px; }
  .brand { width: 242px; }
  .masthead-note { display: none; }
  .hero { padding-block: 55px 51px; min-height: 0; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(42px, 7.55vw, 58px); line-height: 1.09; letter-spacing: -.038em; }
  .desktop-break { display: none; }
  .introduction { margin-top: 29px; max-width: 520px; font-size: 16px; line-height: 1.65; }
  .working-together { max-width: 520px; margin-top: 25px; padding-left: 17px; font-size: 19px; line-height: 1.5; }
  .routes { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 29px; padding-block: 32px 22px; }
  .coming-soon { gap: 13px; }
  .coming-soon p { font-size: 15px; line-height: 1.5; }
  .status-rule { width: 23px; margin-top: 10px; }
  .coming-soon p span { display: inline; }
  h2 { font-size: clamp(26px, 5.6vw, 34px); }
  .email-row { margin-top: 11px; gap: 12px; }
  .email-link { font-size: 21px; gap: 30px; }
  .footer { padding-block: 19px; min-height: 70px; align-items: flex-start; }
  .footer p:last-child { max-width: 182px; text-align: right; line-height: 1.6; font-size: 11px; }
}

@media (max-width: 370px) {
  .brand { width: 220px; }
  h1 { font-size: 40px; }
  .email-row { gap: 7px; }
  .email-link { font-size: 18px; gap: 17px; }
  .email-link svg { width: 20px; height: 20px; }
  .footer { font-size: 9px; }
}

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