@font-face {
  font-family: Geist;
  src: url("geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  font-family: Geist, "Segoe UI", sans-serif;
  color: #0a2335;
  background: #fff;
  color-scheme: light;
  --ink: #10294a;
  --muted: #435a72;
  --blue: #074e8a;
  --rule: #d5e1e8;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --focus: #126077;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; }
h1, h2, p, figure { margin: 0; }
h1 { text-wrap: balance; letter-spacing: -.04em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; cursor: pointer; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
::selection { color: #102f43; background: #ffdb7a; }

.shell { width: min(1280px, 100% - clamp(36px, 9vw, 148px)); margin-inline: auto; }
.mast {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--rule, #cecec2);
}
.brand { display: inline-flex; align-items: baseline; flex-wrap: wrap; column-gap: 14px; font-size: 25px; font-weight: 800; letter-spacing: -.04em; }

.mast-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; font-weight: 650; white-space: nowrap; }
.mast-link:hover { text-decoration-thickness: 2px; }
.mast-link:active { text-decoration-style: double; }

.arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 1.15em;
  height: 1em;
  transition: transform .2s var(--ease-out);
}
.arrow::before, .arrow::after { position: absolute; top: 50%; content: ""; }
.arrow::before { left: 0; right: .13em; border-top: 2px solid; transform: translateY(-50%); }
.arrow::after { right: .12em; width: .48em; height: .48em; border: solid; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
a:is(:hover, :focus-visible) > .arrow { transform: translateX(3px); }
a:active > .arrow { transform: translateX(1px); }

.focus-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(235px, 325px);
  grid-template-areas: "intro mark" "services services";
  gap: 34px clamp(30px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(35px, 5vw, 74px);
}

.focus-intro { grid-area: intro; }
.focus-intro h1 {
  max-width: 24ch;
  font-size: clamp(38px, 4.7vw, 68px);
  line-height: .99;
  font-weight: 720;
  text-wrap: pretty;
}
.focus-intro h1 em { display: block; color: #145b7b; font-style: normal; }
.focus-intro p {
  max-width: 57ch;
  margin-top: 17px;
  color: #3c5465;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.55;
}

.focus-mark {
  grid-area: mark;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  justify-self: end;
  width: 100%;
  height: clamp(148px, 16vw, 202px);
  padding: 12px;
  overflow: clip;
  border: 1px solid #b9d0df;
  border-radius: 48% 48% 18px 18px / 22% 22% 18px 18px;
  background: #f4f9fb;
}
.focus-mark img { position: relative; z-index: 1; width: auto; height: 100%; max-height: clamp(122px, 14vw, 175px); border-radius: 11px; object-fit: contain; }
.tidal-curtain, .tidal-lines { position: absolute; pointer-events: none; }
.tidal-curtain {
  z-index: 2;
  inset: 28% -24% -43%;
  border: 1px solid #82b7cb;
  border-radius: 50% 46% 0 0 / 34% 42% 0 0;
  background: #dbeef6;
  transform: translateY(112%) rotate(-8deg);
  animation: tide-reveal 1.2s cubic-bezier(.24, .72, .24, 1) both;
}
.tidal-lines {
  inset: 57% -33% -48%;
  border: 1px solid #a3c4d7;
  border-radius: 50%;
  transform: rotate(-13deg);
  animation: move-tide-line 1.35s var(--ease-out) both;
}
.tidal-lines::before, .tidal-lines::after {
  position: absolute;
  inset: -21px 0 21px;
  border: 1px solid #a3c4d7;
  border-radius: inherit;
  content: "";
}
.tidal-lines::after { inset: -43px 0 43px; }
@keyframes tide-reveal { from { transform: translateY(-15%) rotate(-8deg); } }
@keyframes move-tide-line { from { transform: translateY(55px) rotate(-17deg); } }

.focus-services {
  grid-area: services;
  scroll-margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 26px);
}
.focus-service {
  --ink: #102d3a;
  --accent: #9ee0cd;
  --panel: #13454e;
  --panel-hover: #1a545d;
  --panel-pressed: #103c44;
  --panel-border: #47757a;
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: start;
  align-content: start;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  min-height: 268px;
  overflow: clip;
  padding: clamp(23px, 3.4vw, 48px);
  border: 1px solid var(--panel-border);
  border-radius: 15px;
  color: #f5f9fa;
  background: var(--panel);
  text-decoration: none;
  transition: background-color .21s ease, border-color .21s ease;
}
.focus-proposal {
  --accent: #ffda79;
  --panel: #163d59;
  --panel-hover: #1c4b6b;
  --panel-pressed: #13334b;
  --panel-border: #496f8a;
}
.focus-service:hover { background: var(--panel-hover); border-color: var(--accent); }
.focus-service:active { background: var(--panel-pressed); }
.focus-service h2 {
  margin: 0;
  font-size: clamp(37px, 4.8vw, 67px);
  font-weight: 740;
  line-height: 1;
  letter-spacing: -.04em;
}
.focus-service p {
  max-width: 34ch;
  color: #d7e8ec;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.5;
}
.focus-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 48px;
  margin-top: 6px;
  padding: 8px 16px;
  border-radius: 7px;
  color: var(--ink);
  background: var(--accent);
  font-size: 15px;
  font-weight: 750;
}
.focus-service:is(:hover, :focus-visible) .arrow { transform: translateX(3px); }
.focus-service:active .arrow { transform: none; }

.door-art {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: -17%;
  width: min(42%, 255px);
  height: 94%;
  opacity: .2;
  pointer-events: none;
}
.art-data { display: flex; align-items: end; gap: 9%; transform: skewY(-13deg); }
.art-data i { width: 26%; height: 45%; border: 2px solid #9ee0cd; border-radius: 6px 6px 0 0; }
.art-data i:nth-child(2) { height: 64%; }
.art-data i:nth-child(3) { height: 83%; }
.art-proposal { bottom: -35%; width: min(32%, 190px); transform: rotate(-15deg); }
.art-proposal i { position: absolute; inset: 0; border: 2px solid #ffda79; border-radius: 9px; }
.art-proposal i:nth-child(2) { transform: translate(12px, -14px); }
.art-proposal i:nth-child(3) { transform: translate(24px, -28px); }

body:has(.unavailable) { background: #f2f7fb; display: flow-root; }
.unavailable .brand-name { color: #074e8a; font-size: 24px; font-weight: 800; margin-bottom: 15px; }
.action {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 7px;
  background: var(--service-color, var(--blue));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.action:hover { background: var(--ink); }
.unavailable { width: min(580px, calc(100% - 36px)); margin: clamp(32px, 10vh, 120px) auto; }
.unavailable h1 { font-size: clamp(28px, 6vw, 43px); line-height: 1.14; }
.unavailable p:not(.brand-name) { color: var(--muted); margin-block: 16px 25px; }

@media (max-width: 700px) {
  .mast { min-height: 64px; }
  .brand { font-size: 22px; }
  .focus-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "services" "mark";
    gap: 20px;
  }
  .focus-intro h1 { max-width: 19ch; font-size: clamp(32px, 9vw, 46px); }
  .focus-intro p { margin-top: 10px; }
  .focus-services { grid-template-columns: minmax(0, 1fr); }
  .focus-service { min-height: 181px; gap: 7px; padding: 16px 20px; }
  .focus-mark { justify-self: center; width: min(100%, 325px); }
}

@media (prefers-reduced-motion: reduce) {
  .tidal-curtain, .tidal-lines { animation: none; }
  .focus-service, .arrow { transition: none; }
  .focus-service:is(:hover, :focus-visible) .arrow { transform: none; }
}
