@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #f8f9f6;
  --ink: #112c33;
  --muted: #43585c;
  --teal: #08786f;
  --petrol: #12363a;
  --line: #d9e1dd;
  --mint: #d7eee7;
  font: 500 16px / 1.55 Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure, p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.shell { width: min(1256px, calc(100% - 96px)); margin-inline: auto; }
section, article, .directory-group { scroll-margin-top: 24px; }

.masthead { border-bottom: 1px solid var(--line); }
.masthead-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 82px; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.047em; word-spacing: .022em; line-height: 1; white-space: nowrap; width: fit-content; }
.brand img { width: 35px; height: 35px; object-fit: contain; }
.main-nav, .header-actions, .footer-links { display: flex; align-items: center; }
.main-nav { gap: 35px; font-size: 14px; font-weight: 750; }
.main-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { justify-content: flex-end; gap: 19px; }
.language { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; }
.language span { color: var(--muted); }
.profile { border: 1px solid #cad7d2; background: none; color: #405b59; border-radius: 7px; padding: 9px 13px; white-space: nowrap; font-size: 13px; font-weight: 800; opacity: 1; }
.mobile-menu { display: none; }

.intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.08fr); align-items: center; gap: clamp(26px, 4.6vw, 68px); padding: 52px 0 50px; border-bottom: 1px solid var(--line); }
.intro h1 { font-size: clamp(3rem, 5.45vw, 5.12rem); letter-spacing: -.063em; word-spacing: .027em; font-weight: 800; line-height: 1.015; }
.intro h1 span { color: var(--teal); }
.intro p { max-width: 37ch; margin-top: 24px; color: var(--muted); font-size: 1.12rem; line-height: 1.65; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.primary-action { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 21px; border-radius: 7px; background: var(--teal); color: white; font-weight: 800; }
.primary-action:hover { background: #07655e; }
.simple-link { font-weight: 800; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #79948c; }
.simple-link:hover { color: var(--teal); }
.intro-photo { overflow: hidden; border-radius: 12px; background: #123337; aspect-ratio: 1.39; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 51%; }

.catalog { padding-block: 44px 58px; }
.catalog-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.catalog-head h2, .directory h2 { font-size: clamp(2rem, 4vw, 3.26rem); font-weight: 800; letter-spacing: -.057em; word-spacing: .025em; line-height: 1.09; }
.catalog-head > a { white-space: nowrap; }
.category-links { display: flex; gap: 9px; margin: 20px 0 24px; flex-wrap: wrap; }
.category-links a { border: 1px solid var(--line); border-radius: 50px; min-height: 36px; padding: 6px 13px; font-size: .85rem; font-weight: 750; }
.category-links a:hover { background: #e3ede9; border-color: #b5d0c8; }
.feature-grid { display: grid; grid-template-columns: 1.48fr 1fr; gap: 14px; grid-auto-rows: minmax(216px, auto); }
.feature { position: relative; overflow: hidden; border-radius: 12px; min-width: 0; isolation: isolate; }
.tile-copy { position: relative; z-index: 2; }
.type-label { display: block; font-size: .83rem; font-weight: 800; }
.feature h3 { font-weight: 800; letter-spacing: -.052em; word-spacing: .023em; line-height: 1.07; }
.feature p { margin-top: 11px; }
.feature a { display: inline-flex; gap: 7px; align-items: center; margin-top: 15px; font-weight: 800; text-decoration: underline; text-decoration-color: #71938a; text-underline-offset: 5px; }
.feature a:hover { text-decoration-color: currentColor; }

.primary-card { grid-row: span 2; color: white; background: #12383b; min-height: 460px; padding: 34px; }
.primary-card .tile-copy { max-width: 48%; }
.primary-card .type-label { color: #b5e0d5; }
.primary-card h3 { font-size: clamp(2.5rem, 4.2vw, 4.05rem); margin-top: 13px; }
.primary-card p { color: #deefea; max-width: 23ch; }
.primary-card a { color: white; text-decoration-color: #8fc7b8; }
.port-phones { position: absolute; inset: 0; z-index: -1; }
.port-phones img { position: absolute; width: 30%; filter: drop-shadow(0 19px 20px #020d1160); }
.port-lower { right: 27%; top: 51%; transform: rotate(-9deg); }
.port-upper { right: 7%; top: 19%; transform: rotate(9deg); }

.secondary-card { padding: 23px 24px; }
.secondary-card .tile-copy { max-width: 64%; }
.secondary-card h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin-top: 7px; }
.secondary-card p { color: #395356; font-size: .93rem; }
.secondary-card a { font-size: .91rem; }
.secondary-card > img { position: absolute; z-index: -1; top: 25px; right: 15px; width: 28%; transform: rotate(10deg); filter: drop-shadow(0 14px 19px #172c322e); }
.deck-card { background: #e2eaed; }
.crew-card { background: #dcece5; }
.crew-card > img { transform: rotate(-9deg); right: 22px; top: 31px; }

.directory { border-top: 1px solid var(--line); padding-block: 47px 66px; }
.directory-grid { margin-top: 25px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.directory-group { padding: 19px 22px 22px 0; display: grid; align-content: start; gap: 8px; }
.directory-group + .directory-group { border-left: 1px solid var(--line); padding-left: 22px; }
.directory-group h3 { font-weight: 800; font-size: 1rem; margin-bottom: 3px; }
.directory-group a { color: var(--muted); font-size: .92rem; padding: 3px 0; }
.directory-group a:hover { color: var(--teal); text-decoration: underline; }
footer { color: #eef6f3; background: #102f33; }
.footer-row { min-height: 145px; display: flex; align-items: center; justify-content: space-between; padding-block: 29px; gap: 22px; }
.footer-about .brand img { filter: brightness(0) invert(1); }
.footer-about p { margin-top: 9px; color: #b9d1ca; font-size: .9rem; }
.footer-links { gap: 24px; font-size: .9rem; font-weight: 700; }

@media (max-width: 940px) {
  .shell { width: calc(100% - 54px); }
  .masthead-row { gap: 18px; }
  .main-nav { gap: 19px; }
  .header-actions { gap: 12px; }
  .primary-card { padding: 26px; }
  .secondary-card { padding: 19px; }
}

@media (max-width: 710px) {
  .shell { width: calc(100% - 36px); }
  .masthead-row { display: flex; justify-content: space-between; gap: 10px; min-height: 65px; }
  .brand { gap: 6px; font-size: 18px; }
  .brand img { width: 27px; height: 27px; }
  .main-nav, .language { display: none; }
  .header-actions { gap: 9px; }
  .profile { padding: 7px 9px; font-size: .74rem; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { display: grid; width: 32px; height: 40px; align-content: center; justify-content: center; gap: 4px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu i { display: block; width: 18px; border-top: 2px solid var(--ink); }
  .mobile-links { display: grid; min-width: 126px; gap: 11px; padding: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; position: absolute; top: 100%; right: 0; z-index: 9; font-weight: 750; }

  .intro { display: flex; flex-direction: column; align-items: stretch; gap: 27px; padding: 34px 0 29px; }
  .intro h1 { font-size: clamp(2.65rem, 10.8vw, 4.4rem); line-height: 1.01; letter-spacing: -.061em; }
  .intro p { font-size: 1rem; line-height: 1.58; margin-top: 15px; }
  .intro-actions { gap: 18px; margin-top: 19px; }
  .primary-action { min-height: 46px; padding: 9px 16px; font-size: .925rem; }
  .simple-link { font-size: .92rem; }
  .intro-photo { border-radius: 9px; aspect-ratio: 1.46; }
  .intro-photo img { object-position: 58% 50%; }
  .catalog { padding-block: 27px 32px; }
  .catalog-head h2, .directory h2 { font-size: clamp(1.9rem, 8vw, 2.25rem); }
  .catalog-head { gap: 8px; }
  .catalog-head > a { font-size: .82rem; }
  .category-links { gap: 5px; margin-block: 13px 17px; }
  .category-links a { min-height: 33px; padding: 5px 9px; font-size: .75rem; }
  .feature-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 11px; }
  .primary-card { grid-row: auto; min-height: 325px; padding: 22px 19px; }
  .primary-card .tile-copy { max-width: 55%; }
  .primary-card h3 { font-size: clamp(1.8rem, 7.6vw, 2.5rem); margin-top: 8px; }
  .feature p, .primary-card a { font-size: .875rem; }
  .primary-card a span { display: none; }
  .port-phones img { width: 34%; }
  .port-lower { right: 19%; top: 57%; }
  .port-upper { right: 4%; top: 24%; }
  .secondary-card { min-height: 171px; padding: 18px 17px; }
  .secondary-card > img { width: 24%; right: 15px; top: 19px; }
  .directory { padding-block: 28px 38px; }
  .directory-grid { grid-template-columns: 1fr; margin-top: 17px; }
  .directory-group + .directory-group { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .directory-group { padding: 14px 0; gap: 4px; }
  .footer-row { align-items: flex-start; flex-direction: column; padding-block: 25px; gap: 18px; }
}

@media (max-width: 350px) {
  .shell { width: calc(100% - 26px); }
  .brand { font-size: 16px; }
  .brand img { width: 23px; height: 23px; }
  .profile { font-size: .68rem; padding-inline: 5px; }
  .header-actions { gap: 4px; }
  .category-links a { padding-inline: 7px; }
}
