:root {
  --paper: #f6f7fa;
  --ink: #17263c;
  --graphite: #48566b;
  --blueprint: #213eb0;
  --ice: #e6ecfb;
  --rule: #cfd8e9;
  --accent: var(--blueprint);
  --ui-border: #d9dfea;
  --ui-muted: #49566b;
  background: #eef0f5;
}
.workspace-mark { background: var(--ice); font-weight: 750; }
.app-kicker, .sidebar-note, .board-foot { font-size: .8rem; }
.rail-switch button[aria-pressed="true"], .rail-link[aria-current="page"] { color: var(--blueprint); background: var(--ice); border-color: var(--rule); }
.rail-link .reference-dot { margin-left: auto; font-size: .65rem; color: var(--blueprint); }
.rail-link:hover, .rail-section:hover, .toolbar-button:hover, .device-switch button:hover { background: var(--ice); }
.frame { max-width: 1440px; }
.board[data-device="tablet"] .frame { max-width: 768px; }
.board[data-device="mobile"] .frame { max-width: 390px; }
.nl-skip { position: fixed; inset: 8px auto auto 8px; z-index: 10; background: #fff; padding: 12px; border-radius: 4px; transform: translateY(-160%); }
.nl-skip:focus { transform: none; }
.nl { color: var(--ink); font-size: clamp(.94rem, 1.3cqi, 1.075rem); line-height: 1.6; caret-color: var(--blueprint); }
.nl ::selection { background: var(--ice); color: var(--ink); }
.nl h1, .nl h2, .nl h3, .nl p { margin: 0; overflow-wrap: anywhere; }
.nl h1, .nl h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; line-height: 1.03; text-wrap: balance; }
.nl h1 { font-size: clamp(2.7rem, 6.1cqi, 5.65rem); max-width: 16ch; }
.nl h2 { font-size: clamp(2.1rem, 4.2cqi, 3.65rem); }
.nl h3 { font-size: clamp(1.16rem, 2.03cqi, 1.75rem); font-weight: 690; letter-spacing: -.025em; line-height: 1.17; text-wrap: balance; }
.nl-wrap { max-width: 1280px; width: calc(100% - clamp(30px, 10cqi, 144px)); margin-inline: auto; }
.nl-navbar { border-bottom: 1px solid var(--rule); position: relative; z-index: 2; background: #fff; }
.nl-navbar > .nl-wrap { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nl-brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 750; letter-spacing: -.045em; white-space: nowrap; font-size: 1.1rem; }
.nl-brand svg { flex-shrink: 0; color: var(--blueprint); }
.nl-navlinks, .nl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(8px, 1.9cqi, 26px); }
.nl-navlinks a, .nl-navlinks summary { font-size: .88rem; text-decoration: none; }
.nl-navbar a:hover, .nl-navbar summary:hover { text-decoration: underline; }
.nl-navbar details { position: relative; }
.nl-navbar summary { padding: 9px 4px; }
.nl-navbar .menu-panel a { padding: 10px; white-space: normal; }
.nl-mobile-nav { display: none; }
.nl .button { min-height: 44px; color: #fff; background: var(--blueprint); border-color: var(--blueprint); padding-inline: 16px; border-radius: 4px; font-size: .84rem; touch-action: manipulation; }
.nl .button:hover { background: var(--ink); }
.nl .button.secondary { background: #fff; color: var(--ink); border-color: #8e9cb1; }
.nl .button.secondary:hover { background: var(--ice); }
.nl .button.compact { min-height: 39px; padding-inline: 11px; }
.nl .text-link { font-size: .89em; color: var(--blueprint); }
.nl .text-link:hover { text-decoration-thickness: 2px; }
.nl-section { padding-block: clamp(42px, 6cqi, 90px); scroll-margin-top: calc(var(--bar) + 14px); }
.nl-section.hero { padding-block: clamp(43px, 6.5cqi, 96px); background: var(--paper); }
.nl-section.hero.has-strip { padding-bottom: clamp(27px, 3.5cqi, 54px); }
.nl-intro { display: grid; gap: 13px; max-width: 63ch; }
.nl-intro p, .nl-card p, .nl-project p, .nl-rail-step p { color: var(--graphite); }
.nl-center .nl-intro { margin-inline: auto; text-align: center; max-width: 66ch; justify-items: center; }
.nl-center .nl-actions { justify-content: center; margin-top: 22px; gap: 10px; }
.nl-sheet { margin: clamp(25px, 4.3cqi, 64px) auto 0; max-width: 1000px; }
.nl-sheet-stage { position: relative; display: grid; align-content: end; aspect-ratio: 2.55; background: var(--ice); border: 1px solid var(--rule); padding: 6% 13% 0 9%; }
.nl-sheet-stage::before { content: ''; position: absolute; inset: 0 82% 0 auto; width: 1px; background: var(--rule); pointer-events: none; }
.nl-sheet-desktop, .nl-sheet-phone { position: relative; background: #fff; border: 1px solid #8494ac; box-shadow: 0 12px 28px rgb(0 0 0 / 14%); }
.nl-sheet-desktop { border-radius: 9px 9px 0 0; overflow: hidden; }
.nl-sheet-phone { position: absolute; inset: auto 7% -4% auto; width: 19%; border-radius: clamp(8px, 1.5cqi, 19px); padding: 4px; z-index: 1; overflow: hidden; }
.nl-sheet-phone .nl-concept { aspect-ratio: 9 / 15; border-radius: 10px; }
.nl-browser-bar { height: clamp(9px, 2cqi, 22px); display: grid; align-items: center; background: #fff; border-bottom: 1px solid #d8dfed; padding-inline: 4%; }
.nl-browser-bar span { display: block; width: 13%; height: 35%; border-radius: 10px; background: #d8dfed; }
.nl-sheet figcaption { display: flex; justify-content: space-between; align-items: start; gap: 8px; padding-block: 13px 0; font-size: .77em; color: var(--graphite); }
.nl-sheet figcaption a { color: var(--blueprint); white-space: nowrap; }
.nl-concept { --mock-bg: #f0eee5; --mock-ink: #232c24; --mock-field: #aab39e; aspect-ratio: 2.4; display: grid; align-items: stretch; grid-template: auto 1fr / .94fr 1.06fr; gap: 0; min-width: 0; background: var(--mock-bg); color: var(--mock-ink); overflow: hidden; }
.nl-concept[data-concept="1"] { --mock-bg: #e9eef2; --mock-ink: #17344d; --mock-field: #8eacc0; }
.nl-concept[data-concept="2"] { --mock-bg: #f8eee6; --mock-ink: #4c292a; --mock-field: #d7a797; }
.nl-concept-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 4px; border-bottom: 1px solid rgb(0 0 0 / 14%); padding: 2% 5%; font-size: clamp(.36rem, 1.03cqi, .8rem); font-weight: 725; }
.nl-concept-copy { padding: 7% 10%; display: grid; gap: 6%; align-content: center; }
.nl-concept-copy b { font: 500 clamp(.68rem, 3.25cqi, 2.65rem)/.99 Georgia, serif; letter-spacing: -.035em; max-width: 10ch; }
.nl-concept-copy small { font-size: clamp(.32rem, 1.05cqi, .78rem); line-height: 1.25; }
.nl-concept-copy i { display: block; width: 44%; height: clamp(3px, .55cqi, 7px); background: currentColor; opacity: .68; }
.nl-concept-art { display: grid; align-items: stretch; justify-items: stretch; min-width: 0; min-height: 0; background: var(--mock-field); }
.nl-concept-art svg { display: block; width: 100%; height: 100%; max-height: 245px; }
.nl-concept[data-view="3"] { grid-template: auto 1fr 1.1fr / 1fr; }
.nl-concept[data-view="3"] .nl-concept-copy { padding: 6% 8%; }
.nl-concept[data-view="3"] .nl-concept-copy b { font-size: clamp(.55rem, 1.8cqi, 1.35rem); }
.nl-concept[data-view="3"] .nl-concept-art svg { max-height: 115px; }
.nl-project > a:hover h3 { text-decoration: underline; }
.nl-project > a .nl-concept, .nl-card > .nl-concept { aspect-ratio: 16 / 9; border-radius: 5px; }
.nl-section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.nl-stagger, .nl-grid { margin-top: clamp(23px, 4cqi, 60px); }
.nl-stagger { display: grid; row-gap: clamp(28px, 4.6cqi, 66px); }
.nl-project { width: 63%; }
.nl-project:nth-child(even) { justify-self: end; }
.nl-project > a { display: grid; gap: 10px; text-decoration: none; }
.nl-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.nl-tag { background: var(--paper); border: 1px solid var(--rule); color: var(--ink); padding: 2px 8px; border-radius: 4px; font-size: .74em; }
.nl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(17px, 3cqi, 44px); }
.nl-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nl-card { display: grid; gap: 10px; align-content: start; padding-block-start: 15px; border-top: 1px solid var(--rule); }
#service-hubs, #seo-scope { background: var(--paper); }
#closing { color: #fff; background: var(--ink); }
#closing p { color: #dce5f5; }
#closing .button:not(.secondary) { background: #fff; color: var(--ink); border-color: #fff; }
#closing .button:hover { background: var(--ice); color: var(--ink); }
#closing :focus-visible { outline-color: #fff; }
.nl-filters { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.nl-filters a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 11px; border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; font-size: .85em; }
.nl-filters a[aria-current], .nl-filters a:hover { background: var(--ice); color: var(--blueprint); }
.nl-filters a[aria-current] { border-color: var(--blueprint); font-weight: 700; }
.nl-result-count { margin-top: 10px !important; color: var(--graphite); font-size: .84em; }
.nl-process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5cqi, 70px); }
.nl-timeline { list-style: none; margin: 0; padding: 0; font-variant-numeric: tabular-nums; }
.nl-rail-step { display: grid; grid-template-columns: 39px 1fr; column-gap: 16px; position: relative; padding-bottom: 23px; }
.nl-rail-step:not(:last-child)::before { content: ''; position: absolute; top: 34px; bottom: 0; left: 19px; border-left: 1px solid var(--rule); }
.nl-rail-step:last-child { padding-bottom: 0; }
.nl-rail-step h3, .nl-plan h3 { font-size: 1.22em; }
.nl-rail-step p { margin-top: 6px; }
.nl-rail-step span { position: relative; display: grid; place-items: center; height: 38px; border-radius: 4px; background: var(--ice); color: var(--blueprint); font-size: .82em; font-weight: 690; }
.nl-plan { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: clamp(16px, 2.45cqi, 34px); }
.nl-plan dl { margin: 19px 0 0; }
.nl-plan dl > div { padding-block: 9px; border-top: 1px solid var(--rule); }
.nl-plan dd { margin: 0; font-weight: 620; }
.nl-plan dt { color: var(--graphite); font-size: .82em; }
.nl-gallery-item { margin: 0; }
.nl-gallery-item button { display: block; width: 100%; padding: 0; border: 1px solid var(--rule); border-radius: 5px; overflow: hidden; background: var(--paper); }
.nl-gallery-item button:hover { border-color: var(--blueprint); box-shadow: 0 5px 15px rgb(0 0 0 / 14%); }
.nl-gallery-item .nl-concept, #gallery-preview .nl-concept { aspect-ratio: 1.8; }
.nl-gallery-item .nl-concept[data-view="3"], #gallery-preview .nl-concept[data-view="3"] { width: min(58%, 240px); margin-inline: auto; }
.nl-gallery-item figcaption { margin-top: 7px; font-size: .85em; color: var(--graphite); }
.nl-draft { color: var(--graphite); padding-block: 9px; background: var(--paper); border-bottom: 1px solid var(--rule); font-size: .8rem; }
.nl-footer { border-top: 1px solid var(--rule); padding: clamp(26px, 4.5cqi, 65px) 0 23px; }
.nl-footer-main { display: grid; grid-template-columns: 1fr repeat(3, minmax(0, 1fr)); gap: 15px; align-items: start; }
.nl-footer nav { display: grid; gap: 8px; font-size: .85em; }
.nl-footer nav a { text-decoration: none; }
.nl-footer nav a:hover { text-decoration: underline; }
.nl-footer .nl-legal { margin-top: 23px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: .78em; color: var(--graphite); }
#gallery-dialog { border: 1px solid var(--rule); border-radius: 8px; padding: 16px; width: min(680px, calc(100vw - 28px)); overscroll-behavior: contain; }
#gallery-dialog::backdrop { background: #17263cbb; }
.dialog-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.dialog-top h2 { margin: 0; font-size: 1.2rem; }
.nl-motion-settings { text-align: center; margin: 15px auto 0; max-width: 54ch; color: var(--ui-muted); font-size: .8rem; }
.nl-motion-settings p { margin: 8px 0; }
.nl-motion-settings button { min-height: 40px; }
@keyframes northlight-sheet-travel {
  from { transform: translateY(15px); }
  to { transform: translateY(-17px); }
}
@media (min-width: 980px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .board[data-device="desktop"][data-presentation="design"] .nl-sheet:not([data-motion]) { view-timeline-name: --northlight-sheet; }
    .board[data-device="desktop"][data-presentation="design"] .nl-sheet:not([data-motion]) .nl-sheet-phone {
      animation: northlight-sheet-travel 1ms linear both;
      animation-timeline: --northlight-sheet;
      animation-range: entry 15% cover 60%;
    }
  }
}
.board[data-presentation="wireframe"] .nl { --paper: #f6f6f6; --ice: #ececec; --ink: #202020; --graphite: #4d4d4d; --blueprint: #292929; --rule: #d0d0d0; }
.board[data-presentation="wireframe"] .nl :is(h1,h2) { font-family: system-ui, sans-serif; font-weight: 700; }
.board[data-presentation="wireframe"] .nl-concept, #gallery-dialog[data-presentation="wireframe"] .nl-concept { filter: grayscale(1); }
.board[data-presentation="wireframe"] #closing { background: #ececec; color: #202020; }
.board[data-presentation="wireframe"] #closing p { color: #4d4d4d; }
.board[data-presentation="wireframe"] #closing :focus-visible { outline-color: #202020; }
@container site (max-width: 760px) {
  .nl-project { width: 82%; }
  .nl-grid:not(.two) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nl-navlinks { display: none; }
  .nl-mobile-nav { display: block; }
}
@container site (max-width: 520px) {
  .nl-section.hero { padding-top: 34px; }
  .nl h1 { font-size: clamp(2.32rem, 9.9cqi, 3.3rem); }
  .nl-project { width: 100%; }
  .nl-grid:not(.two), .nl-grid.two, .nl-process { grid-template-columns: minmax(0, 1fr); }
  .nl-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .nl-sheet-stage { aspect-ratio: 1.95; padding-inline: 5% 12%; }
  .nl-sheet-phone { width: 23%; right: 6%; }
  .nl-sheet figcaption { flex-wrap: wrap; }
}
@media (max-width: 630px) {
  :root { --bar: 103px; }
  .toolbar { flex-wrap: wrap; align-content: center; gap: 5px; padding: 7px; }
  .toolbar-actions { flex-wrap: wrap; gap: 3px; }
  .toolbar-actions button { padding-inline: 6px; }
}
