@font-face {
  font-family: 'Work Sans';
  src: url('assets/work-sans-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #172b3b;
  --ink: #133341;
  --paper: #f7f9f7;
  --muted: #425760;
  --line: #c3cece;
  --rail: clamp(13.5rem, 19vw, 18.25rem);
  --rail-pad: clamp(1.3rem, 2.2vw, 2.65rem);
  --pad: clamp(2rem, 4.2vw, 5.5rem);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.58 'Work Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, figure { margin: 0; }
h1, h2 { font-weight: 480; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid #ad8b50; outline-offset: 5px; }
.skip { position: fixed; z-index: 9; background: white; top: .5rem; left: .5rem; padding: .6rem 1rem; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.mast, footer { color: #f6f8f7; background: var(--navy); }
.mast { grid-area: 1 / 1; }
.mast-inner { position: sticky; top: 0; padding: clamp(2.25rem, 3.3vw, 3.7rem) var(--rail-pad) 2rem; }
.brand { display: block; width: 100%; max-width: 13.5rem; }
.brand img { display: block; width: 100%; height: auto; }
nav { display: grid; gap: .25rem; margin-top: clamp(3rem, 8vh, 6.5rem); }
nav a { display: block; position: relative; padding: .72rem 0; font-size: 1rem; line-height: 1.4; text-decoration: none; color: #c2d0d5; }
nav a[aria-current] { color: white; font-weight: 600; }
nav a[aria-current]::before { content: ''; position: absolute; left: -.8rem; top: 1.02rem; bottom: 1.02rem; width: 2px; background: #c6ab7f; }
nav a:hover, footer a:hover { color: white; text-decoration: underline; }
main { grid-area: 1 / 2 / 3 / 3; min-width: 0; }
main:focus { outline: none; }
footer { grid-area: 2 / 1; display: grid; align-content: end; gap: .8rem; padding: 2rem var(--rail-pad); }
footer a { color: #d4dfe1; font-size: .88rem; width: fit-content; }
footer small { color: #c6d2d5; line-height: 1.5; font-size: .8rem; }
.overview { min-height: 100%; display: flex; flex-direction: column; }
.bridge { display: block; position: relative; overflow: hidden; min-height: 20rem; height: clamp(21rem, 53vh, 43rem); background: #839aa3; }
.bridge img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 67% 48%; }
.overview-copy {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .85fr);
  gap: clamp(1.8rem, 3.8vw, 5rem);
  align-items: center;
  padding: clamp(3.4rem, 7.8vh, 7.5rem) var(--pad);
}
.overview h1, .page h1 { letter-spacing: -.063em; line-height: 1.04; }
.overview h1 { font-size: clamp(2.2rem, 4.25vw, 5rem); }
.overview-note { border-top: 2px solid var(--ink); padding-top: 1rem; }
.overview-note p { max-width: 31rem; color: var(--muted); font-size: clamp(1rem, 1.16vw, 1.3rem); line-height: 1.53; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 550; font-size: 1rem; text-decoration-thickness: 1px; }
.overview-note .text-link, address + .text-link { margin-top: .7rem; }
.text-link:hover, .entry a:hover { color: #365f70; }
.page { padding: clamp(3.5rem, 8.5vh, 8rem) var(--pad); max-width: 88rem; }
.page-title { padding: 0 0 clamp(2.5rem, 5.5vh, 5.5rem); }
.page h1 { font-size: clamp(2.7rem, 5.6vw, 6rem); }
.page-title p { max-width: 48ch; font-size: clamp(1.18rem, 1.65vw, 1.65rem); margin-top: 1.5rem; color: var(--muted); line-height: 1.47; }
.entry { margin: 0; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.4fr); gap: 1rem 3rem; padding: clamp(1.4rem, 2.7vw, 2.8rem) 0; border-top: 1px solid var(--line); }
.entry h2, .company-record h2 { font-size: clamp(1.25rem, 1.68vw, 1.9rem); letter-spacing: -.042em; line-height: 1.22; }
.entry p, .company-record p, .company-record address { color: var(--muted); max-width: 61ch; }
.company-record { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); gap: 2rem; padding-top: 2.15rem; }
.company-record h2 { margin-bottom: 1.1rem; }
.company-record address { font-style: normal; }
@media (min-width: 761px) and (max-width: 1110px) {
  .overview-copy { grid-template-columns: 1fr; gap: 1.8rem; align-content: center; }
  .overview h1 { font-size: clamp(3.15rem,6vw,4rem); }
  .overview-note { max-width: 32rem; }
  .bridge { height: 43vh; min-height: 18rem; }
  .entry { gap: 1.75rem; }
}
@media (max-width: 760px) {
  body { display: flex; flex-direction: column; }
  main { flex: 1 0 auto; }
  .mast-inner { position: static; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.8rem; padding: 1.15rem clamp(1.2rem,4vw,2.25rem) .85rem; }
  .brand { width: clamp(10.25rem, 27vw, 12rem); }
  nav { display: flex; flex-wrap: wrap; gap: .35rem clamp(.85rem,3.4vw,1.65rem); margin: 0; }
  nav a { padding: .65rem 0; font-size: .94rem; }
  nav a[aria-current]::before { top: auto; left: 0; right: 0; bottom: .26rem; width: auto; height: 2px; }
  .bridge { height: clamp(13.5rem, 42vw, 20.5rem); min-height: 0; object-position: 67% 48%; }
  .overview-copy { display: grid; grid-template-columns: 1fr; gap: 1.7rem; padding: 2.2rem clamp(1.25rem,5vw,2.75rem) 2.6rem; }
  .overview h1 { font-size: clamp(2.15rem, 8.2vw, 3.8rem); }
  .overview-note { border-top-width: 1px; max-width: 30rem; }
  .page { padding: 2.75rem clamp(1.25rem,5vw,2.75rem) 3rem; }
  .page h1 { font-size: clamp(2.25rem,7.3vw,3.6rem); }
  .page-title { padding-bottom: 2.15rem; }
  .entry { grid-template-columns: 1fr; gap: .65rem; }
  .company-record { gap: 2rem; }
  footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1.25rem,5vw,2.75rem); }
}
@media (max-width: 480px) {
  .mast-inner { flex-direction: column; align-items: start; gap: .2rem; }
  .company-record { grid-template-columns: 1fr; }
}

/* Landing intro (see site.js). The whole screen starts navy. One O appears in the centre, splits into the two O's
   of NORIKO while the other letters appear between them, the logo glides to its place in the masthead, and then
   a gull lifts off and its wings uncover the page.
   `.intro` is set in <head> on a browser's first visit (or with ?intro in the address); `.go` when the gull takes off. */
.intro-logo { display: none; }
.intro-canvas { position: fixed; z-index: 8; inset: -150px; width: calc(100% + 300px); height: calc(100% + 300px); pointer-events: none; } /* overhang = INTRO_PAD in site.js */
.intro body::before { content: ''; position: fixed; z-index: 8; inset: 0; background: var(--navy); animation: lift .8s 12s forwards; } /* 12s: never stay covered if the script fails */
.intro.go body::before { display: none; }
.intro.go .bridge img { animation: settle 5.8s cubic-bezier(.16, .6, .2, 1) both; }
.intro .intro-logo {
  display: block; position: fixed; z-index: 9; inset: 0; margin: auto; width: clamp(210px, 36vw, 480px); height: auto; aspect-ratio: 1504 / 329;
  overflow: visible; transform-origin: 0 0; pointer-events: none;
  animation: appear .7s .25s backwards, lift .8s 12s forwards;
}
/* Timeline in seconds: O appears .25–.95 · splits 1.45–2.55 · letters 1.85–2.85 · SMC NORDIC 2.7–3.4 · rests · site.js moves the logo at 4.1 (INTRO_LOGO_HOLD). */
.intro-logo path { transform-box: fill-box; transform-origin: center; }
.intro-logo #NORIKO-O1 { --from: translateX(325.8px); }                 /* both O's start on the wordmark's centre line… */
.intro-logo #NORIKO-O2 { --from: translateX(-607.95px) scaleX(1.0378); } /* …the second stretched 3.8% to coincide exactly with the first */
.intro-logo #NORIKO-O1, .intro-logo #NORIKO-O2 { animation: split 1.1s 1.45s cubic-bezier(.65, 0, .3, 1) backwards; }
.intro-logo #NORIKO-I { --from: translateX(-40px); animation: letter .7s 1.85s cubic-bezier(.2, .7, .2, 1) backwards; }
.intro-logo #NORIKO-R { --from: translateX(50px); animation: letter .7s 2s cubic-bezier(.2, .7, .2, 1) backwards; }
.intro-logo #NORIKO-K { --from: translateX(-50px); animation: letter .7s 2s cubic-bezier(.2, .7, .2, 1) backwards; }
.intro-logo #NORIKO-N { --from: translateX(60px); animation: letter .7s 2.15s cubic-bezier(.2, .7, .2, 1) backwards; }
.intro-logo #SMC-NORDIC { --from: translateY(14px); animation: letter .7s 2.7s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes appear { from { opacity: 0; } }
@keyframes split { from { transform: var(--from); } }
@keyframes letter { from { opacity: 0; transform: var(--from); } }
@keyframes lift { to { opacity: 0; visibility: hidden; } }
@keyframes settle { from { scale: 1.06; } }

/* Page entrance: content rises into place, lightly staggered. On the landing page it is skipped while the intro plays. */
@media (prefers-reduced-motion: no-preference) {
  .page-title, .entry, .company-record > section, html:not(.intro) .overview-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .16s backwards; }
  .page-title, .overview-copy > :first-child { animation-delay: .04s; }
  .entry:nth-child(2), .company-record > section:nth-child(2) { animation-delay: .26s; }
  .entry:nth-child(3) { animation-delay: .36s; }
  html:not(.intro) .bridge img { animation: appear .9s backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
