/* FlyArtsy 3.0 — first WordPress block-theme milestone. Core copy editable via Site Editor. */
:root {
  color-scheme: dark;
  --fly-bg: #07101d;
  --fly-bg-alt: #0c1d2d;
  --fly-panel: #13283c;
  --fly-text: #f9f5ea;
  --fly-muted: #b6c6d7;
  --fly-line: #345065;
  --fly-blue: #49c9ff;
  --fly-gold: #fac45e;
  --fly-shadow: 0 20px 65px rgba(0, 0, 0, 0.23);
}
html[data-theme="light"] {
  color-scheme: light;
  --fly-bg: #f7f9fc;
  --fly-bg-alt: #eef4f9;
  --fly-panel: #fff;
  --fly-text: #142f45;
  --fly-muted: #506a7c;
  --fly-line: #c9dae7;
  --fly-blue: #086d9d;
  --fly-gold: #865810;
  --fly-shadow: 0 14px 35px rgba(29, 60, 83, 0.11);
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--fly-bg);
  color: var(--fly-text);
  font:
    16px/1.65 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
p {
  color: var(--fly-muted);
}
h1,
h2,
h3,
.fly-brand-title {
  font-family: Georgia, Times, serif;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}
h3 {
  font-size: 1.4rem;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--fly-gold);
  outline-offset: 4px;
}
.wp-site-blocks > * {
  margin-block-start: 0;
}
body .is-layout-constrained > .alignwide {
  max-width: 1210px;
}
.wp-site-blocks > header {
  position: sticky;
  top: 0;
  z-index: 40;
}
.fly-header {
  background: rgba(7, 16, 29, 0.96);
  border-bottom: 1px solid #273e53;
  z-index: 40;
  backdrop-filter: blur(14px);
}
.admin-bar .wp-site-blocks > header {
  top: 32px;
}
html[data-theme="light"] .fly-header {
  background: rgba(255, 255, 255, 0.96);
  border-color: #d4e2ea;
}
.fly-header-inner {
  width: min(1210px, calc(100% - 36px));
  min-height: 82px;
  gap: 14px !important;
  margin-inline: auto !important;
}
.fly-brand {
  gap: 10px !important;
  flex-shrink: 0;
}
.fly-brand-icon,
.fly-hero-icon {
  display: block;
  flex-shrink: 0;
  border-radius: 15px;
}
.fly-brand-icon {
  width: 56px;
  height: 56px;
}
.fly-brand-copy {
  margin: 0 !important;
}
.fly-brand-title {
  font-size: 1.8rem !important;
  white-space: nowrap;
  line-height: 1 !important;
  margin: 0 !important;
}
.fly-brand-title a {
  text-decoration: none;
  color: var(--fly-text);
}
.fly-brand-tagline {
  font:
    italic 0.82rem Georgia,
    serif !important;
  color: var(--fly-gold) !important;
  margin: 5px 0 0 !important;
}
.fly-menu {
  font-size: 0.9rem;
  font-weight: 650;
}
.fly-menu a {
  color: var(--fly-text);
  text-decoration: none;
}
.fly-menu a:hover {
  color: var(--fly-blue);
}
.fly-theme-toggle {
  background: #142b40;
  color: #f1f8ff;
  border: 1px solid #54748a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  cursor: pointer;
  min-height: 43px;
}
.fly-theme-toggle:hover {
  border-color: #fac45e;
}
html[data-theme="light"] .fly-theme-toggle {
  background: #eff6fb;
  color: #174361;
  border-color: #bdcfdd;
}
.fly-hero {
  position: relative;
  min-height: 712px;
  background: #061423;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  padding: 45px 18px 90px;
  overflow: hidden;
}
.fly-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(6, 17, 29, 0.84) 0%, rgba(7, 20, 33, 0.05) 35%),
    radial-gradient(
      ellipse at center,
      rgba(5, 20, 33, 0.91) 0%,
      rgba(5, 20, 33, 0.65) 27%,
      rgba(5, 20, 33, 0.1) 62%,
      transparent 80%
    );
}
.fly-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(680px, 100%);
  margin: auto !important;
  text-align: center;
  color: #fff !important;
}
.fly-hero-inner > * {
  margin-block-start: 0 !important;
}
.fly-hero-icon {
  width: 85px;
  height: 85px;
  margin: 0 auto 18px;
  border-radius: 24px;
  box-shadow: 0 7px 45px #49c9ff44;
}
.fly-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--fly-blue);
  font-weight: 800;
  font-size: 0.75rem;
}
.fly-hero .fly-eyebrow {
  color: #c9eaff !important;
  margin: 0 0 7px !important;
}
.fly-main-title {
  font:
    500 clamp(4rem, 8vw, 7.5rem)/1 Georgia,
    serif !important;
  color: #fff !important;
  margin: 0 !important;
  text-shadow: 0 5px 23px #000b;
}
.fly-hero-tagline {
  font:
    italic clamp(1.4rem, 2.5vw, 1.8rem) Georgia,
    serif !important;
  color: #fac45e !important;
  margin: 10px 0 13px !important;
}
.fly-subheading {
  font:
    600 clamp(1.15rem, 2.3vw, 1.65rem)/1.3 system-ui,
    sans-serif !important;
  color: #fff !important;
  margin: 0 !important;
}
.fly-hero-desc {
  color: #e2edf6 !important;
  max-width: 510px;
  margin: 14px auto 27px !important;
  text-shadow: 0 2px 12px #0009;
}
.fly-hero-actions {
  gap: 12px !important;
}
.fly-button-blue .wp-block-button__link,
.fly-button-gold .wp-block-button__link,
.fly-button-outline .wp-block-button__link {
  border-radius: 999px;
  padding: 13px 23px;
  font-weight: 700;
  text-decoration: none;
}
.fly-button-blue .wp-block-button__link {
  background: #087daf !important;
  color: white !important;
  border: 1px solid #49c9ff;
  box-shadow: 0 0 25px #008fd94e;
}
.fly-button-gold .wp-block-button__link {
  background: #fac45e !important;
  color: #18293a !important;
}
.fly-button-outline .wp-block-button__link {
  border: 1px solid var(--fly-line);
  color: var(--fly-text);
  background: transparent;
}
.fly-pillars {
  width: min(1210px, calc(100% - 40px));
  position: relative;
  z-index: 4;
  margin: -54px auto 0 !important;
  gap: 17px !important;
}
.fly-pillar {
  background: linear-gradient(130deg, #18364a, #081928);
  box-shadow: var(--fly-shadow);
  border: 1px solid #41617a;
  border-radius: 20px;
  padding: 23px;
  min-height: 108px;
}
html[data-theme="light"] .fly-pillar {
  background: #fff;
  border-color: #c4d9e8;
}
.fly-pillar h3,
.fly-pillar p {
  margin: 0 0 7px !important;
}
.fly-pillar h3 a {
  color: var(--fly-text);
  text-decoration: none;
}
.fly-pillar h3 a:hover {
  color: var(--fly-blue);
}
.fly-pillar p {
  font-size: 0.85rem;
}
.fly-section {
  padding: 94px 24px;
}
.fly-section > .wp-block-columns,
.fly-section > .wp-block-group {
  width: min(1210px, 100%);
  margin-inline: auto;
}
.fly-section h2 {
  margin: 0.5rem 0 1.3rem;
}
.fly-section p {
  max-width: 680px;
}
.fly-brand-statement {
  font:
    italic clamp(1.8rem, 3vw, 3rem)/1.3 Georgia,
    serif !important;
  color: var(--fly-text) !important;
}
.fly-text-link a {
  color: var(--fly-blue);
  font-weight: 700;
  text-decoration: none;
}
.fly-text-link a:hover {
  text-decoration: underline;
}
.fly-projects,
.fly-cta-section {
  background: var(--fly-bg-alt);
}
.fly-project-grid {
  gap: 20px !important;
  margin-top: 28px !important;
}
.fly-project-card {
  background: var(--fly-panel);
  border: 1px solid var(--fly-line);
  border-radius: 20px;
  overflow: hidden;
  min-width: 0;
}
.fly-project-image {
  height: 250px;
  background: center/cover no-repeat;
}
.fly-card-copy {
  padding: 22px !important;
}
.fly-card-copy h3 {
  margin: 7px 0;
}
.fly-card-copy p {
  margin-bottom: 6px;
}
.fly-card-category {
  color: var(--fly-gold) !important;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
}
.fly-lab-section > .wp-block-columns {
  background: var(--fly-panel);
  padding: 35px;
  border-radius: 25px;
  border: 1px solid var(--fly-line);
}
.fly-tool-list p {
  background: var(--fly-bg-alt);
  border: 1px solid var(--fly-line);
  border-radius: 14px;
  padding: 15px 20px;
}
.fly-tool-list a {
  font-weight: 750;
  text-decoration: none;
  color: var(--fly-blue);
}
.fly-tool-list small {
  color: var(--fly-muted);
}
.fly-cta-band {
  border: 1px solid var(--fly-line);
  border-radius: 25px;
  padding: 35px;
  background: var(--fly-panel);
}
.fly-footer {
  background: #081928;
  padding: 58px 24px 25px;
  border-top: 1px solid #2a455b;
  color: #ecf3f9;
}
.fly-footer > .wp-block-group {
  width: min(1210px, 100%);
  margin: auto;
}
.fly-footer p {
  color: #afc5d3;
}
.fly-footer-title {
  color: #f9f5ea !important;
  margin: 0 !important;
}
.fly-footer-tagline {
  color: #fac45e !important;
  font:
    italic 1.1rem Georgia,
    serif;
}
.fly-footer-links a {
  color: #e4f4ff;
}
.fly-content-page {
  min-height: 70vh;
  padding: 88px 24px;
  max-width: 800px;
  margin-inline: auto;
}
.fly-content-page h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}
html[data-theme="light"] .fly-section {
  color: var(--fly-text);
}
html[data-theme="light"] .fly-footer {
  background: #edf4f9;
  border-color: #d1dfea;
  color: #183448;
}
html[data-theme="light"] .fly-footer h3 {
  color: #183448 !important;
}
html[data-theme="light"] .fly-footer p {
  color: #4d677b;
}
html[data-theme="light"] .fly-footer-links a {
  color: #0c6c9a;
}
html[data-theme="light"] .fly-footer-tagline {
  color: var(--fly-gold) !important;
}
html[data-theme="light"] .fly-pillars a {
  color: #173348;
}
html[data-theme="light"] .fly-button-outline .wp-block-button__link {
  color: #173348;
}
html[data-theme="light"] .fly-hero {
  background: #061423;
  color: white;
}
@media (max-width: 1040px) {
  .fly-header-inner {
    gap: 8px !important;
  }
  .fly-brand-title {
    font-size: 1.45rem !important;
  }
  .fly-brand-icon {
    width: 48px;
    height: 48px;
  }
  .fly-header .fly-menu {
    font-size: 0.8rem;
  }
  .fly-header .wp-block-navigation-item__content {
    padding: 6px;
  }
}
@media (max-width: 760px) {
  .fly-header-inner {
    min-height: 72px;
  }
  .fly-brand-icon {
    width: 42px;
    height: 42px;
  }
  .fly-brand-title {
    font-size: 1.32rem !important;
  }
  .fly-brand-tagline {
    font-size: 0.68rem !important;
  }
  .fly-theme-text {
    display: none;
  }
  .fly-theme-toggle {
    min-width: 43px;
    justify-content: center;
  }
  .fly-hero {
    display: block;
    min-height: auto;
    padding: 0 0 52px;
    background: var(--fly-bg);
  }
  .fly-hero:after {
    display: none;
  }
  .fly-hero-inner {
    position: relative;
    z-index: 1;
    width: min(580px, calc(100% - 32px));
    padding: 42px 15px 14px;
    color: var(--fly-text) !important;
  }
  .fly-main-title,
  .fly-subheading {
    color: var(--fly-text) !important;
    text-shadow: none;
  }
  .fly-hero .fly-eyebrow {
    color: var(--fly-blue) !important;
  }
  .fly-hero-tagline {
    color: var(--fly-gold) !important;
  }
  .fly-hero-desc {
    color: var(--fly-muted) !important;
    text-shadow: none;
  }
  .fly-hero-actions {
    gap: 9px !important;
  }
  .fly-hero-icon {
    margin-top: 0;
    z-index: 2;
    box-shadow: 0 8px 32px #0007;
  }
  .fly-pillars {
    margin: 0 auto !important;
    gap: 13px !important;
  }
  .fly-section {
    padding: 65px 20px;
  }
  .fly-project-grid {
    gap: 16px !important;
  }
  .fly-lab-section > .wp-block-columns {
    padding: 22px;
  }
  .fly-brand-section .wp-block-columns {
    gap: 16px;
  }
}
@media (max-width: 590px) {
  .fly-brand-title {
    font-size: 1.2rem !important;
  }
  .fly-brand-tagline {
    font-size: 0.72rem !important;
  }
  .fly-header-inner {
    width: calc(100% - 24px);
    gap: 5px !important;
  }
  .fly-brand-icon {
    width: 37px;
    height: 37px;
  }
  .fly-main-title {
    font-size: clamp(3.3rem, 13vw, 5rem) !important;
  }
  .fly-pillars {
    width: calc(100% - 28px);
  }
  .fly-pillar {
    padding: 19px;
    min-height: 84px;
  }
  .fly-project-image {
    height: 210px;
  }
  .fly-hero-icon {
    width: 72px;
    height: 72px;
    margin-top: 0;
  }
  .fly-subheading {
    font-size: 1.1rem !important;
  }
  .fly-hero-desc {
    font-size: 0.92rem !important;
  }
  .fly-footer {
    padding: 40px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.fly-hero-picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  max-width: none !important;
  margin: 0 !important;
}
.fly-hero-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fly-brand-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}
.fly-brand-title {
  color: var(--fly-text);
  font-weight: 700;
}
.fly-theme-toggle[hidden] {
  display: none;
}
.fly-theme-toggle {
  border-radius: 999px;
}
.fly-project-image {
  margin: 0;
}
.fly-project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fly-site-main [id] {
  scroll-margin-top: 8rem;
}
.fly-header .fly-menu .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--fly-bg);
  color: var(--fly-text);
}
.fly-header button {
  min-width: 44px;
  min-height: 44px;
}
.fly-menu .wp-block-navigation__container {
  gap: clamp(0.7rem, 1.7vw, 1.6rem);
}
.fly-menu .wp-block-navigation__responsive-container-open,
.fly-menu .wp-block-navigation__responsive-container-close {
  justify-content: center;
  align-items: center;
}
.fly-menu .wp-block-navigation__responsive-container-close {
  display: flex;
}
.fly-header a:hover {
  text-decoration: underline;
}
.fly-card-category {
  color: var(--fly-gold);
}
.fly-hero-actions .wp-block-button__link {
  background-color: #056b99 !important;
}
.fly-hero-actions .fly-button-gold .wp-block-button__link {
  background-color: #fac45e !important;
}
@media (max-width: 820px) {
  .fly-menu .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none;
  }
  .fly-menu .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
  .fly-menu {
    margin-left: auto;
  }
}
@media (max-width: 782px) {
  .admin-bar .wp-site-blocks > header {
    top: 46px;
  }
}
@media (max-width: 760px) {
  html .fly-hero,
  html[data-theme="light"] .fly-hero {
    display: flex;
    flex-direction: column;
    background: var(--fly-bg);
    padding: 0;
  }
  .fly-hero-inner {
    padding: 42px 0 28px;
  }
  .fly-hero-picture {
    position: static;
    order: 2;
    width: 100%;
    z-index: auto;
  }
  .fly-hero-picture img {
    height: auto;
  }
  .fly-hero-icon {
    margin-bottom: 16px;
  }
  .fly-pillars {
    margin-top: 12px !important;
  }
}
@media (max-width: 600px) {
  .admin-bar .wp-site-blocks > header {
    top: 0;
  }
}
@media (max-width: 390px) {
  .fly-hero-actions,
  .fly-hero-actions .wp-block-button,
  .fly-hero-actions .wp-block-button__link {
    width: 100%;
  }
}

/* Interior layouts share the homepage palette and editorial type. */
.fly-interior {
  width: min(100% - 2.5rem, 72rem);
  min-height: 65vh;
  margin-inline: auto;
  padding-block: clamp(3rem, 7vw, 6rem);
  overflow-wrap: anywhere;
}
.fly-interior h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); margin: 0 0 1rem; }
.fly-interior h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }
.fly-intro { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 46rem; }
.fly-interior a { color: var(--fly-blue); }
.fly-interior figure { margin-inline: 0; }
.fly-interior img { display: block; max-width: 100%; height: auto; }
.fly-grid, .fly-interior .fly-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.4rem;
  align-items: stretch;
  margin-block: 2rem;
}
.fly-grid > *, .fly-post-grid > * { min-width: 0; margin-block: 0; }
.fly-tile, .fly-post-card {
  overflow: hidden;
  border: 1px solid var(--fly-line);
  border-radius: 1.25rem;
  background: var(--fly-panel);
}
.fly-tile figure { margin: 0; }
.fly-tile img, .fly-post-card img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
}
.fly-detail-copy, .fly-post-card { padding: clamp(1.2rem, 3vw, 2rem); }
.fly-detail-copy h2, .fly-post-card h2 { margin-block: .45rem; }
.fly-detail-copy p:last-child { margin-bottom: 0; }
.fly-reading { max-width: 46rem; line-height: 1.8; font-size: 1.08rem; }
.fly-reading h2 { margin-block: 2rem .6rem; }
.fly-reading img, .fly-case-cover img, .fly-article-cover img {
  border-radius: 1rem; width: 100%; max-height: 34rem; object-fit: cover;
}
.fly-filters { display:flex; gap:.5rem; flex-wrap:wrap; margin-top:2rem; }
.fly-filters[hidden], .fly-tile[hidden] { display:none; }
.fly-filters button {
  color:var(--fly-text); background:var(--fly-panel); border:1px solid var(--fly-line);
  border-radius:999px; padding:.6rem 1rem; font:inherit; min-height:44px; cursor:pointer;
}
.fly-filters button[aria-pressed=true] { color:#101f2c; background:#fac45e; }
.fly-result:empty { margin:0; }
.fly-note {
  padding: clamp(1.3rem, 4vw, 3rem);
  margin-block: 2rem;
  max-width: 48rem;
  border-inline-start: .25rem solid var(--fly-gold);
  border-radius: .25rem 1rem 1rem .25rem;
  background: var(--fly-panel);
}
.fly-note h2 { margin-top: 0; }
.fly-note p:last-child { margin-bottom: 0; }
.fly-breadcrumb { font-size: .95rem; }

/* Editorial landing pages, using the V1.4 measure, serif and radial field. */
.fly-editorial-page { min-width: 0; overflow-wrap: anywhere; }
.fly-editorial-hero {
  padding: clamp(3.5rem, 6.4vw, 6.75rem) max(1rem, calc((100% - 76rem) / 2));
  background: radial-gradient(ellipse at 88% 33%, #1b4160, transparent 64%), #0c2032;
  border-bottom: 1px solid var(--fly-line);
}
html[data-theme="light"] .fly-editorial-hero {
  background: radial-gradient(ellipse at 88% 33%, #d9ebf7, transparent 64%), #edf4f9;
}
.fly-editorial-hero .fly-eyebrow { color: var(--fly-gold); margin: 0 0 .9rem; }
.fly-editorial-hero h1 { margin: 0; max-width: 16ch; font-size: clamp(2.85rem, 6.4vw, 6.4rem); line-height: 1.03; letter-spacing: -.045em; }
.fly-editorial-hero mark { background: transparent; color: var(--fly-gold); }
.fly-editorial-hero .fly-intro { max-width: 54ch; margin: 1.2rem 0 0; font-size: clamp(1rem, 1.55vw, 1.22rem); }
.fly-editorial-page .fly-interior { min-height: auto; padding-block: clamp(2.25rem, 5vw, 5rem); }
.fly-editorial-page .fly-grid { gap: clamp(1rem, 2vw, 1.5rem); }
.fly-editorial-page .fly-tile h2 a { text-decoration-thickness: .055em; text-underline-offset: .15em; }
.fly-editorial-page .fly-filters { margin-top: 0; }
.fly-editorial-page .wp-block-categories-list { display: flex; flex-wrap: wrap; gap: .75rem 1.4rem; padding: 0; list-style: none; }
@media (min-width: 821px) and (max-width: 1260px) {
  .fly-editorial-hero { padding-inline: 2.5rem; }
}
