/*
Theme Name: Northstar Studio
Theme URI: https://example.test/northstar
Author: TranslateSimple demo
Description: An editorial block theme for a realistic TranslateSimple showcase.
Version: 2.0.3
Requires at least: 6.9
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: northstar
*/

:root {
  --northstar-ink: #14202b;
  --northstar-muted: #66727d;
  --northstar-paper: #f6f3ec;
  --northstar-coral: #f46550;
  --northstar-blue: #244fd0;
  --northstar-mint: #c9ecdc;
  --northstar-line: rgba(20,32,43,.12);
  --northstar-shadow: 0 28px 70px rgba(20,32,43,.12);
}

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; overflow-x: hidden; }
a { text-underline-offset: .18em; }
img { display: block; }
.northstar-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--northstar-line); backdrop-filter: blur(18px) saturate(1.25); }
.northstar-header .wp-block-site-title a { color: var(--northstar-ink); text-decoration: none; }
.northstar-header .wp-block-site-title a::before { content: "✦"; color: var(--northstar-coral); margin-right: .45rem; }
.northstar-hero { overflow: hidden; position: relative; min-height: min(760px, 82vh); background: linear-gradient(135deg, #fbfaf6 0%, #e9efff 100%); }
.northstar-hero-copy { position: relative; z-index: 2; }
.northstar-hero-media { min-height: 590px; height: 100%; }
.northstar-hero-media figure, .northstar-hero-media img { height: 100%; width: 100%; }
.northstar-hero-media img { object-fit: cover; object-position: center; border-radius: 26px; box-shadow: var(--northstar-shadow); }
.northstar-eyebrow { letter-spacing: .13em; text-transform: uppercase; font-size: .76rem; font-weight: 800; }
.northstar-lede { max-width: 720px; }
.northstar-pill-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.northstar-pill { border: 1px solid var(--northstar-line); border-radius: 999px; background: rgba(255,255,255,.72); padding: .5rem .85rem; font-size: .84rem; font-weight: 700; }
.northstar-card { height: 100%; border: 1px solid var(--northstar-line); border-radius: 24px; box-shadow: 0 18px 45px rgba(20,32,43,.07); transition: transform .25s ease, box-shadow .25s ease; }
.northstar-card:hover { transform: translateY(-5px); box-shadow: 0 28px 64px rgba(20,32,43,.12); }
.northstar-number { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--northstar-mint); font-weight: 800; }
.northstar-stat { border-left: 3px solid var(--northstar-coral); padding-left: 1rem; }
.northstar-project { position: relative; overflow: hidden; min-height: 430px; border-radius: 26px; box-shadow: var(--northstar-shadow); }
.northstar-project figure, .northstar-project img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.northstar-project img { object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.northstar-project:hover img { transform: scale(1.035); }
.northstar-project-copy { position: absolute; z-index: 2; inset: auto 0 0; padding: 7rem 1.8rem 1.6rem; background: linear-gradient(transparent, rgba(7,15,22,.86)); }
.northstar-project-copy * { color: white !important; }
.northstar-project-tall { min-height: 590px; }
.northstar-image-frame { overflow: hidden; border-radius: 26px; box-shadow: var(--northstar-shadow); }
.northstar-image-frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.northstar-image-frame.is-portrait img { aspect-ratio: 4/5; }
.northstar-process { counter-reset: northstar-step; }
.northstar-process-step { position: relative; padding: 1.5rem 1.5rem 1.5rem 4.8rem; border-top: 1px solid var(--northstar-line); }
.northstar-process-step::before { counter-increment: northstar-step; content: "0" counter(northstar-step); position: absolute; left: 0; top: 1.45rem; color: var(--northstar-blue); font-size: .85rem; font-weight: 800; }
.northstar-band { border-radius: 30px; background: var(--northstar-ink); color: white; }
.northstar-band h2, .northstar-band p, .northstar-band cite { color: white; }
.northstar-quote { border: 0; padding: 0; margin: 0; }
.northstar-quote p { font-family: var(--wp--preset--font-family--serif); font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1.15; }
.northstar-logo-row { opacity: .58; letter-spacing: .07em; font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.northstar-team-card figure { margin-bottom: 1rem; }
.northstar-team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 18px; }
.northstar-journal-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 18px; }
.northstar-footer { border-top: 1px solid var(--northstar-line); }
.wp-block-details { border-top: 1px solid var(--northstar-line); padding: 1.1rem 0; }
.wp-block-details summary { cursor: pointer; font-weight: 750; }

@media (max-width: 960px) {
  .northstar-hero { min-height: auto; }
  .northstar-hero-media { min-height: 430px; }
  .northstar-project-tall { min-height: 460px; }
}

@media (max-width: 781px) {
  .northstar-header { backdrop-filter: none; position: relative; }
  .northstar-header .wp-block-site-title { font-size: 1.25rem !important; white-space: nowrap; }
  .northstar-header .wp-block-group.alignwide { gap: .5rem; min-width: 0; }
  .northstar-hero { border-radius: 0 !important; margin-top: 0 !important; padding: 3.5rem 1.25rem !important; }
  .northstar-hero .wp-block-columns, .northstar-hero .wp-block-column { width: 100%; min-width: 0; }
  .northstar-hero-copy { flex-basis: auto !important; max-width: calc(100vw - 2.5rem) !important; overflow: hidden; }
  .northstar-hero-copy > p, .northstar-hero-copy > h1 { width: calc(100vw - 2.5rem) !important; max-width: calc(100vw - 2.5rem) !important; overflow-wrap: anywhere; }
  .northstar-pill-row { max-width: 100%; }
  .northstar-pill { padding: .45rem .7rem; font-size: .78rem; }
  .northstar-hero-media { min-height: 360px; }
  .northstar-project, .northstar-project-tall { min-height: 360px; }
  .northstar-band { border-radius: 18px; margin-left: 0 !important; margin-right: 0 !important; }
  .northstar-card { border-radius: 18px; }
}
