/* NUVE R7 bridge — loaded only on pages that still use the legacy stylesheet stack (homepage sections after the
   opening, campaign pages, KVKK, form status, redirected legacy pages). Its !important rules exist only to win over
   legacy selectors; R7 pages (products, categories, collections, interior pages) do not load this file.
   Remove each block once its page has moved onto the R7 components. */

/* ---------- Base legibility (all pages) ---------- */

body {
  color: var(--r7-ink);
  font-family: var(--r7-sans);
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main p,
main li,
main dd,
main figcaption {
  font-weight: 450;
}
:where(main) :is(h1, h2, .display, .heading) {
  color: var(--r7-navy);
}
/* Labels: one size, one weight, a dark warm tone that passes AA on ivory and sand. */
.eyebrow,
.solution-eyebrow,
.footer-eyebrow,
.master-timeline span,
.r7-crumbs {
  font-family: var(--r7-sans) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.4;
}
:where(main) .eyebrow,
:where(main) .solution-eyebrow {
  color: var(--r7-gold) !important;
}
/* Small print never under 13px and never faded below AA. */
.v4-photo-note,
.media-badge,
.hint,
.optional,
.terms-note,
.r7-note,
figcaption {
  font-size: max(13px, 0.8125rem) !important;
  opacity: 1 !important;
}
:where(main) .optional {
  color: inherit;
  opacity: 0.86 !important;
}

/* Buttons: 48px, 14px bold, clear fill or 2px outline. Text links: bold, 2px underline. */
.btn,
.op-actions a,
button.btn {
  min-height: 48px !important;
  padding: 0 24px !important;
  font: 700 14px/1.2 var(--r7-sans) !important;
  letter-spacing: 0.04em !important;
  border-width: 2px !important;
  border-style: solid;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.btn-small {
  min-height: 44px !important;
  padding: 0 18px !important;
  font-size: 13px !important;
}
.text-link,
.closing-secondary {
  font-family: var(--r7-sans);
  font-weight: 700 !important;
  font-size: 15px;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 6px !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
:where(main) a:not(.btn):not(.text-link):not(.skip-link):not(.op-skip):hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--r7-focus) !important;
  outline-offset: 3px !important;
}

/* Dark grounds: navy bands, contact, footer. */
:is(.site-footer, #iletisim, #tedarik, .r7-cta, .cta-band, .lp-final) {
  --r7-link: var(--r7-on-navy);
}
:is(#iletisim, #tedarik, .r7-cta) :is(h1, h2, h3, .heading, .display) {
  color: var(--r7-on-navy) !important;
}
:is(#iletisim, #tedarik, .r7-cta, .site-footer) :is(p, li, label, legend, span, .lede) {
  color: var(--r7-on-navy-2);
}
:is(#iletisim, #tedarik, .r7-cta, .site-footer) :is(.eyebrow, .footer-eyebrow) {
  color: var(--r7-sand) !important;
}
:is(#iletisim, #tedarik, .r7-cta, .site-footer) .text-link,
:is(#iletisim, #tedarik, .r7-cta, .site-footer) a:not(.btn) {
  color: var(--r7-on-navy) !important;
}
#iletisim .enquiry :is(input, select, textarea) {
  font-size: 16px; /* no iOS zoom; readable entry */
  color: var(--r7-on-navy);
  border-color: rgba(246, 243, 235, 0.55);
}
#iletisim .enquiry label,
#iletisim .enquiry legend {
  color: var(--r7-on-navy) !important;
  font-size: 13px !important;
  font-weight: 700;
}

/* ---------- Homepage integration ---------- */

/* Opening (wide screens): a calm ivory ground behind the opening copy so the sunlit wall texture never competes with
   the text. It belongs to the copy block and fades with it; the camera, image and story are unchanged. */
.nuve-experience .op .op-hero {
  isolation: isolate;
}
.nuve-experience .op .op-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -56px -160px -56px calc(-1 * var(--op-edge, 64px));
  background: linear-gradient(90deg, rgba(246, 242, 234, 0.95) 0%, rgba(246, 242, 234, 0.92) 72%, rgba(246, 242, 234, 0) 100%);
  pointer-events: none;
}
.op-static .nuve-experience .op .op-hero::before {
  display: none; /* phones and tablets: the copy already sits below the image on a plain ground */
}
@media (min-width: 900px) {
  .op-static .nuve-experience .op .op-hero::before { display: block; } /* reduced motion on wide screens: copy on image */
}
.nuve-experience .op-hero .op-lede,
.nuve-experience .op-chapter > p:not(.eyebrow),
.nuve-experience .op-still-copy > p:not(.eyebrow) {
  color: var(--r7-ink) !important;
  font-weight: 500;
}
.nuve-experience .op-hero .op-capabilities {
  max-width: 100% !important;
  color: var(--r7-navy) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.nuve-experience .op .op-chip {
  background: var(--r7-paper) !important;
  color: var(--r7-navy) !important;
  font: 600 13px/1.4 var(--r7-sans) !important;
  letter-spacing: 0.02em !important;
}
.nuve-experience .op-chapter .eyebrow,
.nuve-experience .op-still-story .eyebrow {
  color: var(--r7-gold) !important;
}

/* Homepage sections after the opening: plain grounds, clear titles, calmer spacing. */
.nuve-experience main > section:not(#top):not(#iletisim):not(#tedarik) {
  background-color: var(--r7-paper);
}
.nuve-experience #urunler.posthero-collections {
  background: var(--r7-ivory) !important;
}
.nuve-experience :is(#koleksiyonlar, #ozel-uretim, #cozumler, #sss) {
  padding-block: var(--r7-section) !important;
}
.nuve-experience #koleksiyonlar,
.nuve-experience #cozumler {
  background: var(--r7-ivory) !important;
}
.nuve-experience main :is(.v4-category-text, .p1-collection-copy > p:not(.eyebrow), .solution-head > p:not(.solution-eyebrow), .master-timeline p, .process-photos figcaption) {
  color: var(--r7-text-2) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}
.nuve-experience main :is(.v4-category h2, .p1-collection h3, .solution h3, .master-timeline h3) {
  font-family: var(--r7-sans) !important;
  font-weight: 700 !important;
  font-size: var(--r7-h3) !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  color: var(--r7-navy) !important;
}
.nuve-experience #koleksiyonlar .p1-collection-lead h3 {
  font-family: var(--r7-serif) !important;
  font-weight: 500 !important;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem) !important;
  line-height: 1.08 !important;
}
.nuve-experience #sss .faq-item summary {
  font: 600 17px/1.45 var(--r7-sans);
  color: var(--r7-navy);
}
.nuve-experience #sss .faq-item p {
  color: var(--r7-text-2);
  font-size: 16px;
  line-height: 1.65;
}

/* ---------- Legacy interior pages and collection pages ---------- */

.interior-page main :is(.page-lede, .lede, .editorial-copy p, .values-grid p, .production-stages p, .editorial-steps p) {
  color: var(--r7-text-2);
  font-size: var(--r7-body);
  line-height: 1.65;
}
.interior-page main :is(.values-grid h2, .production-stages h2) {
  font-family: var(--r7-sans);
  font-weight: 700;
  font-size: var(--r7-h3);
  letter-spacing: 0;
}
.lp-band .eyebrow,
.release-family-index .eyebrow {
  color: var(--r7-gold) !important;
}

/* ---------- Homepage product worlds (six categories from catalogue.js) ---------- */

#urunler.posthero-collections .p1-grid .r7-world { display: block; }
#urunler .r7-world-link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}
#urunler .r7-world-link .v4-category-head { display: flex; flex-direction: column; gap: 6px; }
#urunler .r7-world-link h2 { margin: 0 !important; }
#urunler .r7-world-link .v4-category-text { margin: 0; }
#urunler .r7-world-link .p1-cat-link {
  margin-top: 4px;
  font: 700 15px/1.3 var(--r7-sans);
  color: var(--r7-navy);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
#urunler .r7-world-link .p1-cat-link::after { content: " \2192"; }
#urunler .r7-world-link:hover .p1-cat-link { text-decoration-thickness: 3px; }
#urunler.posthero-collections .p1-catalogue { justify-content: flex-start; gap: 8px 32px; }
#urunler.posthero-collections .p1-catalogue .text-link { color: var(--r7-navy) !important; }
@media (min-width: 1024px) {
  #urunler.posthero-collections .p1-grid .gallery-track { row-gap: 72px; }
  #urunler.posthero-collections .p1-grid .r7-world-0 { grid-column: 1 / 6; }
  #urunler.posthero-collections .p1-grid .r7-world-1 { grid-column: 7 / 10; align-self: end; }
  #urunler.posthero-collections .p1-grid .r7-world-2 { grid-column: 10 / 13; align-self: end; }
  /* Seven families (2026-11-13): the lead family large, two beside it, four below. */
  #urunler.posthero-collections .p1-grid :is(.r7-world-3, .r7-world-4, .r7-world-5, .r7-world-6) { grid-column: span 3; margin-top: 0; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  #urunler.posthero-collections .p1-grid .gallery-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #urunler.posthero-collections .p1-grid .r7-world { grid-column: auto !important; margin-top: 0 !important; }
  #urunler.posthero-collections .p1-grid .r7-world-0 { grid-column: 1 / -1 !important; }
}
@media (max-width: 599px) {
  #urunler.posthero-collections .p1-grid .r7-world { grid-column: auto; }
  #urunler.posthero-collections .p1-grid .r7-world-0 { grid-column: 1 / -1; }
  #urunler .r7-world-link h2 { font-size: 1.05rem !important; }
  #urunler .r7-world-link .v4-category-text { font-size: 14px !important; }
}
#koleksiyonlar .p1-collections-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; }
#koleksiyonlar .p1-collections-head .eyebrow { flex-basis: 100%; margin-bottom: 0; }
#koleksiyonlar .p1-collections-head .text-link { color: var(--r7-navy) !important; }

/* ---------- Legibility fixes from the site-wide audit ---------- */

/* Dark bands on interior and campaign pages: headings, labels and links in light tones. */
:is(.page-cta, .lp-dark, .lp-final) :is(h1, h2, h3, .heading) { color: var(--r7-on-navy) !important; }
:is(.page-cta, .lp-dark, .lp-final) :is(p, li, span) { color: var(--r7-on-navy-2); }
:is(.page-cta, .lp-dark, .lp-final) :is(.eyebrow, .footer-eyebrow) { color: var(--r7-sand) !important; }
:is(.page-cta, .lp-dark, .lp-final) a:not(.btn) { color: var(--r7-on-navy) !important; }
/* Light grounds: links in navy. */
.nuve-experience :is(#cozumler, #ozel-uretim, #sss) .text-link,
.interior-page main :is(.section:not(.page-cta):not(.lp-dark), .page-intro) .text-link { color: var(--r7-navy) !important; }
/* Header navigation and numbered index links: never under 12px. */
.site-nav a:not(.btn) {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: var(--r7-navy);
}
.intro-index a span,
.release-family-index span,
.lp-band a span,
:is(main, .site-footer) a > span:only-child {
  font-size: max(12.5px, 1em);
}
.intro-index a span { font-size: 12.5px !important; }

