/* ============================================================
   Dorina core: shared grid, typography primitives, header themes,
   complete footer, 404 and thank-you. Loaded after style.css.
   ============================================================ */

:root {
  --ink-3: #2a261f;
  --ink-4: #332e25;
  --paper-3: #ddd5c4;
  --stone: #b3a894;
  --bronze: #82653f;
  --bronze-2: #a5825a;
  --text-paper: rgba(27, 26, 23, 0.94);
  --text-paper-soft: rgba(27, 26, 23, 0.74);
  --line-paper: rgba(27, 26, 23, 0.14);
  --line-paper-strong: rgba(27, 26, 23, 0.32);
  --dur-micro: 240ms;
  --dur-short: 460ms;
  --dur-reveal: 950ms;
  --dur-scene: 1200ms;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-size: 16.5px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
}

.display em,
.display .accent {
  font-style: italic;
}

.sv-ink {
  background: var(--ink);
  color: var(--text-ink);
}

.sv-paper {
  background: var(--paper);
  color: var(--text-paper);
}

.sv-paper-2 {
  background: var(--paper-2);
  color: var(--text-paper);
}

.sv-ink .mono-label {
  color: var(--text-ink-soft);
}

.mono-label .num {
  color: var(--bronze);
}

.sv-ink .mono-label .num {
  color: var(--lumen);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--bronze);
}

.sv-ink .eyebrow::before {
  background: var(--lumen);
}

.hairline {
  height: 1px;
  background: var(--line-paper);
  transform-origin: left center;
}

.sv-ink .hairline {
  background: var(--line-ink);
}

.leaders {
  flex: 1;
  height: 1px;
  margin-inline: 14px;
  background-image: linear-gradient(to right, var(--line-paper-strong) 0 2px, transparent 2px 6px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  background-position: 0 center;
}

.sv-ink .leaders {
  background-image: linear-gradient(to right, var(--line-ink-strong) 0 2px, transparent 2px 6px);
}

/* ---------- buttons and arrow links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px 16px;
  font-family: var(--font-sans), sans-serif;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid var(--line-paper-strong);
  color: var(--text-paper);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}

.btn .btn__arrow {
  transition: transform var(--dur-short) var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 420ms var(--ease-out);
  z-index: 0;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleY(1);
}

.btn:hover,
.btn:focus-visible {
  color: var(--text-ink);
  border-color: var(--ink);
}

.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow {
  transform: translateX(5px);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.sv-ink .btn {
  border-color: var(--line-ink-strong);
  color: var(--text-ink);
}

.sv-ink .btn::before {
  background: var(--paper);
}

.sv-ink .btn:hover,
.sv-ink .btn:focus-visible {
  color: var(--ink);
  border-color: var(--paper);
}

.btn.btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--text-ink);
}

.btn.btn--solid::before {
  background: var(--bronze);
}

.btn.btn--solid:hover,
.btn.btn--solid:focus-visible {
  color: var(--paper);
  border-color: var(--bronze);
}

.btn.btn--lumen {
  border-color: var(--lumen);
  color: var(--lumen);
}

.btn.btn--lumen::before {
  background: var(--lumen);
}

.btn.btn--lumen:hover,
.btn.btn--lumen:focus-visible {
  color: var(--ink);
  border-color: var(--lumen);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans), sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur-short) var(--ease-out);
}

.arrow-link:hover,
.arrow-link:focus-visible {
  background-size: 40% 1px;
}

.arrow-link svg {
  transition: transform var(--dur-short) var(--ease-out);
}

.arrow-link:hover svg,
.arrow-link:focus-visible svg {
  transform: translateX(5px);
}

/* ---------- header scene themes ---------- */

.site-header {
  border-bottom: 1px solid transparent;
  text-shadow: 0 1px 3px rgba(10, 9, 7, 0.55), 0 2px 22px rgba(10, 9, 7, 0.4);
}

.site-header.theme-light {
  color: var(--ink);
  text-shadow: none;
}

.site-header.theme-light::before {
  opacity: 0;
}

.site-header.theme-light.is-scrolled {
  background: rgba(242, 238, 230, 0.93);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(20, 18, 15, 0.12);
  color: var(--ink);
}

.site-header.theme-light .nav-cta {
  border-color: rgba(27, 26, 23, 0.42);
  color: var(--ink);
  background-color: rgba(252, 249, 242, 0.5);
}

.site-header.theme-light .nav-cta:hover,
.site-header.theme-light .nav-cta:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #f6f2e9;
}

.site-header.theme-split {
  mix-blend-mode: difference;
  color: #fff;
  text-shadow: none;
}

.site-header.theme-split::before {
  opacity: 0;
}

.site-header.theme-split.is-scrolled {
  mix-blend-mode: normal;
  background: rgba(242, 238, 230, 0.93);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(20, 18, 15, 0.12);
  color: var(--ink);
}

.site-header.theme-split .nav-cta {
  border-color: rgba(246, 242, 233, 0.55);
  color: #f6f2e9;
}

.site-header.theme-split.is-scrolled .nav-cta {
  border-color: rgba(27, 26, 23, 0.42);
  color: var(--ink);
}

.site-header.theme-light :focus-visible,
.site-header.theme-split.is-scrolled :focus-visible {
  outline-color: var(--bronze);
}

/* ---------- complete site footer ---------- */

.site-footer {
  position: relative;
  z-index: 6;
  background: var(--ink);
  color: var(--text-ink);
  padding-top: clamp(64px, 9vh, 110px);
  padding-bottom: clamp(26px, 4vh, 44px);
  overflow: hidden;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr);
  column-gap: clamp(40px, 5vw, 96px);
  align-items: start;
  margin-top: clamp(44px, 7vh, 88px);
  margin-bottom: clamp(44px, 6.5vh, 80px);
}

.footer-lockup-mask {
  display: block;
  overflow: hidden;
}

.footer-lockup {
  display: block;
  width: clamp(210px, 21vw, 320px);
  aspect-ratio: 841.89 / 326.77;
  background: currentColor;
  -webkit-mask: url("../logo.svg") center / contain no-repeat;
  mask: url("../logo.svg") center / contain no-repeat;
}

.footer-brand p {
  margin-top: 26px;
  max-width: 38ch;
  color: var(--text-ink-soft);
  font-weight: 400;
}

.footer-cta {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  padding-block: clamp(8px, 2vh, 20px);
  color: var(--text-ink);
  transition: color 320ms var(--ease-out);
}

.footer-cta__label {
  display: block;
  transition: transform 340ms var(--ease-out);
}

.footer-cta__label-mask {
  display: block;
  overflow: hidden;
}

.footer-cta__label-inner {
  display: block;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  white-space: nowrap;
  will-change: transform;
}

.footer-cta__rule {
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: var(--line-ink-strong);
  transform-origin: left center;
  transition: background-color 340ms var(--ease-out);
}

.footer-cta__arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 340ms var(--ease-out);
}

.footer-cta__arrow svg {
  width: clamp(26px, 2.4vw, 36px);
  height: auto;
}

.footer-cta:hover,
.footer-cta:focus-visible {
  color: var(--lumen);
}

.footer-cta:hover .footer-cta__label,
.footer-cta:focus-visible .footer-cta__label {
  transform: translateX(6px);
}

.footer-cta:hover .footer-cta__rule,
.footer-cta:focus-visible .footer-cta__rule {
  background-color: var(--lumen);
}

.footer-cta:hover .footer-cta__arrow,
.footer-cta:focus-visible .footer-cta__arrow {
  transform: translateX(12px);
}

.footer-nav {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}

.footer-col__label {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-ink-soft);
  margin-bottom: 22px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.footer-col a {
  position: relative;
  display: inline-block;
  font-size: 15.5px;
  font-weight: 400;
  color: var(--text-ink);
  transition: color 300ms var(--ease-out), transform 300ms var(--ease-out);
}

.footer-col a::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 320ms var(--ease-out);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--lumen);
  transform: translateX(6px);
}

.footer-col a:hover::before,
.footer-col a:focus-visible::before {
  width: 16px;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-signature {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 112vw;
  max-width: 2450px;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.footer-signature .brand-signature {
  display: block;
  width: 100%;
  aspect-ratio: 841.89 / 145;
  background: currentColor;
  -webkit-mask: url("../logo-signature.svg") center / contain no-repeat;
  mask: url("../logo-signature.svg") center / contain no-repeat;
  opacity: 0.11;
}

.footer-rule {
  height: 1px;
  background: var(--line-ink);
  transform-origin: left center;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 34px;
  padding-top: 22px;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-ink-soft);
}

@media (max-width: 921px) {
  .footer-col a { padding-block: 8px; }
  .footer-main {
    grid-template-columns: 1fr;
    row-gap: 42px;
    margin-bottom: 40px;
  }
  .footer-nav { grid-column: auto; }
  .footer-lockup { width: min(62vw, 250px); }
  .footer-cta { gap: 18px; }
  .footer-col a::before { display: none; }
  .footer-signature { width: 152vw; max-width: none; bottom: -5%; }
  .footer-signature .brand-signature { opacity: 0.08; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------- 404 and thank-you ---------- */

.nf {
  min-height: 100svh;
  background: var(--ink);
  color: var(--text-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 60px;
}

.nf__code {
  font-size: clamp(5rem, 16vw, 12rem);
  line-height: 1;
  color: var(--lumen);
}

.nf p {
  color: var(--text-ink-soft);
  font-weight: 400;
  max-width: 46ch;
  margin: 26px 0 36px;
}

.nf__links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.nf .eyebrow { color: rgba(245, 241, 232, 0.68); }
.nf .btn { border-color: var(--line-ink-strong); color: var(--text-ink); }
.nf .btn::before { background: var(--paper); }
.nf .btn:hover, .nf .btn:focus-visible { color: var(--ink); border-color: var(--paper); }
.nf .btn:focus-visible, .nf__links .arrow-link:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
}
.nf-arrow { display: none; }

@media (max-width: 720px) {
  .nf p { text-wrap: pretty; }
}

@media (max-width: 1100px) {
  .nf__links .arrow-link {
    min-height: 46px;
    padding: 10px 0 8px;
    background-position: 0 calc(100% - 8px);
  }
  .nf-arrow { display: inline; font-size: 14px; letter-spacing: 0; line-height: 1; }
}

@media (max-width: 1100px) and (max-height: 560px) and (orientation: landscape) {
  .nf { padding-top: calc(var(--header-h) + 24px); padding-bottom: 40px; }
  .nf__code { font-size: clamp(7rem, 18vh, 8.5rem); }
  .nf p { margin-bottom: 28px; }
}

.thanks {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--ink);
  color: var(--text-ink);
  padding: calc(var(--header-h) + 40px) var(--gutter) 60px;
}

.thanks h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin: 26px 0 22px;
}

.thanks p {
  color: var(--text-ink-soft);
  font-weight: 400;
  max-width: 52ch;
  margin-bottom: 34px;
}

.thanks .arrow-link:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
}

.thanks-arrow { display: none; }

@media (max-width: 1100px) {
  .thanks .arrow-link {
    min-height: 44px;
    padding: 10px 0 8px;
    background-position: 0 calc(100% - 8px);
  }
  .thanks-arrow { display: inline; font-size: 14px; letter-spacing: 0; line-height: 1; }
}

/* ---------- image fill inside the source layouts ---------- */

.pr-hero__media img,
.pr-scene__media img,
.pr-layer img,
.pr-row__fig-media img,
.pr-work__media img,
.st-hero__media img,
.st-layer img,
.st-band__media img,
.st-work__media img,
.st-port__media img,
.st-scene__media img,
.ps-hero__media img,
.ps-layer img,
.ps-mv__media img,
.ps-scene__media img,
.ps-work__media img,
.eq__panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pr-layer img,
.st-layer img,
.ps-layer img {
  position: absolute;
  inset: 0;
}

.ps-stage__frame,
.st-stage {
  position: relative;
}

.eq__panel-media img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6%;
  top: auto;
  height: 68%;
}

html {
  overflow-x: clip;
}

.mobile-nav {
  overflow-x: hidden;
}

.mobile-nav__bg {
  right: 0;
}

body {
  overflow-x: clip;
}

/* Hello Elementor constrains .site-footer:not(.dynamic-footer); the approved
   footer is intentionally full-bleed. */
#dorina-footer.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: clamp(64px, 9vh, 110px);
  padding-bottom: clamp(26px, 4vh, 44px);
  padding-inline: 0;
}

@media (min-width: 721px) {
  .site-header.theme-split {
    mix-blend-mode: normal;
    color: var(--ink);
    background: rgba(242, 238, 230, 0.93);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom-color: rgba(20, 18, 15, 0.12);
    text-shadow: none;
  }

  .site-header.theme-split::before {
    opacity: 0;
  }

  .site-header.theme-split .nav-cta {
    border-color: rgba(27, 26, 23, 0.42);
    color: var(--ink);
    background-color: rgba(252, 249, 242, 0.5);
  }

  .site-header.theme-split .nav-cta:hover,
  .site-header.theme-split .nav-cta:focus-visible {
    background: var(--ink);
    border-color: var(--ink);
    color: #f6f2e9;
  }
}

/* Menu open: the header belongs to the dark full-screen menu, regardless of
   the scene theme it was over. */
body.menu-open #dorina-header.site-header,
body.menu-open #dorina-header.site-header.is-scrolled,
body.menu-open #dorina-header.site-header.theme-light,
body.menu-open #dorina-header.site-header.theme-dark,
body.menu-open #dorina-header.site-header.theme-split,
body.menu-open #dorina-header.site-header.theme-split.is-scrolled {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  color: #f6f2e9;
  text-shadow: none;
  mix-blend-mode: normal;
}

body.menu-open #dorina-header .brand,
body.menu-open #dorina-header .menu-btn,
body.menu-open #dorina-header .menu-btn[aria-expanded="true"] span:last-child {
  color: #f6f2e9;
}

body.menu-open #dorina-header.site-header::before {
  opacity: 0;
}

/* Elementor global header template must not consume layout space; its fixed
   header, mobile menu and preloader continue to paint outside the flow. */
.dorina-global-header-render,
.dorina-global-header-render .elementor,
.dorina-global-header-render .dorina-header-template {
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.dorina-global-header-render .dorina-header-template > .elementor-widget,
.dorina-global-header-render .dorina-header-template > .elementor-widget > .elementor-widget-container {
  height: 0 !important;
  min-height: 0 !important;
}

/* Preserve the approved browser-level heading rhythm inside the Elementor 404
   document, where Elementor's reset otherwise removes the h1 margin. */
.nf .nf__code {
  margin: 0.67em 0;
}

/* Native Elementor utility documents: preserve the approved thank-you and 404
   composition while using ordinary Elementor heading and text widgets. */
.thanks.elementor-element {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}
.thanks.elementor-element > .elementor-widget { width: 100%; }
.thanks h1 { font-family: var(--font-display); }
.thanks .thanks-link p { margin: 0; max-width: none; color: inherit; }
.thanks .nf__links.elementor-element {
  display: flex !important;
  flex-direction: row !important;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.nf.elementor-element {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.nf.elementor-element > .elementor-widget { width: 100%; }
.nf .nf-code-native .elementor-heading-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 12rem);
  line-height: 1;
  color: var(--lumen);
  margin: 0.67em 0;
}
.nf .eyebrow .elementor-heading-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.68);
}
.nf .nf__links.elementor-element {
  display: flex !important;
  flex-direction: row !important;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}
.nf .nf-link p,
.nf .nf-link-btn p { margin: 0; max-width: none; }

/* Native thank-you heading/text colours and centring. */
.thanks .elementor-widget-heading { text-align: center; }
.thanks .elementor-widget-heading .elementor-heading-title {
  color: var(--text-ink);
  text-align: center;
}
.thanks .mono-label .elementor-heading-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-ink-soft);
}
.thanks .thanks-copy p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Utility page roots keep the original zero-gap column rhythm; only the link
   row keeps its 30px gap. */
.nf.elementor-element,
.thanks.elementor-element {
  row-gap: 0 !important;
}
