/* Norden Holdings website
   Colors: navy #1A4057, orange #E2754A, cream #F0E6D2, slate #5E7C8A
   Text font: Nunito (self-hosted, SIL Open Font License) */

@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/nunito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/nunito-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/nunito-latin-700-normal.woff2') format('woff2'); }

:root {
  --navy: #1A4057;
  --orange: #E2754A;
  --slate-text: #3A5260;
  --slate-soft: #516A76;
  --rule: #E3E9EC;
  --section-radius: 40px;
  --card-radius: 24px;
  --page-width: 1200px;
  --panel: clamp(620px, 100vh, 900px);
}
@supports (height: 100svh) {
  :root { --panel: clamp(620px, 100svh, 900px); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--navy);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 30; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: #FFFFFF; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--page-width); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; height: 0; box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2); }
.bar {
  border-radius: 0 0 var(--section-radius) var(--section-radius);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.30), 0 6px 24px rgba(15, 38, 52, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.5) brightness(1.18);
  backdrop-filter: blur(18px) saturate(1.5) brightness(1.18);
}
.bar-in { max-width: var(--page-width); margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand-logo { height: 60px; width: auto; display: block; filter: drop-shadow(0 2px 3px rgba(10, 18, 26, 0.38)); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  color: var(--navy); font-weight: 700; font-size: 19px;
  text-decoration-line: none; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 10px;
}
.nav-link:hover, .nav-link.is-current { text-decoration-line: underline; }
.btn-contact {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; margin-left: 8px;
  border-radius: 999px; background: var(--navy); color: #FFFFFF; font-weight: 700; font-size: 18px; text-decoration: none;
}

/* ---------- Photo Banners ---------- */
.hero, .banner { display: flex; align-items: flex-end; background-color: #0F2634; background-size: cover; }
.hero {
  min-height: var(--panel);
  background-image:
    linear-gradient(180deg, rgba(15, 38, 52, 0.10) 0%, rgba(15, 38, 52, 0.16) 60%, rgba(15, 38, 52, 0.46) 100%),
    linear-gradient(90deg, rgba(15, 38, 52, 0.72) 0%, rgba(15, 38, 52, 0.36) 55%, rgba(15, 38, 52, 0) 100%),
    url('../img/shoreline-sunset.webp');
  background-position: center 80%;
}
.banner {
  min-height: 520px;
  background-image:
    linear-gradient(180deg, rgba(15, 38, 52, 0.10) 0%, rgba(15, 38, 52, 0.16) 60%, rgba(15, 38, 52, 0.46) 100%),
    linear-gradient(90deg, rgba(15, 38, 52, 0.66) 0%, rgba(15, 38, 52, 0.30) 55%, rgba(15, 38, 52, 0) 100%),
    url('../img/lake.webp');
  background-position: center 62%;
}
.hero-in { padding-top: 170px; padding-bottom: 164px; display: flex; flex-direction: column; gap: 20px; }
.banner-in { padding-top: 170px; padding-bottom: 128px; display: flex; flex-direction: column; gap: 12px; }
.hero h1, .banner h1 { margin: 0; font-weight: 700; line-height: 1.14; letter-spacing: -0.01em; color: #FFFFFF; }
.hero h1 { max-width: 900px; font-size: clamp(30px, 3.9vw, 46px); text-wrap: balance; }
.banner h1 { font-size: clamp(32px, 3.9vw, 46px); }
.lede { margin: 0; font-size: 19px; line-height: 1.55; color: #E8EEF0; }
.hero .lede { max-width: 680px; text-wrap: pretty; }
.banner .lede { max-width: 760px; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-light {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; background: #FFFFFF; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 17px;
}

/* ---------- Section Cards ---------- */
.section-card { position: relative; margin-top: calc(-1 * var(--section-radius)); border-radius: var(--section-radius) var(--section-radius) 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.30); }

/* Our Companies */
.companies { background: var(--navy); min-height: var(--panel); padding-bottom: 40px; display: flex; }
.companies-in { display: grid; grid-template-rows: minmax(210px, 1fr) auto minmax(210px, 1fr); justify-items: center; }
.companies h2 { align-self: end; margin: 0 0 44px; color: #FFFFFF; font-weight: 700; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.01em; text-align: center; }
.company-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.company-card {
  display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 36px 32px 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.74) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: var(--card-radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 4px 8px rgba(0, 0, 0, 0.14), 0 22px 48px rgba(0, 0, 0, 0.30);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  text-decoration: none; color: var(--navy); text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.company-card:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 6px 12px rgba(0, 0, 0, 0.18), 0 32px 64px rgba(0, 0, 0, 0.40); }
.company-logo { height: 150px; width: 100%; display: flex; align-items: center; justify-content: center; }
.company-logo img { width: auto; max-width: 100%; object-fit: contain; }
.company-text { display: flex; flex-direction: column; gap: 6px; }
.company-service { font-size: 19px; font-weight: 700; line-height: 1.3; }
.company-place { font-size: 16px; font-weight: 600; color: var(--slate-text); }
.visit { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--navy); font-weight: 600; font-size: 16px; }

/* Story */
.story {
  background-color: #0A121A; color: #F0E6D2; min-height: var(--panel); display: flex; align-items: center;
  background-image: linear-gradient(180deg, rgba(9, 14, 20, 0.12) 0%, rgba(9, 14, 20, 0.12) 100%), url('../img/night-sky.webp');
  background-size: cover; background-position: center 35%;
}
.story-grid { padding-top: 150px; padding-bottom: 120px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: column; gap: 20px 72px; align-items: start; }
.story-motto { align-self: end; margin: 0; font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.01em; color: var(--orange); }
.story h2 { align-self: end; margin: 0; font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.01em; color: #F7F2E8; }
.story p.story-body { margin: 0; max-width: 480px; color: #E8EEF0; text-wrap: pretty; }

/* Contact Page */
.contact { background: var(--navy); }
.contact-in { padding-top: 84px; padding-bottom: 136px; }
.bento { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-rows: auto auto; gap: 28px; }
.bento-a { grid-column: 1; grid-row: 1; }
.bento-b { grid-column: 1; grid-row: 2; }
.bento-c { grid-column: 2; grid-row: 1 / span 2; }
.info-card {
  display: flex; flex-direction: column; align-items: flex-start; padding: 36px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.74) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: var(--card-radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 4px 8px rgba(0, 0, 0, 0.14), 0 22px 48px rgba(0, 0, 0, 0.30);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  text-decoration: none; color: var(--navy);
  transition: transform .2s ease, box-shadow .2s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 6px 12px rgba(0, 0, 0, 0.18), 0 32px 64px rgba(0, 0, 0, 0.40); }
.info-card h2 { margin: 0; font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px 0 11px; border-radius: 999px; background: rgba(26, 64, 87, 0.10); font-size: 15px; font-weight: 600; }
.card-rule { display: block; align-self: stretch; height: 1px; margin: 22px 0 18px; background: rgba(26, 64, 87, 0.14); }
.card-label { font-size: 15px; font-weight: 600; color: var(--slate-text); }
.services { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.services.roomy { gap: 13px; }
.services li { display: flex; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); transform: translateY(-2px); }
.tag { margin-left: 4px; padding: 2px 10px; border-radius: 999px; background: rgba(26, 64, 87, 0.10); font-size: 13px; font-weight: 600; white-space: nowrap; }
.card-foot { margin-top: auto; padding-top: 26px; }

/* Simple Message Page (404) */
.message { background: var(--navy); min-height: 420px; }
.message-in { padding-top: 72px; padding-bottom: 136px; }
.message p { margin: 0 0 24px; color: #E8EEF0; font-size: 19px; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, #F5F8F9 0%, #DCE4E9 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 -12px 40px rgba(0, 0, 0, 0.30); }
.footer-in { max-width: var(--page-width); margin: 0 auto; padding: 26px 24px 16px; display: flex; flex-direction: column; gap: 12px; }
.footer-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr); align-items: start; gap: 24px clamp(24px, 5vw, 72px); }
.footer-brand { align-self: stretch; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.footer-logo { height: 76px; width: auto; max-width: 100%; object-fit: contain; object-position: left; align-self: flex-start; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 2px; }
.footer-contact { min-width: 0; justify-self: end; }
.footer-title { font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.footer-link { display: inline-flex; align-items: center; align-self: flex-start; min-height: 26px; color: var(--navy); font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.legal { margin: 0; text-align: right; font-size: 14px; line-height: 1.4; color: var(--slate-text); }

/* ---------- Phones and Narrow Windows ---------- */
@media (max-width: 700px) {
  .nav { order: 3; width: 100%; justify-content: center; border-top: 1px solid rgba(26, 64, 87, 0.14); margin-left: 0; }
  .brand-logo { height: 44px; }
  .bar { border-radius: 0 0 24px 24px; }
  .bar-in { padding: 12px 24px; }
  .btn-contact { margin-left: auto; }
  .nav-link { font-size: 17px; padding: 0 10px; }
  .story-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .story-grid > :nth-child(3) { margin-top: 28px; }
  .footer-cols { grid-template-columns: 1fr; justify-items: start; }
  .footer-cols > * { justify-self: start; }
  .footer-link { min-height: 32px; }
  .legal { margin-top: 8px; text-align: left; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento > * { grid-column: auto; grid-row: auto; padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .company-card, .info-card { transition: none; }
  .company-card:hover, .info-card:hover { transform: none; }
}

/* Company logo sizes */
.logo-sls { height: 76px; }
.logo-ilo { height: 150px; }
.logo-ccs { height: 70px; }
