/* FLY — one editorial system, from the showroom to the owner's account.
   The approved hero/header, photographs and native commercial data are untouched. */
body.fly-refined {
  --fly-v37-ink: #06101f;
  --fly-v37-paper: #f7f6f3;
  --fly-v37-muted: #41576b;
  --fly-v37-line: #c6d0da;
  --fly-v37-ease: cubic-bezier(.22,.68,0,1);
}

/* A quiet signature, not another oversized opening. */
body.fly-refined.fly-premiere-site .fly-footer {
  padding: clamp(52px,5.5vw,80px) var(--fly-v28-edge,24px) 26px;
  background: #06101f !important;
  color: #f7f6f3;
}
body.fly-refined.fly-premiere-site .fly-footer-top {
  display: grid;
  grid-template-columns: minmax(240px,1.65fr) repeat(3,minmax(0,1fr));
  gap: 36px clamp(28px,4vw,64px);
  align-items: start;
}
body.fly-refined.fly-premiere-site .fly-footer-top > * { grid-column: auto; }
body.fly-refined.fly-premiere-site .fly-footer-brand { display: block; }
body.fly-refined.fly-premiere-site .fly-footer-brand .fly-logo {
  display: block; width: 166px; height: 40px; margin: 0; justify-self: start;
}
body.fly-refined.fly-premiere-site .fly-footer-brand .fly-wordmark { filter: url(#fly-logo-white); }
body.fly-refined.fly-premiere-site .fly-footer-brand p {
  max-width: 18ch; margin: 24px 0 0;
  font-size: clamp(26px,2.25vw,34px); line-height: 1.17; letter-spacing: -.025em;
  color: #f7f6f3; font-weight: 400;
}
body.fly-refined.fly-premiere-site .fly-footer-group { gap: 3px; }
body.fly-refined.fly-premiere-site .fly-footer-group h2 {
  font-size: 13px; line-height: 1.5; letter-spacing: .08em; color: #a9bac8; margin: 0 0 18px;
}
body.fly-refined.fly-premiere-site .fly-footer-group a {
  display: inline-flex; align-items: center; min-height: 38px;
  font-size: 16px; line-height: 1.45; color: #e0e7ee;
  text-underline-offset: 5px; transition: color .22s ease;
}
body.fly-refined.fly-premiere-site .fly-footer-group a:hover { color: #a9d7ed; }
body.fly-refined.fly-premiere-site .fly-footer-bottom {
  margin-top: 44px; padding-top: 22px; border-color: #344052; color: #b8c8d8;
}
body.fly-refined.fly-premiere-site .fly-footer-bottom p { max-width: 70ch; font-size: 13px; line-height: 1.6; color: inherit; }
body.fly-refined.fly-premiere-site .fly-legal-links {
  margin-top: 22px; padding-top: 0; border: 0; gap: 4px 24px;
}
body.fly-refined.fly-premiere-site .fly-legal-links a { min-height: 36px; font-size: 13px; color: #b8c8d8; }
body.fly-refined #yag-official-footer-credit { background: #06101f; color: #b8c8d8; opacity: 1 !important; padding: 12px 24px 26px !important; }
body.fly-refined #yag-official-footer-credit a { color: #e0e7ee !important; text-underline-offset: 3px; }

/* Product: a finite photographic stage followed by the native technical dossier. */
body.fly-refined.fly-product-page .product.fly-product-v15 > .fly-v31-gallery-boundary {
  display: flex; align-items: center; background: #030405;
}
body.fly-refined.fly-product-page .fly-v31-gallery-shell {
  position: relative; top: auto; width: 100%; padding: clamp(28px,3.8vw,56px);
}
body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 > div.summary {
  padding: clamp(32px,3.5vw,52px) clamp(28px,4.4vw,66px) !important;
}
body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-product-jump a {
  font-size: 13px; letter-spacing: .015em; padding-inline: 0;
}
body.fly-refined.fly-product-page .product.fly-product-v15 > .fly-v37-product-facts {
  grid-column: 1/-1; min-width: 0; padding: clamp(44px,5vw,76px) var(--fly-v28-edge,24px);
  background: #f7f6f3; border-top: 1px solid #c6d0da; color: #06101f;
}
body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs {
  display: grid; grid-template-columns: minmax(180px,.72fr) minmax(0,2fr);
  gap: 18px clamp(36px,6vw,88px); margin: 0; padding: 0; border: 0;
}
body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts h2 {
  grid-column: 1; grid-row: 1; font-size: clamp(30px,3vw,44px) !important;
  line-height: 1.05; font-weight: 400; letter-spacing: -.025em; margin: 0;
}
body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs__intro {
  grid-column: 1; grid-row: 2; max-width: 28ch; font-size: 15px; line-height: 1.65; color: #41576b;
}
body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs__grid {
  grid-column: 2; grid-row: 1/4; gap: 0 32px; align-self: start;
}
body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs__grid > div { padding-block: 18px; }
body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs__grid dt { font-size: 13px; }
body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs__grid dd { font-size: 20px; font-weight: 400; }
body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs__pending {
  grid-column: 1; grid-row: 3; max-width: 32ch; align-self: start; margin: 0;
}
body.fly-refined.fly-product-page .product.fly-product-v15 > .fly-product-accordions--wide { grid-column: 1/-1; margin-top: 0; padding-top: 0; }
body.fly-refined.fly-product-page .fly-product-accordions--wide details { border-color: #c6d0da; }

/* Catalogue images remain uncropped; the original-sheet window has a black stage. */
body.fly-refined .fly-product-card-media { background: #030405 !important; }
body.fly-refined.fly-interiors-v35.fly-premiere-site .fly-product-card-media {
  display: flex !important; height: clamp(210px,24vw,340px) !important;
  min-height: 0 !important; align-items: center !important; justify-content: center !important;
}
body.fly-refined .fly-product-card-media:has(.fly-v35-card-window) { background: #000 !important; }
/* Legacy document styling also clips the parent after navigation.js annotates it. */
body.fly-refined.fly-interiors-v35.fly-premiere-site .fly-product-card-media.fly-document-only-media:has(.fly-v35-card-window) {
  display: flex !important; height: clamp(210px,24vw,340px) !important;
  aspect-ratio: auto !important; clip-path: none !important; background: #000 !important;
}
body.fly-refined.fly-interiors-v35 .fly-filters { gap: 22px; padding-block: 24px; }
body.fly-refined.fly-interiors-v35 .fly-product-card h3 { line-height: 1.15; letter-spacing: -.02em; }
body.fly-refined.fly-interiors-v35 .fly-product-card-content { padding-top: 22px; }

/* History: connected editorial chapters, with the native date as an anchor. */
body.fly-refined.fly-interiors-v35 .fly-v13-story :is(.fly-v35-story-process,.fly-v13-story-detail,.fly-v13-story-ibi,.fly-v13-story-collect) {
  background: #f7f6f3 !important; color: #06101f !important;
}
body.fly-refined.fly-interiors-v35 .fly-v13-story :is(.fly-v35-story-process,.fly-v13-story-detail,.fly-v13-story-ibi,.fly-v13-story-collect) :is(h2,h3,li) { color: #06101f !important; }
body.fly-refined.fly-interiors-v35 .fly-v13-story :is(.fly-v35-story-process,.fly-v13-story-detail,.fly-v13-story-ibi,.fly-v13-story-collect) :is(p,figcaption) { color: #41576b !important; }
body.fly-refined.fly-interiors-v35 .fly-v13-story :is(.fly-v13-story-origin,.fly-v35-story-process,.fly-v13-story-detail,.fly-v13-story-ibi,.fly-v13-story-collect,.fly-v13-story-future) h2 {
  font-size: clamp(34px,3.6vw,54px) !important; line-height: 1.06; font-weight: 400; letter-spacing: -.025em; max-width: 20ch;
}
body.fly-refined.fly-interiors-v35.fly-premiere-site .fly-v13-story-origin__year { font-size: clamp(96px,12vw,172px) !important; color: #06101f !important; letter-spacing: -.06em; }
body.fly-refined.fly-interiors-v35 .fly-v35-story-process { border-block: 1px solid #c6d0da; }
body.fly-refined.fly-interiors-v35 .fly-v35-story-steps { gap: 28px; margin-top: 44px; counter-reset: fly-process; }
body.fly-refined.fly-interiors-v35 .fly-v35-story-steps li {
  counter-increment: fly-process; border-color: #a6b2bd; font-size: clamp(22px,2vw,28px);
}
body.fly-refined.fly-interiors-v35 .fly-v35-story-steps li::before {
  content: "0" counter(fly-process); display: block; margin-bottom: 22px; font-size: 13px; line-height: 1; color: #41576b;
}
body.fly-refined.fly-interiors-v35 .fly-v13-story-ibi { padding-block: clamp(48px,5vw,72px); }
body.fly-refined.fly-interiors-v35 .fly-v13-story-ibi strong { color: #06101f !important; }
body.fly-refined.fly-interiors-v35 .fly-v13-story :is(.fly-v13-story-detail,.fly-v13-story-collect) figure {
  max-width: none !important; align-self: center;
}
body.fly-refined.fly-interiors-v35 .fly-v13-story figure figcaption {
  padding-top: 15px; font-size: 13px; letter-spacing: .015em;
}

/* Club: actual routes are visible with the same hierarchy in both languages. */
body.fly-refined.fly-interiors-v35 .fly-v35-club-paths { gap: 36px; }
body.fly-refined.fly-interiors-v35 .fly-v35-club-paths a {
  position: relative; padding: 24px 32px 24px 0; border-color: #a6b2bd;
}
body.fly-refined.fly-interiors-v35 .fly-v35-club-paths a::after {
  content: "↗"; position: absolute; top: 24px; right: 0; font-size: 24px;
  transition: transform .25s var(--fly-v37-ease);
}
body.fly-refined.fly-interiors-v35 .fly-v35-club-paths strong { font-size: 32px; letter-spacing: -.02em; font-weight: 400; }
body.fly-refined.fly-interiors-v35 .fly-v35-club-paths a:hover::after { transform: translate(3px,-3px); }
body.fly-refined.fly-interiors-v35 :is(.fly-club-page,.fly-v5-club-en) .fly-club-grid {
  gap: 32px; background: #f7f6f3; border: 0;
}
body.fly-refined.fly-interiors-v35 :is(.fly-club-page,.fly-v5-club-en) .fly-club-card {
  background: transparent; padding: 28px 0; border: 0; border-top: 1px solid #c6d0da; box-shadow: none;
}
body.fly-refined.fly-interiors-v35 .fly-v13-community__boards { padding-top: 44px; }
body.fly-refined.fly-interiors-v35 #bbpress-forums .bbp-search-form { margin-block: 20px 32px; }
body.fly-refined.fly-interiors-v35 #bbpress-forums li.bbp-footer { border: 0; padding: 0; min-height: 0; }
body.fly-refined.fly-interiors-v35 #bbpress-forums li.bbp-footer:empty { display: none; }
body.fly-refined.fly-interiors-v35 #bbpress-forums li.bbp-body ul.forum { padding-block: 26px; }

/* Access and contact share the same form language, including error/focus states. */
body.fly-refined.fly-interiors-v35 .fly-club-shell:has(> .fly-club-form) {
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr);
  gap: clamp(40px,7vw,108px); align-items: start;
  width: min(calc(100% - 48px),1320px); margin: 0 auto !important;
  padding: clamp(64px,7vw,100px) 0; border: 0; background: #f7f6f3;
}
body.fly-refined.fly-interiors-v35 .fly-club-shell:has(> .fly-club-form) > .fly-club-hero {
  grid-column: auto; padding: 0; background: transparent; color: #06101f;
}
body.fly-refined.fly-interiors-v35 .fly-club-shell:has(> .fly-club-form) > .fly-club-hero :is(h1,h2) {
  color: #06101f !important; font-size: clamp(42px,4.3vw,64px); line-height: 1.04; letter-spacing: -.03em; font-weight: 400;
}
body.fly-refined.fly-interiors-v35 .fly-club-shell:has(> .fly-club-form) > .fly-club-hero p {
  color: #41576b; font-size: 18px; line-height: 1.7; max-width: 40ch;
}
body.fly-refined.fly-interiors-v35 .fly-club-shell > .fly-club-form {
  grid-column: auto; width: 100%; max-width: none; margin: 0 !important;
  padding: 28px 0 0; border: 0; border-top: 1px solid #a6b2bd; box-shadow: none; background: transparent;
}
/* Account tasks already have Contact in the persistent menu/footer. */
body.fly-refined:has(.fly-club-shell > .fly-club-form) [data-fly-contact] { display: none !important; }
body.fly-refined.fly-interiors-v35 :is(.fly-club-form,.fly-local-form,.fly-filters) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),select,textarea) {
  border: 1px solid #a6b2bd; border-radius: 0; background: #fff; min-height: 54px;
  font-size: 16px; color: #06101f; box-shadow: none; transition: border-color .2s ease;
}
body.fly-refined.fly-interiors-v35 :is(.fly-club-form,.fly-local-form,.fly-filters) :is(input,select,textarea):focus-visible {
  outline: 2px solid #41576b; outline-offset: 3px; box-shadow: none;
}
body.fly-refined.fly-interiors-v35 :is(.fly-club-form,.fly-local-form) :is(input,select,textarea)[aria-invalid="true"] { border-color: #9d3838; outline-color: #9d3838; }
body.fly-refined.fly-interiors-v35 :is(.fly-club-form,.fly-local-form) button { font-size: 16px; font-weight: 500; min-height: 54px; }

/* Reading surfaces and professional details use one rule, one baseline. */
body.fly-refined.fly-interiors-v35 .fly-v13-legal__content section { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
body.fly-refined.fly-interiors-v35 .fly-v13-legal__content section + section { padding-top: 32px; margin-top: 32px; }
body.fly-refined .fly-v34-process { gap: 0; }
body.fly-refined .fly-v34-process > li { padding-block: 22px; }
body.fly-refined .fly-v34-process strong { font-weight: 500; letter-spacing: -.015em; }
body.fly-refined :is(.fly-v30-workshop,.fly-v30-project) figcaption {
  font-size: 14px; line-height: 1.5; letter-spacing: .015em;
}
body.fly-refined .fly-main :is(.fly-v35-club-paths a,.fly-product-card a,.fly-product-accordions summary):focus-visible {
  outline: 2px solid #41576b; outline-offset: 5px;
}
@media (max-width: 980px) {
  body.fly-refined.fly-premiere-site .fly-footer-top { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.fly-refined.fly-premiere-site .fly-footer-top .fly-footer-brand { grid-column: 1/-1; }
  body.fly-refined.fly-premiere-site .fly-footer-brand p { max-width: 28ch; }
  body.fly-refined.fly-product-page .product.fly-product-v15 > .fly-v31-gallery-boundary { display: block; }
  body.fly-refined.fly-product-page .fly-v31-gallery-shell { padding: 30px 22px; }
  body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 > div.summary { padding: 32px 22px 40px !important; }
  body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs { grid-template-columns: 1fr; }
  body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs > * { grid-column: 1; grid-row: auto; }
  body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs__intro { max-width: 50ch; }
  body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs__pending { max-width: 60ch; }
  body.fly-refined.fly-interiors-v35 .fly-club-shell:has(> .fly-club-form) { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  body.fly-refined.fly-premiere-site .fly-footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; }
  body.fly-refined.fly-premiere-site .fly-footer-group a { min-height: 42px; }
  body.fly-refined.fly-premiere-site .fly-footer-brand p { font-size: 28px; max-width: 23ch; }
  body.fly-refined.fly-premiere-site .fly-footer-bottom { margin-top: 28px; }
  body.fly-refined.fly-product-page .product.fly-product-v15 > .fly-v37-product-facts { padding: 40px 22px; }
  body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs__grid { gap: 0 20px; }
  body.fly-refined.fly-product-page .product.fly-product-v15.fly-product-v35 .fly-v37-product-facts .fly-model-specs__grid dd { font-size: 18px; }
  body.fly-refined.fly-interiors-v35 .fly-v35-story-steps { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  body.fly-refined.fly-interiors-v35 .fly-v35-story-steps li { display: flex; align-items: baseline; gap: 20px; padding-block: 18px; }
  body.fly-refined.fly-interiors-v35 .fly-v35-story-steps li::before { margin: 0; }
  body.fly-refined.fly-interiors-v35 .fly-v35-club-paths { gap: 0; }
  body.fly-refined.fly-interiors-v35 .fly-club-shell:has(> .fly-club-form) { width: calc(100% - 44px); padding-block: 48px 56px; }
  body.fly-refined.fly-interiors-v35 .fly-v13-community__boards { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  body.fly-refined .fly-v35-club-paths a::after,
  body.fly-refined .fly-footer-group a { transition: none !important; }
}

/* V41: content is visible without JS; native animations leave no hidden state. */
.fly-motion-word { display: inline-block; vertical-align: baseline; }
.fly-v41-exhibition-progress {
  height: 2px; margin: 10px var(--premiere-gutter) 8px;
  background: #344052; overflow: hidden; pointer-events: none;
}
.fly-v41-exhibition-progress > span {
  display: block; height: 100%; background: #a9d7ed; transform-origin: left;
  transition: transform 280ms cubic-bezier(.16,1,.3,1);
}
.fly-v30-track.is-dragging { scroll-snap-type: none; user-select: none; }
@media (hover: hover) and (pointer: fine) {
  [data-fly-exhibition="ready"] .fly-v30-track,
  [data-fly-exhibition="ready"] .fly-v30-model > a { cursor: grab; }
  [data-fly-exhibition="ready"] .fly-v30-track.is-dragging,
  [data-fly-exhibition="ready"] .fly-v30-track.is-dragging a { cursor: grabbing; }
}
body[data-fly-input="keyboard"] .fly-v41-exhibition-progress > span,
body[data-fly-motion="save-data"] .fly-v41-exhibition-progress > span { transition: none; }
@media (max-width: 760px) {
  .fly-v41-exhibition-progress { margin-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .fly-v41-exhibition-progress > span { transition: none; }
}
